v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the argoproj.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=argoproj.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   RolloutManagerSpec   `json:"spec,omitempty"`
	Status RolloutManagerStatus `json:"status,omitempty"`
}

RolloutManager is the Schema for the RolloutManagers API

func (*RolloutManager) DeepCopy

func (in *RolloutManager) DeepCopy() *RolloutManager

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

func (*RolloutManager) DeepCopyInto

func (in *RolloutManager) DeepCopyInto(out *RolloutManager)

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

func (*RolloutManager) DeepCopyObject

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

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

type RolloutManagerList

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

RolloutManagerList contains a list of RolloutManagers

func (*RolloutManagerList) DeepCopy

func (in *RolloutManagerList) DeepCopy() *RolloutManagerList

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

func (*RolloutManagerList) DeepCopyInto

func (in *RolloutManagerList) DeepCopyInto(out *RolloutManagerList)

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

func (*RolloutManagerList) DeepCopyObject

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

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

type RolloutManagerSpec

type RolloutManagerSpec struct {

	// Env lets you specify environment for Rollouts pods
	Env []corev1.EnvVar `json:"env,omitempty"`

	// Extra Command arguments that would append to the Rollouts
	// ExtraCommandArgs will not be added, if one of these commands is already part of the Rollouts command
	// with same or different value.
	ExtraCommandArgs []string `json:"extraCommandArgs,omitempty"`

	// Image defines Argo Rollouts controller image (optional)
	Image string `json:"image,omitempty"`

	// NodePlacement defines NodeSelectors and Taints for Rollouts workloads
	NodePlacement *RolloutsNodePlacementSpec `json:"nodePlacement,omitempty"`

	// Version defines Argo Rollouts controller tag (optional)
	Version string `json:"version,omitempty"`
}

RolloutManagerSpec defines the desired state of Argo Rollouts

func (*RolloutManagerSpec) DeepCopy

func (in *RolloutManagerSpec) DeepCopy() *RolloutManagerSpec

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

func (*RolloutManagerSpec) DeepCopyInto

func (in *RolloutManagerSpec) DeepCopyInto(out *RolloutManagerSpec)

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

type RolloutManagerStatus

type RolloutManagerStatus struct {
	// RolloutController is a simple, high-level summary of where the RolloutController component is in its lifecycle.
	// There are three possible RolloutController values:
	// Pending: The RolloutController component has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
	// Running: All of the required Pods for the RolloutController component are in a Ready state.
	// Unknown: The state of the RolloutController component could not be obtained.
	RolloutController string `json:"rolloutController,omitempty"`
	// Phase is a simple, high-level summary of where the RolloutManager is in its lifecycle.
	// There are three possible phase values:
	// Pending: The RolloutManager has been accepted by the Kubernetes system, but one or more of the required resources have not been created.
	// Available: All of the resources for the RolloutManager are ready.
	// Unknown: The state of the RolloutManager phase could not be obtained.
	Phase string `json:"phase,omitempty"`
}

RolloutManagerStatus defines the observed state of RolloutManager

func (*RolloutManagerStatus) DeepCopy

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

func (*RolloutManagerStatus) DeepCopyInto

func (in *RolloutManagerStatus) DeepCopyInto(out *RolloutManagerStatus)

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

type RolloutsNodePlacementSpec

type RolloutsNodePlacementSpec struct {
	// NodeSelector is a field of PodSpec, it is a map of key value pairs used for node selection
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// Tolerations allow the pods to schedule onto nodes with matching taints
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}

ArgoRolloutsNodePlacementSpec is used to specify NodeSelector and Tolerations for Rollouts workloads

func (*RolloutsNodePlacementSpec) DeepCopy

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

func (*RolloutsNodePlacementSpec) DeepCopyInto

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