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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewCA.
func (*NewCA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NewCA) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewCAList.
func (*NewCAList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NewCAList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewCASpec.
func (*NewCASpec) DeepCopyInto ¶
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" )