Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the day2-operations v1alpha1 API group +kubebuilder:object:generate=true +groupName=day2-operations.goharbor.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "day2-operations.goharbor.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 CertInjection ¶
type CertInjection struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CertInjectionSpec `json:"spec,omitempty"`
Status CertInjectionStatus `json:"status,omitempty"`
}
CertInjection is the Schema for the certinjections API
func (*CertInjection) DeepCopy ¶
func (in *CertInjection) DeepCopy() *CertInjection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInjection.
func (*CertInjection) DeepCopyInto ¶
func (in *CertInjection) DeepCopyInto(out *CertInjection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertInjection) DeepCopyObject ¶
func (in *CertInjection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertInjectionCondition ¶
type CertInjectionCondition struct {
Type string `json:"type"`
Status corev1.ConditionStatus `json:"status"`
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
Reason string `json:"reason,omitempty"`
Message string `json:"message,omitempty"`
}
CertInjectionCondition defines the observed condition of CertInjectionStatus.
func (*CertInjectionCondition) DeepCopy ¶
func (in *CertInjectionCondition) DeepCopy() *CertInjectionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInjectionCondition.
func (*CertInjectionCondition) DeepCopyInto ¶
func (in *CertInjectionCondition) DeepCopyInto(out *CertInjectionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertInjectionList ¶
type CertInjectionList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CertInjection `json:"items"`
}
CertInjectionList contains a list of CertInjection
func (*CertInjectionList) DeepCopy ¶
func (in *CertInjectionList) DeepCopy() *CertInjectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInjectionList.
func (*CertInjectionList) DeepCopyInto ¶
func (in *CertInjectionList) DeepCopyInto(out *CertInjectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertInjectionList) DeepCopyObject ¶
func (in *CertInjectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertInjectionSpec ¶
type CertInjectionSpec struct {
// +kubebuilder:validation:Required
// ExternalDNS of the harbor registry.
ExternalDNS string `json:"externalDNS"`
// +kubebuilder:validation:Required
// CertSecret is the name of the secret which contains the certificate.
CertSecret corev1.LocalObjectReference `json:"certSecret"`
}
CertInjectionSpec defines the desired state of CertInjection
func (*CertInjectionSpec) DeepCopy ¶
func (in *CertInjectionSpec) DeepCopy() *CertInjectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInjectionSpec.
func (*CertInjectionSpec) DeepCopyInto ¶
func (in *CertInjectionSpec) DeepCopyInto(out *CertInjectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CertInjectionStatus ¶
type CertInjectionStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
// Conditions of CertInjection.
Conditions []CertInjectionCondition `json:"conditions,omitempty"`
// CertSourceRef where the CA certification from.
CertSourceRef *corev1.ObjectReference `json:"certSource,omitempty"`
// Injector injects the CA cert into worker nodes where containerd is running.
// Rely on a DaemonSet to do injection work.
Injector *corev1.ObjectReference `json:"injector,omitempty"`
}
CertInjectionStatus defines the observed state of CertInjection
func (*CertInjectionStatus) DeepCopy ¶
func (in *CertInjectionStatus) DeepCopy() *CertInjectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInjectionStatus.
func (*CertInjectionStatus) DeepCopyInto ¶
func (in *CertInjectionStatus) DeepCopyInto(out *CertInjectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.