v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the multicluster v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=admiralty.io/multicluster-scheduler/pkg/apis/multicluster +k8s:defaulter-gen=TypeMeta +groupName=multicluster.admiralty.io

Package v1alpha1 contains API Schema definitions for the multicluster v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=admiralty.io/multicluster-scheduler/pkg/apis/multicluster +k8s:defaulter-gen=TypeMeta +groupName=multicluster.admiralty.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "multicluster.admiralty.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is required by pkg/client/...
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource is required by pkg/client/listers/...

Types

type DeploymentDecision

type DeploymentDecision struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// +optional
	Spec DeploymentDecisionSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status DeploymentDecisionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

DeploymentDecision is the Schema for the deploymentdecisions API +k8s:openapi-gen=true +kubebuilder:categories=decisions

func (*DeploymentDecision) DeepCopy

func (in *DeploymentDecision) DeepCopy() *DeploymentDecision

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentDecision.

func (*DeploymentDecision) DeepCopyInto

func (in *DeploymentDecision) DeepCopyInto(out *DeploymentDecision)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeploymentDecision) DeepCopyObject

func (in *DeploymentDecision) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DeploymentDecisionList

type DeploymentDecisionList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []DeploymentDecision `json:"items"`
}

DeploymentDecisionList contains a list of DeploymentDecision

