Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type ArangoProfile
- type ArangoProfileList
- 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 (in *ProfileTemplate) DeepCopy() *ProfileTemplate
- func (in *ProfileTemplate) DeepCopyInto(out *ProfileTemplate)
- func (p *ProfileTemplate) GetContainer() *ProfileContainerTemplate
- func (p *ProfileTemplate) GetPod() *schedulerPodApiv1alpha1.Pod
- func (p *ProfileTemplate) GetPriority() int
- func (p *ProfileTemplate) Validate() error
- func (p *ProfileTemplate) With(other *ProfileTemplate) *ProfileTemplate
- type ProfileTemplates
Constants ¶
const (
ArangoSchedulerVersion = "v1alpha1"
)
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) 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 ProfileContainerTemplate ¶
type ProfileContainerTemplate struct { Containers schedulerContainerApiv1alpha1.Containers `json:"containers,omitempty"` All *schedulerContainerApiv1alpha1.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 { }
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 *int `json:"priority,omitempty"` Pod *schedulerPodApiv1alpha1.Pod `json:"pod,omitempty"` Container *ProfileContainerTemplate `json:"container,omitempty"` }
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() *schedulerPodApiv1alpha1.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 ¶
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 |
resources
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com
|
+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com |