v1alpha1

package
v0.0.0-...-8d26c38 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the replicaset v1alpha1 API group +kubebuilder:object:generate=true +groupName=replicaset.my.domain

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "replicaset.my.domain", 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 AnotherReplicaSet

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

	Spec   AnotherReplicaSetSpec   `json:"spec,omitempty"`
	Status AnotherReplicaSetStatus `json:"status,omitempty"`
}

AnotherReplicaSet is the Schema for the anotherreplicasets API

func (*AnotherReplicaSet) DeepCopy

func (in *AnotherReplicaSet) DeepCopy() *AnotherReplicaSet

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

func (*AnotherReplicaSet) DeepCopyInto

func (in *AnotherReplicaSet) DeepCopyInto(out *AnotherReplicaSet)

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

func (*AnotherReplicaSet) DeepCopyObject

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

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

type AnotherReplicaSetList

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

AnotherReplicaSetList contains a list of AnotherReplicaSet

func (*AnotherReplicaSetList) DeepCopy

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

func (*AnotherReplicaSetList) DeepCopyInto

func (in *AnotherReplicaSetList) DeepCopyInto(out *AnotherReplicaSetList)

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

func (*AnotherReplicaSetList) DeepCopyObject

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

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

type AnotherReplicaSetSpec

type AnotherReplicaSetSpec struct {

	// Replicas is number of pods we want the controller to run at the same time
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=1
	Replicas int32 `json:"replicas"`
}

AnotherReplicaSetSpec defines the desired state of AnotherReplicaSet

func (*AnotherReplicaSetSpec) DeepCopy

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

func (*AnotherReplicaSetSpec) DeepCopyInto

func (in *AnotherReplicaSetSpec) DeepCopyInto(out *AnotherReplicaSetSpec)

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

type AnotherReplicaSetStatus

type AnotherReplicaSetStatus struct {

	// +kubebuilder:validation:Optional
	AvailableReplicas int32 `json:"availableReplicas"`
}

AnotherReplicaSetStatus defines the observed state of AnotherReplicaSet

func (*AnotherReplicaSetStatus) DeepCopy

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

func (*AnotherReplicaSetStatus) DeepCopyInto

func (in *AnotherReplicaSetStatus) DeepCopyInto(out *AnotherReplicaSetStatus)

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