v1alpha2

package
v0.0.0-...-9421b25 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the extend.oam.dev v1alpha2 API group +kubebuilder:object:generate=true +groupName=extend.oam.dev

Index

Constants

This section is empty.

Variables

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

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

type RolloutHistory struct {
	Revision int64 `json:"revision,omitempty"`

	HistoryData runtime.RawExtension `json:"historyData,omitempty"`
}

func (*RolloutHistory) DeepCopy

func (in *RolloutHistory) DeepCopy() *RolloutHistory

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

func (*RolloutHistory) DeepCopyInto

func (in *RolloutHistory) DeepCopyInto(out *RolloutHistory)

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

type SimpleRolloutTrait

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

	Spec   SimpleRolloutTraitSpec   `json:"spec,omitempty"`
	Status SimpleRolloutTraitStatus `json:"status,omitempty"`
}

SimpleRolloutTrait is the Schema for the simplerollouttraits API

func (*SimpleRolloutTrait) DeepCopy

func (in *SimpleRolloutTrait) DeepCopy() *SimpleRolloutTrait

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

func (*SimpleRolloutTrait) DeepCopyInto

func (in *SimpleRolloutTrait) DeepCopyInto(out *SimpleRolloutTrait)

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

func (*SimpleRolloutTrait) DeepCopyObject

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

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

func (*SimpleRolloutTrait) GetCondition

GetCondition of this SimpleRolloutTrait.

func (*SimpleRolloutTrait) GetRolloutHistory

func (rt *SimpleRolloutTrait) GetRolloutHistory() []RolloutHistory

func (*SimpleRolloutTrait) GetWorkloadReference

func (rt *SimpleRolloutTrait) GetWorkloadReference() runtimev1alpha1.TypedReference

GetWorkloadReference of this SimpleRolloutTrait.

func (*SimpleRolloutTrait) SetConditions

func (rt *SimpleRolloutTrait) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this SimpleRolloutTrait.

func (*SimpleRolloutTrait) SetRolloutHistory

func (rt *SimpleRolloutTrait) SetRolloutHistory(rh []RolloutHistory)

func (*SimpleRolloutTrait) SetWorkloadReference

func (rt *SimpleRolloutTrait) SetWorkloadReference(r runtimev1alpha1.TypedReference)

SetWorkloadReference of this SimpleRolloutTrait.

type SimpleRolloutTraitList

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

SimpleRolloutTraitList contains a list of SimpleRolloutTrait

func (*SimpleRolloutTraitList) DeepCopy

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

func (*SimpleRolloutTraitList) DeepCopyInto

func (in *SimpleRolloutTraitList) DeepCopyInto(out *SimpleRolloutTraitList)

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

func (*SimpleRolloutTraitList) DeepCopyObject

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

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

type SimpleRolloutTraitSpec

type SimpleRolloutTraitSpec struct {
	Replica        *int32              `json:"replica"`
	Batch          *intstr.IntOrString `json:"batch"`
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable"`

	WorkloadReference runtimev1alpha1.TypedReference `json:"workloadRef"`
}

SimpleRolloutTraitSpec defines the desired state of SimpleRolloutTrait

func (*SimpleRolloutTraitSpec) DeepCopy

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

func (*SimpleRolloutTraitSpec) DeepCopyInto

func (in *SimpleRolloutTraitSpec) DeepCopyInto(out *SimpleRolloutTraitSpec)

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

type SimpleRolloutTraitStatus

type SimpleRolloutTraitStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	runtimev1alpha1.ConditionedStatus `json:",inline"`

	RolloutHistory []RolloutHistory `json:"rolloutiHistory,omitempty"`

	CurrentWorkloadReference runtimev1alpha1.TypedReference `json:"currentWorkloadRef,omitempty"`
}

SimpleRolloutTraitStatus defines the observed state of SimpleRolloutTrait

func (*SimpleRolloutTraitStatus) DeepCopy

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

func (*SimpleRolloutTraitStatus) DeepCopyInto

func (in *SimpleRolloutTraitStatus) DeepCopyInto(out *SimpleRolloutTraitStatus)

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