Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hub v1alpha1 API group +kubebuilder:object:generate=true +groupName=hub.austrianopensciencecloud.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hub.austrianopensciencecloud.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Choice ¶
type Choice struct {
DisplayName string `json:"display_name"`
KubespawnerOverride KubespawnerOverride `json:"kubespawner_override"`
}
func (*Choice) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Choice.
func (*Choice) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubespawnerOverride ¶
type KubespawnerOverride struct {
Image string `json:"image,omitempty"`
CPU_Guarantee resource.Quantity `json:"cpu_guarantee,omitempty"`
CPU_Limit resource.Quantity `json:"cpu_limit,omitempty"`
MEM_Limit resource.Quantity `json:"mem_limit,omitempty"`
MEM_Guarantee resource.Quantity `json:"mem_guarantee,omitempty"`
Environment *apiextensions.JSON `json:"environment,omitempty"`
ImagePullPolicy *apiextensions.JSON `json:"image_pull_policy,omitempty"`
ImagePullSecrets *apiextensions.JSON `json:"image_pull_secrets,omitempty"`
InitContainers *apiextensions.JSON `json:"init_containers,omitempty"`
UID *apiextensions.JSON `json:"uid,omitempty"`
GID *apiextensions.JSON `json:"gid,omitempty"`
FS_GID *apiextensions.JSON `json:"fs_gid,omitempty"`
ExtraAnnotations *apiextensions.JSON `json:"extra_annotations,omitempty"`
ExtraContainerConfig *apiextensions.JSON `json:"extra_container_config,omitempty"`
ExtraContainers *apiextensions.JSON `json:"extra_containers,omitempty"`
ExtraLabels *apiextensions.JSON `json:"extra_labels,omitempty"`
ExtraPodConfig *apiextensions.JSON `json:"extra_pod_config,omitempty"`
ExtraResourceGuarantees *apiextensions.JSON `json:"extra_resource_guarantees,omitempty"`
ExtraResourceLimits *apiextensions.JSON `json:"extra_resource_limits,omitempty"`
NodeAffinityPreferred *apiextensions.JSON `json:"node_affinity_preferred,omitempty"`
NodeAffinityRequired *apiextensions.JSON `json:"node_affinity_required,omitempty"`
NodeSelector *apiextensions.JSON `json:"node_selector,omitempty"`
PodAffinityPreferred *apiextensions.JSON `json:"pod_affinity_preferred,omitempty"`
PodAffinityRequired *apiextensions.JSON `json:"pod_affinity_required,omitempty"`
PodAntiAffinityPreferred *apiextensions.JSON `json:"pod_anti_affinity_preferred,omitempty"`
PodAntiAffinityRequired *apiextensions.JSON `json:"pod_anti_affinity_required,omitempty"`
PodSecurityContext *apiextensions.JSON `json:"pod_security_context,omitempty"`
LifecycleHooks *apiextensions.JSON `json:"lifecycle_hooks,omitempty"`
}
func (*KubespawnerOverride) DeepCopy ¶
func (in *KubespawnerOverride) DeepCopy() *KubespawnerOverride
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubespawnerOverride.
func (*KubespawnerOverride) DeepCopyInto ¶
func (in *KubespawnerOverride) DeepCopyInto(out *KubespawnerOverride)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Profile ¶
type Profile struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ProfileSpec `json:"spec,omitempty"`
Status ProfileStatus `json:"status,omitempty"`
}
Profile is the Schema for the profiles API
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileList ¶
type ProfileList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Profile `json:"items"`
}
ProfileList contains a list of Profile
func (*ProfileList) DeepCopy ¶
func (in *ProfileList) DeepCopy() *ProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList.
func (*ProfileList) DeepCopyInto ¶
func (in *ProfileList) DeepCopyInto(out *ProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileList) DeepCopyObject ¶
func (in *ProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileOption ¶
type ProfileOption struct {
DisplayName string `json:"display_name"`
Choices map[string]Choice `json:"choices"`
}
func (*ProfileOption) DeepCopy ¶
func (in *ProfileOption) DeepCopy() *ProfileOption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileOption.
func (*ProfileOption) DeepCopyInto ¶
func (in *ProfileOption) DeepCopyInto(out *ProfileOption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileSpec ¶
type ProfileSpec struct {
Slug string `json:"slug"`
DisplayName string `json:"display_name"`
AllowedGroups []string `json:"allowed_groups,omitempty"`
Description string `json:"description,omitempty"`
KubespawnerOverride KubespawnerOverride `json:"kubespawner_override,omitempty"`
ProfileOptions map[string]ProfileOption `json:"profile_options,omitempty"`
}
ProfileSpec defines the desired state of Profile
func (*ProfileSpec) DeepCopy ¶
func (in *ProfileSpec) DeepCopy() *ProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec.
func (*ProfileSpec) DeepCopyInto ¶
func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileStatus ¶
type ProfileStatus struct {
}
ProfileStatus defines the observed state of Profile
func (*ProfileStatus) DeepCopy ¶
func (in *ProfileStatus) DeepCopy() *ProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus.
func (*ProfileStatus) DeepCopyInto ¶
func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.