Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type ArangoProfile
- func (a *ArangoProfile) AsOwner() meta.OwnerReference
- func (in *ArangoProfile) DeepCopy() *ArangoProfile
- func (in *ArangoProfile) DeepCopyInto(out *ArangoProfile)
- func (in *ArangoProfile) DeepCopyObject() runtime.Object
- func (a *ArangoProfile) GetStatus() ProfileStatus
- func (a *ArangoProfile) SetStatus(status ProfileStatus)
- type ArangoProfileList
- type ArangoSchedulerBatchJob
- func (d *ArangoSchedulerBatchJob) AsOwner() meta.OwnerReference
- func (in *ArangoSchedulerBatchJob) DeepCopy() *ArangoSchedulerBatchJob
- func (in *ArangoSchedulerBatchJob) DeepCopyInto(out *ArangoSchedulerBatchJob)
- func (in *ArangoSchedulerBatchJob) DeepCopyObject() runtime.Object
- func (d *ArangoSchedulerBatchJob) GetStatus() ArangoSchedulerBatchJobStatus
- func (d *ArangoSchedulerBatchJob) SetStatus(status ArangoSchedulerBatchJobStatus)
- type ArangoSchedulerBatchJobList
- type ArangoSchedulerBatchJobSpec
- type ArangoSchedulerBatchJobStatus
- type ArangoSchedulerCronJob
- func (d *ArangoSchedulerCronJob) AsOwner() meta.OwnerReference
- func (in *ArangoSchedulerCronJob) DeepCopy() *ArangoSchedulerCronJob
- func (in *ArangoSchedulerCronJob) DeepCopyInto(out *ArangoSchedulerCronJob)
- func (in *ArangoSchedulerCronJob) DeepCopyObject() runtime.Object
- func (d *ArangoSchedulerCronJob) GetStatus() ArangoSchedulerCronJobStatus
- func (d *ArangoSchedulerCronJob) SetStatus(status ArangoSchedulerCronJobStatus)
- type ArangoSchedulerCronJobList
- type ArangoSchedulerCronJobSpec
- type ArangoSchedulerCronJobStatus
- type ArangoSchedulerDeployment
- func (d *ArangoSchedulerDeployment) AsOwner() meta.OwnerReference
- func (in *ArangoSchedulerDeployment) DeepCopy() *ArangoSchedulerDeployment
- func (in *ArangoSchedulerDeployment) DeepCopyInto(out *ArangoSchedulerDeployment)
- func (in *ArangoSchedulerDeployment) DeepCopyObject() runtime.Object
- func (d *ArangoSchedulerDeployment) GetStatus() ArangoSchedulerDeploymentStatus
- func (d *ArangoSchedulerDeployment) SetStatus(status ArangoSchedulerDeploymentStatus)
- type ArangoSchedulerDeploymentList
- type ArangoSchedulerDeploymentSpec
- type ArangoSchedulerDeploymentStatus
- type ArangoSchedulerPod
- func (d *ArangoSchedulerPod) AsOwner() meta.OwnerReference
- func (in *ArangoSchedulerPod) DeepCopy() *ArangoSchedulerPod
- func (in *ArangoSchedulerPod) DeepCopyInto(out *ArangoSchedulerPod)
- func (in *ArangoSchedulerPod) DeepCopyObject() runtime.Object
- func (d *ArangoSchedulerPod) GetStatus() ArangoSchedulerPodStatus
- func (d *ArangoSchedulerPod) SetStatus(status ArangoSchedulerPodStatus)
- type ArangoSchedulerPodList
- type ArangoSchedulerPodSpec
- type ArangoSchedulerPodStatus
- type ArangoSchedulerStatusMetadata
- type ProfileAcceptedTemplate
- type ProfileContainerTemplate
- func (p *ProfileContainerTemplate) ApplyContainers(template *core.PodTemplateSpec) error
- func (p *ProfileContainerTemplate) ApplyGeneric(template *core.PodTemplateSpec) error
- func (in *ProfileContainerTemplate) DeepCopy() *ProfileContainerTemplate
- func (in *ProfileContainerTemplate) DeepCopyInto(out *ProfileContainerTemplate)
- func (p *ProfileContainerTemplate) Validate() error
- func (p *ProfileContainerTemplate) With(other *ProfileContainerTemplate) *ProfileContainerTemplate
- type ProfileSelectors
- type ProfileSpec
- type ProfileStatus
- type ProfileTemplate
- func (p *ProfileTemplate) Checksum() (string, error)
- func (in *ProfileTemplate) DeepCopy() *ProfileTemplate
- func (in *ProfileTemplate) DeepCopyInto(out *ProfileTemplate)
- func (p *ProfileTemplate) GetContainer() *ProfileContainerTemplate
- func (p *ProfileTemplate) GetPod() *schedulerPodApi.Pod
- func (p *ProfileTemplate) GetPriority() int
- func (p *ProfileTemplate) Validate() error
- func (p *ProfileTemplate) With(other *ProfileTemplate) *ProfileTemplate
- type ProfileTemplates
Constants ¶
const ( ReadyCondition api.ConditionType = "Ready" SpecValidCondition api.ConditionType = "SpecValid" )
const (
ArangoSchedulerVersion = "v1beta1"
)
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme SchemeGroupVersion = schema.GroupVersion{Group: scheduler.ArangoSchedulerGroupName, Version: ArangoSchedulerVersion} )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource gets an ArangoCluster GroupResource for a specified resource
Types ¶
type ArangoProfile ¶
type ArangoProfile struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec ProfileSpec `json:"spec"` Status ProfileStatus `json:"status"` }
ArangoProfile contains definition and status of the Arango Profile.
func (*ArangoProfile) AsOwner ¶
func (a *ArangoProfile) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given ArangoSchedulerBatchJob
func (*ArangoProfile) DeepCopy ¶
func (in *ArangoProfile) DeepCopy() *ArangoProfile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoProfile.
func (*ArangoProfile) DeepCopyInto ¶
func (in *ArangoProfile) DeepCopyInto(out *ArangoProfile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoProfile) DeepCopyObject ¶
func (in *ArangoProfile) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArangoProfile) GetStatus ¶
func (a *ArangoProfile) GetStatus() ProfileStatus
func (*ArangoProfile) SetStatus ¶
func (a *ArangoProfile) SetStatus(status ProfileStatus)
type ArangoProfileList ¶
type ArangoProfileList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []ArangoProfile `json:"items"` }
ArangoProfileList is a list of Arango Profile.
func (*ArangoProfileList) DeepCopy ¶
func (in *ArangoProfileList) DeepCopy() *ArangoProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoProfileList.
func (*ArangoProfileList) DeepCopyInto ¶
func (in *ArangoProfileList) DeepCopyInto(out *ArangoProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoProfileList) DeepCopyObject ¶
func (in *ArangoProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoSchedulerBatchJob ¶
type ArangoSchedulerBatchJob struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec ArangoSchedulerBatchJobSpec `json:"spec"` Status ArangoSchedulerBatchJobStatus `json:"status"` }
ArangoSchedulerBatchJob wraps batch. ArangoSchedulerBatchJob with profile details
func (*ArangoSchedulerBatchJob) AsOwner ¶
func (d *ArangoSchedulerBatchJob) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given ArangoSchedulerBatchJob
func (*ArangoSchedulerBatchJob) DeepCopy ¶
func (in *ArangoSchedulerBatchJob) DeepCopy() *ArangoSchedulerBatchJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerBatchJob.
func (*ArangoSchedulerBatchJob) DeepCopyInto ¶
func (in *ArangoSchedulerBatchJob) DeepCopyInto(out *ArangoSchedulerBatchJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerBatchJob) DeepCopyObject ¶
func (in *ArangoSchedulerBatchJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArangoSchedulerBatchJob) GetStatus ¶
func (d *ArangoSchedulerBatchJob) GetStatus() ArangoSchedulerBatchJobStatus
func (*ArangoSchedulerBatchJob) SetStatus ¶
func (d *ArangoSchedulerBatchJob) SetStatus(status ArangoSchedulerBatchJobStatus)
type ArangoSchedulerBatchJobList ¶
type ArangoSchedulerBatchJobList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []ArangoSchedulerBatchJob `json:"items"` }
ArangoSchedulerBatchJobList is a list of BatchJobs.
func (*ArangoSchedulerBatchJobList) DeepCopy ¶
func (in *ArangoSchedulerBatchJobList) DeepCopy() *ArangoSchedulerBatchJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerBatchJobList.
func (*ArangoSchedulerBatchJobList) DeepCopyInto ¶
func (in *ArangoSchedulerBatchJobList) DeepCopyInto(out *ArangoSchedulerBatchJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerBatchJobList) DeepCopyObject ¶
func (in *ArangoSchedulerBatchJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoSchedulerBatchJobSpec ¶
type ArangoSchedulerBatchJobSpec struct { // Profiles keeps list of the profiles Profiles []string `json:"profiles,omitempty"` batch.JobSpec `json:",inline"` }
func (*ArangoSchedulerBatchJobSpec) DeepCopy ¶
func (in *ArangoSchedulerBatchJobSpec) DeepCopy() *ArangoSchedulerBatchJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerBatchJobSpec.
func (*ArangoSchedulerBatchJobSpec) DeepCopyInto ¶
func (in *ArangoSchedulerBatchJobSpec) DeepCopyInto(out *ArangoSchedulerBatchJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerBatchJobStatus ¶
type ArangoSchedulerBatchJobStatus struct { ArangoSchedulerStatusMetadata `json:",inline"` batch.JobStatus `json:",inline"` }
func (*ArangoSchedulerBatchJobStatus) DeepCopy ¶
func (in *ArangoSchedulerBatchJobStatus) DeepCopy() *ArangoSchedulerBatchJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerBatchJobStatus.
func (*ArangoSchedulerBatchJobStatus) DeepCopyInto ¶
func (in *ArangoSchedulerBatchJobStatus) DeepCopyInto(out *ArangoSchedulerBatchJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerCronJob ¶
type ArangoSchedulerCronJob struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec ArangoSchedulerCronJobSpec `json:"spec"` Status ArangoSchedulerCronJobStatus `json:"status"` }
ArangoSchedulerCronJob wraps batch. ArangoSchedulerCronJob with profile details
func (*ArangoSchedulerCronJob) AsOwner ¶
func (d *ArangoSchedulerCronJob) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given ArangoSchedulerCronJob
func (*ArangoSchedulerCronJob) DeepCopy ¶
func (in *ArangoSchedulerCronJob) DeepCopy() *ArangoSchedulerCronJob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerCronJob.
func (*ArangoSchedulerCronJob) DeepCopyInto ¶
func (in *ArangoSchedulerCronJob) DeepCopyInto(out *ArangoSchedulerCronJob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerCronJob) DeepCopyObject ¶
func (in *ArangoSchedulerCronJob) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArangoSchedulerCronJob) GetStatus ¶
func (d *ArangoSchedulerCronJob) GetStatus() ArangoSchedulerCronJobStatus
func (*ArangoSchedulerCronJob) SetStatus ¶
func (d *ArangoSchedulerCronJob) SetStatus(status ArangoSchedulerCronJobStatus)
type ArangoSchedulerCronJobList ¶
type ArangoSchedulerCronJobList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []ArangoSchedulerCronJob `json:"items"` }
ArangoSchedulerCronJobList is a list of CronJobs.
func (*ArangoSchedulerCronJobList) DeepCopy ¶
func (in *ArangoSchedulerCronJobList) DeepCopy() *ArangoSchedulerCronJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerCronJobList.
func (*ArangoSchedulerCronJobList) DeepCopyInto ¶
func (in *ArangoSchedulerCronJobList) DeepCopyInto(out *ArangoSchedulerCronJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerCronJobList) DeepCopyObject ¶
func (in *ArangoSchedulerCronJobList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoSchedulerCronJobSpec ¶
type ArangoSchedulerCronJobSpec struct { // Profiles keeps list of the profiles Profiles []string `json:"profiles,omitempty"` batch.CronJobSpec `json:",inline"` }
func (*ArangoSchedulerCronJobSpec) DeepCopy ¶
func (in *ArangoSchedulerCronJobSpec) DeepCopy() *ArangoSchedulerCronJobSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerCronJobSpec.
func (*ArangoSchedulerCronJobSpec) DeepCopyInto ¶
func (in *ArangoSchedulerCronJobSpec) DeepCopyInto(out *ArangoSchedulerCronJobSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerCronJobStatus ¶
type ArangoSchedulerCronJobStatus struct { ArangoSchedulerStatusMetadata `json:",inline"` batch.CronJobStatus `json:",inline"` }
func (*ArangoSchedulerCronJobStatus) DeepCopy ¶
func (in *ArangoSchedulerCronJobStatus) DeepCopy() *ArangoSchedulerCronJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerCronJobStatus.
func (*ArangoSchedulerCronJobStatus) DeepCopyInto ¶
func (in *ArangoSchedulerCronJobStatus) DeepCopyInto(out *ArangoSchedulerCronJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerDeployment ¶
type ArangoSchedulerDeployment struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec ArangoSchedulerDeploymentSpec `json:"spec"` Status ArangoSchedulerDeploymentStatus `json:"status"` }
ArangoSchedulerDeployment wraps apps. ArangoSchedulerDeployment with profile details
func (*ArangoSchedulerDeployment) AsOwner ¶
func (d *ArangoSchedulerDeployment) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given ArangoSchedulerDeployment
func (*ArangoSchedulerDeployment) DeepCopy ¶
func (in *ArangoSchedulerDeployment) DeepCopy() *ArangoSchedulerDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerDeployment.
func (*ArangoSchedulerDeployment) DeepCopyInto ¶
func (in *ArangoSchedulerDeployment) DeepCopyInto(out *ArangoSchedulerDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerDeployment) DeepCopyObject ¶
func (in *ArangoSchedulerDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArangoSchedulerDeployment) GetStatus ¶
func (d *ArangoSchedulerDeployment) GetStatus() ArangoSchedulerDeploymentStatus
func (*ArangoSchedulerDeployment) SetStatus ¶
func (d *ArangoSchedulerDeployment) SetStatus(status ArangoSchedulerDeploymentStatus)
type ArangoSchedulerDeploymentList ¶
type ArangoSchedulerDeploymentList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []ArangoSchedulerDeployment `json:"items"` }
ArangoSchedulerDeploymentList is a list of Deployments.
func (*ArangoSchedulerDeploymentList) DeepCopy ¶
func (in *ArangoSchedulerDeploymentList) DeepCopy() *ArangoSchedulerDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerDeploymentList.
func (*ArangoSchedulerDeploymentList) DeepCopyInto ¶
func (in *ArangoSchedulerDeploymentList) DeepCopyInto(out *ArangoSchedulerDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerDeploymentList) DeepCopyObject ¶
func (in *ArangoSchedulerDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoSchedulerDeploymentSpec ¶
type ArangoSchedulerDeploymentSpec struct { // Profiles keeps list of the profiles Profiles []string `json:"profiles,omitempty"` apps.DeploymentSpec `json:",inline"` }
func (*ArangoSchedulerDeploymentSpec) DeepCopy ¶
func (in *ArangoSchedulerDeploymentSpec) DeepCopy() *ArangoSchedulerDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerDeploymentSpec.
func (*ArangoSchedulerDeploymentSpec) DeepCopyInto ¶
func (in *ArangoSchedulerDeploymentSpec) DeepCopyInto(out *ArangoSchedulerDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerDeploymentStatus ¶
type ArangoSchedulerDeploymentStatus struct { ArangoSchedulerStatusMetadata `json:",inline"` apps.DeploymentStatus `json:",inline"` }
func (*ArangoSchedulerDeploymentStatus) DeepCopy ¶
func (in *ArangoSchedulerDeploymentStatus) DeepCopy() *ArangoSchedulerDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerDeploymentStatus.
func (*ArangoSchedulerDeploymentStatus) DeepCopyInto ¶
func (in *ArangoSchedulerDeploymentStatus) DeepCopyInto(out *ArangoSchedulerDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerPod ¶
type ArangoSchedulerPod struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec ArangoSchedulerPodSpec `json:"spec"` Status ArangoSchedulerPodStatus `json:"status"` }
ArangoSchedulerPod wraps core. ArangoSchedulerPod with profile details
func (*ArangoSchedulerPod) AsOwner ¶
func (d *ArangoSchedulerPod) AsOwner() meta.OwnerReference
AsOwner creates an OwnerReference for the given ArangoSchedulerPod
func (*ArangoSchedulerPod) DeepCopy ¶
func (in *ArangoSchedulerPod) DeepCopy() *ArangoSchedulerPod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerPod.
func (*ArangoSchedulerPod) DeepCopyInto ¶
func (in *ArangoSchedulerPod) DeepCopyInto(out *ArangoSchedulerPod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerPod) DeepCopyObject ¶
func (in *ArangoSchedulerPod) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArangoSchedulerPod) GetStatus ¶
func (d *ArangoSchedulerPod) GetStatus() ArangoSchedulerPodStatus
func (*ArangoSchedulerPod) SetStatus ¶
func (d *ArangoSchedulerPod) SetStatus(status ArangoSchedulerPodStatus)
type ArangoSchedulerPodList ¶
type ArangoSchedulerPodList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []ArangoSchedulerPod `json:"items"` }
ArangoSchedulerPodList is a list of Pods.
func (*ArangoSchedulerPodList) DeepCopy ¶
func (in *ArangoSchedulerPodList) DeepCopy() *ArangoSchedulerPodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerPodList.
func (*ArangoSchedulerPodList) DeepCopyInto ¶
func (in *ArangoSchedulerPodList) DeepCopyInto(out *ArangoSchedulerPodList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArangoSchedulerPodList) DeepCopyObject ¶
func (in *ArangoSchedulerPodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ArangoSchedulerPodSpec ¶
type ArangoSchedulerPodSpec struct { // Profiles keeps list of the profiles Profiles []string `json:"profiles,omitempty"` core.PodSpec `json:",inline"` }
func (*ArangoSchedulerPodSpec) DeepCopy ¶
func (in *ArangoSchedulerPodSpec) DeepCopy() *ArangoSchedulerPodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerPodSpec.
func (*ArangoSchedulerPodSpec) DeepCopyInto ¶
func (in *ArangoSchedulerPodSpec) DeepCopyInto(out *ArangoSchedulerPodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerPodStatus ¶
type ArangoSchedulerPodStatus struct { ArangoSchedulerStatusMetadata `json:",inline"` core.PodStatus `json:",inline"` }
func (*ArangoSchedulerPodStatus) DeepCopy ¶
func (in *ArangoSchedulerPodStatus) DeepCopy() *ArangoSchedulerPodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerPodStatus.
func (*ArangoSchedulerPodStatus) DeepCopyInto ¶
func (in *ArangoSchedulerPodStatus) DeepCopyInto(out *ArangoSchedulerPodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArangoSchedulerStatusMetadata ¶
type ArangoSchedulerStatusMetadata struct { // Object keeps the information about object Object *sharedApi.Object `json:"object,omitempty"` // Profiles keeps the information about applied profiles Profiles []string `json:"profiles,omitempty"` }
func (*ArangoSchedulerStatusMetadata) DeepCopy ¶
func (in *ArangoSchedulerStatusMetadata) DeepCopy() *ArangoSchedulerStatusMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArangoSchedulerStatusMetadata.
func (*ArangoSchedulerStatusMetadata) DeepCopyInto ¶
func (in *ArangoSchedulerStatusMetadata) DeepCopyInto(out *ArangoSchedulerStatusMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileAcceptedTemplate ¶
type ProfileAcceptedTemplate struct { // Checksum keeps accepted template checksum Checksum string `json:"checksum,omitempty"` // Template keeps the Profile Template Template *ProfileTemplate `json:"template,omitempty"` }
func (*ProfileAcceptedTemplate) DeepCopy ¶
func (in *ProfileAcceptedTemplate) DeepCopy() *ProfileAcceptedTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileAcceptedTemplate.
func (*ProfileAcceptedTemplate) DeepCopyInto ¶
func (in *ProfileAcceptedTemplate) DeepCopyInto(out *ProfileAcceptedTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileContainerTemplate ¶
type ProfileContainerTemplate struct { // Containers applies values per container Containers schedulerContainerApi.Containers `json:"containers,omitempty"` // All applies generic values to all Containers All *schedulerContainerApi.Generic `json:"all,omitempty"` }
func (*ProfileContainerTemplate) ApplyContainers ¶
func (p *ProfileContainerTemplate) ApplyContainers(template *core.PodTemplateSpec) error
func (*ProfileContainerTemplate) ApplyGeneric ¶
func (p *ProfileContainerTemplate) ApplyGeneric(template *core.PodTemplateSpec) error
func (*ProfileContainerTemplate) DeepCopy ¶
func (in *ProfileContainerTemplate) DeepCopy() *ProfileContainerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileContainerTemplate.
func (*ProfileContainerTemplate) DeepCopyInto ¶
func (in *ProfileContainerTemplate) DeepCopyInto(out *ProfileContainerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileContainerTemplate) Validate ¶
func (p *ProfileContainerTemplate) Validate() error
func (*ProfileContainerTemplate) With ¶
func (p *ProfileContainerTemplate) With(other *ProfileContainerTemplate) *ProfileContainerTemplate
type ProfileSelectors ¶
type ProfileSelectors struct { // Label keeps information about label selector // +doc/type: meta.LabelSelector Label *meta.LabelSelector `json:"label,omitempty"` }
func (*ProfileSelectors) DeepCopy ¶
func (in *ProfileSelectors) DeepCopy() *ProfileSelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSelectors.
func (*ProfileSelectors) DeepCopyInto ¶
func (in *ProfileSelectors) DeepCopyInto(out *ProfileSelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileSelectors) Validate ¶
func (p *ProfileSelectors) Validate() error
type ProfileSpec ¶
type ProfileSpec struct { // Selectors keeps information about ProfileSelectors Selectors *ProfileSelectors `json:"selectors,omitempty"` // Template keeps the Profile Template Template *ProfileTemplate `json:"template,omitempty"` }
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.
func (*ProfileSpec) Validate ¶
func (p *ProfileSpec) Validate() error
type ProfileStatus ¶
type ProfileStatus struct { // Conditions specific to the entire extension // +doc/type: api.Conditions Conditions api.ConditionList `json:"conditions,omitempty"` // Accepted keeps accepted template Accepted *ProfileAcceptedTemplate `json:"accepted,omitempty"` }
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.
type ProfileTemplate ¶
type ProfileTemplate struct { // Priority defines Priority of the Profile. Higher value means Profile will get applied first. // If Priority across Profiles is same, Profiles are also sorted by name. Priority *int `json:"priority,omitempty"` // Pod Template Pod *schedulerPodApi.Pod `json:"pod,omitempty"` // Container Template Container *ProfileContainerTemplate `json:"container,omitempty"` }
func (*ProfileTemplate) Checksum ¶
func (p *ProfileTemplate) Checksum() (string, error)
func (*ProfileTemplate) DeepCopy ¶
func (in *ProfileTemplate) DeepCopy() *ProfileTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileTemplate.
func (*ProfileTemplate) DeepCopyInto ¶
func (in *ProfileTemplate) DeepCopyInto(out *ProfileTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileTemplate) GetContainer ¶
func (p *ProfileTemplate) GetContainer() *ProfileContainerTemplate
func (*ProfileTemplate) GetPod ¶
func (p *ProfileTemplate) GetPod() *schedulerPodApi.Pod
func (*ProfileTemplate) GetPriority ¶
func (p *ProfileTemplate) GetPriority() int
func (*ProfileTemplate) Validate ¶
func (p *ProfileTemplate) Validate() error
func (*ProfileTemplate) With ¶
func (p *ProfileTemplate) With(other *ProfileTemplate) *ProfileTemplate
type ProfileTemplates ¶
type ProfileTemplates []*ProfileTemplate
func (ProfileTemplates) DeepCopy ¶
func (in ProfileTemplates) DeepCopy() ProfileTemplates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileTemplates.
func (ProfileTemplates) DeepCopyInto ¶
func (in ProfileTemplates) DeepCopyInto(out *ProfileTemplates)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ProfileTemplates) Merge ¶
func (p ProfileTemplates) Merge() *ProfileTemplate
func (ProfileTemplates) RenderOnTemplate ¶
func (p ProfileTemplates) RenderOnTemplate(pod *core.PodTemplateSpec) error
func (ProfileTemplates) Sort ¶
func (p ProfileTemplates) Sort() ProfileTemplates
Source Files ¶
- conditions.go
- doc.go
- profile.go
- profile_accepted_template.go
- profile_container_template.go
- profile_selectors.go
- profile_spec.go
- profile_status.go
- profile_template.go
- profile_templates.go
- register.go
- types.go
- types_batchjob.go
- types_cronjob.go
- types_deployment.go
- types_pod.go
- zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |
resources
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |
resources
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |