v1alpha1

package
v0.0.0-...-da21d03 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=identity.vault.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "identity.vault.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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.

View Source
var (
	GroupAlias_Kind             = "GroupAlias"
	GroupAlias_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: GroupAlias_Kind}.String()
	GroupAlias_KindAPIVersion   = GroupAlias_Kind + "." + CRDGroupVersion.String()
	GroupAlias_GroupVersionKind = CRDGroupVersion.WithKind(GroupAlias_Kind)
)

Repository type metadata.

View Source
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"`
	Spec              GroupSpec   `json:"spec"`
	Status            GroupStatus `json:"status,omitempty"`
}

Group is the Schema for the Groups API. <no value> +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,vault}

func (*Group) DeepCopy

func (in *Group) DeepCopy() *Group

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.

func (*Group) DeepCopyInto

func (in *Group) DeepCopyInto(out *Group)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Group) DeepCopyObject

func (in *Group) DeepCopyObject() runtime.Object

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

func (tr *Group) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Group

func (*Group) GetDeletionPolicy

func (mg *Group) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Group.

func (*Group) GetID

func (tr *Group) GetID() string

GetID returns ID of underlying Terraform resource of this Group

func (*Group) GetObservation

func (tr *Group) GetObservation() (map[string]any, error)

GetObservation of this Group

func (*Group) GetParameters

func (tr *Group) GetParameters() (map[string]any, error)

GetParameters of this Group

func (*Group) GetProviderConfigReference

func (mg *Group) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Group.

func (*Group) GetProviderReference

func (mg *Group) GetProviderReference() *xpv1.Reference

GetProviderReference of this Group. Deprecated: Use GetProviderConfigReference.

func (*Group) GetPublishConnectionDetailsTo

func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Group.

func (*Group) GetTerraformResourceType

func (mg *Group) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Group

func (*Group) GetTerraformSchemaVersion

func (tr *Group) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Group) GetWriteConnectionSecretToReference

func (mg *Group) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Group.

func (*Group) LateInitialize

func (tr *Group) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Group using its observed tfState. returns True if there are any spec changes for the resource.

func (*Group) SetConditions

func (mg *Group) SetConditions(c ...xpv1.Condition)

SetConditions of this Group.

func (*Group) SetDeletionPolicy

func (mg *Group) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Group.

func (*Group) SetObservation

func (tr *Group) SetObservation(obs map[string]any) error

SetObservation for this Group

func (*Group) SetParameters

func (tr *Group) SetParameters(params map[string]any) error

SetParameters for this Group

func (*Group) SetProviderConfigReference

func (mg *Group) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Group.

func (*Group) SetProviderReference

func (mg *Group) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Group. Deprecated: Use SetProviderConfigReference.

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 GroupAlias

type GroupAlias struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GroupAliasSpec   `json:"spec"`
	Status            GroupAliasStatus `json:"status,omitempty"`
}

GroupAlias is the Schema for the GroupAliass API. <no value> +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,vault}

func (*GroupAlias) DeepCopy

func (in *GroupAlias) DeepCopy() *GroupAlias

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAlias.

func (*GroupAlias) DeepCopyInto

func (in *GroupAlias) DeepCopyInto(out *GroupAlias)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GroupAlias) DeepCopyObject

func (in *GroupAlias) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GroupAlias) GetCondition

func (mg *GroupAlias) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this GroupAlias.

func (*GroupAlias) GetConnectionDetailsMapping

func (tr *GroupAlias) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this GroupAlias

func (*GroupAlias) GetDeletionPolicy

func (mg *GroupAlias) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this GroupAlias.

func (*GroupAlias) GetID

func (tr *GroupAlias) GetID() string

GetID returns ID of underlying Terraform resource of this GroupAlias

func (*GroupAlias) GetObservation

func (tr *GroupAlias) GetObservation() (map[string]any, error)

GetObservation of this GroupAlias

func (*GroupAlias) GetParameters

func (tr *GroupAlias) GetParameters() (map[string]any, error)

GetParameters of this GroupAlias

func (*GroupAlias) GetProviderConfigReference

func (mg *GroupAlias) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this GroupAlias.

func (*GroupAlias) GetProviderReference

func (mg *GroupAlias) GetProviderReference() *xpv1.Reference

GetProviderReference of this GroupAlias. Deprecated: Use GetProviderConfigReference.

func (*GroupAlias) GetPublishConnectionDetailsTo

func (mg *GroupAlias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this GroupAlias.

func (*GroupAlias) GetTerraformResourceType

func (mg *GroupAlias) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this GroupAlias

func (*GroupAlias) GetTerraformSchemaVersion

func (tr *GroupAlias) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*GroupAlias) GetWriteConnectionSecretToReference

func (mg *GroupAlias) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this GroupAlias.

func (*GroupAlias) LateInitialize

func (tr *GroupAlias) LateInitialize(attrs []byte) (bool, error)

LateInitialize this GroupAlias using its observed tfState. returns True if there are any spec changes for the resource.

func (*GroupAlias) ResolveReferences

func (mg *GroupAlias) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this GroupAlias.

func (*GroupAlias) SetConditions

func (mg *GroupAlias) SetConditions(c ...xpv1.Condition)

SetConditions of this GroupAlias.

func (*GroupAlias) SetDeletionPolicy

