Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the administration v1alpha1 API group +kubebuilder:object:generate=true +groupName=administration.harbor.configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "administration.harbor.configuration", 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 HarborConfiguration ¶
type HarborConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HarborConfigurationSpec `json:"spec,omitempty"` Status HarborConfigurationStatus `json:"status,omitempty"` }
func (*HarborConfiguration) DeepCopy ¶
func (in *HarborConfiguration) DeepCopy() *HarborConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborConfiguration.
func (*HarborConfiguration) DeepCopyInto ¶
func (in *HarborConfiguration) DeepCopyInto(out *HarborConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HarborConfiguration) DeepCopyObject ¶
func (in *HarborConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HarborConfigurationList ¶
type HarborConfigurationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HarborConfiguration `json:"items,omitempty"` }
func (*HarborConfigurationList) DeepCopy ¶
func (in *HarborConfigurationList) DeepCopy() *HarborConfigurationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborConfigurationList.
func (*HarborConfigurationList) DeepCopyInto ¶
func (in *HarborConfigurationList) DeepCopyInto(out *HarborConfigurationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HarborConfigurationList) DeepCopyObject ¶
func (in *HarborConfigurationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HarborConfigurationSpec ¶
type HarborConfigurationSpec struct { HarborTarget HarborTarget `json:"harborTarget,omitempty"` Registry Registry `json:"registry,omitempty"` ProjectReq ProjectReq `json:"projectReq,omitempty"` Replication Replication `json:"replication,omitempty"` }
func (*HarborConfigurationSpec) DeepCopy ¶
func (in *HarborConfigurationSpec) DeepCopy() *HarborConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborConfigurationSpec.
func (*HarborConfigurationSpec) DeepCopyInto ¶
func (in *HarborConfigurationSpec) DeepCopyInto(out *HarborConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarborConfigurationStatus ¶
type HarborConfigurationStatus struct { RegistryId int64 `json:"registryId,omitempty"` ProjectId string `json:"projectId,omitempty"` ReplicationId int64 `json:"replicationId,omitempty"` }
func (*HarborConfigurationStatus) DeepCopy ¶
func (in *HarborConfigurationStatus) DeepCopy() *HarborConfigurationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborConfigurationStatus.
func (*HarborConfigurationStatus) DeepCopyInto ¶
func (in *HarborConfigurationStatus) DeepCopyInto(out *HarborConfigurationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HarborTarget ¶
type HarborTarget struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` HarborUsername string `json:"harborUsername,omitempty"` }
func (*HarborTarget) DeepCopy ¶
func (in *HarborTarget) DeepCopy() *HarborTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HarborTarget.
func (*HarborTarget) DeepCopyInto ¶
func (in *HarborTarget) DeepCopyInto(out *HarborTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectReq ¶
type ProjectReq struct { ProjectName string `json:"projectName,omitempty"` StorageQuota *int64 `json:"storageQuota,omitempty"` Public *bool `json:"public,omitempty"` ProxyCacheRegistryName string `json:"proxyCacheRegistryName,omitempty"` }
func (*ProjectReq) DeepCopy ¶
func (in *ProjectReq) DeepCopy() *ProjectReq
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectReq.
func (*ProjectReq) DeepCopyInto ¶
func (in *ProjectReq) DeepCopyInto(out *ProjectReq)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Registry ¶
type Registry struct { Name string `json:"name,omitempty"` Provider string `json:"provider,omitempty"` EndpointUrl string `json:"endpointUrl,omitempty"` Description string `json:"description,omitempty"` Credential *RegistryCredential `json:"credential,omitempty"` }
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.
type RegistryCredential ¶
type RegistryCredential struct { // Access key, e.g. user name when credential type is 'basic'. AccessKey string `json:"access_key,omitempty"` // Access secret, e.g. password when credential type is 'basic'. AccessSecret string `json:"access_secret,omitempty"` // Credential type, such as 'basic', 'oauth'. Type string `json:"type,omitempty"` }
func (*RegistryCredential) DeepCopy ¶
func (in *RegistryCredential) DeepCopy() *RegistryCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCredential.
func (*RegistryCredential) DeepCopyInto ¶
func (in *RegistryCredential) DeepCopyInto(out *RegistryCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replication ¶
type Replication struct { Name string `json:"name,omitempty"` RegistryName string `json:"registryName,omitempty"` DestinationNamespace string `json:"destinationNamespace,omitempty"` Description string `json:"description,omitempty"` DestinationRegistry *apiextensions.JSON `json:"destinationRegistry,omitempty"` EnablePolicy bool `json:"enablePolicy,omitempty"` ReplicateDeletion bool `json:"replicateDeletion,omitempty"` Override bool `json:"override,omitempty"` Filters []apiextensions.JSON `json:"filters,omitempty"` TriggerMode *apiextensions.JSON `json:"triggerMode,omitempty"` }
func (*Replication) DeepCopy ¶
func (in *Replication) DeepCopy() *Replication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replication.
func (*Replication) DeepCopyInto ¶
func (in *Replication) DeepCopyInto(out *Replication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.