v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: Apache-2.0 Imports: 6 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 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 PodDecision added in v0.2.0

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

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

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

func (*PodDecision) DeepCopy added in v0.2.0

func (in *PodDecision) DeepCopy() *PodDecision

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

func (*PodDecision) DeepCopyInto added in v0.2.0

func (in *PodDecision) DeepCopyInto(out *PodDecision)

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

func (*PodDecision) DeepCopyObject added in v0.2.0

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

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

type PodDecisionList added in v0.2.0

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

PodDecisionList contains a list of PodDecision

func (*PodDecisionList) DeepCopy added in v0.2.0

func (in *PodDecisionList) DeepCopy() *PodDecisionList

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

func (*PodDecisionList) DeepCopyInto added in v0.2.0

func (in *PodDecisionList) DeepCopyInto(out *PodDecisionList)

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

func (*PodDecisionList) DeepCopyObject added in v0.2.0

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

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

type PodDecisionSpec added in v0.2.0

type PodDecisionSpec struct {
	Template corev1.PodTemplateSpec `json:"template"`
}

PodDecisionSpec defines the desired state of PodDecision

func (*PodDecisionSpec) DeepCopy added in v0.2.0

func (in *PodDecisionSpec) DeepCopy() *PodDecisionSpec

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

func (*PodDecisionSpec) DeepCopyInto added in v0.2.0

func (in *PodDecisionSpec) DeepCopyInto(out *PodDecisionSpec)

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

type PodDecisionStatus added in v0.2.0

type PodDecisionStatus struct {
}

PodDecisionStatus defines the observed state of PodDecision

func (*PodDecisionStatus) DeepCopy added in v0.2.0

func (in *PodDecisionStatus) DeepCopy() *PodDecisionStatus

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

func (*PodDecisionStatus) DeepCopyInto added in v0.2.0

func (in *PodDecisionStatus) DeepCopyInto(out *PodDecisionStatus)

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