v1

package
v0.0.0-...-3dda48a Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the istiocarotation v1 API group +kubebuilder:object:generate=true +groupName=istiocarotation.intel.com

Index

Constants

This section is empty.

Variables

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

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

	Spec   NewCASpec   `json:"spec,omitempty"`
	Status NewCAStatus `json:"status,omitempty"`
}

NewCA is the Schema for the newcas API

func (*NewCA) DeepCopy

func (in *NewCA) DeepCopy() *NewCA

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

func (*NewCA) DeepCopyInto

func (in *NewCA) DeepCopyInto(out *NewCA)

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

func (*NewCA) DeepCopyObject

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

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

type NewCAList

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

NewCAList contains a list of NewCA

func (*NewCAList) DeepCopy

func (in *NewCAList) DeepCopy() *NewCAList

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

func (*NewCAList) DeepCopyInto

func (in *NewCAList) DeepCopyInto(out *NewCAList)

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

func (*NewCAList) DeepCopyObject

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

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

type NewCASpec

type NewCASpec struct {
	// Name of the secret.
	Secret string `json:"secret,omitempty"`

	// Namespace of the secret.
	Namespace string `json:"namespace,omitempty"`
}

NewCASpec defines the desired state of NewCA

func (*NewCASpec) DeepCopy

func (in *NewCASpec) DeepCopy() *NewCASpec

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

func (*NewCASpec) DeepCopyInto

func (in *NewCASpec) DeepCopyInto(out *NewCASpec)

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

type NewCAStatus

type NewCAStatus struct {
	// Status tells if the cluster has succeeded in rotating the Istio CA. Possible
	// values: "Complete", "In progress", "Failure"
	Status RotationState `json:"status,omitempty"`
}

NewCAStatus defines the observed state of NewCA

func (*NewCAStatus) DeepCopy

func (in *NewCAStatus) DeepCopy() *NewCAStatus

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

func (*NewCAStatus) DeepCopyInto

func (in *NewCAStatus) DeepCopyInto(out *NewCAStatus)

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

type RotationState

type RotationState string

+kubebuilder:validation:Enum=Complete;In progress;Failure

const (
	// CompleteRotation meanst that no CA rotation is in progress.
	CompleteRotation RotationState = "Complete"

	// InProgressRotation means that the rotation is happening right now.
	InProgressRotation RotationState = "In progress"

	// FailedRotation means that the rotation has failed.
	FailedRotation RotationState = "Failure"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL