v1

package
v0.0.0-...-a2ec8dc Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the apps v1 API group +kubebuilder:object:generate=true +groupName=apps.michael-diggin.github.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "apps.michael-diggin.github.io", Version: "v1"}

	// 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 RollingPodSet

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

	Spec   RollingPodSetSpec   `json:"spec,omitempty"`
	Status RollingPodSetStatus `json:"status,omitempty"`
}

RollingPodSet is the Schema for the rollingpodsets API

func (*RollingPodSet) DeepCopy

func (in *RollingPodSet) DeepCopy() *RollingPodSet

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

func (*RollingPodSet) DeepCopyInto

func (in *RollingPodSet) DeepCopyInto(out *RollingPodSet)

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

func (*RollingPodSet) DeepCopyObject

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

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

type RollingPodSetList

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

RollingPodSetList contains a list of RollingPodSet

func (*RollingPodSetList) DeepCopy

func (in *RollingPodSetList) DeepCopy() *RollingPodSetList

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

func (*RollingPodSetList) DeepCopyInto

func (in *RollingPodSetList) DeepCopyInto(out *RollingPodSetList)

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

func (*RollingPodSetList) DeepCopyObject

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

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

type RollingPodSetSpec

type RollingPodSetSpec struct {

	// Replicas is the number of Pods of the RollingPodSet to be deployed at any one time.
	Replicas int `json:"replicas,omitempty"`

	// PodTemplate specifies the Pod that will be created by the RollingPodSet.
	PodTemplate corev1.PodTemplateSpec `json:"podTemplate,omitempty"`

	// Specifies the duration that pods will be cycled after.
	CycleTime int64 `json:"cycleTime,omitempty"`

	// Selector is a label query over pods to match the replica count.
	Selector metav1.LabelSelector `json:"selector,omitempty"`
}

RollingPodSetSpec defines the desired state of RollingPodSet

func (*RollingPodSetSpec) DeepCopy

func (in *RollingPodSetSpec) DeepCopy() *RollingPodSetSpec

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

func (*RollingPodSetSpec) DeepCopyInto

func (in *RollingPodSetSpec) DeepCopyInto(out *RollingPodSetSpec)

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

type RollingPodSetStatus

type RollingPodSetStatus struct {
	Replicas int `json:"replicas,omitempty"`

	AvailableReplicas int `json:"availableReplicas,omitempty"`
}

RollingPodSetStatus defines the observed state of RollingPodSet

func (*RollingPodSetStatus) DeepCopy

func (in *RollingPodSetStatus) DeepCopy() *RollingPodSetStatus

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

func (*RollingPodSetStatus) DeepCopyInto

func (in *RollingPodSetStatus) DeepCopyInto(out *RollingPodSetStatus)

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