Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the kubic v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubic-project/registries-operator/pkg/apis/kubic +k8s:defaulter-gen=TypeMeta +groupName=kubic.opensuse.org
Package v1beta1 contains API Schema definitions for the kubic v1beta1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubic-project/registries-operator/pkg/apis/kubic +k8s:defaulter-gen=TypeMeta +groupName=kubic.opensuse.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "kubic.opensuse.org", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RegistrySpec `json:"spec,omitempty"` Status RegistryStatus `json:"status,omitempty"` }
Registry is the Schema for the registries API +k8s:openapi-gen=true
func GetTestRegistry ¶
func (*Registry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Registry.
func (*Registry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Registry) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Registry) GetCertificateSecret ¶
GetCertificateSecret gets the certificate for a registry
type RegistryCertificateStatus ¶
type RegistryCertificateStatus struct { // CertHash is the hash of the certificate that has been installed in the Nodes // When this hash changes, all the Nodes must be invalidated. // +optional CurrentHash string // Number of Nodes where this has been installed NumNodes int }
RegistryCertificateStatus defines the observed state of Registry
func (*RegistryCertificateStatus) DeepCopy ¶
func (in *RegistryCertificateStatus) DeepCopy() *RegistryCertificateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCertificateStatus.
func (*RegistryCertificateStatus) DeepCopyInto ¶
func (in *RegistryCertificateStatus) DeepCopyInto(out *RegistryCertificateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryList ¶
type RegistryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Registry `json:"items"` }
RegistryList contains a list of Registry
func (*RegistryList) DeepCopy ¶
func (in *RegistryList) DeepCopy() *RegistryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryList.
func (*RegistryList) DeepCopyInto ¶
func (in *RegistryList) DeepCopyInto(out *RegistryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RegistryList) DeepCopyObject ¶
func (in *RegistryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RegistrySpec ¶
type RegistrySpec struct { // HostPort is the registry HOST:PORT address (ie, "registry.suse.com:5000") HostPort string `json:"hostPort,omitempty"` // Name of the certificate (stored in a Secret) to use for this registry // +optional Certificate *v1.SecretReference `json:"certificate,omitempty"` }
RegistrySpec defines the desired state of Registry
func (*RegistrySpec) DeepCopy ¶
func (in *RegistrySpec) DeepCopy() *RegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySpec.
func (*RegistrySpec) DeepCopyInto ¶
func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryStatus ¶
type RegistryStatus struct { // Important: Run "make" to regenerate code after modifying this file Certificate RegistryCertificateStatus }
RegistryStatus defines the observed state of Registry
func (*RegistryStatus) DeepCopy ¶
func (in *RegistryStatus) DeepCopy() *RegistryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryStatus.
func (*RegistryStatus) DeepCopyInto ¶
func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.