func (mg *GroupAlias) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this GroupAlias.

func (*GroupAlias) SetObservation

func (tr *GroupAlias) SetObservation(obs map[string]any) error

SetObservation for this GroupAlias

func (*GroupAlias) SetParameters

func (tr *GroupAlias) SetParameters(params map[string]any) error

SetParameters for this GroupAlias

func (*GroupAlias) SetProviderConfigReference

func (mg *GroupAlias) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this GroupAlias.

func (*GroupAlias) SetProviderReference

func (mg *GroupAlias) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this GroupAlias. Deprecated: Use SetProviderConfigReference.

func (*GroupAlias) SetPublishConnectionDetailsTo

func (mg *GroupAlias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this GroupAlias.

func (*GroupAlias) SetWriteConnectionSecretToReference

func (mg *GroupAlias) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this GroupAlias.

type GroupAliasList

type GroupAliasList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GroupAlias `json:"items"`
}

GroupAliasList contains a list of GroupAliass

func (*GroupAliasList) DeepCopy

func (in *GroupAliasList) DeepCopy() *GroupAliasList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAliasList.

func (*GroupAliasList) DeepCopyInto

func (in *GroupAliasList) DeepCopyInto(out *GroupAliasList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GroupAliasList) DeepCopyObject

func (in *GroupAliasList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GroupAliasList) GetItems

func (l *GroupAliasList) GetItems() []resource.Managed

GetItems of this GroupAliasList.

type GroupAliasObservation

type GroupAliasObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`
}

func (*GroupAliasObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAliasObservation.

func (*GroupAliasObservation) DeepCopyInto

func (in *GroupAliasObservation) DeepCopyInto(out *GroupAliasObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupAliasParameters

type GroupAliasParameters struct {

	// ID of the group to which this is an alias.
	// +crossplane:generate:reference:type=Group
	// +kubebuilder:validation:Optional
	CanonicalID *string `json:"canonicalId,omitempty" tf:"canonical_id,omitempty"`

	// Reference to a Group to populate canonicalId.
	// +kubebuilder:validation:Optional
	CanonicalIDRef *v1.Reference `json:"canonicalIdRef,omitempty" tf:"-"`

	// Selector for a Group to populate canonicalId.
	// +kubebuilder:validation:Optional
	CanonicalIDSelector *v1.Selector `json:"canonicalIdSelector,omitempty" tf:"-"`

	// Mount accessor to which this alias belongs to.
	// +kubebuilder:validation:Required
	MountAccessor *string `json:"mountAccessor" tf:"mount_accessor,omitempty"`

	// Name of the group alias.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`
}

func (*GroupAliasParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAliasParameters.

func (*GroupAliasParameters) DeepCopyInto

func (in *GroupAliasParameters) DeepCopyInto(out *GroupAliasParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupAliasSpec

type GroupAliasSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     GroupAliasParameters `json:"forProvider"`
}

GroupAliasSpec defines the desired state of GroupAlias

func (*GroupAliasSpec) DeepCopy

func (in *GroupAliasSpec) DeepCopy() *GroupAliasSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAliasSpec.

func (*GroupAliasSpec) DeepCopyInto

func (in *GroupAliasSpec) DeepCopyInto(out *GroupAliasSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GroupAliasStatus

type GroupAliasStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        GroupAliasObservation `json:"atProvider,omitempty"`
}

GroupAliasStatus defines the observed state of GroupAlias.

func (*GroupAliasStatus) DeepCopy

func (in *GroupAliasStatus) DeepCopy() *GroupAliasStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupAliasStatus.

func (*GroupAliasStatus) DeepCopyInto

func (in *GroupAliasStatus) DeepCopyInto(out *GroupAliasStatus)

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

func (in *GroupList) DeepCopy() *GroupList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.

func (*GroupList) DeepCopyInto

func (in *GroupList) DeepCopyInto(out *GroupList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GroupList) DeepCopyObject

func (in *GroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*GroupList) GetItems

func (l *GroupList) GetItems() []resource.Managed

GetItems of this GroupList.

type GroupObservation

type GroupObservation struct {
	ID *string `json:"id,omitempty" tf:"id,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 {

	// 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"`

	// 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"`

	// 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"`

	// Entity IDs to be assigned as group members.
	// +kubebuilder:validation:Optional
	MemberEntityIds []*string `json:"memberEntityIds,omitempty" tf:"member_entity_ids,omitempty"`

	// Group IDs to be assigned as group members.
	// +kubebuilder:validation:Optional
	MemberGroupIds []*string `json:"memberGroupIds,omitempty" tf:"member_group_ids,omitempty"`

	// Metadata to be associated with the group.
	// +kubebuilder:validation:Optional
	Metadata map[string]*string `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// Name of the group.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Target namespace. (requires Enterprise)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// Policies to be tied to the group.
	// +kubebuilder:validation:Optional
	Policies []*string `json:"policies,omitempty" tf:"policies,omitempty"`

	// 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"`
}

GroupSpec defines the desired state of Group

func (*GroupSpec) DeepCopy

func (in *GroupSpec) DeepCopy() *GroupSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSpec.

func (*GroupSpec) DeepCopyInto

func (in *GroupSpec) DeepCopyInto(out *GroupSpec)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL