Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=label.harbor.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Label
- func (in *Label) DeepCopy() *Label
- func (in *Label) DeepCopyInto(out *Label)
- func (in *Label) DeepCopyObject() runtime.Object
- func (mg *Label) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Label) GetConnectionDetailsMapping() map[string]string
- func (mg *Label) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Label) GetID() string
- func (tr *Label) GetInitParameters() (map[string]any, error)
- func (mg *Label) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Label) GetObservation() (map[string]any, error)
- func (tr *Label) GetParameters() (map[string]any, error)
- func (mg *Label) GetProviderConfigReference() *xpv1.Reference
- func (mg *Label) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Label) GetTerraformResourceType() string
- func (tr *Label) GetTerraformSchemaVersion() int
- func (mg *Label) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Label) LateInitialize(attrs []byte) (bool, error)
- func (mg *Label) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Label) SetConditions(c ...xpv1.Condition)
- func (mg *Label) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Label) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Label) SetObservation(obs map[string]any) error
- func (tr *Label) SetParameters(params map[string]any) error
- func (mg *Label) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Label) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Label) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type LabelInitParameters
- type LabelList
- type LabelObservation
- type LabelParameters
- type LabelSpec
- type LabelStatus
Constants ¶
const ( CRDGroup = "label.harbor.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Label_Kind = "Label" Label_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Label_Kind}.String() Label_KindAPIVersion = Label_Kind + "." + CRDGroupVersion.String() Label_GroupVersionKind = CRDGroupVersion.WithKind(Label_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Label ¶
type Label struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LabelSpec `json:"spec"` Status LabelStatus `json:"status,omitempty"` }
Label is the Schema for the Labels API. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,harbor}
func (*Label) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Label.
func (*Label) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Label) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Label) GetCondition ¶
func (mg *Label) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Label.
func (*Label) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Label
func (*Label) GetDeletionPolicy ¶
func (mg *Label) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Label.
func (*Label) GetInitParameters ¶
GetInitParameters of this Label
func (*Label) GetManagementPolicies ¶
func (mg *Label) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Label.
func (*Label) GetObservation ¶
GetObservation of this Label
func (*Label) GetParameters ¶
GetParameters of this Label
func (*Label) GetProviderConfigReference ¶
GetProviderConfigReference of this Label.
func (*Label) GetPublishConnectionDetailsTo ¶
func (mg *Label) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Label.
func (*Label) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Label
func (*Label) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Label) GetWriteConnectionSecretToReference ¶
func (mg *Label) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Label.
func (*Label) LateInitialize ¶
LateInitialize this Label using its observed tfState. returns True if there are any spec changes for the resource.
func (*Label) ResolveReferences ¶
ResolveReferences of this Label.
func (*Label) SetConditions ¶
SetConditions of this Label.
func (*Label) SetDeletionPolicy ¶
func (mg *Label) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Label.
func (*Label) SetManagementPolicies ¶
func (mg *Label) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Label.
func (*Label) SetObservation ¶
SetObservation for this Label
func (*Label) SetParameters ¶
SetParameters for this Label
func (*Label) SetProviderConfigReference ¶
SetProviderConfigReference of this Label.
func (*Label) SetPublishConnectionDetailsTo ¶
func (mg *Label) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Label.
func (*Label) SetWriteConnectionSecretToReference ¶
func (mg *Label) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Label.
type LabelInitParameters ¶
type LabelInitParameters struct { // (String) The color of the label within harbor (Default: #FFFFF) Color *string `json:"color,omitempty" tf:"color,omitempty"` // (String) The Description of the label within harbor Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The of name of the label within harbor. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*LabelInitParameters) DeepCopy ¶
func (in *LabelInitParameters) DeepCopy() *LabelInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelInitParameters.
func (*LabelInitParameters) DeepCopyInto ¶
func (in *LabelInitParameters) DeepCopyInto(out *LabelInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelList ¶
type LabelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Label `json:"items"` }
LabelList contains a list of Labels
func (*LabelList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelList.
func (*LabelList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LabelList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LabelObservation ¶
type LabelObservation struct { // (String) The color of the label within harbor (Default: #FFFFF) Color *string `json:"color,omitempty" tf:"color,omitempty"` // (String) The Description of the label within harbor Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The of name of the label within harbor. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The id of the project with harbor. ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // (String) Scope *string `json:"scope,omitempty" tf:"scope,omitempty"` }
func (*LabelObservation) DeepCopy ¶
func (in *LabelObservation) DeepCopy() *LabelObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelObservation.
func (*LabelObservation) DeepCopyInto ¶
func (in *LabelObservation) DeepCopyInto(out *LabelObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelParameters ¶
type LabelParameters struct { // (String) The color of the label within harbor (Default: #FFFFF) // +kubebuilder:validation:Optional Color *string `json:"color,omitempty" tf:"color,omitempty"` // (String) The Description of the label within harbor // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (String) The of name of the label within harbor. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (String) The id of the project with harbor. // +crossplane:generate:reference:type=github.com/globallogicuki/provider-harbor/apis/project/v1alpha1.Project // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` // Reference to a Project in project to populate projectId. // +kubebuilder:validation:Optional ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"` // Selector for a Project in project to populate projectId. // +kubebuilder:validation:Optional ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"` }
func (*LabelParameters) DeepCopy ¶
func (in *LabelParameters) DeepCopy() *LabelParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelParameters.
func (*LabelParameters) DeepCopyInto ¶
func (in *LabelParameters) DeepCopyInto(out *LabelParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelSpec ¶
type LabelSpec struct { v1.ResourceSpec `json:",inline"` ForProvider LabelParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider LabelInitParameters `json:"initProvider,omitempty"` }
LabelSpec defines the desired state of Label
func (*LabelSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelSpec.
func (*LabelSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LabelStatus ¶
type LabelStatus struct { v1.ResourceStatus `json:",inline"` AtProvider LabelObservation `json:"atProvider,omitempty"` }
LabelStatus defines the observed state of Label.
func (*LabelStatus) DeepCopy ¶
func (in *LabelStatus) DeepCopy() *LabelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabelStatus.
func (*LabelStatus) DeepCopyInto ¶
func (in *LabelStatus) DeepCopyInto(out *LabelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.