Documentation
¶
Overview ¶
+kubebuilder:object:generate=true +groupName=config.adrp.xyz +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AccessInitParameters
- type AccessObservation
- type AccessParameters
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Account) GetConnectionDetailsMapping() map[string]string
- func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Account) GetID() string
- func (tr *Account) GetInitParameters() (map[string]any, error)
- func (mg *Account) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Account) GetObservation() (map[string]any, error)
- func (tr *Account) GetParameters() (map[string]any, error)
- func (mg *Account) GetProviderConfigReference() *xpv1.Reference
- func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Account) GetTerraformResourceType() string
- func (tr *Account) GetTerraformSchemaVersion() int
- func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Account) LateInitialize(attrs []byte) (bool, error)
- func (mg *Account) SetConditions(c ...xpv1.Condition)
- func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Account) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Account) SetObservation(obs map[string]any) error
- func (tr *Account) SetParameters(params map[string]any) error
- func (mg *Account) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AccountInitParameters
- type AccountList
- type AccountObservation
- type AccountParameters
- type AccountSpec
- type AccountStatus
- type Auth
- func (in *Auth) DeepCopy() *Auth
- func (in *Auth) DeepCopyInto(out *Auth)
- func (in *Auth) DeepCopyObject() runtime.Object
- func (mg *Auth) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Auth) GetConnectionDetailsMapping() map[string]string
- func (mg *Auth) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Auth) GetID() string
- func (tr *Auth) GetInitParameters() (map[string]any, error)
- func (mg *Auth) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Auth) GetObservation() (map[string]any, error)
- func (tr *Auth) GetParameters() (map[string]any, error)
- func (mg *Auth) GetProviderConfigReference() *xpv1.Reference
- func (mg *Auth) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Auth) GetTerraformResourceType() string
- func (tr *Auth) GetTerraformSchemaVersion() int
- func (mg *Auth) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Auth) LateInitialize(attrs []byte) (bool, error)
- func (mg *Auth) SetConditions(c ...xpv1.Condition)
- func (mg *Auth) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Auth) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Auth) SetObservation(obs map[string]any) error
- func (tr *Auth) SetParameters(params map[string]any) error
- func (mg *Auth) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Auth) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Auth) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AuthInitParameters
- type AuthList
- type AuthObservation
- type AuthParameters
- type AuthSpec
- type AuthStatus
- type PermissionsInitParameters
- type PermissionsObservation
- type PermissionsParameters
- type User
- func (in *User) DeepCopy() *User
- func (in *User) DeepCopyInto(out *User)
- func (in *User) DeepCopyObject() runtime.Object
- func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *User) GetConnectionDetailsMapping() map[string]string
- func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *User) GetID() string
- func (tr *User) GetInitParameters() (map[string]any, error)
- func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *User) GetObservation() (map[string]any, error)
- func (tr *User) GetParameters() (map[string]any, error)
- func (mg *User) GetProviderConfigReference() *xpv1.Reference
- func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *User) GetTerraformResourceType() string
- func (tr *User) GetTerraformSchemaVersion() int
- func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *User) LateInitialize(attrs []byte) (bool, error)
- func (mg *User) SetConditions(c ...xpv1.Condition)
- func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *User) SetObservation(obs map[string]any) error
- func (tr *User) SetParameters(params map[string]any) error
- func (mg *User) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type UserInitParameters
- type UserList
- type UserObservation
- type UserParameters
- type UserSpec
- type UserStatus
Constants ¶
const ( CRDGroup = "config.adrp.xyz" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Account_Kind = "Account" Account_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Account_Kind}.String() Account_KindAPIVersion = Account_Kind + "." + CRDGroupVersion.String() Account_GroupVersionKind = CRDGroupVersion.WithKind(Account_Kind) )
Repository type metadata.
var ( Auth_Kind = "Auth" Auth_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Auth_Kind}.String() Auth_KindAPIVersion = Auth_Kind + "." + CRDGroupVersion.String() Auth_GroupVersionKind = CRDGroupVersion.WithKind(Auth_Kind) )
Repository type metadata.
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 ( User_Kind = "User" User_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: User_Kind}.String() User_KindAPIVersion = User_Kind + "." + CRDGroupVersion.String() User_GroupVersionKind = CRDGroupVersion.WithKind(User_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AccessInitParameters ¶
type AccessInitParameters struct { // (String) Eg. push, pull, read, etc. Check available actions. Action *string `json:"action,omitempty" tf:"action,omitempty"` // (String) Either allow or deny. Defaults to allow. Effect *string `json:"effect,omitempty" tf:"effect,omitempty"` // (String) Eg. repository, labels, etc. Check available resources. Resource *string `json:"resource,omitempty" tf:"resource,omitempty"` }
func (*AccessInitParameters) DeepCopy ¶
func (in *AccessInitParameters) DeepCopy() *AccessInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessInitParameters.
func (*AccessInitParameters) DeepCopyInto ¶
func (in *AccessInitParameters) DeepCopyInto(out *AccessInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessObservation ¶
type AccessObservation struct { // (String) Eg. push, pull, read, etc. Check available actions. Action *string `json:"action,omitempty" tf:"action,omitempty"` // (String) Either allow or deny. Defaults to allow. Effect *string `json:"effect,omitempty" tf:"effect,omitempty"` // (String) Eg. repository, labels, etc. Check available resources. Resource *string `json:"resource,omitempty" tf:"resource,omitempty"` }
func (*AccessObservation) DeepCopy ¶
func (in *AccessObservation) DeepCopy() *AccessObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessObservation.
func (*AccessObservation) DeepCopyInto ¶
func (in *AccessObservation) DeepCopyInto(out *AccessObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccessParameters ¶
type AccessParameters struct { // (String) Eg. push, pull, read, etc. Check available actions. // +kubebuilder:validation:Optional Action *string `json:"action" tf:"action,omitempty"` // (String) Either allow or deny. Defaults to allow. // +kubebuilder:validation:Optional Effect *string `json:"effect,omitempty" tf:"effect,omitempty"` // (String) Eg. repository, labels, etc. Check available resources. // +kubebuilder:validation:Optional Resource *string `json:"resource" tf:"resource,omitempty"` }
func (*AccessParameters) DeepCopy ¶
func (in *AccessParameters) DeepCopy() *AccessParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessParameters.
func (*AccessParameters) DeepCopyInto ¶
func (in *AccessParameters) DeepCopyInto(out *AccessParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Account ¶
type Account 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.level) || (has(self.initProvider) && has(self.initProvider.level))",message="spec.forProvider.level is a required parameter" // +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" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissions) || (has(self.initProvider) && has(self.initProvider.permissions))",message="spec.forProvider.permissions is a required parameter" Spec AccountSpec `json:"spec"` Status AccountStatus `json:"status,omitempty"` }
Account is the Schema for the Accounts 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,goharbor}
func (*Account) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Account) GetCondition ¶
func (mg *Account) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Account.
func (*Account) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Account
func (*Account) GetDeletionPolicy ¶
func (mg *Account) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Account.
func (*Account) GetInitParameters ¶
GetInitParameters of this Account
func (*Account) GetManagementPolicies ¶
func (mg *Account) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Account.
func (*Account) GetObservation ¶
GetObservation of this Account
func (*Account) GetParameters ¶
GetParameters of this Account
func (*Account) GetProviderConfigReference ¶
GetProviderConfigReference of this Account.
func (*Account) GetPublishConnectionDetailsTo ¶
func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Account.
func (*Account) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Account
func (*Account) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Account) GetWriteConnectionSecretToReference ¶
func (mg *Account) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Account.
func (*Account) LateInitialize ¶
LateInitialize this Account using its observed tfState. returns True if there are any spec changes for the resource.
func (*Account) SetConditions ¶
SetConditions of this Account.
func (*Account) SetDeletionPolicy ¶
func (mg *Account) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Account.
func (*Account) SetManagementPolicies ¶
func (mg *Account) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Account.
func (*Account) SetObservation ¶
SetObservation for this Account
func (*Account) SetParameters ¶
SetParameters for this Account
func (*Account) SetProviderConfigReference ¶
SetProviderConfigReference of this Account.
func (*Account) SetPublishConnectionDetailsTo ¶
func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Account.
func (*Account) SetWriteConnectionSecretToReference ¶
func (mg *Account) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Account.
type AccountInitParameters ¶
type AccountInitParameters struct { // (String) The description of the robot account will be displayed in harbor. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Disables the robot account when set to true. Disable *bool `json:"disable,omitempty" tf:"disable,omitempty"` // (Number) By default, the robot account will not expire. Set it to the amount of days until the account should expire. Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"` // (String) Level of the robot account, currently either system or project. Level *string `json:"level,omitempty" tf:"level,omitempty"` // (String) The name of the project that will be created in harbor. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Block Set, Min: 1) (see below for nested schema) Permissions []PermissionsInitParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` }
func (*AccountInitParameters) DeepCopy ¶
func (in *AccountInitParameters) DeepCopy() *AccountInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountInitParameters.
func (*AccountInitParameters) DeepCopyInto ¶
func (in *AccountInitParameters) DeepCopyInto(out *AccountInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountList ¶
type AccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Account `json:"items"` }
AccountList contains a list of Accounts
func (*AccountList) DeepCopy ¶
func (in *AccountList) DeepCopy() *AccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList.
func (*AccountList) DeepCopyInto ¶
func (in *AccountList) DeepCopyInto(out *AccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountList) DeepCopyObject ¶
func (in *AccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AccountList) GetItems ¶
func (l *AccountList) GetItems() []resource.Managed
GetItems of this AccountList.
type AccountObservation ¶
type AccountObservation struct { // (String) The description of the robot account will be displayed in harbor. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Disables the robot account when set to true. Disable *bool `json:"disable,omitempty" tf:"disable,omitempty"` // (Number) By default, the robot account will not expire. Set it to the amount of days until the account should expire. Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"` // (String) FullName *string `json:"fullName,omitempty" tf:"full_name,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) Level of the robot account, currently either system or project. Level *string `json:"level,omitempty" tf:"level,omitempty"` // (String) The name of the project that will be created in harbor. Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Block Set, Min: 1) (see below for nested schema) Permissions []PermissionsObservation `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String) RobotID *string `json:"robotId,omitempty" tf:"robot_id,omitempty"` }
func (*AccountObservation) DeepCopy ¶
func (in *AccountObservation) DeepCopy() *AccountObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountObservation.
func (*AccountObservation) DeepCopyInto ¶
func (in *AccountObservation) DeepCopyInto(out *AccountObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountParameters ¶
type AccountParameters struct { // (String) The description of the robot account will be displayed in harbor. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Boolean) Disables the robot account when set to true. // +kubebuilder:validation:Optional Disable *bool `json:"disable,omitempty" tf:"disable,omitempty"` // (Number) By default, the robot account will not expire. Set it to the amount of days until the account should expire. // +kubebuilder:validation:Optional Duration *float64 `json:"duration,omitempty" tf:"duration,omitempty"` // (String) Level of the robot account, currently either system or project. // +kubebuilder:validation:Optional Level *string `json:"level,omitempty" tf:"level,omitempty"` // (String) The name of the project that will be created in harbor. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // (Block Set, Min: 1) (see below for nested schema) // +kubebuilder:validation:Optional Permissions []PermissionsParameters `json:"permissions,omitempty" tf:"permissions,omitempty"` // (String, Sensitive) The secret of the robot account used for authentication. Defaults to random generated string from Harbor. // +kubebuilder:validation:Optional SecretSecretRef *v1.SecretKeySelector `json:"secretSecretRef,omitempty" tf:"-"` }
func (*AccountParameters) DeepCopy ¶
func (in *AccountParameters) DeepCopy() *AccountParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountParameters.
func (*AccountParameters) DeepCopyInto ¶
func (in *AccountParameters) DeepCopyInto(out *AccountParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountSpec ¶
type AccountSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AccountParameters `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 AccountInitParameters `json:"initProvider,omitempty"` }
AccountSpec defines the desired state of Account
func (*AccountSpec) DeepCopy ¶
func (in *AccountSpec) DeepCopy() *AccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec.
func (*AccountSpec) DeepCopyInto ¶
func (in *AccountSpec) DeepCopyInto(out *AccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountStatus ¶
type AccountStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AccountObservation `json:"atProvider,omitempty"` }
AccountStatus defines the observed state of Account.
func (*AccountStatus) DeepCopy ¶
func (in *AccountStatus) DeepCopy() *AccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus.
func (*AccountStatus) DeepCopyInto ¶
func (in *AccountStatus) DeepCopyInto(out *AccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Auth ¶
type Auth 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.authMode) || (has(self.initProvider) && has(self.initProvider.authMode))",message="spec.forProvider.authMode is a required parameter" Spec AuthSpec `json:"spec"` Status AuthStatus `json:"status,omitempty"` }
Auth is the Schema for the Auths 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,goharbor}
func (*Auth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Auth) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Auth) GetCondition ¶
func (mg *Auth) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Auth.
func (*Auth) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Auth
func (*Auth) GetDeletionPolicy ¶
func (mg *Auth) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Auth.
func (*Auth) GetInitParameters ¶
GetInitParameters of this Auth
func (*Auth) GetManagementPolicies ¶
func (mg *Auth) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Auth.
func (*Auth) GetObservation ¶
GetObservation of this Auth
func (*Auth) GetParameters ¶
GetParameters of this Auth
func (*Auth) GetProviderConfigReference ¶
GetProviderConfigReference of this Auth.
func (*Auth) GetPublishConnectionDetailsTo ¶
func (mg *Auth) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Auth.
func (*Auth) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Auth
func (*Auth) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Auth) GetWriteConnectionSecretToReference ¶
func (mg *Auth) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Auth.
func (*Auth) LateInitialize ¶
LateInitialize this Auth using its observed tfState. returns True if there are any spec changes for the resource.
func (*Auth) SetConditions ¶
SetConditions of this Auth.
func (*Auth) SetDeletionPolicy ¶
func (mg *Auth) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Auth.
func (*Auth) SetManagementPolicies ¶
func (mg *Auth) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Auth.
func (*Auth) SetObservation ¶
SetObservation for this Auth
func (*Auth) SetParameters ¶
SetParameters for this Auth
func (*Auth) SetProviderConfigReference ¶
SetProviderConfigReference of this Auth.
func (*Auth) SetPublishConnectionDetailsTo ¶
func (mg *Auth) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Auth.
func (*Auth) SetWriteConnectionSecretToReference ¶
func (mg *Auth) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Auth.
type AuthInitParameters ¶
type AuthInitParameters struct { // (String) Harbor authentication mode. Can be "oidc_auth", "db_auth" or "ldap_auth". (Default: "db_auth") AuthMode *string `json:"authMode,omitempty" tf:"auth_mode,omitempty"` // (String) A user's DN who has the permission to search the LDAP/AD server. LdapBaseDn *string `json:"ldapBaseDn,omitempty" tf:"ldap_base_dn,omitempty"` // (String) ldap filters LdapFilter *string `json:"ldapFilter,omitempty" tf:"ldap_filter,omitempty"` // (String) Specify an LDAP group DN. All LDAP user in this group will have harbor admin privilege LdapGroupAdminDn *string `json:"ldapGroupAdminDn,omitempty" tf:"ldap_group_admin_dn,omitempty"` // (String) The base DN from which to look up a group in LDAP/AD LdapGroupBaseDn *string `json:"ldapGroupBaseDn,omitempty" tf:"ldap_group_base_dn,omitempty"` // (String) The filter to look up an LDAP/AD group LdapGroupFilter *string `json:"ldapGroupFilter,omitempty" tf:"ldap_group_filter,omitempty"` // (String) The attribute used in a search to match a group LdapGroupGID *string `json:"ldapGroupGid,omitempty" tf:"ldap_group_gid,omitempty"` // (String) The attribute indicates the membership of LDAP group LdapGroupMembership *string `json:"ldapGroupMembership,omitempty" tf:"ldap_group_membership,omitempty"` // (String) The scope to search for groups LdapGroupScope *string `json:"ldapGroupScope,omitempty" tf:"ldap_group_scope,omitempty"` // (String) The attribute used in a search to match a user LdapGroupUID *string `json:"ldapGroupUid,omitempty" tf:"ldap_group_uid,omitempty"` // (String) LDAP Group Scope LdapScope *string `json:"ldapScope,omitempty" tf:"ldap_scope,omitempty"` // (String) The base DN from which to look up a user in LDAP/AD. LdapSearchDn *string `json:"ldapSearchDn,omitempty" tf:"ldap_search_dn,omitempty"` // (String) The attribute used in a search to match a user. It could be uid, cn, email, sAMAccountName or other attributes depending on your LDAP/AD. LdapUID *string `json:"ldapUid,omitempty" tf:"ldap_uid,omitempty"` // (String) The ldap server. Required when auth_mode is set to ldap. LdapURL *string `json:"ldapUrl,omitempty" tf:"ldap_url,omitempty"` // (Boolean) Verify Cert from LDAP Server. LdapVerifyCert *bool `json:"ldapVerifyCert,omitempty" tf:"ldap_verify_cert,omitempty"` // (String) All members of this group get Harbor admin permissions. OidcAdminGroup *string `json:"oidcAdminGroup,omitempty" tf:"oidc_admin_group,omitempty"` // (Boolean) Default is "false", set to "true" if you want to skip the user onboarding screen, so user cannot change its username OidcAutoOnboard *bool `json:"oidcAutoOnboard,omitempty" tf:"oidc_auto_onboard,omitempty"` // (String) The client id for the oidc server. OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"` // complaint server. OidcEndpoint *string `json:"oidcEndpoint,omitempty" tf:"oidc_endpoint,omitempty"` // (String) The OIDC group filter to filter which groups could be onboarded to Harbor. OidcGroupFilter *string `json:"oidcGroupFilter,omitempty" tf:"oidc_group_filter,omitempty"` // (String) The name of the claim in the token whose values is the list of group names. OidcGroupsClaim *string `json:"oidcGroupsClaim,omitempty" tf:"oidc_groups_claim,omitempty"` // (String) The name of the oidc provider name. OidcName *string `json:"oidcName,omitempty" tf:"oidc_name,omitempty"` // (String) The scope sent to OIDC server during authentication. It has to contain “openid”. OidcScope *string `json:"oidcScope,omitempty" tf:"oidc_scope,omitempty"` // (String) Default is name OidcUserClaim *string `json:"oidcUserClaim,omitempty" tf:"oidc_user_claim,omitempty"` // signed certificate. OidcVerifyCert *bool `json:"oidcVerifyCert,omitempty" tf:"oidc_verify_cert,omitempty"` // (Boolean) Default is false, set to true if you want to use the OIDC or LDAP mode as the primary auth mode. PrimaryAuthMode *bool `json:"primaryAuthMode,omitempty" tf:"primary_auth_mode,omitempty"` }
func (*AuthInitParameters) DeepCopy ¶
func (in *AuthInitParameters) DeepCopy() *AuthInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthInitParameters.
func (*AuthInitParameters) DeepCopyInto ¶
func (in *AuthInitParameters) DeepCopyInto(out *AuthInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthList ¶
type AuthList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Auth `json:"items"` }
AuthList contains a list of Auths
func (*AuthList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthList.
func (*AuthList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthObservation ¶
type AuthObservation struct { // (String) Harbor authentication mode. Can be "oidc_auth", "db_auth" or "ldap_auth". (Default: "db_auth") AuthMode *string `json:"authMode,omitempty" tf:"auth_mode,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) A user's DN who has the permission to search the LDAP/AD server. LdapBaseDn *string `json:"ldapBaseDn,omitempty" tf:"ldap_base_dn,omitempty"` // (String) ldap filters LdapFilter *string `json:"ldapFilter,omitempty" tf:"ldap_filter,omitempty"` // (String) Specify an LDAP group DN. All LDAP user in this group will have harbor admin privilege LdapGroupAdminDn *string `json:"ldapGroupAdminDn,omitempty" tf:"ldap_group_admin_dn,omitempty"` // (String) The base DN from which to look up a group in LDAP/AD LdapGroupBaseDn *string `json:"ldapGroupBaseDn,omitempty" tf:"ldap_group_base_dn,omitempty"` // (String) The filter to look up an LDAP/AD group LdapGroupFilter *string `json:"ldapGroupFilter,omitempty" tf:"ldap_group_filter,omitempty"` // (String) The attribute used in a search to match a group LdapGroupGID *string `json:"ldapGroupGid,omitempty" tf:"ldap_group_gid,omitempty"` // (String) The attribute indicates the membership of LDAP group LdapGroupMembership *string `json:"ldapGroupMembership,omitempty" tf:"ldap_group_membership,omitempty"` // (String) The scope to search for groups LdapGroupScope *string `json:"ldapGroupScope,omitempty" tf:"ldap_group_scope,omitempty"` // (String) The attribute used in a search to match a user LdapGroupUID *string `json:"ldapGroupUid,omitempty" tf:"ldap_group_uid,omitempty"` // (String) LDAP Group Scope LdapScope *string `json:"ldapScope,omitempty" tf:"ldap_scope,omitempty"` // (String) The base DN from which to look up a user in LDAP/AD. LdapSearchDn *string `json:"ldapSearchDn,omitempty" tf:"ldap_search_dn,omitempty"` // (String) The attribute used in a search to match a user. It could be uid, cn, email, sAMAccountName or other attributes depending on your LDAP/AD. LdapUID *string `json:"ldapUid,omitempty" tf:"ldap_uid,omitempty"` // (String) The ldap server. Required when auth_mode is set to ldap. LdapURL *string `json:"ldapUrl,omitempty" tf:"ldap_url,omitempty"` // (Boolean) Verify Cert from LDAP Server. LdapVerifyCert *bool `json:"ldapVerifyCert,omitempty" tf:"ldap_verify_cert,omitempty"` // (String) All members of this group get Harbor admin permissions. OidcAdminGroup *string `json:"oidcAdminGroup,omitempty" tf:"oidc_admin_group,omitempty"` // (Boolean) Default is "false", set to "true" if you want to skip the user onboarding screen, so user cannot change its username OidcAutoOnboard *bool `json:"oidcAutoOnboard,omitempty" tf:"oidc_auto_onboard,omitempty"` // (String) The client id for the oidc server. OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"` // complaint server. OidcEndpoint *string `json:"oidcEndpoint,omitempty" tf:"oidc_endpoint,omitempty"` // (String) The OIDC group filter to filter which groups could be onboarded to Harbor. OidcGroupFilter *string `json:"oidcGroupFilter,omitempty" tf:"oidc_group_filter,omitempty"` // (String) The name of the claim in the token whose values is the list of group names. OidcGroupsClaim *string `json:"oidcGroupsClaim,omitempty" tf:"oidc_groups_claim,omitempty"` // (String) The name of the oidc provider name. OidcName *string `json:"oidcName,omitempty" tf:"oidc_name,omitempty"` // (String) The scope sent to OIDC server during authentication. It has to contain “openid”. OidcScope *string `json:"oidcScope,omitempty" tf:"oidc_scope,omitempty"` // (String) Default is name OidcUserClaim *string `json:"oidcUserClaim,omitempty" tf:"oidc_user_claim,omitempty"` // signed certificate. OidcVerifyCert *bool `json:"oidcVerifyCert,omitempty" tf:"oidc_verify_cert,omitempty"` // (Boolean) Default is false, set to true if you want to use the OIDC or LDAP mode as the primary auth mode. PrimaryAuthMode *bool `json:"primaryAuthMode,omitempty" tf:"primary_auth_mode,omitempty"` }
func (*AuthObservation) DeepCopy ¶
func (in *AuthObservation) DeepCopy() *AuthObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthObservation.
func (*AuthObservation) DeepCopyInto ¶
func (in *AuthObservation) DeepCopyInto(out *AuthObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthParameters ¶
type AuthParameters struct { // (String) Harbor authentication mode. Can be "oidc_auth", "db_auth" or "ldap_auth". (Default: "db_auth") // +kubebuilder:validation:Optional AuthMode *string `json:"authMode,omitempty" tf:"auth_mode,omitempty"` // (String) A user's DN who has the permission to search the LDAP/AD server. // +kubebuilder:validation:Optional LdapBaseDn *string `json:"ldapBaseDn,omitempty" tf:"ldap_base_dn,omitempty"` // (String) ldap filters // +kubebuilder:validation:Optional LdapFilter *string `json:"ldapFilter,omitempty" tf:"ldap_filter,omitempty"` // (String) Specify an LDAP group DN. All LDAP user in this group will have harbor admin privilege // +kubebuilder:validation:Optional LdapGroupAdminDn *string `json:"ldapGroupAdminDn,omitempty" tf:"ldap_group_admin_dn,omitempty"` // (String) The base DN from which to look up a group in LDAP/AD // +kubebuilder:validation:Optional LdapGroupBaseDn *string `json:"ldapGroupBaseDn,omitempty" tf:"ldap_group_base_dn,omitempty"` // (String) The filter to look up an LDAP/AD group // +kubebuilder:validation:Optional LdapGroupFilter *string `json:"ldapGroupFilter,omitempty" tf:"ldap_group_filter,omitempty"` // (String) The attribute used in a search to match a group // +kubebuilder:validation:Optional LdapGroupGID *string `json:"ldapGroupGid,omitempty" tf:"ldap_group_gid,omitempty"` // (String) The attribute indicates the membership of LDAP group // +kubebuilder:validation:Optional LdapGroupMembership *string `json:"ldapGroupMembership,omitempty" tf:"ldap_group_membership,omitempty"` // (String) The scope to search for groups // +kubebuilder:validation:Optional LdapGroupScope *string `json:"ldapGroupScope,omitempty" tf:"ldap_group_scope,omitempty"` // (String) The attribute used in a search to match a user // +kubebuilder:validation:Optional LdapGroupUID *string `json:"ldapGroupUid,omitempty" tf:"ldap_group_uid,omitempty"` // (String) LDAP Group Scope // +kubebuilder:validation:Optional LdapScope *string `json:"ldapScope,omitempty" tf:"ldap_scope,omitempty"` // (String) The base DN from which to look up a user in LDAP/AD. // +kubebuilder:validation:Optional LdapSearchDn *string `json:"ldapSearchDn,omitempty" tf:"ldap_search_dn,omitempty"` // (String, Sensitive) The password for the user that will perform the LDAP search // +kubebuilder:validation:Optional LdapSearchPasswordSecretRef *v1.SecretKeySelector `json:"ldapSearchPasswordSecretRef,omitempty" tf:"-"` // (String) The attribute used in a search to match a user. It could be uid, cn, email, sAMAccountName or other attributes depending on your LDAP/AD. // +kubebuilder:validation:Optional LdapUID *string `json:"ldapUid,omitempty" tf:"ldap_uid,omitempty"` // (String) The ldap server. Required when auth_mode is set to ldap. // +kubebuilder:validation:Optional LdapURL *string `json:"ldapUrl,omitempty" tf:"ldap_url,omitempty"` // (Boolean) Verify Cert from LDAP Server. // +kubebuilder:validation:Optional LdapVerifyCert *bool `json:"ldapVerifyCert,omitempty" tf:"ldap_verify_cert,omitempty"` // (String) All members of this group get Harbor admin permissions. // +kubebuilder:validation:Optional OidcAdminGroup *string `json:"oidcAdminGroup,omitempty" tf:"oidc_admin_group,omitempty"` // (Boolean) Default is "false", set to "true" if you want to skip the user onboarding screen, so user cannot change its username // +kubebuilder:validation:Optional OidcAutoOnboard *bool `json:"oidcAutoOnboard,omitempty" tf:"oidc_auto_onboard,omitempty"` // (String) The client id for the oidc server. // +kubebuilder:validation:Optional OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"` // (String, Sensitive) The client secert for the oidc server. // +kubebuilder:validation:Optional OidcClientSecretSecretRef *v1.SecretKeySelector `json:"oidcClientSecretSecretRef,omitempty" tf:"-"` // complaint server. // +kubebuilder:validation:Optional OidcEndpoint *string `json:"oidcEndpoint,omitempty" tf:"oidc_endpoint,omitempty"` // (String) The OIDC group filter to filter which groups could be onboarded to Harbor. // +kubebuilder:validation:Optional OidcGroupFilter *string `json:"oidcGroupFilter,omitempty" tf:"oidc_group_filter,omitempty"` // (String) The name of the claim in the token whose values is the list of group names. // +kubebuilder:validation:Optional OidcGroupsClaim *string `json:"oidcGroupsClaim,omitempty" tf:"oidc_groups_claim,omitempty"` // (String) The name of the oidc provider name. // +kubebuilder:validation:Optional OidcName *string `json:"oidcName,omitempty" tf:"oidc_name,omitempty"` // (String) The scope sent to OIDC server during authentication. It has to contain “openid”. // +kubebuilder:validation:Optional OidcScope *string `json:"oidcScope,omitempty" tf:"oidc_scope,omitempty"` // (String) Default is name // +kubebuilder:validation:Optional OidcUserClaim *string `json:"oidcUserClaim,omitempty" tf:"oidc_user_claim,omitempty"` // signed certificate. // +kubebuilder:validation:Optional OidcVerifyCert *bool `json:"oidcVerifyCert,omitempty" tf:"oidc_verify_cert,omitempty"` // (Boolean) Default is false, set to true if you want to use the OIDC or LDAP mode as the primary auth mode. // +kubebuilder:validation:Optional PrimaryAuthMode *bool `json:"primaryAuthMode,omitempty" tf:"primary_auth_mode,omitempty"` }
func (*AuthParameters) DeepCopy ¶
func (in *AuthParameters) DeepCopy() *AuthParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthParameters.
func (*AuthParameters) DeepCopyInto ¶
func (in *AuthParameters) DeepCopyInto(out *AuthParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthSpec ¶
type AuthSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AuthParameters `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 AuthInitParameters `json:"initProvider,omitempty"` }
AuthSpec defines the desired state of Auth
func (*AuthSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
func (*AuthSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthStatus ¶
type AuthStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AuthObservation `json:"atProvider,omitempty"` }
AuthStatus defines the observed state of Auth.
func (*AuthStatus) DeepCopy ¶
func (in *AuthStatus) DeepCopy() *AuthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthStatus.
func (*AuthStatus) DeepCopyInto ¶
func (in *AuthStatus) DeepCopyInto(out *AuthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionsInitParameters ¶
type PermissionsInitParameters struct { // (Block Set, Min: 1) (see below for nested schema) Access []AccessInitParameters `json:"access,omitempty" tf:"access,omitempty"` // (String) Either system or project. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // (String) namespace is the name of your project. For kind system permissions, always use / as namespace. Use * to match all projects. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*PermissionsInitParameters) DeepCopy ¶
func (in *PermissionsInitParameters) DeepCopy() *PermissionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsInitParameters.
func (*PermissionsInitParameters) DeepCopyInto ¶
func (in *PermissionsInitParameters) DeepCopyInto(out *PermissionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionsObservation ¶
type PermissionsObservation struct { // (Block Set, Min: 1) (see below for nested schema) Access []AccessObservation `json:"access,omitempty" tf:"access,omitempty"` // (String) Either system or project. Kind *string `json:"kind,omitempty" tf:"kind,omitempty"` // (String) namespace is the name of your project. For kind system permissions, always use / as namespace. Use * to match all projects. Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` }
func (*PermissionsObservation) DeepCopy ¶
func (in *PermissionsObservation) DeepCopy() *PermissionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsObservation.
func (*PermissionsObservation) DeepCopyInto ¶
func (in *PermissionsObservation) DeepCopyInto(out *PermissionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionsParameters ¶
type PermissionsParameters struct { // (Block Set, Min: 1) (see below for nested schema) // +kubebuilder:validation:Optional Access []AccessParameters `json:"access" tf:"access,omitempty"` // (String) Either system or project. // +kubebuilder:validation:Optional Kind *string `json:"kind" tf:"kind,omitempty"` // (String) namespace is the name of your project. For kind system permissions, always use / as namespace. Use * to match all projects. // +kubebuilder:validation:Optional Namespace *string `json:"namespace" tf:"namespace,omitempty"` }
func (*PermissionsParameters) DeepCopy ¶
func (in *PermissionsParameters) DeepCopy() *PermissionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionsParameters.
func (*PermissionsParameters) DeepCopyInto ¶
func (in *PermissionsParameters) DeepCopyInto(out *PermissionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User 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.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fullName) || (has(self.initProvider) && has(self.initProvider.fullName))",message="spec.forProvider.fullName is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.username) || (has(self.initProvider) && has(self.initProvider.username))",message="spec.forProvider.username is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
User is the Schema for the Users 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,goharbor}
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*User) GetCondition ¶
func (mg *User) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this User.
func (*User) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this User
func (*User) GetDeletionPolicy ¶
func (mg *User) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this User.
func (*User) GetInitParameters ¶
GetInitParameters of this User
func (*User) GetManagementPolicies ¶
func (mg *User) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this User.
func (*User) GetObservation ¶
GetObservation of this User
func (*User) GetParameters ¶
GetParameters of this User
func (*User) GetProviderConfigReference ¶
GetProviderConfigReference of this User.
func (*User) GetPublishConnectionDetailsTo ¶
func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this User.
func (*User) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this User
func (*User) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*User) GetWriteConnectionSecretToReference ¶
func (mg *User) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this User.
func (*User) LateInitialize ¶
LateInitialize this User using its observed tfState. returns True if there are any spec changes for the resource.
func (*User) SetConditions ¶
SetConditions of this User.
func (*User) SetDeletionPolicy ¶
func (mg *User) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this User.
func (*User) SetManagementPolicies ¶
func (mg *User) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this User.
func (*User) SetObservation ¶
SetObservation for this User
func (*User) SetParameters ¶
SetParameters for this User
func (*User) SetProviderConfigReference ¶
SetProviderConfigReference of this User.
func (*User) SetPublishConnectionDetailsTo ¶
func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this User.
func (*User) SetWriteConnectionSecretToReference ¶
func (mg *User) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this User.
type UserInitParameters ¶
type UserInitParameters struct { // (Boolean) If the user will have admin rights within Harbor (Default: false) Admin *bool `json:"admin,omitempty" tf:"admin,omitempty"` // (String) Any comments for that are need for the internal user. Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` // (String) The email address of the internal user. Email *string `json:"email,omitempty" tf:"email,omitempty"` // (String) The Full Name of the internal user. FullName *string `json:"fullName,omitempty" tf:"full_name,omitempty"` // (String) The username of the internal user. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*UserInitParameters) DeepCopy ¶
func (in *UserInitParameters) DeepCopy() *UserInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInitParameters.
func (*UserInitParameters) DeepCopyInto ¶
func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []User `json:"items"` }
UserList contains a list of Users
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserObservation ¶
type UserObservation struct { // (Boolean) If the user will have admin rights within Harbor (Default: false) Admin *bool `json:"admin,omitempty" tf:"admin,omitempty"` // (String) Any comments for that are need for the internal user. Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` // (String) The email address of the internal user. Email *string `json:"email,omitempty" tf:"email,omitempty"` // (String) The Full Name of the internal user. FullName *string `json:"fullName,omitempty" tf:"full_name,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The username of the internal user. Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*UserObservation) DeepCopy ¶
func (in *UserObservation) DeepCopy() *UserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserObservation.
func (*UserObservation) DeepCopyInto ¶
func (in *UserObservation) DeepCopyInto(out *UserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserParameters ¶
type UserParameters struct { // (Boolean) If the user will have admin rights within Harbor (Default: false) // +kubebuilder:validation:Optional Admin *bool `json:"admin,omitempty" tf:"admin,omitempty"` // (String) Any comments for that are need for the internal user. // +kubebuilder:validation:Optional Comment *string `json:"comment,omitempty" tf:"comment,omitempty"` // (String) The email address of the internal user. // +kubebuilder:validation:Optional Email *string `json:"email,omitempty" tf:"email,omitempty"` // (String) The Full Name of the internal user. // +kubebuilder:validation:Optional FullName *string `json:"fullName,omitempty" tf:"full_name,omitempty"` // (String, Sensitive) The password for the internal user. // +kubebuilder:validation:Optional PasswordSecretRef v1.SecretKeySelector `json:"passwordSecretRef" tf:"-"` // (String) The username of the internal user. // +kubebuilder:validation:Optional Username *string `json:"username,omitempty" tf:"username,omitempty"` }
func (*UserParameters) DeepCopy ¶
func (in *UserParameters) DeepCopy() *UserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserParameters.
func (*UserParameters) DeepCopyInto ¶
func (in *UserParameters) DeepCopyInto(out *UserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { v1.ResourceSpec `json:",inline"` ForProvider UserParameters `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 UserInitParameters `json:"initProvider,omitempty"` }
UserSpec defines the desired state of User
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { v1.ResourceStatus `json:",inline"` AtProvider UserObservation `json:"atProvider,omitempty"` }
UserStatus defines the observed state of User.
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.