Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=roles.opensearch.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Mapping
- func (in *Mapping) DeepCopy() *Mapping
- func (in *Mapping) DeepCopyInto(out *Mapping)
- func (in *Mapping) DeepCopyObject() runtime.Object
- func (mg *Mapping) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Mapping) GetConnectionDetailsMapping() map[string]string
- func (mg *Mapping) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Mapping) GetID() string
- func (tr *Mapping) GetInitParameters() (map[string]any, error)
- func (mg *Mapping) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Mapping) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Mapping) GetObservation() (map[string]any, error)
- func (tr *Mapping) GetParameters() (map[string]any, error)
- func (mg *Mapping) GetProviderConfigReference() *xpv1.Reference
- func (mg *Mapping) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Mapping) GetTerraformResourceType() string
- func (tr *Mapping) GetTerraformSchemaVersion() int
- func (mg *Mapping) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Mapping) Hub()
- func (tr *Mapping) LateInitialize(attrs []byte) (bool, error)
- func (mg *Mapping) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Mapping) SetConditions(c ...xpv1.Condition)
- func (mg *Mapping) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Mapping) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Mapping) SetObservation(obs map[string]any) error
- func (tr *Mapping) SetParameters(params map[string]any) error
- func (mg *Mapping) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Mapping) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Mapping) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type MappingInitParameters
- type MappingList
- type MappingObservation
- type MappingParameters
- type MappingSpec
- type MappingStatus
Constants ¶
const ( CRDGroup = "roles.opensearch.upbound.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 ( Mapping_Kind = "Mapping" Mapping_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Mapping_Kind}.String() Mapping_KindAPIVersion = Mapping_Kind + "." + CRDGroupVersion.String() Mapping_GroupVersionKind = CRDGroupVersion.WithKind(Mapping_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Mapping ¶
type Mapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MappingSpec `json:"spec"` Status MappingStatus `json:"status,omitempty"` }
Mapping is the Schema for the Mappings API. Provides an OpenSearch security role mapping. Please refer to the OpenSearch Access Control documentation for details. +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,opensearch}
func (*Mapping) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mapping.
func (*Mapping) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Mapping) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Mapping) GetCondition ¶
func (mg *Mapping) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Mapping.
func (*Mapping) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Mapping
func (*Mapping) GetDeletionPolicy ¶
func (mg *Mapping) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Mapping.
func (*Mapping) GetInitParameters ¶
GetInitParameters of this Mapping
func (*Mapping) GetManagementPolicies ¶
func (mg *Mapping) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Mapping.
func (*Mapping) GetMergedParameters ¶
GetInitParameters of this Mapping
func (*Mapping) GetObservation ¶
GetObservation of this Mapping
func (*Mapping) GetParameters ¶
GetParameters of this Mapping
func (*Mapping) GetProviderConfigReference ¶
GetProviderConfigReference of this Mapping.
func (*Mapping) GetPublishConnectionDetailsTo ¶
func (mg *Mapping) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Mapping.
func (*Mapping) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Mapping
func (*Mapping) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Mapping) GetWriteConnectionSecretToReference ¶
func (mg *Mapping) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Mapping.
func (*Mapping) LateInitialize ¶
LateInitialize this Mapping using its observed tfState. returns True if there are any spec changes for the resource.
func (*Mapping) ResolveReferences ¶
ResolveReferences of this Mapping.
func (*Mapping) SetConditions ¶
SetConditions of this Mapping.
func (*Mapping) SetDeletionPolicy ¶
func (mg *Mapping) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Mapping.
func (*Mapping) SetManagementPolicies ¶
func (mg *Mapping) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Mapping.
func (*Mapping) SetObservation ¶
SetObservation for this Mapping
func (*Mapping) SetParameters ¶
SetParameters for this Mapping
func (*Mapping) SetProviderConfigReference ¶
SetProviderConfigReference of this Mapping.
func (*Mapping) SetPublishConnectionDetailsTo ¶
func (mg *Mapping) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Mapping.
func (*Mapping) SetWriteConnectionSecretToReference ¶
func (mg *Mapping) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Mapping.
type MappingInitParameters ¶
type MappingInitParameters struct { // (Set of String) A list of backend roles. // A list of backend roles. // +listType=set AndBackendRoles []*string `json:"andBackendRoles,omitempty" tf:"and_backend_roles,omitempty"` // (Set of String) A list of backend roles. // A list of backend roles. // +listType=set BackendRoles []*string `json:"backendRoles,omitempty" tf:"backend_roles,omitempty"` // (String) Description of the role mapping. // Description of the role mapping. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Set of String) A list of host names. // A list of host names. // +listType=set Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"` // (String) The name of the security role. // The name of the security role. // +crossplane:generate:reference:type=github.com/tagesjump/provider-opensearch/apis/opensearch/v1alpha1.Role RoleName *string `json:"roleName,omitempty" tf:"role_name,omitempty"` // Reference to a Role in opensearch to populate roleName. // +kubebuilder:validation:Optional RoleNameRef *v1.Reference `json:"roleNameRef,omitempty" tf:"-"` // Selector for a Role in opensearch to populate roleName. // +kubebuilder:validation:Optional RoleNameSelector *v1.Selector `json:"roleNameSelector,omitempty" tf:"-"` // (Set of String) A list of users. // A list of users. // +crossplane:generate:reference:type=github.com/tagesjump/provider-opensearch/apis/opensearch/v1alpha1.User // +listType=set Users []*string `json:"users,omitempty" tf:"users,omitempty"` // References to User in opensearch to populate users. // +kubebuilder:validation:Optional UsersRefs []v1.Reference `json:"usersRefs,omitempty" tf:"-"` // Selector for a list of User in opensearch to populate users. // +kubebuilder:validation:Optional UsersSelector *v1.Selector `json:"usersSelector,omitempty" tf:"-"` }
func (*MappingInitParameters) DeepCopy ¶
func (in *MappingInitParameters) DeepCopy() *MappingInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingInitParameters.
func (*MappingInitParameters) DeepCopyInto ¶
func (in *MappingInitParameters) DeepCopyInto(out *MappingInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingList ¶
type MappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Mapping `json:"items"` }
MappingList contains a list of Mappings
func (*MappingList) DeepCopy ¶
func (in *MappingList) DeepCopy() *MappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingList.
func (*MappingList) DeepCopyInto ¶
func (in *MappingList) DeepCopyInto(out *MappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MappingList) DeepCopyObject ¶
func (in *MappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MappingList) GetItems ¶
func (l *MappingList) GetItems() []resource.Managed
GetItems of this MappingList.
type MappingObservation ¶
type MappingObservation struct { // (Set of String) A list of backend roles. // A list of backend roles. // +listType=set AndBackendRoles []*string `json:"andBackendRoles,omitempty" tf:"and_backend_roles,omitempty"` // (Set of String) A list of backend roles. // A list of backend roles. // +listType=set BackendRoles []*string `json:"backendRoles,omitempty" tf:"backend_roles,omitempty"` // (String) Description of the role mapping. // Description of the role mapping. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Set of String) A list of host names. // A list of host names. // +listType=set Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"` // (String) The ID of this resource. ID *string `json:"id,omitempty" tf:"id,omitempty"` // (String) The name of the security role. // The name of the security role. RoleName *string `json:"roleName,omitempty" tf:"role_name,omitempty"` // (Set of String) A list of users. // A list of users. // +listType=set Users []*string `json:"users,omitempty" tf:"users,omitempty"` }
func (*MappingObservation) DeepCopy ¶
func (in *MappingObservation) DeepCopy() *MappingObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingObservation.
func (*MappingObservation) DeepCopyInto ¶
func (in *MappingObservation) DeepCopyInto(out *MappingObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingParameters ¶
type MappingParameters struct { // (Set of String) A list of backend roles. // A list of backend roles. // +kubebuilder:validation:Optional // +listType=set AndBackendRoles []*string `json:"andBackendRoles,omitempty" tf:"and_backend_roles,omitempty"` // (Set of String) A list of backend roles. // A list of backend roles. // +kubebuilder:validation:Optional // +listType=set BackendRoles []*string `json:"backendRoles,omitempty" tf:"backend_roles,omitempty"` // (String) Description of the role mapping. // Description of the role mapping. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Set of String) A list of host names. // A list of host names. // +kubebuilder:validation:Optional // +listType=set Hosts []*string `json:"hosts,omitempty" tf:"hosts,omitempty"` // (String) The name of the security role. // The name of the security role. // +crossplane:generate:reference:type=github.com/tagesjump/provider-opensearch/apis/opensearch/v1alpha1.Role // +kubebuilder:validation:Optional RoleName *string `json:"roleName,omitempty" tf:"role_name,omitempty"` // Reference to a Role in opensearch to populate roleName. // +kubebuilder:validation:Optional RoleNameRef *v1.Reference `json:"roleNameRef,omitempty" tf:"-"` // Selector for a Role in opensearch to populate roleName. // +kubebuilder:validation:Optional RoleNameSelector *v1.Selector `json:"roleNameSelector,omitempty" tf:"-"` // (Set of String) A list of users. // A list of users. // +crossplane:generate:reference:type=github.com/tagesjump/provider-opensearch/apis/opensearch/v1alpha1.User // +kubebuilder:validation:Optional // +listType=set Users []*string `json:"users,omitempty" tf:"users,omitempty"` // References to User in opensearch to populate users. // +kubebuilder:validation:Optional UsersRefs []v1.Reference `json:"usersRefs,omitempty" tf:"-"` // Selector for a list of User in opensearch to populate users. // +kubebuilder:validation:Optional UsersSelector *v1.Selector `json:"usersSelector,omitempty" tf:"-"` }
func (*MappingParameters) DeepCopy ¶
func (in *MappingParameters) DeepCopy() *MappingParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingParameters.
func (*MappingParameters) DeepCopyInto ¶
func (in *MappingParameters) DeepCopyInto(out *MappingParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingSpec ¶
type MappingSpec struct { v1.ResourceSpec `json:",inline"` ForProvider MappingParameters `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 MappingInitParameters `json:"initProvider,omitempty"` }
MappingSpec defines the desired state of Mapping
func (*MappingSpec) DeepCopy ¶
func (in *MappingSpec) DeepCopy() *MappingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingSpec.
func (*MappingSpec) DeepCopyInto ¶
func (in *MappingSpec) DeepCopyInto(out *MappingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingStatus ¶
type MappingStatus struct { v1.ResourceStatus `json:",inline"` AtProvider MappingObservation `json:"atProvider,omitempty"` }
MappingStatus defines the observed state of Mapping.
func (*MappingStatus) DeepCopy ¶
func (in *MappingStatus) DeepCopy() *MappingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingStatus.
func (*MappingStatus) DeepCopyInto ¶
func (in *MappingStatus) DeepCopyInto(out *MappingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.