Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=approle.vault.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- 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 (tr *Role) GetObservation() (map[string]interface{}, error)
- func (tr *Role) GetParameters() (map[string]interface{}, 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 (tr *Role) SetObservation(obs map[string]interface{}) error
- func (tr *Role) SetParameters(params map[string]interface{}) 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 RoleSpec
- type RoleStatus
- type Secret
- func (in *Secret) DeepCopy() *Secret
- func (in *Secret) DeepCopyInto(out *Secret)
- func (in *Secret) DeepCopyObject() runtime.Object
- func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Secret) GetConnectionDetailsMapping() map[string]string
- func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Secret) GetID() string
- func (tr *Secret) GetObservation() (map[string]interface{}, error)
- func (tr *Secret) GetParameters() (map[string]interface{}, error)
- func (mg *Secret) GetProviderConfigReference() *xpv1.Reference
- func (mg *Secret) GetProviderReference() *xpv1.Reference
- func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Secret) GetTerraformResourceType() string
- func (tr *Secret) GetTerraformSchemaVersion() int
- func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Secret) LateInitialize(attrs []byte) (bool, error)
- func (mg *Secret) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Secret) SetConditions(c ...xpv1.Condition)
- func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Secret) SetObservation(obs map[string]interface{}) error
- func (tr *Secret) SetParameters(params map[string]interface{}) error
- func (mg *Secret) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Secret) SetProviderReference(r *xpv1.Reference)
- func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecretList
- type SecretObservation
- type SecretParameters
- type SecretSpec
- type SecretStatus
Constants ¶
const ( CRDGroup = "approle.vault.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( 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 ( Secret_Kind = "Secret" Secret_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Secret_Kind}.String() Secret_KindAPIVersion = Secret_Kind + "." + CRDGroupVersion.String() Secret_GroupVersionKind = CRDGroupVersion.WithKind(Secret_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleSpec `json:"spec"` Status RoleStatus `json:"status,omitempty"` }
Role is the Schema for the Roles 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,vaultjet}
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) 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) 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 {
ID *string `json:"id,omitempty" tf:"id,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 { // Unique name of the auth backend to configure. // +kubebuilder:validation:Optional Backend *string `json:"backend,omitempty" tf:"backend,omitempty"` // Whether or not to require secret_id to be present when logging in using this AppRole. // +kubebuilder:validation:Optional BindSecretID *bool `json:"bindSecretId,omitempty" tf:"bind_secret_id,omitempty"` // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // The RoleID of the role. Autogenerated if not set. // +kubebuilder:validation:Optional RoleID *string `json:"roleId,omitempty" tf:"role_id,omitempty"` // Name of the role. // +kubebuilder:validation:Required RoleName *string `json:"roleName" tf:"role_name,omitempty"` // List of CIDR blocks that can log in using the AppRole. // +kubebuilder:validation:Optional SecretIDBoundCidrs []*string `json:"secretIdBoundCidrs,omitempty" tf:"secret_id_bound_cidrs,omitempty"` // Number of times which a particular SecretID can be used to fetch a token from this AppRole, after which the SecretID will expire. Leaving this unset or setting it to 0 will allow unlimited uses. // +kubebuilder:validation:Optional SecretIDNumUses *float64 `json:"secretIdNumUses,omitempty" tf:"secret_id_num_uses,omitempty"` // Number of seconds a SecretID remains valid for. // +kubebuilder:validation:Optional SecretIDTTL *float64 `json:"secretIdTtl,omitempty" tf:"secret_id_ttl,omitempty"` // Specifies the blocks of IP addresses which are allowed to use the generated token // +kubebuilder:validation:Optional TokenBoundCidrs []*string `json:"tokenBoundCidrs,omitempty" tf:"token_bound_cidrs,omitempty"` // Generated Token's Explicit Maximum TTL in seconds // +kubebuilder:validation:Optional TokenExplicitMaxTTL *float64 `json:"tokenExplicitMaxTtl,omitempty" tf:"token_explicit_max_ttl,omitempty"` // The maximum lifetime of the generated token // +kubebuilder:validation:Optional TokenMaxTTL *float64 `json:"tokenMaxTtl,omitempty" tf:"token_max_ttl,omitempty"` // If true, the 'default' policy will not automatically be added to generated tokens // +kubebuilder:validation:Optional TokenNoDefaultPolicy *bool `json:"tokenNoDefaultPolicy,omitempty" tf:"token_no_default_policy,omitempty"` // The maximum number of times a token may be used, a value of zero means unlimited // +kubebuilder:validation:Optional TokenNumUses *float64 `json:"tokenNumUses,omitempty" tf:"token_num_uses,omitempty"` // Generated Token's Period // +kubebuilder:validation:Optional TokenPeriod *float64 `json:"tokenPeriod,omitempty" tf:"token_period,omitempty"` // Generated Token's Policies // +kubebuilder:validation:Optional TokenPolicies []*string `json:"tokenPolicies,omitempty" tf:"token_policies,omitempty"` // The initial ttl of the token to generate in seconds // +kubebuilder:validation:Optional TokenTTL *float64 `json:"tokenTtl,omitempty" tf:"token_ttl,omitempty"` // The type of token to generate, service or batch // +kubebuilder:validation:Optional TokenType *string `json:"tokenType,omitempty" tf:"token_type,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 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 Secret ¶
type Secret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretSpec `json:"spec"` Status SecretStatus `json:"status,omitempty"` }
Secret is the Schema for the Secrets 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,vaultjet}
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Secret) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Secret) GetCondition ¶
func (mg *Secret) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Secret.
func (*Secret) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Secret
func (*Secret) GetDeletionPolicy ¶
func (mg *Secret) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Secret.
func (*Secret) GetObservation ¶
GetObservation of this Secret
func (*Secret) GetParameters ¶
GetParameters of this Secret
func (*Secret) GetProviderConfigReference ¶
GetProviderConfigReference of this Secret.
func (*Secret) GetProviderReference ¶
GetProviderReference of this Secret. Deprecated: Use GetProviderConfigReference.
func (*Secret) GetPublishConnectionDetailsTo ¶
func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Secret.
func (*Secret) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Secret
func (*Secret) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Secret) GetWriteConnectionSecretToReference ¶
func (mg *Secret) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Secret.
func (*Secret) LateInitialize ¶
LateInitialize this Secret using its observed tfState. returns True if there are any spec changes for the resource.
func (*Secret) ResolveReferences ¶ added in v0.1.2
ResolveReferences of this Secret.
func (*Secret) SetConditions ¶
SetConditions of this Secret.
func (*Secret) SetDeletionPolicy ¶
func (mg *Secret) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Secret.
func (*Secret) SetObservation ¶
SetObservation for this Secret
func (*Secret) SetParameters ¶
SetParameters for this Secret
func (*Secret) SetProviderConfigReference ¶
SetProviderConfigReference of this Secret.
func (*Secret) SetProviderReference ¶
SetProviderReference of this Secret. Deprecated: Use SetProviderConfigReference.
func (*Secret) SetPublishConnectionDetailsTo ¶
func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Secret.
func (*Secret) SetWriteConnectionSecretToReference ¶
func (mg *Secret) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Secret.
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Secret `json:"items"` }
SecretList contains a list of Secrets
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretList) GetItems ¶
func (l *SecretList) GetItems() []resource.Managed
GetItems of this SecretList.
type SecretObservation ¶
type SecretObservation struct { Accessor *string `json:"accessor,omitempty" tf:"accessor,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` WrappingAccessor *string `json:"wrappingAccessor,omitempty" tf:"wrapping_accessor,omitempty"` }
func (*SecretObservation) DeepCopy ¶
func (in *SecretObservation) DeepCopy() *SecretObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretObservation.
func (*SecretObservation) DeepCopyInto ¶
func (in *SecretObservation) DeepCopyInto(out *SecretObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretParameters ¶
type SecretParameters struct { // Unique name of the auth backend to configure. // +kubebuilder:validation:Optional Backend *string `json:"backend,omitempty" tf:"backend,omitempty"` // List of CIDR blocks that can log in using the SecretID. // +kubebuilder:validation:Optional CidrList []*string `json:"cidrList,omitempty" tf:"cidr_list,omitempty"` // JSON-encoded secret data to write. // +kubebuilder:validation:Optional Metadata *string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Name of the role. // +crossplane:generate:reference:type=Role // +kubebuilder:validation:Optional RoleName *string `json:"roleName,omitempty" tf:"role_name,omitempty"` // +kubebuilder:validation:Optional RoleNameRef *v1.Reference `json:"roleNameRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional RoleNameSelector *v1.Selector `json:"roleNameSelector,omitempty" tf:"-"` // The SecretID to be managed. If not specified, Vault auto-generates one. // +kubebuilder:validation:Optional SecretIDSecretRef *v1.SecretKeySelector `json:"secretIdSecretRef,omitempty" tf:"-"` // Use the wrapped secret-id accessor as the id of this resource. If false, a fresh secret-id will be regenerated whenever the wrapping token is expired or invalidated through unwrapping. // +kubebuilder:validation:Optional WithWrappedAccessor *bool `json:"withWrappedAccessor,omitempty" tf:"with_wrapped_accessor,omitempty"` // The TTL duration of the wrapped SecretID. // +kubebuilder:validation:Optional WrappingTTL *string `json:"wrappingTtl,omitempty" tf:"wrapping_ttl,omitempty"` }
func (*SecretParameters) DeepCopy ¶
func (in *SecretParameters) DeepCopy() *SecretParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretParameters.
func (*SecretParameters) DeepCopyInto ¶
func (in *SecretParameters) DeepCopyInto(out *SecretParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSpec ¶
type SecretSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecretParameters `json:"forProvider"` }
SecretSpec defines the desired state of Secret
func (*SecretSpec) DeepCopy ¶
func (in *SecretSpec) DeepCopy() *SecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.
func (*SecretSpec) DeepCopyInto ¶
func (in *SecretSpec) DeepCopyInto(out *SecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStatus ¶
type SecretStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecretObservation `json:"atProvider,omitempty"` }
SecretStatus defines the observed state of Secret.
func (*SecretStatus) DeepCopy ¶
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.