v1alpha1

package
v0.0.0-...-f80ad84 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=scheduler.arangodb.com

Index

Constants

View Source
const (
	ArangoSchedulerVersion = "v1alpha1"
)

Variables

View Source
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

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

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) Select

func (p *ProfileSelectors) Select(labels map[string]string) bool

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 (*ProfileTemplate) GetPriority

func (p *ProfileTemplate) GetPriority() int

func (*ProfileTemplate) Validate

func (p *ProfileTemplate) Validate() error

func (*ProfileTemplate) With

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

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
pod
+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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL