v1alpha1

package
v0.0.0-...-dd92c9e Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterNodeStatus

type ClusterNodeStatus struct {
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	ClusterVersion string `json:"clusterVersion,omitempty"`
	// +optional
	PreviousVersion string `json:"previousVersion,omitempty"`
	// +optional
	CurrentVersion string `json:"currentRevision,omitempty"`
	// +optional
	Phase *Phase `json:"phase,omitempty"`
	// +optional
	Running bool `json:"running,omitempty"`
	// +optional
	Healthy bool `json:"healthy,omitempty"`
	// +optional
	MatchesCluster bool `json:"matchesCluster,omitempty"`
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

func (*ClusterNodeStatus) DeepCopy

func (in *ClusterNodeStatus) DeepCopy() *ClusterNodeStatus

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

func (*ClusterNodeStatus) DeepCopyInto

func (in *ClusterNodeStatus) DeepCopyInto(out *ClusterNodeStatus)

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

func (*ClusterNodeStatus) GetPhase

func (s *ClusterNodeStatus) GetPhase() Phase

func (*ClusterNodeStatus) SetPhase

func (s *ClusterNodeStatus) SetPhase(phase Phase)

type ClusterPoolStatus

type ClusterPoolStatus struct {
	// +optional
	Replicas int `json:"replicas,omitempty"`
	// +optional
	OutOfDateReplicas int `json:"outOfDateReplicas,omitempty"`
	// +optional
	UpToDateReplicas int `json:"upToDateReplicas,omitempty"`
	// +optional
	HealthyReplicas int `json:"healthyReplicas,omitempty"`
	// +optional
	RunningReplicas int `json:"runningReplicas,omitempty"`
	// +optional
	Selector string `json:"selector,omitempty"`
}

ClusterPoolStatus defines the observed state of Pool

func (*ClusterPoolStatus) DeepCopy

func (in *ClusterPoolStatus) DeepCopy() *ClusterPoolStatus

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

func (*ClusterPoolStatus) DeepCopyInto

func (in *ClusterPoolStatus) DeepCopyInto(out *ClusterPoolStatus)

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

type ClusterStatus

type ClusterStatus struct {
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	NextNode string `json:"nextNode,omitempty"`
	// +optional
	Nodes []string `json:"nodes,omitempty"`
	// +optional
	Replicas int `json:"replicas,omitempty"`
	// +optional
	OutOfDateReplicas int `json:"outOfDateReplicas,omitempty"`
	// +optional
	UpToDateReplicas int `json:"upToDateReplicas,omitempty"`
	// +optional
	DefunctReplicas int `json:"defunctReplicas,omitempty"`
	// +optional
	HealthyReplicas int `json:"healthyReplicas,omitempty"`
	// +optional
	RunningReplicas int `json:"runningReplicas,omitempty"`
	// +optional
	Phase *Phase `json:"phase,omitempty"`
}

ClusterStatus defines the observed state of Cluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

func (*ClusterStatus) GetPhase

func (s *ClusterStatus) GetPhase() Phase

func (*ClusterStatus) SetPhase

func (s *ClusterStatus) SetPhase(phase Phase)

type Phase

type Phase struct {
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=32768
	Name string `json:"name"`
	// +optional
	// +kubebuilder:validation:Minimum=0
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=32768
	Message string `json:"message"`
}

func (*Phase) DeepCopy

func (in *Phase) DeepCopy() *Phase

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

func (*Phase) DeepCopyInto

func (in *Phase) DeepCopyInto(out *Phase)

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