Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the harbor v1alpha1 API group +kubebuilder:object:generate=true +groupName=harbor.mdlwr.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "harbor.mdlwr.com", 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 ExternalBackend ¶
type ExternalBackend struct { Host string `json:"host,omitempty"` Port int32 `json:"port,omitempty"` }
func (*ExternalBackend) DeepCopy ¶
func (in *ExternalBackend) DeepCopy() *ExternalBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalBackend.
func (*ExternalBackend) DeepCopyInto ¶
func (in *ExternalBackend) DeepCopyInto(out *ExternalBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarborProject ¶
type HarborProject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HarborProjectSpec `json:"spec,omitempty"` Status HarborProjectStatus `json:"status,omitempty"` }
HarborProject is the Schema for the harborprojects API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Available",type="string",JSONPath=".status.conditions[?(@.type=='Available')].status" +kubebuilder:printcolumn:name="HarborService",type="string",JSONPath=".spec.harbor" +kubebuilder:printcolumn:name="Private",type="string",JSONPath=".spec.isPrivate" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*HarborProject) DeepCopy ¶
func (in *HarborProject) DeepCopy() *HarborProject
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborProject.
func (*HarborProject) DeepCopyInto ¶
func (in *HarborProject) DeepCopyInto(out *HarborProject)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HarborProject) DeepCopyObject ¶
func (in *HarborProject) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HarborProjectList ¶
type HarborProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HarborProject `json:"items"` }
HarborProjectList contains a list of HarborProject
func (*HarborProjectList) DeepCopy ¶
func (in *HarborProjectList) DeepCopy() *HarborProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborProjectList.
func (*HarborProjectList) DeepCopyInto ¶
func (in *HarborProjectList) DeepCopyInto(out *HarborProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HarborProjectList) DeepCopyObject ¶
func (in *HarborProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HarborProjectSpec ¶
type HarborProjectSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file //+kubebuilder:default=false IsPrivate *bool `json:"isPrivate,omitempty"` ProxyCacheSpec *ProxyCacheSpec `json:"proxyCache,omitempty"` Harbor string `json:"harbor,omitempty"` }
HarborProjectSpec defines the desired state of HarborProject
func (*HarborProjectSpec) DeepCopy ¶
func (in *HarborProjectSpec) DeepCopy() *HarborProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborProjectSpec.
func (*HarborProjectSpec) DeepCopyInto ¶
func (in *HarborProjectSpec) DeepCopyInto(out *HarborProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarborProjectStatus ¶
type HarborProjectStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
HarborProjectStatus defines the observed state of HarborProject
func (*HarborProjectStatus) DeepCopy ¶
func (in *HarborProjectStatus) DeepCopy() *HarborProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborProjectStatus.
func (*HarborProjectStatus) DeepCopyInto ¶
func (in *HarborProjectStatus) DeepCopyInto(out *HarborProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarborService ¶
type HarborService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HarborServiceSpec `json:"spec,omitempty"` Status HarborServiceStatus `json:"status,omitempty"` }
HarborService is the Schema for the harborservices API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*HarborService) DeepCopy ¶
func (in *HarborService) DeepCopy() *HarborService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborService.
func (*HarborService) DeepCopyInto ¶
func (in *HarborService) DeepCopyInto(out *HarborService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HarborService) DeepCopyObject ¶
func (in *HarborService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HarborServiceList ¶
type HarborServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HarborService `json:"items"` }
HarborServiceList contains a list of HarborService
func (*HarborServiceList) DeepCopy ¶
func (in *HarborServiceList) DeepCopy() *HarborServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborServiceList.
func (*HarborServiceList) DeepCopyInto ¶
func (in *HarborServiceList) DeepCopyInto(out *HarborServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HarborServiceList) DeepCopyObject ¶
func (in *HarborServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HarborServiceSpec ¶
type HarborServiceSpec struct { // Foo is an example field of HarborService. Edit harborservice_types.go to remove/update External *ExternalBackend `json:"externalBackend,omitempty"` Internal *InternalBackend `json:"internalBackend,omitempty"` // +kubebuilder:default=false Insecure bool `json:"insecure,omitempty"` // +kubebuilder:default=https Scheme string `json:"scheme,omitempty"` SecretRef *SecretRef `json:"secretRef,omitempty"` }
HarborServiceSpec defines the desired state of HarborService
func (*HarborServiceSpec) DeepCopy ¶
func (in *HarborServiceSpec) DeepCopy() *HarborServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborServiceSpec.
func (*HarborServiceSpec) DeepCopyInto ¶
func (in *HarborServiceSpec) DeepCopyInto(out *HarborServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarborServiceStatus ¶
type HarborServiceStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
HarborServiceStatus defines the observed state of HarborService
func (*HarborServiceStatus) DeepCopy ¶
func (in *HarborServiceStatus) DeepCopy() *HarborServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborServiceStatus.
func (*HarborServiceStatus) DeepCopyInto ¶
func (in *HarborServiceStatus) DeepCopyInto(out *HarborServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalBackend ¶
type InternalBackend struct { Name string `json:"name"` Port v1.ServiceBackendPort `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"` }
func (*InternalBackend) DeepCopy ¶
func (in *InternalBackend) DeepCopy() *InternalBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalBackend.
func (*InternalBackend) DeepCopyInto ¶
func (in *InternalBackend) DeepCopyInto(out *InternalBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProxyCacheSpec ¶
type ProxyCacheSpec struct {
Registry string `json:"registry,omitempty"`
}
func (*ProxyCacheSpec) DeepCopy ¶
func (in *ProxyCacheSpec) DeepCopy() *ProxyCacheSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyCacheSpec.
func (*ProxyCacheSpec) DeepCopyInto ¶
func (in *ProxyCacheSpec) DeepCopyInto(out *ProxyCacheSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRef ¶
type SecretRef struct {
Name string `json:"name,omitempty"`
}
func (*SecretRef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.