v1alpha1

package
v1.59.10 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapStatus added in v1.46.0

type BootstrapStatus struct {
	// Endpoint for getting bootstrap logs
	LogsEndpoint string `json:"logsEndpoint,omitempty"`
	Description  string `json:"description,omitempty"`
}

BootstrapStatus is information about bootstrapping process

func (*BootstrapStatus) DeepCopy added in v1.46.0

func (in *BootstrapStatus) DeepCopy() *BootstrapStatus

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

func (*BootstrapStatus) DeepCopyInto added in v1.46.0

func (in *BootstrapStatus) DeepCopyInto(out *BootstrapStatus)

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

type ClassReference added in v1.46.0

type ClassReference struct {
	// Kind of a ClassReference resource: OpenStackInstanceClass, GCPInstanceClass, ...
	Kind string `json:"kind,omitempty"`

	// Name of a ClassReference resource.
	Name string `json:"name,omitempty"`
}

func (*ClassReference) DeepCopy added in v1.46.0

func (in *ClassReference) DeepCopy() *ClassReference

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

func (*ClassReference) DeepCopyInto added in v1.46.0

func (in *ClassReference) DeepCopyInto(out *ClassReference)

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

type CurrentStatus added in v1.46.0

type CurrentStatus struct {
	Phase InstancePhase `json:"phase,omitempty"`

	// Last update time of current status
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
}

CurrentStatus contains information about the current status of Machine.

func (*CurrentStatus) DeepCopy added in v1.46.0

func (in *CurrentStatus) DeepCopy() *CurrentStatus

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

func (*CurrentStatus) DeepCopyInto added in v1.46.0

func (in *CurrentStatus) DeepCopyInto(out *CurrentStatus)

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

type Instance added in v1.46.0

type Instance struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Most recently observed status of the instance.
	Status InstanceStatus `json:"status,omitempty"`
}

Instance is resource for instance in the cloud.

func (*Instance) DeepCopy added in v1.46.0

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto added in v1.46.0

func (in *Instance) DeepCopyInto(out *Instance)

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

func (*Instance) DeepCopyObject added in v1.46.0

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

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

type InstancePhase added in v1.46.0

type InstancePhase string

InstancePhase is a label for the condition of a machines at the current time.

const (
	// InstancePending means that the machine is being created
	InstancePending InstancePhase = "Pending"

	// InstanceAvailable means that machine is present on provider but hasn't joined cluster yet
	InstanceAvailable InstancePhase = "Available"

	// InstanceRunning means node is ready and running successfully
	InstanceRunning InstancePhase = "Running"

	// InstanceTerminating means node is terminating
	InstanceTerminating InstancePhase = "Terminating"

	// InstanceUnknown indicates that the node is not ready at the movement
	InstanceUnknown InstancePhase = "Unknown"

	// InstanceFailed means operation failed leading to machine status failure
	InstanceFailed InstancePhase = "Failed"

	// InstanceCrashLoopBackOff means creation or deletion of the machine is failing.
	InstanceCrashLoopBackOff InstancePhase = "CrashLoopBackOff"
)

These are the valid statuses of machines.

type InstanceStatus added in v1.46.0

type InstanceStatus struct {
	// Reference to kubernetes node object
	NodeRef NodeRef `json:"nodeRef,omitempty"`

	// Reference to specific machine in the cloud
	MachineRef MachineRef `json:"machineRef,omitempty"`

	// Current status of the instance object
	CurrentStatus CurrentStatus `json:"currentStatus,omitempty"`

	// Last operation refers to the status of the last operation performed
	LastOperation LastOperation `json:"lastOperation,omitempty"`

	// Information about instance bootstrapping process
	BootstrapStatus BootstrapStatus `json:"bootstrapStatus,omitempty"`

	// Reference to a ClassInstance resource.
	ClassReference ClassReference `json:"classReference,omitempty"`
}

InstanceStatus is a status of instance.

func (*InstanceStatus) DeepCopy added in v1.46.0

func (in *InstanceStatus) DeepCopy() *InstanceStatus

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

func (*InstanceStatus) DeepCopyInto added in v1.46.0

func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)

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

func (*InstanceStatus) GetObjectKind added in v1.46.0

func (in *InstanceStatus) GetObjectKind() schema.ObjectKind

type LastOperation added in v1.46.0

type LastOperation struct {
	// Description of the current operation
	Description string `json:"description,omitempty"`

	// Last update time of current operation
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`

	// State of operation
	State State `json:"state,omitempty"`

	// Type of operation
	Type OperationType `json:"type,omitempty"`
}

LastOperation suggests the last operation performed on the object

func (*LastOperation) DeepCopy added in v1.46.0

func (in *LastOperation) DeepCopy() *LastOperation

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

func (*LastOperation) DeepCopyInto added in v1.46.0

func (in *LastOperation) DeepCopyInto(out *LastOperation)

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

type MachineRef added in v1.46.0

type MachineRef struct {
	Kind string `json:"kind,omitempty"`

	APIVersion string `json:"apiVersion,omitempty"`

	Name string `json:"name,omitempty"`

	Namespace string `json:"namespace,omitempty"`
}

MachineRef is reference to specific machine object

func (*MachineRef) DeepCopy added in v1.46.0

func (in *MachineRef) DeepCopy() *MachineRef

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

func (*MachineRef) DeepCopyInto added in v1.46.0

func (in *MachineRef) DeepCopyInto(out *MachineRef)

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

type NodeRef added in v1.46.0

type NodeRef struct {
	// Node object name
	Name string `json:"name,omitempty"`
}

NodeRef is reference to node object.

func (*NodeRef) DeepCopy added in v1.46.0

func (in *NodeRef) DeepCopy() *NodeRef

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

func (*NodeRef) DeepCopyInto added in v1.46.0

func (in *NodeRef) DeepCopyInto(out *NodeRef)

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

type OperationType added in v1.46.0

type OperationType string

OperationType is a label for the operation performed on a machine object.

const (
	// OperationCreate indicates that the operation was a create
	OperationCreate OperationType = "Create"

	// OperationUpdate indicates that the operation was an update
	OperationUpdate OperationType = "Update"

	// OperationHealthCheck indicates that the operation was a create
	OperationHealthCheck OperationType = "HealthCheck"

	// OperationDelete indicates that the operation was a create
	OperationDelete OperationType = "Delete"
)

These are the valid statuses of machines.

type State added in v1.46.0

type State string

State is a current state of the machine.

const (
	// StatePending means there are operations pending on this machine state
	StateProcessing State = "Processing"

	// StateFailed means operation failed leading to machine status failure
	StateFailed State = "Failed"

	// StateSuccessful indicates that the node is not ready at the moment
	StateSuccessful State = "Successful"
)

These are the valid statuses of machines.

Jump to

Keyboard shortcuts

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