Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=identitygroup.vault.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Group
- func (in *Group) DeepCopy() *Group
- func (in *Group) DeepCopyInto(out *Group)
- func (in *Group) DeepCopyObject() runtime.Object
- func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Group) GetConnectionDetailsMapping() map[string]string
- func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Group) GetID() string
- func (tr *Group) GetInitParameters() (map[string]any, error)
- func (mg *Group) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Group) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Group) GetObservation() (map[string]any, error)
- func (tr *Group) GetParameters() (map[string]any, error)
- func (mg *Group) GetProviderConfigReference() *xpv1.Reference
- func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Group) GetTerraformResourceType() string
- func (tr *Group) GetTerraformSchemaVersion() int
- func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Group) Hub()
- func (tr *Group) LateInitialize(attrs []byte) (bool, error)
- func (mg *Group) SetConditions(c ...xpv1.Condition)
- func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Group) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Group) SetObservation(obs map[string]any) error
- func (tr *Group) SetParameters(params map[string]any) error
- func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type GroupInitParameters
- type GroupList
- type GroupObservation
- type GroupParameters
- type GroupSpec
- type GroupStatus
Constants ¶
const ( CRDGroup = "identitygroup.vault.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Group_Kind = "Group" Group_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Group_Kind}.String() Group_KindAPIVersion = Group_Kind + "." + CRDGroupVersion.String() Group_GroupVersionKind = CRDGroupVersion.WithKind(Group_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 )
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group 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.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec GroupSpec `json:"spec"` Status GroupStatus `json:"status,omitempty"` }
Group is the Schema for the Groups API. Creates an Identity Group for Vault. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Group) GetCondition ¶
func (mg *Group) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Group.
func (*Group) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Group
func (*Group) GetDeletionPolicy ¶
func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Group.
func (*Group) GetInitParameters ¶ added in v1.3.0
GetInitParameters of this Group
func (*Group) GetManagementPolicies ¶ added in v1.3.0
func (mg *Group) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Group.
func (*Group) GetMergedParameters ¶ added in v1.3.0
GetInitParameters of this Group
func (*Group) GetObservation ¶
GetObservation of this Group
func (*Group) GetParameters ¶
GetParameters of this Group
func (*Group) GetProviderConfigReference ¶
GetProviderConfigReference of this Group.
func (*Group) GetPublishConnectionDetailsTo ¶
func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Group.
func (*Group) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Group
func (*Group) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Group) GetWriteConnectionSecretToReference ¶
func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Group.
func (*Group) LateInitialize ¶
LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.
func (*Group) SetConditions ¶
SetConditions of this Group.
func (*Group) SetDeletionPolicy ¶
func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Group.
func (*Group) SetManagementPolicies ¶ added in v1.3.0
func (mg *Group) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Group.
func (*Group) SetObservation ¶
SetObservation for this Group
func (*Group) SetParameters ¶
SetParameters for this Group
func (*Group) SetProviderConfigReference ¶
SetProviderConfigReference of this Group.
func (*Group) SetPublishConnectionDetailsTo ¶
func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Group.
func (*Group) SetWriteConnectionSecretToReference ¶
func (mg *Group) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Group.
type GroupInitParameters ¶ added in v1.3.0
type GroupInitParameters struct { // false by default. If set to true, this resource will ignore any Entity IDs // returned from Vault or specified in the resource. You can use // vault_identity_group_member_entity_ids to manage Entity IDs for this group in a // decoupled manner. // Manage member entities externally through `vault_identity_group_member_entity_ids` ExternalMemberEntityIds *bool `json:"externalMemberEntityIds,omitempty" tf:"external_member_entity_ids,omitempty"` // false by default. If set to true, this resource will ignore any Group IDs // returned from Vault or specified in the resource. You can use // vault_identity_group_member_group_ids to manage Group IDs for this group in a // decoupled manner. // Manage member groups externally through `vault_identity_group_member_group_ids` ExternalMemberGroupIds *bool `json:"externalMemberGroupIds,omitempty" tf:"external_member_group_ids,omitempty"` // false by default. If set to true, this resource will ignore any policies returned from // Vault or specified in the resource. You can use vault_identity_group_policies to manage // policies for this group in a decoupled manner. // Manage policies externally through `vault_identity_group_policies`, allows using group ID in assigned policies. ExternalPolicies *bool `json:"externalPolicies,omitempty" tf:"external_policies,omitempty"` // A list of Entity IDs to be assigned as group members. Not allowed on external groups. // Entity IDs to be assigned as group members. // +listType=set MemberEntityIds []*string `json:"memberEntityIds,omitempty" tf:"member_entity_ids,omitempty"` // A list of Group IDs to be assigned as group members. Not allowed on external groups. // Group IDs to be assigned as group members. // +listType=set MemberGroupIds []*string `json:"memberGroupIds,omitempty" tf:"member_group_ids,omitempty"` // A Map of additional metadata to associate with the group. // Metadata to be associated with the group. // +mapType=granular Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Name of the identity group to create. // Name of the group. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // A list of policies to apply to the group. // Policies to be tied to the group. // +listType=set Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"` // Type of the group, internal or external. Defaults to internal. // Type of the group, internal or external. Defaults to internal. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*GroupInitParameters) DeepCopy ¶ added in v1.3.0
func (in *GroupInitParameters) DeepCopy() *GroupInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupInitParameters.
func (*GroupInitParameters) DeepCopyInto ¶ added in v1.3.0
func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Group `json:"items"` }
GroupList contains a list of Groups
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupObservation ¶
type GroupObservation struct { // false by default. If set to true, this resource will ignore any Entity IDs // returned from Vault or specified in the resource. You can use // vault_identity_group_member_entity_ids to manage Entity IDs for this group in a // decoupled manner. // Manage member entities externally through `vault_identity_group_member_entity_ids` ExternalMemberEntityIds *bool `json:"externalMemberEntityIds,omitempty" tf:"external_member_entity_ids,omitempty"` // false by default. If set to true, this resource will ignore any Group IDs // returned from Vault or specified in the resource. You can use // vault_identity_group_member_group_ids to manage Group IDs for this group in a // decoupled manner. // Manage member groups externally through `vault_identity_group_member_group_ids` ExternalMemberGroupIds *bool `json:"externalMemberGroupIds,omitempty" tf:"external_member_group_ids,omitempty"` // false by default. If set to true, this resource will ignore any policies returned from // Vault or specified in the resource. You can use vault_identity_group_policies to manage // policies for this group in a decoupled manner. // Manage policies externally through `vault_identity_group_policies`, allows using group ID in assigned policies. ExternalPolicies *bool `json:"externalPolicies,omitempty" tf:"external_policies,omitempty"` // The id of the created group. ID *string `json:"id,omitempty" tf:"id,omitempty"` // A list of Entity IDs to be assigned as group members. Not allowed on external groups. // Entity IDs to be assigned as group members. // +listType=set MemberEntityIds []*string `json:"memberEntityIds,omitempty" tf:"member_entity_ids,omitempty"` // A list of Group IDs to be assigned as group members. Not allowed on external groups. // Group IDs to be assigned as group members. // +listType=set MemberGroupIds []*string `json:"memberGroupIds,omitempty" tf:"member_group_ids,omitempty"` // A Map of additional metadata to associate with the group. // Metadata to be associated with the group. // +mapType=granular Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Name of the identity group to create. // Name of the group. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // A list of policies to apply to the group. // Policies to be tied to the group. // +listType=set Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"` // Type of the group, internal or external. Defaults to internal. // Type of the group, internal or external. Defaults to internal. Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*GroupObservation) DeepCopy ¶
func (in *GroupObservation) DeepCopy() *GroupObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupObservation.
func (*GroupObservation) DeepCopyInto ¶
func (in *GroupObservation) DeepCopyInto(out *GroupObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupParameters ¶
type GroupParameters struct { // false by default. If set to true, this resource will ignore any Entity IDs // returned from Vault or specified in the resource. You can use // vault_identity_group_member_entity_ids to manage Entity IDs for this group in a // decoupled manner. // Manage member entities externally through `vault_identity_group_member_entity_ids` // +kubebuilder:validation:Optional ExternalMemberEntityIds *bool `json:"externalMemberEntityIds,omitempty" tf:"external_member_entity_ids,omitempty"` // false by default. If set to true, this resource will ignore any Group IDs // returned from Vault or specified in the resource. You can use // vault_identity_group_member_group_ids to manage Group IDs for this group in a // decoupled manner. // Manage member groups externally through `vault_identity_group_member_group_ids` // +kubebuilder:validation:Optional ExternalMemberGroupIds *bool `json:"externalMemberGroupIds,omitempty" tf:"external_member_group_ids,omitempty"` // false by default. If set to true, this resource will ignore any policies returned from // Vault or specified in the resource. You can use vault_identity_group_policies to manage // policies for this group in a decoupled manner. // Manage policies externally through `vault_identity_group_policies`, allows using group ID in assigned policies. // +kubebuilder:validation:Optional ExternalPolicies *bool `json:"externalPolicies,omitempty" tf:"external_policies,omitempty"` // A list of Entity IDs to be assigned as group members. Not allowed on external groups. // Entity IDs to be assigned as group members. // +kubebuilder:validation:Optional // +listType=set MemberEntityIds []*string `json:"memberEntityIds,omitempty" tf:"member_entity_ids,omitempty"` // A list of Group IDs to be assigned as group members. Not allowed on external groups. // Group IDs to be assigned as group members. // +kubebuilder:validation:Optional // +listType=set MemberGroupIds []*string `json:"memberGroupIds,omitempty" tf:"member_group_ids,omitempty"` // A Map of additional metadata to associate with the group. // Metadata to be associated with the group. // +kubebuilder:validation:Optional // +mapType=granular Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"` // Name of the identity group to create. // Name of the group. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // A list of policies to apply to the group. // Policies to be tied to the group. // +kubebuilder:validation:Optional // +listType=set Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"` // Type of the group, internal or external. Defaults to internal. // Type of the group, internal or external. Defaults to internal. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` }
func (*GroupParameters) DeepCopy ¶
func (in *GroupParameters) DeepCopy() *GroupParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupParameters.
func (*GroupParameters) DeepCopyInto ¶
func (in *GroupParameters) DeepCopyInto(out *GroupParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupSpec ¶
type GroupSpec struct { v1.ResourceSpec `json:",inline"` ForProvider GroupParameters `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 GroupInitParameters `json:"initProvider,omitempty"` }
GroupSpec defines the desired state of Group
func (*GroupSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.
func (*GroupSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupStatus ¶
type GroupStatus struct { v1.ResourceStatus `json:",inline"` AtProvider GroupObservation `json:"atProvider,omitempty"` }
GroupStatus defines the observed state of Group.
func (*GroupStatus) DeepCopy ¶
func (in *GroupStatus) DeepCopy() *GroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupStatus.
func (*GroupStatus) DeepCopyInto ¶
func (in *GroupStatus) DeepCopyInto(out *GroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.