Documentation ¶
Overview ¶
+groupName=role.datadog.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Role
- func (in *Role) DeepCopy() *Role
- func (in *Role) DeepCopyInto(out *Role)
- func (in *Role) DeepCopyObject() runtime.Object
- func (r *Role) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Role) ValidateCreate() error
- func (r *Role) ValidateDelete() error
- func (r *Role) ValidateUpdate(old runtime.Object) error
- type RoleList
- type RoleSpec
- type RoleSpecPermission
- type RoleSpecResource
- type RoleStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: role.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RoleSpec `json:"spec,omitempty"` Status RoleStatus `json:"status,omitempty"` }
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) SetupWebhookWithManager ¶
func (*Role) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Role) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Role CRD objects Items []Role `json:"items,omitempty"` }
RoleList is 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.
type RoleSpec ¶
type RoleSpec struct { State *RoleSpecResource `json:"state,omitempty" tf:"-"` Resource RoleSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*RoleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpec.
type RoleSpecPermission ¶
type RoleSpecPermission struct { // ID of the permission to assign. ID *string `json:"ID" tf:"id"` // Name of the permission. // +optional Name *string `json:"name,omitempty" tf:"name"` }
func (*RoleSpecPermission) DeepCopy ¶
func (in *RoleSpecPermission) DeepCopy() *RoleSpecPermission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpecPermission.
func (*RoleSpecPermission) DeepCopyInto ¶
func (in *RoleSpecPermission) DeepCopyInto(out *RoleSpecPermission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleSpecResource ¶
type RoleSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Name of the role. Name *string `json:"name" tf:"name"` // Set of objects containing the permission ID and the name of the permissions granted to this role. // +optional Permission []RoleSpecPermission `json:"permission,omitempty" tf:"permission"` // Number of users that have this role. // +optional UserCount *int64 `json:"userCount,omitempty" tf:"user_count"` }
func (*RoleSpecResource) DeepCopy ¶
func (in *RoleSpecResource) DeepCopy() *RoleSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleSpecResource.
func (*RoleSpecResource) DeepCopyInto ¶
func (in *RoleSpecResource) DeepCopyInto(out *RoleSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleStatus ¶
type RoleStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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.