Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=acl.nomad.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AuthMethod
- func (in *AuthMethod) DeepCopy() *AuthMethod
- func (in *AuthMethod) DeepCopyInto(out *AuthMethod)
- func (in *AuthMethod) DeepCopyObject() runtime.Object
- func (mg *AuthMethod) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *AuthMethod) GetConnectionDetailsMapping() map[string]string
- func (mg *AuthMethod) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *AuthMethod) GetID() string
- func (mg *AuthMethod) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *AuthMethod) GetObservation() (map[string]any, error)
- func (tr *AuthMethod) GetParameters() (map[string]any, error)
- func (mg *AuthMethod) GetProviderConfigReference() *xpv1.Reference
- func (mg *AuthMethod) GetProviderReference() *xpv1.Reference
- func (mg *AuthMethod) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *AuthMethod) GetTerraformResourceType() string
- func (tr *AuthMethod) GetTerraformSchemaVersion() int
- func (mg *AuthMethod) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *AuthMethod) LateInitialize(attrs []byte) (bool, error)
- func (mg *AuthMethod) SetConditions(c ...xpv1.Condition)
- func (mg *AuthMethod) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *AuthMethod) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *AuthMethod) SetObservation(obs map[string]any) error
- func (tr *AuthMethod) SetParameters(params map[string]any) error
- func (mg *AuthMethod) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *AuthMethod) SetProviderReference(r *xpv1.Reference)
- func (mg *AuthMethod) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *AuthMethod) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AuthMethodList
- type AuthMethodObservation
- type AuthMethodParameters
- type AuthMethodSpec
- type AuthMethodStatus
- type BindingRule
- func (in *BindingRule) DeepCopy() *BindingRule
- func (in *BindingRule) DeepCopyInto(out *BindingRule)
- func (in *BindingRule) DeepCopyObject() runtime.Object
- func (mg *BindingRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *BindingRule) GetConnectionDetailsMapping() map[string]string
- func (mg *BindingRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *BindingRule) GetID() string
- func (mg *BindingRule) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *BindingRule) GetObservation() (map[string]any, error)
- func (tr *BindingRule) GetParameters() (map[string]any, error)
- func (mg *BindingRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *BindingRule) GetProviderReference() *xpv1.Reference
- func (mg *BindingRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *BindingRule) GetTerraformResourceType() string
- func (tr *BindingRule) GetTerraformSchemaVersion() int
- func (mg *BindingRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *BindingRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *BindingRule) SetConditions(c ...xpv1.Condition)
- func (mg *BindingRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *BindingRule) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *BindingRule) SetObservation(obs map[string]any) error
- func (tr *BindingRule) SetParameters(params map[string]any) error
- func (mg *BindingRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *BindingRule) SetProviderReference(r *xpv1.Reference)
- func (mg *BindingRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *BindingRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type BindingRuleList
- type BindingRuleObservation
- type BindingRuleParameters
- type BindingRuleSpec
- type BindingRuleStatus
- type ConfigObservation
- type ConfigParameters
- type Policy
- func (in *Policy) DeepCopy() *Policy
- func (in *Policy) DeepCopyInto(out *Policy)
- func (in *Policy) DeepCopyObject() runtime.Object
- func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Policy) GetConnectionDetailsMapping() map[string]string
- func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Policy) GetID() string
- func (mg *Policy) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Policy) GetObservation() (map[string]any, error)
- func (tr *Policy) GetParameters() (map[string]any, error)
- func (mg *Policy) GetProviderConfigReference() *xpv1.Reference
- func (mg *Policy) GetProviderReference() *xpv1.Reference
- func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Policy) GetTerraformResourceType() string
- func (tr *Policy) GetTerraformSchemaVersion() int
- func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Policy) LateInitialize(attrs []byte) (bool, error)
- func (mg *Policy) SetConditions(c ...xpv1.Condition)
- func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Policy) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Policy) SetObservation(obs map[string]any) error
- func (tr *Policy) SetParameters(params map[string]any) error
- func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Policy) SetProviderReference(r *xpv1.Reference)
- func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PolicyList
- type PolicyObservation
- type PolicyParameters
- type PolicySpec
- type PolicyStatus
- type Role
- func (in *Role) DeepCopy() *Role
- func (in *Role) DeepCopyInto(out *Role)
- func (in *Role) DeepCopyObject() runtime.Object
- func (mg *Role) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Role) GetConnectionDetailsMapping() map[string]string
- func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Role) GetID() string
- func (mg *Role) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Role) GetObservation() (map[string]any, error)
- func (tr *Role) GetParameters() (map[string]any, error)
- func (mg *Role) GetProviderConfigReference() *xpv1.Reference
- func (mg *Role) GetProviderReference() *xpv1.Reference
- func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Role) GetTerraformResourceType() string
- func (tr *Role) GetTerraformSchemaVersion() int
- func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Role) LateInitialize(attrs []byte) (bool, error)
- func (mg *Role) SetConditions(c ...xpv1.Condition)
- func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Role) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Role) SetObservation(obs map[string]any) error
- func (tr *Role) SetParameters(params map[string]any) error
- func (mg *Role) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Role) SetProviderReference(r *xpv1.Reference)
- func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RoleList
- type RoleObservation
- type RoleParameters
- type RolePolicyObservation
- type RolePolicyParameters
- type RoleSpec
- type RoleStatus
- type Token
- func (in *Token) DeepCopy() *Token
- func (in *Token) DeepCopyInto(out *Token)
- func (in *Token) DeepCopyObject() runtime.Object
- func (mg *Token) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Token) GetConnectionDetailsMapping() map[string]string
- func (mg *Token) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Token) GetID() string
- func (mg *Token) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Token) GetObservation() (map[string]any, error)
- func (tr *Token) GetParameters() (map[string]any, error)
- func (mg *Token) GetProviderConfigReference() *xpv1.Reference
- func (mg *Token) GetProviderReference() *xpv1.Reference
- func (mg *Token) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Token) GetTerraformResourceType() string
- func (tr *Token) GetTerraformSchemaVersion() int
- func (mg *Token) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Token) LateInitialize(attrs []byte) (bool, error)
- func (mg *Token) SetConditions(c ...xpv1.Condition)
- func (mg *Token) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Token) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Token) SetObservation(obs map[string]any) error
- func (tr *Token) SetParameters(params map[string]any) error
- func (mg *Token) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Token) SetProviderReference(r *xpv1.Reference)
- func (mg *Token) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Token) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type TokenList
- type TokenObservation
- type TokenParameters
- type TokenRoleObservation
- type TokenRoleParameters
- type TokenSpec
- type TokenStatus
Constants ¶
const ( CRDGroup = "acl.nomad.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( AuthMethod_Kind = "AuthMethod" AuthMethod_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: AuthMethod_Kind}.String() AuthMethod_KindAPIVersion = AuthMethod_Kind + "." + CRDGroupVersion.String() AuthMethod_GroupVersionKind = CRDGroupVersion.WithKind(AuthMethod_Kind) )
Repository type metadata.
var ( BindingRule_Kind = "BindingRule" BindingRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: BindingRule_Kind}.String() BindingRule_KindAPIVersion = BindingRule_Kind + "." + CRDGroupVersion.String() BindingRule_GroupVersionKind = CRDGroupVersion.WithKind(BindingRule_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 ( Policy_Kind = "Policy" Policy_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Policy_Kind}.String() Policy_KindAPIVersion = Policy_Kind + "." + CRDGroupVersion.String() Policy_GroupVersionKind = CRDGroupVersion.WithKind(Policy_Kind) )
Repository type metadata.
var ( Role_Kind = "Role" Role_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Role_Kind}.String() Role_KindAPIVersion = Role_Kind + "." + CRDGroupVersion.String() Role_GroupVersionKind = CRDGroupVersion.WithKind(Role_Kind) )
Repository type metadata.
var ( Token_Kind = "Token" Token_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Token_Kind}.String() Token_KindAPIVersion = Token_Kind + "." + CRDGroupVersion.String() Token_GroupVersionKind = CRDGroupVersion.WithKind(Token_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AuthMethod ¶
type AuthMethod struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.config)",message="config is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.maxTokenTtl)",message="maxTokenTtl is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.tokenLocality)",message="tokenLocality is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.type)",message="type is a required parameter" Spec AuthMethodSpec `json:"spec"` Status AuthMethodStatus `json:"status,omitempty"` }
AuthMethod is the Schema for the AuthMethods API. Manages an ACL Auth Method in Nomad. +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,nomad}
func (*AuthMethod) DeepCopy ¶
func (in *AuthMethod) DeepCopy() *AuthMethod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthMethod.
func (*AuthMethod) DeepCopyInto ¶
func (in *AuthMethod) DeepCopyInto(out *AuthMethod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthMethod) DeepCopyObject ¶
func (in *AuthMethod) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AuthMethod) GetCondition ¶
func (mg *AuthMethod) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this AuthMethod.
func (*AuthMethod) GetConnectionDetailsMapping ¶
func (tr *AuthMethod) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this AuthMethod
func (*AuthMethod) GetDeletionPolicy ¶
func (mg *AuthMethod) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this AuthMethod.
func (*AuthMethod) GetID ¶
func (tr *AuthMethod) GetID() string
GetID returns ID of underlying Terraform resource of this AuthMethod
func (*AuthMethod) GetManagementPolicy ¶
func (mg *AuthMethod) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this AuthMethod.
func (*AuthMethod) GetObservation ¶
func (tr *AuthMethod) GetObservation() (map[string]any, error)
GetObservation of this AuthMethod
func (*AuthMethod) GetParameters ¶
func (tr *AuthMethod) GetParameters() (map[string]any, error)
GetParameters of this AuthMethod
func (*AuthMethod) GetProviderConfigReference ¶
func (mg *AuthMethod) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this AuthMethod.
func (*AuthMethod) GetProviderReference ¶
func (mg *AuthMethod) GetProviderReference() *xpv1.Reference
GetProviderReference of this AuthMethod. Deprecated: Use GetProviderConfigReference.
func (*AuthMethod) GetPublishConnectionDetailsTo ¶
func (mg *AuthMethod) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this AuthMethod.
func (*AuthMethod) GetTerraformResourceType ¶
func (mg *AuthMethod) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this AuthMethod
func (*AuthMethod) GetTerraformSchemaVersion ¶
func (tr *AuthMethod) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*AuthMethod) GetWriteConnectionSecretToReference ¶
func (mg *AuthMethod) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this AuthMethod.
func (*AuthMethod) LateInitialize ¶
func (tr *AuthMethod) LateInitialize(attrs []byte) (bool, error)
LateInitialize this AuthMethod using its observed tfState. returns True if there are any spec changes for the resource.
func (*AuthMethod) SetConditions ¶
func (mg *AuthMethod) SetConditions(c ...xpv1.Condition)
SetConditions of this AuthMethod.
func (*AuthMethod) SetDeletionPolicy ¶
func (mg *AuthMethod) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this AuthMethod.
func (*AuthMethod) SetManagementPolicy ¶
func (mg *AuthMethod) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this AuthMethod.
func (*AuthMethod) SetObservation ¶
func (tr *AuthMethod) SetObservation(obs map[string]any) error
SetObservation for this AuthMethod
func (*AuthMethod) SetParameters ¶
func (tr *AuthMethod) SetParameters(params map[string]any) error
SetParameters for this AuthMethod
func (*AuthMethod) SetProviderConfigReference ¶
func (mg *AuthMethod) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this AuthMethod.
func (*AuthMethod) SetProviderReference ¶
func (mg *AuthMethod) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this AuthMethod. Deprecated: Use SetProviderConfigReference.
func (*AuthMethod) SetPublishConnectionDetailsTo ¶
func (mg *AuthMethod) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this AuthMethod.
func (*AuthMethod) SetWriteConnectionSecretToReference ¶
func (mg *AuthMethod) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this AuthMethod.
type AuthMethodList ¶
type AuthMethodList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AuthMethod `json:"items"` }
AuthMethodList contains a list of AuthMethods
func (*AuthMethodList) DeepCopy ¶
func (in *AuthMethodList) DeepCopy() *AuthMethodList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthMethodList.
func (*AuthMethodList) DeepCopyInto ¶
func (in *AuthMethodList) DeepCopyInto(out *AuthMethodList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthMethodList) DeepCopyObject ¶
func (in *AuthMethodList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AuthMethodList) GetItems ¶
func (l *AuthMethodList) GetItems() []resource.Managed
GetItems of this AuthMethodList.
type AuthMethodObservation ¶
type AuthMethodObservation struct { // Configuration specific to the auth method provider. Config []ConfigObservation `json:"config,omitempty" tf:"config,omitempty"` // Defines whether this ACL Auth Method is to be set // as default. // Defines whether this ACL Auth Method is to be set as default. Default *bool `json:"default,omitempty" tf:"default,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Defines the maximum life of a token // created by this method and is specified as a time duration such as "15h". // Defines the maximum life of a token created by this method. MaxTokenTTL *string `json:"maxTokenTtl,omitempty" tf:"max_token_ttl,omitempty"` // Defines whether the ACL Auth Method // creates a local or global token when performing SSO login. This field must be // set to either local or global. // Defines whether the ACL Auth Method creates a local or global token when performing SSO login. This field must be set to either "local" or "global". TokenLocality *string `json:"tokenLocality,omitempty" tf:"token_locality,omitempty"` // ACL Auth Method SSO workflow type. Currently, // the only supported type is OIDC. // ACL Auth Method SSO workflow type. Currently, the only supported type is "OIDC." Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AuthMethodObservation) DeepCopy ¶
func (in *AuthMethodObservation) DeepCopy() *AuthMethodObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthMethodObservation.
func (*AuthMethodObservation) DeepCopyInto ¶
func (in *AuthMethodObservation) DeepCopyInto(out *AuthMethodObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthMethodParameters ¶
type AuthMethodParameters struct { // Configuration specific to the auth method provider. // +kubebuilder:validation:Optional Config []ConfigParameters `json:"config,omitempty" tf:"config,omitempty"` // Defines whether this ACL Auth Method is to be set // as default. // Defines whether this ACL Auth Method is to be set as default. // +kubebuilder:validation:Optional Default *bool `json:"default,omitempty" tf:"default,omitempty"` // Defines the maximum life of a token // created by this method and is specified as a time duration such as "15h". // Defines the maximum life of a token created by this method. // +kubebuilder:validation:Optional MaxTokenTTL *string `json:"maxTokenTtl,omitempty" tf:"max_token_ttl,omitempty"` // Defines whether the ACL Auth Method // creates a local or global token when performing SSO login. This field must be // set to either local or global. // Defines whether the ACL Auth Method creates a local or global token when performing SSO login. This field must be set to either "local" or "global". // +kubebuilder:validation:Optional TokenLocality *string `json:"tokenLocality,omitempty" tf:"token_locality,omitempty"` // ACL Auth Method SSO workflow type. Currently, // the only supported type is OIDC. // ACL Auth Method SSO workflow type. Currently, the only supported type is "OIDC." // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*AuthMethodParameters) DeepCopy ¶
func (in *AuthMethodParameters) DeepCopy() *AuthMethodParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthMethodParameters.
func (*AuthMethodParameters) DeepCopyInto ¶
func (in *AuthMethodParameters) DeepCopyInto(out *AuthMethodParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthMethodSpec ¶
type AuthMethodSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AuthMethodParameters `json:"forProvider"` }
AuthMethodSpec defines the desired state of AuthMethod
func (*AuthMethodSpec) DeepCopy ¶
func (in *AuthMethodSpec) DeepCopy() *AuthMethodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthMethodSpec.
func (*AuthMethodSpec) DeepCopyInto ¶
func (in *AuthMethodSpec) DeepCopyInto(out *AuthMethodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthMethodStatus ¶
type AuthMethodStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AuthMethodObservation `json:"atProvider,omitempty"` }
AuthMethodStatus defines the observed state of AuthMethod.
func (*AuthMethodStatus) DeepCopy ¶
func (in *AuthMethodStatus) DeepCopy() *AuthMethodStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthMethodStatus.
func (*AuthMethodStatus) DeepCopyInto ¶
func (in *AuthMethodStatus) DeepCopyInto(out *AuthMethodStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindingRule ¶
type BindingRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.authMethod)",message="authMethod is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.bindName)",message="bindName is a required parameter" // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.bindType)",message="bindType is a required parameter" Spec BindingRuleSpec `json:"spec"` Status BindingRuleStatus `json:"status,omitempty"` }
BindingRule is the Schema for the BindingRules API. Manages an ACL Binding Rule in Nomad. +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,nomad}
func (*BindingRule) DeepCopy ¶
func (in *BindingRule) DeepCopy() *BindingRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingRule.
func (*BindingRule) DeepCopyInto ¶
func (in *BindingRule) DeepCopyInto(out *BindingRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BindingRule) DeepCopyObject ¶
func (in *BindingRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BindingRule) GetCondition ¶
func (mg *BindingRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this BindingRule.
func (*BindingRule) GetConnectionDetailsMapping ¶
func (tr *BindingRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this BindingRule
func (*BindingRule) GetDeletionPolicy ¶
func (mg *BindingRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this BindingRule.
func (*BindingRule) GetID ¶
func (tr *BindingRule) GetID() string
GetID returns ID of underlying Terraform resource of this BindingRule
func (*BindingRule) GetManagementPolicy ¶
func (mg *BindingRule) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this BindingRule.
func (*BindingRule) GetObservation ¶
func (tr *BindingRule) GetObservation() (map[string]any, error)
GetObservation of this BindingRule
func (*BindingRule) GetParameters ¶
func (tr *BindingRule) GetParameters() (map[string]any, error)
GetParameters of this BindingRule
func (*BindingRule) GetProviderConfigReference ¶
func (mg *BindingRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this BindingRule.
func (*BindingRule) GetProviderReference ¶
func (mg *BindingRule) GetProviderReference() *xpv1.Reference
GetProviderReference of this BindingRule. Deprecated: Use GetProviderConfigReference.
func (*BindingRule) GetPublishConnectionDetailsTo ¶
func (mg *BindingRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this BindingRule.
func (*BindingRule) GetTerraformResourceType ¶
func (mg *BindingRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this BindingRule
func (*BindingRule) GetTerraformSchemaVersion ¶
func (tr *BindingRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*BindingRule) GetWriteConnectionSecretToReference ¶
func (mg *BindingRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this BindingRule.
func (*BindingRule) LateInitialize ¶
func (tr *BindingRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this BindingRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*BindingRule) SetConditions ¶
func (mg *BindingRule) SetConditions(c ...xpv1.Condition)
SetConditions of this BindingRule.
func (*BindingRule) SetDeletionPolicy ¶
func (mg *BindingRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this BindingRule.
func (*BindingRule) SetManagementPolicy ¶
func (mg *BindingRule) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this BindingRule.
func (*BindingRule) SetObservation ¶
func (tr *BindingRule) SetObservation(obs map[string]any) error
SetObservation for this BindingRule
func (*BindingRule) SetParameters ¶
func (tr *BindingRule) SetParameters(params map[string]any) error
SetParameters for this BindingRule
func (*BindingRule) SetProviderConfigReference ¶
func (mg *BindingRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this BindingRule.
func (*BindingRule) SetProviderReference ¶
func (mg *BindingRule) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this BindingRule. Deprecated: Use SetProviderConfigReference.
func (*BindingRule) SetPublishConnectionDetailsTo ¶
func (mg *BindingRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this BindingRule.
func (*BindingRule) SetWriteConnectionSecretToReference ¶
func (mg *BindingRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this BindingRule.
type BindingRuleList ¶
type BindingRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BindingRule `json:"items"` }
BindingRuleList contains a list of BindingRules
func (*BindingRuleList) DeepCopy ¶
func (in *BindingRuleList) DeepCopy() *BindingRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingRuleList.
func (*BindingRuleList) DeepCopyInto ¶
func (in *BindingRuleList) DeepCopyInto(out *BindingRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BindingRuleList) DeepCopyObject ¶
func (in *BindingRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BindingRuleList) GetItems ¶
func (l *BindingRuleList) GetItems() []resource.Managed
GetItems of this BindingRuleList.
type BindingRuleObservation ¶
type BindingRuleObservation struct { // Name of the auth method for which this // rule applies to. // Name of the auth method for which this rule applies to. AuthMethod *string `json:"authMethod,omitempty" tf:"auth_method,omitempty"` // Target of the binding. // Target of the binding. BindName *string `json:"bindName,omitempty" tf:"bind_name,omitempty"` // Adjusts how this binding rule is applied // at login time. Valid values are role, policy, and management. // Adjusts how this binding rule is applied at login time. Valid values are "role" and "policy". BindType *string `json:"bindType,omitempty" tf:"bind_type,omitempty"` // Description for this ACL binding rule. // Description for this ACL binding rule. Description *string `json:"description,omitempty" tf:"description,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A boolean expression that matches against verified // identity attributes returned from the auth method during login. // A boolean expression that matches against verified identity attributes returned from the auth method during login. Selector *string `json:"selector,omitempty" tf:"selector,omitempty"` }
func (*BindingRuleObservation) DeepCopy ¶
func (in *BindingRuleObservation) DeepCopy() *BindingRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingRuleObservation.
func (*BindingRuleObservation) DeepCopyInto ¶
func (in *BindingRuleObservation) DeepCopyInto(out *BindingRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindingRuleParameters ¶
type BindingRuleParameters struct { // Name of the auth method for which this // rule applies to. // Name of the auth method for which this rule applies to. // +kubebuilder:validation:Optional AuthMethod *string `json:"authMethod,omitempty" tf:"auth_method,omitempty"` // Target of the binding. // Target of the binding. // +kubebuilder:validation:Optional BindName *string `json:"bindName,omitempty" tf:"bind_name,omitempty"` // Adjusts how this binding rule is applied // at login time. Valid values are role, policy, and management. // Adjusts how this binding rule is applied at login time. Valid values are "role" and "policy". // +kubebuilder:validation:Optional BindType *string `json:"bindType,omitempty" tf:"bind_type,omitempty"` // Description for this ACL binding rule. // Description for this ACL binding rule. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // A boolean expression that matches against verified // identity attributes returned from the auth method during login. // A boolean expression that matches against verified identity attributes returned from the auth method during login. // +kubebuilder:validation:Optional Selector *string `json:"selector,omitempty" tf:"selector,omitempty"` }
func (*BindingRuleParameters) DeepCopy ¶
func (in *BindingRuleParameters) DeepCopy() *BindingRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingRuleParameters.
func (*BindingRuleParameters) DeepCopyInto ¶
func (in *BindingRuleParameters) DeepCopyInto(out *BindingRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindingRuleSpec ¶
type BindingRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider BindingRuleParameters `json:"forProvider"` }
BindingRuleSpec defines the desired state of BindingRule
func (*BindingRuleSpec) DeepCopy ¶
func (in *BindingRuleSpec) DeepCopy() *BindingRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingRuleSpec.
func (*BindingRuleSpec) DeepCopyInto ¶
func (in *BindingRuleSpec) DeepCopyInto(out *BindingRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindingRuleStatus ¶
type BindingRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider BindingRuleObservation `json:"atProvider,omitempty"` }
BindingRuleStatus defines the observed state of BindingRule.
func (*BindingRuleStatus) DeepCopy ¶
func (in *BindingRuleStatus) DeepCopy() *BindingRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingRuleStatus.
func (*BindingRuleStatus) DeepCopyInto ¶
func (in *BindingRuleStatus) DeepCopyInto(out *BindingRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigObservation ¶
type ConfigObservation struct { // A list of allowed values that can be used for the redirect URI. AllowedRedirectUris []*string `json:"allowedRedirectUris,omitempty" tf:"allowed_redirect_uris,omitempty"` // List of auth claims that are valid for login. BoundAudiences []*string `json:"boundAudiences,omitempty" tf:"bound_audiences,omitempty"` // Mappings of claims (key) that will be copied to a metadata field (value). ClaimMappings map[string]*string `json:"claimMappings,omitempty" tf:"claim_mappings,omitempty"` // PEM encoded CA certs for use by the TLS client used to talk with the OIDC Discovery URL. DiscoveryCAPem []*string `json:"discoveryCaPem,omitempty" tf:"discovery_ca_pem,omitempty"` // Mappings of list claims (key) that will be copied to a metadata field (value). ListClaimMappings map[string]*string `json:"listClaimMappings,omitempty" tf:"list_claim_mappings,omitempty"` // The OAuth Client ID configured with the OIDC provider. OidcClientID *string `json:"oidcClientId,omitempty" tf:"oidc_client_id,omitempty"` // The OIDC Discovery URL, without any .well-known component (base path). OidcDiscoveryURL *string `json:"oidcDiscoveryUrl,omitempty" tf:"oidc_discovery_url,omitempty"` // List of OIDC scopes. OidcScopes []*string `json:"oidcScopes,omitempty" tf:"oidc_scopes,omitempty"` // A list of supported signing algorithms. SigningAlgs []*string `json:"signingAlgs,omitempty" tf:"signing_algs,omitempty"` }
func (*ConfigObservation) DeepCopy ¶
func (in *ConfigObservation) DeepCopy() *ConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigObservation.
func (*ConfigObservation) DeepCopyInto ¶
func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigParameters ¶
type ConfigParameters struct { // A list of allowed values that can be used for the redirect URI. // +kubebuilder:validation:Required AllowedRedirectUris []*string `json:"allowedRedirectUris" tf:"allowed_redirect_uris,omitempty"` // List of auth claims that are valid for login. // +kubebuilder:validation:Optional BoundAudiences []*string `json:"boundAudiences,omitempty" tf:"bound_audiences,omitempty"` // Mappings of claims (key) that will be copied to a metadata field (value). // +kubebuilder:validation:Optional ClaimMappings map[string]*string `json:"claimMappings,omitempty" tf:"claim_mappings,omitempty"` // PEM encoded CA certs for use by the TLS client used to talk with the OIDC Discovery URL. // +kubebuilder:validation:Optional DiscoveryCAPem []*string `json:"discoveryCaPem,omitempty" tf:"discovery_ca_pem,omitempty"` // Mappings of list claims (key) that will be copied to a metadata field (value). // +kubebuilder:validation:Optional ListClaimMappings map[string]*string `json:"listClaimMappings,omitempty" tf:"list_claim_mappings,omitempty"` // The OAuth Client ID configured with the OIDC provider. // +kubebuilder:validation:Required OidcClientID *string `json:"oidcClientId" tf:"oidc_client_id,omitempty"` // The OAuth Client Secret configured with the OIDC provider. // +kubebuilder:validation:Required OidcClientSecretSecretRef v1.SecretKeySelector `json:"oidcClientSecretSecretRef" tf:"-"` // The OIDC Discovery URL, without any .well-known component (base path). // +kubebuilder:validation:Required OidcDiscoveryURL *string `json:"oidcDiscoveryUrl" tf:"oidc_discovery_url,omitempty"` // List of OIDC scopes. // +kubebuilder:validation:Optional OidcScopes []*string `json:"oidcScopes,omitempty" tf:"oidc_scopes,omitempty"` // A list of supported signing algorithms. // +kubebuilder:validation:Optional SigningAlgs []*string `json:"signingAlgs,omitempty" tf:"signing_algs,omitempty"` }
func (*ConfigParameters) DeepCopy ¶
func (in *ConfigParameters) DeepCopy() *ConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigParameters.
func (*ConfigParameters) DeepCopyInto ¶
func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶
type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.rulesHcl)",message="rulesHcl is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` }
Policy is the Schema for the Policys API. Manages an ACL policy registered on the Nomad server. +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,nomad}
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Policy) GetCondition ¶
func (mg *Policy) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Policy.
func (*Policy) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Policy
func (*Policy) GetDeletionPolicy ¶
func (mg *Policy) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Policy.
func (*Policy) GetManagementPolicy ¶
func (mg *Policy) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Policy.
func (*Policy) GetObservation ¶
GetObservation of this Policy
func (*Policy) GetParameters ¶
GetParameters of this Policy
func (*Policy) GetProviderConfigReference ¶
GetProviderConfigReference of this Policy.
func (*Policy) GetProviderReference ¶
GetProviderReference of this Policy. Deprecated: Use GetProviderConfigReference.
func (*Policy) GetPublishConnectionDetailsTo ¶
func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Policy.
func (*Policy) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Policy
func (*Policy) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Policy) GetWriteConnectionSecretToReference ¶
func (mg *Policy) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Policy.
func (*Policy) LateInitialize ¶
LateInitialize this Policy using its observed tfState. returns True if there are any spec changes for the resource.
func (*Policy) SetConditions ¶
SetConditions of this Policy.
func (*Policy) SetDeletionPolicy ¶
func (mg *Policy) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Policy.
func (*Policy) SetManagementPolicy ¶
func (mg *Policy) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Policy.
func (*Policy) SetObservation ¶
SetObservation for this Policy
func (*Policy) SetParameters ¶
SetParameters for this Policy
func (*Policy) SetProviderConfigReference ¶
SetProviderConfigReference of this Policy.
func (*Policy) SetProviderReference ¶
SetProviderReference of this Policy. Deprecated: Use SetProviderConfigReference.
func (*Policy) SetPublishConnectionDetailsTo ¶
func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Policy.
func (*Policy) SetWriteConnectionSecretToReference ¶
func (mg *Policy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Policy.
type PolicyList ¶
type PolicyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Policy `json:"items"` }
PolicyList contains a list of Policys
func (*PolicyList) DeepCopy ¶
func (in *PolicyList) DeepCopy() *PolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (*PolicyList) DeepCopyInto ¶
func (in *PolicyList) DeepCopyInto(out *PolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyList) DeepCopyObject ¶
func (in *PolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PolicyList) GetItems ¶
func (l *PolicyList) GetItems() []resource.Managed
GetItems of this PolicyList.
type PolicyObservation ¶
type PolicyObservation struct { // A description of the policy. // Description for this policy. Description *string `json:"description,omitempty" tf:"description,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // The contents of the policy to register, // as HCL or JSON. // HCL or JSON representation of the rules to enforce on this policy. Use file() to specify a file as input. RulesHcl *string `json:"rulesHcl,omitempty" tf:"rules_hcl,omitempty"` }
func (*PolicyObservation) DeepCopy ¶
func (in *PolicyObservation) DeepCopy() *PolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyObservation.
func (*PolicyObservation) DeepCopyInto ¶
func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyParameters ¶
type PolicyParameters struct { // A description of the policy. // Description for this policy. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // The contents of the policy to register, // as HCL or JSON. // HCL or JSON representation of the rules to enforce on this policy. Use file() to specify a file as input. // +kubebuilder:validation:Optional RulesHcl *string `json:"rulesHcl,omitempty" tf:"rules_hcl,omitempty"` }
func (*PolicyParameters) DeepCopy ¶
func (in *PolicyParameters) DeepCopy() *PolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyParameters.
func (*PolicyParameters) DeepCopyInto ¶
func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicySpec ¶
type PolicySpec struct { v1.ResourceSpec `json:",inline"` ForProvider PolicyParameters `json:"forProvider"` }
PolicySpec defines the desired state of Policy
func (*PolicySpec) DeepCopy ¶
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyStatus ¶
type PolicyStatus struct { v1.ResourceStatus `json:",inline"` AtProvider PolicyObservation `json:"atProvider,omitempty"` }
PolicyStatus defines the observed state of Policy.
func (*PolicyStatus) DeepCopy ¶
func (in *PolicyStatus) DeepCopy() *PolicyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyStatus.
func (*PolicyStatus) DeepCopyInto ¶
func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.policy)",message="policy is a required parameter" Spec RoleSpec `json:"spec"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the Roles API. Manages an ACL Role in Nomad. +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,nomad}
func (*Role) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Role) GetCondition ¶
func (mg *Role) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Role.
func (*Role) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Role
func (*Role) GetDeletionPolicy ¶
func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Role.
func (*Role) GetManagementPolicy ¶
func (mg *Role) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Role.
func (*Role) GetObservation ¶
GetObservation of this Role
func (*Role) GetParameters ¶
GetParameters of this Role
func (*Role) GetProviderConfigReference ¶
GetProviderConfigReference of this Role.
func (*Role) GetProviderReference ¶
GetProviderReference of this Role. Deprecated: Use GetProviderConfigReference.
func (*Role) GetPublishConnectionDetailsTo ¶
func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Role.
func (*Role) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Role
func (*Role) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Role) GetWriteConnectionSecretToReference ¶
func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Role.
func (*Role) LateInitialize ¶
LateInitialize this Role using its observed tfState. returns True if there are any spec changes for the resource.
func (*Role) SetConditions ¶
SetConditions of this Role.
func (*Role) SetDeletionPolicy ¶
func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Role.
func (*Role) SetManagementPolicy ¶
func (mg *Role) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Role.
func (*Role) SetObservation ¶
SetObservation for this Role
func (*Role) SetParameters ¶
SetParameters for this Role
func (*Role) SetProviderConfigReference ¶
SetProviderConfigReference of this Role.
func (*Role) SetProviderReference ¶
SetProviderReference of this Role. Deprecated: Use SetProviderConfigReference.
func (*Role) SetPublishConnectionDetailsTo ¶
func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Role.
func (*Role) SetWriteConnectionSecretToReference ¶
func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Role.
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of Roles
func (*RoleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleObservation ¶
type RoleObservation struct { // A description of the ACL Role. // Description for this ACL role. Description *string `json:"description,omitempty" tf:"description,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A set of policy names to associate with this // ACL Role. It may be used multiple times. // The policies that should be applied to the role. It may be used multiple times. Policy []RolePolicyObservation `json:"policy,omitempty" tf:"policy,omitempty"` }
func (*RoleObservation) DeepCopy ¶
func (in *RoleObservation) DeepCopy() *RoleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleObservation.
func (*RoleObservation) DeepCopyInto ¶
func (in *RoleObservation) DeepCopyInto(out *RoleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleParameters ¶
type RoleParameters struct { // A description of the ACL Role. // Description for this ACL role. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // A set of policy names to associate with this // ACL Role. It may be used multiple times. // The policies that should be applied to the role. It may be used multiple times. // +kubebuilder:validation:Optional Policy []RolePolicyParameters `json:"policy,omitempty" tf:"policy,omitempty"` }
func (*RoleParameters) DeepCopy ¶
func (in *RoleParameters) DeepCopy() *RoleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleParameters.
func (*RoleParameters) DeepCopyInto ¶
func (in *RoleParameters) DeepCopyInto(out *RoleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolePolicyObservation ¶
type RolePolicyObservation struct { // A human-friendly name for this ACL Role. // The name of the ACL policy to link. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*RolePolicyObservation) DeepCopy ¶
func (in *RolePolicyObservation) DeepCopy() *RolePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolePolicyObservation.
func (*RolePolicyObservation) DeepCopyInto ¶
func (in *RolePolicyObservation) DeepCopyInto(out *RolePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RolePolicyParameters ¶
type RolePolicyParameters struct { // A human-friendly name for this ACL Role. // The name of the ACL policy to link. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` }
func (*RolePolicyParameters) DeepCopy ¶
func (in *RolePolicyParameters) DeepCopy() *RolePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RolePolicyParameters.
func (*RolePolicyParameters) DeepCopyInto ¶
func (in *RolePolicyParameters) DeepCopyInto(out *RolePolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpec ¶
type RoleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider RoleParameters `json:"forProvider"` }
RoleSpec defines the desired state of Role
func (*RoleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpec.
func (*RoleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleStatus ¶
type RoleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider RoleObservation `json:"atProvider,omitempty"` }
RoleStatus defines the observed state of Role.
func (*RoleStatus) DeepCopy ¶
func (in *RoleStatus) DeepCopy() *RoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleStatus.
func (*RoleStatus) DeepCopyInto ¶
func (in *RoleStatus) DeepCopyInto(out *RoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Token ¶
type Token struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.type)",message="type is a required parameter" Spec TokenSpec `json:"spec"` Status TokenStatus `json:"status,omitempty"` }
Token is the Schema for the Tokens API. Manages an ACL token in Nomad. +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,nomad}
func (*Token) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Token) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Token) GetCondition ¶
func (mg *Token) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Token.
func (*Token) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Token
func (*Token) GetDeletionPolicy ¶
func (mg *Token) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Token.
func (*Token) GetManagementPolicy ¶
func (mg *Token) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Token.
func (*Token) GetObservation ¶
GetObservation of this Token
func (*Token) GetParameters ¶
GetParameters of this Token
func (*Token) GetProviderConfigReference ¶
GetProviderConfigReference of this Token.
func (*Token) GetProviderReference ¶
GetProviderReference of this Token. Deprecated: Use GetProviderConfigReference.
func (*Token) GetPublishConnectionDetailsTo ¶
func (mg *Token) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Token.
func (*Token) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Token
func (*Token) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Token) GetWriteConnectionSecretToReference ¶
func (mg *Token) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Token.
func (*Token) LateInitialize ¶
LateInitialize this Token using its observed tfState. returns True if there are any spec changes for the resource.
func (*Token) SetConditions ¶
SetConditions of this Token.
func (*Token) SetDeletionPolicy ¶
func (mg *Token) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Token.
func (*Token) SetManagementPolicy ¶
func (mg *Token) SetManagementPolicy(r xpv1.ManagementPolicy)
SetManagementPolicy of this Token.
func (*Token) SetObservation ¶
SetObservation for this Token
func (*Token) SetParameters ¶
SetParameters for this Token
func (*Token) SetProviderConfigReference ¶
SetProviderConfigReference of this Token.
func (*Token) SetProviderReference ¶
SetProviderReference of this Token. Deprecated: Use SetProviderConfigReference.
func (*Token) SetPublishConnectionDetailsTo ¶
func (mg *Token) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Token.
func (*Token) SetWriteConnectionSecretToReference ¶
func (mg *Token) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Token.
type TokenList ¶
type TokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Token `json:"items"` }
TokenList contains a list of Tokens
func (*TokenList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenList.
func (*TokenList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenObservation ¶
type TokenObservation struct { // A non-sensitive identifier for this token that // can be logged and shared safely without granting any access to the cluster. // Nomad-generated ID for this token. AccessorID *string `json:"accessorId,omitempty" tf:"accessor_id,omitempty"` // The timestamp the token was created. // The timestamp the token was created. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Provides a TTL for the token in the form of // a time duration such as "5m" or "1h". // Provides a TTL for the token in the form of a time duration such as "5m" or "1h". ExpirationTTL *string `json:"expirationTtl,omitempty" tf:"expiration_ttl,omitempty"` // The timestamp after which the token is // considered expired and eligible for destruction. // The point after which a token is considered expired and eligible for destruction. ExpirationTime *string `json:"expirationTime,omitempty" tf:"expiration_time,omitempty"` // Whether the token should be replicated to all // regions, or if it will only be used in the region it was created in. // Whether the token should be replicated to all regions or not. Global *bool `json:"global,omitempty" tf:"global,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // A set of policy names to associate with this // token. Must be set on client-type tokens, must not be set on // management-type tokens. Policies do not need to exist before being // used here. // The ACL policies to associate with the token, if it's a 'client' type. Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"` // The list of roles attached to the token. Each entry has // name and id attributes. It may be used multiple times. // The roles that should be applied to the token. It may be used multiple times. Role []TokenRoleObservation `json:"role,omitempty" tf:"role,omitempty"` // The type of token this is. Use client // for tokens that will have policies associated with them. Use management // for tokens that can perform any action. // The type of token to create, 'client' or 'management'. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*TokenObservation) DeepCopy ¶
func (in *TokenObservation) DeepCopy() *TokenObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenObservation.
func (*TokenObservation) DeepCopyInto ¶
func (in *TokenObservation) DeepCopyInto(out *TokenObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenParameters ¶
type TokenParameters struct { // Provides a TTL for the token in the form of // a time duration such as "5m" or "1h". // Provides a TTL for the token in the form of a time duration such as "5m" or "1h". // +kubebuilder:validation:Optional ExpirationTTL *string `json:"expirationTtl,omitempty" tf:"expiration_ttl,omitempty"` // Whether the token should be replicated to all // regions, or if it will only be used in the region it was created in. // Whether the token should be replicated to all regions or not. // +kubebuilder:validation:Optional Global *bool `json:"global,omitempty" tf:"global,omitempty"` // A set of policy names to associate with this // token. Must be set on client-type tokens, must not be set on // management-type tokens. Policies do not need to exist before being // used here. // The ACL policies to associate with the token, if it's a 'client' type. // +kubebuilder:validation:Optional Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"` // The list of roles attached to the token. Each entry has // name and id attributes. It may be used multiple times. // The roles that should be applied to the token. It may be used multiple times. // +kubebuilder:validation:Optional Role []TokenRoleParameters `json:"role,omitempty" tf:"role,omitempty"` // The type of token this is. Use client // for tokens that will have policies associated with them. Use management // for tokens that can perform any action. // The type of token to create, 'client' or 'management'. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*TokenParameters) DeepCopy ¶
func (in *TokenParameters) DeepCopy() *TokenParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenParameters.
func (*TokenParameters) DeepCopyInto ¶
func (in *TokenParameters) DeepCopyInto(out *TokenParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenRoleObservation ¶
type TokenRoleObservation struct { // The ID of the ACL role to link. ID *string `json:"id,omitempty" tf:"id,omitempty"` // A human-friendly name for this token. // The name of the ACL role linked. Name *string `json:"name,omitempty" tf:"name,omitempty"` }
func (*TokenRoleObservation) DeepCopy ¶
func (in *TokenRoleObservation) DeepCopy() *TokenRoleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRoleObservation.
func (*TokenRoleObservation) DeepCopyInto ¶
func (in *TokenRoleObservation) DeepCopyInto(out *TokenRoleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenRoleParameters ¶
type TokenRoleParameters struct { // The ID of the ACL role to link. // +kubebuilder:validation:Required ID *string `json:"id" tf:"id,omitempty"` }
func (*TokenRoleParameters) DeepCopy ¶
func (in *TokenRoleParameters) DeepCopy() *TokenRoleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRoleParameters.
func (*TokenRoleParameters) DeepCopyInto ¶
func (in *TokenRoleParameters) DeepCopyInto(out *TokenRoleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenSpec ¶
type TokenSpec struct { v1.ResourceSpec `json:",inline"` ForProvider TokenParameters `json:"forProvider"` }
TokenSpec defines the desired state of Token
func (*TokenSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenSpec.
func (*TokenSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenStatus ¶
type TokenStatus struct { v1.ResourceStatus `json:",inline"` AtProvider TokenObservation `json:"atProvider,omitempty"` }
TokenStatus defines the observed state of Token.
func (*TokenStatus) DeepCopy ¶
func (in *TokenStatus) DeepCopy() *TokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenStatus.
func (*TokenStatus) DeepCopyInto ¶
func (in *TokenStatus) DeepCopyInto(out *TokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.