Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeRole(prev *Role, ctyValue cty.Value) (resource.Managed, error)
- func DecodeRole_Label(p *RoleObservation, vals map[string]cty.Value)
- func DecodeRole_Name(p *RoleParameters, vals map[string]cty.Value)
- func DecodeRole_RolePrivileges(p *RoleParameters, vals map[string]cty.Value)
- func EncodeRole(r Role) cty.Value
- func EncodeRole_Label(p RoleObservation, vals map[string]cty.Value)
- func EncodeRole_Name(p RoleParameters, vals map[string]cty.Value)
- func EncodeRole_RolePrivileges(p RoleParameters, vals map[string]cty.Value)
- func Implementation() *plugin.Implementation
- func MergeRole_Label(k *RoleObservation, p *RoleObservation, md *plugin.MergeDescription) bool
- func MergeRole_Name(k *RoleParameters, p *RoleParameters, md *plugin.MergeDescription) bool
- func MergeRole_RolePrivileges(k *RoleParameters, p *RoleParameters, md *plugin.MergeDescription) bool
- 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 (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Role) GetProviderConfigReference() *xpv1.Reference
- func (mg *Role) GetProviderReference() *xpv1.Reference
- func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Role) SetConditions(c ...xpv1.Condition)
- func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Role) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Role) SetProviderReference(r *xpv1.Reference)
- func (mg *Role) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RoleList
- type RoleObservation
- type RoleParameters
- type RoleSpec
- type RoleStatus
Constants ¶
const ( Group = "role.terraform-provider-vsphere.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Kind = "Role" GroupKind = schema.GroupKind{Group: Group, Kind: Kind}.String() KindAPIVersion = Kind + "." + SchemeGroupVersion.String() GroupVersionKind = SchemeGroupVersion.WithKind(Kind) TerraformResourceName = "vsphere_role" )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} )
Functions ¶
func DecodeRole_Label ¶
func DecodeRole_Label(p *RoleObservation, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeRole_Name ¶
func DecodeRole_Name(p *RoleParameters, vals map[string]cty.Value)
primitiveTypeDecodeTemplate
func DecodeRole_RolePrivileges ¶
func DecodeRole_RolePrivileges(p *RoleParameters, vals map[string]cty.Value)
primitiveCollectionTypeDecodeTemplate
func EncodeRole ¶
func EncodeRole_Label ¶
func EncodeRole_Label(p RoleObservation, vals map[string]cty.Value)
func EncodeRole_Name ¶
func EncodeRole_Name(p RoleParameters, vals map[string]cty.Value)
func EncodeRole_RolePrivileges ¶
func EncodeRole_RolePrivileges(p RoleParameters, vals map[string]cty.Value)
func Implementation ¶
func Implementation() *plugin.Implementation
func MergeRole_Label ¶
func MergeRole_Label(k *RoleObservation, p *RoleObservation, md *plugin.MergeDescription) bool
mergePrimitiveTemplateStatus
func MergeRole_Name ¶
func MergeRole_Name(k *RoleParameters, p *RoleParameters, md *plugin.MergeDescription) bool
mergePrimitiveTemplateSpec
func MergeRole_RolePrivileges ¶
func MergeRole_RolePrivileges(k *RoleParameters, p *RoleParameters, md *plugin.MergeDescription) bool
mergePrimitiveContainerTemplateSpec
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 a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster
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) GetDeletionPolicy ¶
func (mg *Role) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Role.
func (*Role) GetProviderConfigReference ¶
GetProviderConfigReference of this Role.
func (*Role) GetProviderReference ¶
GetProviderReference of this Role. Deprecated: Use GetProviderConfigReference.
func (*Role) GetWriteConnectionSecretToReference ¶
func (mg *Role) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Role.
func (*Role) SetConditions ¶
SetConditions of this Role.
func (*Role) SetDeletionPolicy ¶
func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Role.
func (*Role) SetProviderConfigReference ¶
SetProviderConfigReference of this Role.
func (*Role) SetProviderReference ¶
SetProviderReference of this Role. Deprecated: Use SetProviderConfigReference.
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"` }
Role contains a list of RoleList
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 {
Label string `json:"label"`
}
A RoleObservation records the observed state of a Role
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 { Name string `json:"name"` RolePrivileges []string `json:"role_privileges,omitempty"` }
A RoleParameters defines the desired state of a Role
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 { xpv1.ResourceSpec `json:",inline"` ForProvider RoleParameters `json:"forProvider"` }
A RoleSpec defines the desired state of a 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 { xpv1.ResourceStatus `json:",inline"` AtProvider RoleObservation `json:"atProvider"` }
A RoleStatus defines the observed state of a 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.