v1alpha1

package
v0.0.0-...-bc1b9ee Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the infrascheduler v1alpha1 API group +kubebuilder:object:generate=true +groupName=infrascheduler.bward.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "infrascheduler.bward.dev", Version: "v1alpha1"}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type InfraScheduler

type InfraScheduler struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   InfraSchedulerSpec   `json:"spec,omitempty"`
	Status InfraSchedulerStatus `json:"status,omitempty"`
}

InfraScheduler is the Schema for the infraschedulers API

func (*InfraScheduler) DeepCopy

func (in *InfraScheduler) DeepCopy() *InfraScheduler

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

func (*InfraScheduler) DeepCopyInto

func (in *InfraScheduler) DeepCopyInto(out *InfraScheduler)

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

func (*InfraScheduler) DeepCopyObject

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

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

type InfraSchedulerList

type InfraSchedulerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []InfraScheduler `json:"items"`
}

InfraSchedulerList contains a list of InfraScheduler

func (*InfraSchedulerList) DeepCopy

func (in *InfraSchedulerList) DeepCopy() *InfraSchedulerList

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

func (*InfraSchedulerList) DeepCopyInto

func (in *InfraSchedulerList) DeepCopyInto(out *InfraSchedulerList)

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

func (*InfraSchedulerList) DeepCopyObject

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

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

type InfraSchedulerSpec

type InfraSchedulerSpec struct {
	Method  string `json:"method,omitempty"`
	Managed bool   `json:"managed,omitempty"`
	// TODO either MachineSetManaged or Nodes must be populated but not both
	//    MachineSetManaged MachinSetManagedSpec `json:"machineSetManage,omitempty"`
	Nodes   string `json:"nodes,omitempty"`
	Isolate bool   `json:"isolate,omitempty"`
}

InfraSchedulerSpec defines the desired state of InfraScheduler

func (*InfraSchedulerSpec) DeepCopy

func (in *InfraSchedulerSpec) DeepCopy() *InfraSchedulerSpec

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

func (*InfraSchedulerSpec) DeepCopyInto

func (in *InfraSchedulerSpec) DeepCopyInto(out *InfraSchedulerSpec)

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

type InfraSchedulerStatus

type InfraSchedulerStatus struct {
}

InfraSchedulerStatus defines the observed state of InfraScheduler

func (*InfraSchedulerStatus) DeepCopy

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

func (*InfraSchedulerStatus) DeepCopyInto

func (in *InfraSchedulerStatus) DeepCopyInto(out *InfraSchedulerStatus)

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

type MachineSetManaged

type MachineSetManaged struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineSetManagedSpec   `json:"spec,omitempty"`
	Status MachineSetManagedStatus `json:"status,omitempty"`
}

MachineSetManaged is the Schema for the machinesetmanageds API

func (*MachineSetManaged) DeepCopy

func (in *MachineSetManaged) DeepCopy() *MachineSetManaged

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

func (*MachineSetManaged) DeepCopyInto

func (in *MachineSetManaged) DeepCopyInto(out *MachineSetManaged)

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

func (*MachineSetManaged) DeepCopyObject

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

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

type MachineSetManagedList

type MachineSetManagedList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MachineSetManaged `json:"items"`
}

MachineSetManagedList contains a list of MachineSetManaged

func (*MachineSetManagedList) DeepCopy

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

func (*MachineSetManagedList) DeepCopyInto

func (in *MachineSetManagedList) DeepCopyInto(out *MachineSetManagedList)

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

func (*MachineSetManagedList) DeepCopyObject

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

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

type MachineSetManagedSpec

type MachineSetManagedSpec struct {
	AvailabilityZones string `json:"availabilityZones,omitempty"`
	Replicas          int32  `json:"replicas,omitempty"`
}

MachineSetManagedSpec defines the desired state of MachineSetManaged

func (*MachineSetManagedSpec) DeepCopy

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

func (*MachineSetManagedSpec) DeepCopyInto

func (in *MachineSetManagedSpec) DeepCopyInto(out *MachineSetManagedSpec)

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

type MachineSetManagedStatus

type MachineSetManagedStatus struct {
}

MachineSetManagedStatus defines the observed state of MachineSetManaged

func (*MachineSetManagedStatus) DeepCopy

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

func (*MachineSetManagedStatus) DeepCopyInto

func (in *MachineSetManagedStatus) DeepCopyInto(out *MachineSetManagedStatus)

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