func (*DeploymentDecisionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentDecisionList.

func (*DeploymentDecisionList) DeepCopyInto

func (in *DeploymentDecisionList) DeepCopyInto(out *DeploymentDecisionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeploymentDecisionList) DeepCopyObject

func (in *DeploymentDecisionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DeploymentDecisionSpec

type DeploymentDecisionSpec struct {
	Template DeploymentTemplateSpec `json:"template"`
}

DeploymentDecisionSpec defines the desired state of DeploymentDecision

func (*DeploymentDecisionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentDecisionSpec.

func (*DeploymentDecisionSpec) DeepCopyInto

func (in *DeploymentDecisionSpec) DeepCopyInto(out *DeploymentDecisionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentDecisionStatus

type DeploymentDecisionStatus struct {
}

DeploymentDecisionStatus defines the observed state of DeploymentDecision

func (*DeploymentDecisionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentDecisionStatus.

func (*DeploymentDecisionStatus) DeepCopyInto

func (in *DeploymentDecisionStatus) DeepCopyInto(out *DeploymentDecisionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentTemplateSpec

type DeploymentTemplateSpec struct {
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec appsv1.DeploymentSpec `json:"spec,omitempty"`
}

DeploymentTemplateSpec describes the data a deployment should have when created from a template

func (*DeploymentTemplateSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTemplateSpec.

func (*DeploymentTemplateSpec) DeepCopyInto

func (in *DeploymentTemplateSpec) DeepCopyInto(out *DeploymentTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MulticlusterDeployment

type MulticlusterDeployment struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec appsv1.DeploymentSpec `json:"spec,omitempty"`
	// +optional
	Status MulticlusterDeploymentStatus `json:"status,omitempty"`
}

MulticlusterDeployment is the Schema for the multiclusterdeployments API +k8s:openapi-gen=true +kubebuilder:categories=multicluster +kubebuilder:subresource:scale:specpath=.spec.replicas,statuspath=.status.replicas,selectorpath=.status.labelSelector

func (*MulticlusterDeployment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeployment.

func (*MulticlusterDeployment) DeepCopyInto

func (in *MulticlusterDeployment) DeepCopyInto(out *MulticlusterDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MulticlusterDeployment) DeepCopyObject

func (in *MulticlusterDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MulticlusterDeploymentList

type MulticlusterDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MulticlusterDeployment `json:"items"`
}

MulticlusterDeploymentList contains a list of MulticlusterDeployment

func (*MulticlusterDeploymentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeploymentList.

func (*MulticlusterDeploymentList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MulticlusterDeploymentList) DeepCopyObject

func (in *MulticlusterDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MulticlusterDeploymentObservation

type MulticlusterDeploymentObservation struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec MulticlusterDeploymentObservationSpec `json:"spec,omitempty"`
	// +optional
	Status MulticlusterDeploymentObservationStatus `json:"status,omitempty"`
}

MulticlusterDeploymentObservation is the Schema for the multiclusterdeploymentobservations API +k8s:openapi-gen=true +kubebuilder:categories=observations

func (*MulticlusterDeploymentObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeploymentObservation.

func (*MulticlusterDeploymentObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MulticlusterDeploymentObservation) DeepCopyObject

func (in *MulticlusterDeploymentObservation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MulticlusterDeploymentObservationList

type MulticlusterDeploymentObservationList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MulticlusterDeploymentObservation `json:"items"`
}

MulticlusterDeploymentObservationList contains a list of MulticlusterDeploymentObservation

func (*MulticlusterDeploymentObservationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeploymentObservationList.

func (*MulticlusterDeploymentObservationList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MulticlusterDeploymentObservationList) DeepCopyObject

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MulticlusterDeploymentObservationSpec

type MulticlusterDeploymentObservationSpec struct {
}

MulticlusterDeploymentObservationSpec defines the desired state of MulticlusterDeploymentObservation

func (*MulticlusterDeploymentObservationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeploymentObservationSpec.

func (*MulticlusterDeploymentObservationSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MulticlusterDeploymentObservationStatus

type MulticlusterDeploymentObservationStatus struct {
	// +optional
	LiveState *MulticlusterDeployment `json:"liveState,omitempty"`
}

MulticlusterDeploymentObservationStatus defines the observed state of MulticlusterDeploymentObservation

func (*MulticlusterDeploymentObservationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeploymentObservationStatus.

func (*MulticlusterDeploymentObservationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MulticlusterDeploymentStatus

type MulticlusterDeploymentStatus struct {
	// +optional
	Replicas int32 `json:"replicas,omitempty"`

	// +optional
	LabelSelector string `json:"labelSelector,omitempty"`
}

MulticlusterDeploymentStatus defines the observed state of MulticlusterDeployment

func (*MulticlusterDeploymentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterDeploymentStatus.

func (*MulticlusterDeploymentStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeObservation

type NodeObservation struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec NodeObservationSpec `json:"spec,omitempty"`
	// +optional
	Status NodeObservationStatus `json:"status,omitempty"`
}

NodeObservation is the Schema for the nodeobservations API +k8s:openapi-gen=true +kubebuilder:categories=observations

func (*NodeObservation) DeepCopy

func (in *NodeObservation) DeepCopy() *NodeObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeObservation.

func (*NodeObservation) DeepCopyInto

func (in *NodeObservation) DeepCopyInto(out *NodeObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeObservation) DeepCopyObject

func (in *NodeObservation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodeObservationList

type NodeObservationList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NodeObservation `json:"items"`
}

NodeObservationList contains a list of NodeObservation

func (*NodeObservationList) DeepCopy

func (in *NodeObservationList) DeepCopy() *NodeObservationList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeObservationList.

func (*NodeObservationList) DeepCopyInto

func (in *NodeObservationList) DeepCopyInto(out *NodeObservationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodeObservationList) DeepCopyObject

func (in *NodeObservationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodeObservationSpec

type NodeObservationSpec struct {
}

NodeObservationSpec defines the desired state of NodeObservation

func (*NodeObservationSpec) DeepCopy

func (in *NodeObservationSpec) DeepCopy() *NodeObservationSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeObservationSpec.

func (*NodeObservationSpec) DeepCopyInto

func (in *NodeObservationSpec) DeepCopyInto(out *NodeObservationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeObservationStatus

type NodeObservationStatus struct {
	// +optional
	LiveState *corev1.Node `json:"liveState,omitempty"`
}

NodeObservationStatus defines the observed state of NodeObservation

func (*NodeObservationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeObservationStatus.

func (*NodeObservationStatus) DeepCopyInto

func (in *NodeObservationStatus) DeepCopyInto(out *NodeObservationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodePool

type NodePool struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec NodePoolSpec `json:"spec,omitempty"`
	// +optional
	Status NodePoolStatus `json:"status,omitempty"`
}

NodePool is the Schema for the nodepools API +k8s:openapi-gen=true

func (*NodePool) DeepCopy

func (in *NodePool) DeepCopy() *NodePool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePool.

func (*NodePool) DeepCopyInto

func (in *NodePool) DeepCopyInto(out *NodePool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodePool) DeepCopyObject

func (in *NodePool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePoolList

type NodePoolList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NodePool `json:"items"`
}

NodePoolList contains a list of NodePool

func (*NodePoolList) DeepCopy

func (in *NodePoolList) DeepCopy() *NodePoolList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolList.

func (*NodePoolList) DeepCopyInto

func (in *NodePoolList) DeepCopyInto(out *NodePoolList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodePoolList) DeepCopyObject

func (in *NodePoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePoolObservation

type NodePoolObservation struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec NodePoolObservationSpec `json:"spec,omitempty"`
	// +optional
	Status NodePoolObservationStatus `json:"status,omitempty"`
}

NodePoolObservation is the Schema for the nodepoolobservations API +k8s:openapi-gen=true +kubebuilder:categories=observations

func (*NodePoolObservation) DeepCopy

func (in *NodePoolObservation) DeepCopy() *NodePoolObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolObservation.

func (*NodePoolObservation) DeepCopyInto

func (in *NodePoolObservation) DeepCopyInto(out *NodePoolObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodePoolObservation) DeepCopyObject

func (in *NodePoolObservation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePoolObservationList

type NodePoolObservationList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []NodePoolObservation `json:"items"`
}

NodePoolObservationList contains a list of NodePoolObservation

func (*NodePoolObservationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolObservationList.

func (*NodePoolObservationList) DeepCopyInto

func (in *NodePoolObservationList) DeepCopyInto(out *NodePoolObservationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NodePoolObservationList) DeepCopyObject

func (in *NodePoolObservationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NodePoolObservationSpec

type NodePoolObservationSpec struct {
}

NodePoolObservationSpec defines the desired state of NodePoolObservation

func (*NodePoolObservationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolObservationSpec.

func (*NodePoolObservationSpec) DeepCopyInto

func (in *NodePoolObservationSpec) DeepCopyInto(out *NodePoolObservationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodePoolObservationStatus

type NodePoolObservationStatus struct {
	// +optional
	LiveState *NodePool `json:"liveState,omitempty"`
}

NodePoolObservationStatus defines the observed state of NodePoolObservation

func (*NodePoolObservationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolObservationStatus.

func (*NodePoolObservationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodePoolSpec

type NodePoolSpec struct {
	// +optional
	Selector     *metav1.LabelSelector `json:"selector,omitempty"`
	MinNodeCount int32                 `json:"minNodeCount"`
	MaxNodeCount int32                 `json:"maxNodeCount"`
	// +optional
	NodePrice *resource.Quantity `json:"price,omitempty"`
	// +optional
	NodeAllocatable corev1.ResourceList `json:"allocatable,omitempty"`
}

NodePoolSpec defines the desired state of NodePool

func (*NodePoolSpec) DeepCopy

func (in *NodePoolSpec) DeepCopy() *NodePoolSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolSpec.

func (*NodePoolSpec) DeepCopyInto

func (in *NodePoolSpec) DeepCopyInto(out *NodePoolSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodePoolStatus

type NodePoolStatus struct {
}

NodePoolStatus defines the observed state of NodePool

func (*NodePoolStatus) DeepCopy

func (in *NodePoolStatus) DeepCopy() *NodePoolStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatus.

func (*NodePoolStatus) DeepCopyInto

func (in *NodePoolStatus) DeepCopyInto(out *NodePoolStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodObservation

type PodObservation struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec PodObservationSpec `json:"spec,omitempty"`
	// +optional
	Status PodObservationStatus `json:"status,omitempty"`
}

PodObservation is the Schema for the podobservations API +k8s:openapi-gen=true +kubebuilder:categories=observations

func (*PodObservation) DeepCopy

func (in *PodObservation) DeepCopy() *PodObservation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodObservation.

func (*PodObservation) DeepCopyInto

func (in *PodObservation) DeepCopyInto(out *PodObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodObservation) DeepCopyObject

func (in *PodObservation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PodObservationList

type PodObservationList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PodObservation `json:"items"`
}

PodObservationList contains a list of PodObservation

func (*PodObservationList) DeepCopy

func (in *PodObservationList) DeepCopy() *PodObservationList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodObservationList.

func (*PodObservationList) DeepCopyInto

func (in *PodObservationList) DeepCopyInto(out *PodObservationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PodObservationList) DeepCopyObject

func (in *PodObservationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PodObservationSpec

type PodObservationSpec struct {
}

PodObservationSpec defines the desired state of PodObservation

func (*PodObservationSpec) DeepCopy

func (in *PodObservationSpec) DeepCopy() *PodObservationSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodObservationSpec.

func (*PodObservationSpec) DeepCopyInto

func (in *PodObservationSpec) DeepCopyInto(out *PodObservationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodObservationStatus

type PodObservationStatus struct {
	// +optional
	LiveState *corev1.Pod `json:"liveState,omitempty"`
}

PodObservationStatus defines the observed state of PodObservation

func (*PodObservationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodObservationStatus.

func (*PodObservationStatus) DeepCopyInto

func (in *PodObservationStatus) DeepCopyInto(out *PodObservationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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