Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=role.keycloak.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 (mg *Role) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Role) GetObservation() (map[string]any, error)
- func (tr *Role) GetParameters() (map[string]any, 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) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Role) SetConditions(c ...xpv1.Condition)
- func (mg *Role) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Role) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Role) SetObservation(obs map[string]any) error
- func (tr *Role) SetParameters(params map[string]any) 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
Constants ¶
const ( CRDGroup = "role.keycloak.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.
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. <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,keycloak}
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) GetManagementPolicies ¶
func (mg *Role) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies 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) ResolveReferences ¶
ResolveReferences 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) SetManagementPolicies ¶
func (mg *Role) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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 { // +kubebuilder:validation:Optional Attributes map[string]*string `json:"attributes,omitempty" tf:"attributes,omitempty"` // +crossplane:generate:reference:type=github.com/crossplane-contrib/provider-keycloak/apis/openidclient/v1alpha1.Client // +kubebuilder:validation:Optional ClientID *string `json:"clientId,omitempty" tf:"client_id,omitempty"` // Reference to a Client in openidclient to populate clientId. // +kubebuilder:validation:Optional ClientIDRef *v1.Reference `json:"clientIdRef,omitempty" tf:"-"` // Selector for a Client in openidclient to populate clientId. // +kubebuilder:validation:Optional ClientIDSelector *v1.Selector `json:"clientIdSelector,omitempty" tf:"-"` // +crossplane:generate:reference:type=Role // +kubebuilder:validation:Optional CompositeRoles []*string `json:"compositeRoles,omitempty" tf:"composite_roles,omitempty"` // References to Role to populate compositeRoles. // +kubebuilder:validation:Optional CompositeRolesRefs []v1.Reference `json:"compositeRolesRefs,omitempty" tf:"-"` // Selector for a list of Role to populate compositeRoles. // +kubebuilder:validation:Optional CompositeRolesSelector *v1.Selector `json:"compositeRolesSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Required RealmID *string `json:"realmId" tf:"realm_id,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.