Documentation ¶
Overview ¶
+groupName=folder.grafana.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 Folder
- func (in *Folder) DeepCopy() *Folder
- func (in *Folder) DeepCopyInto(out *Folder)
- func (in *Folder) DeepCopyObject() runtime.Object
- func (r *Folder) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Folder) ValidateCreate() error
- func (r *Folder) ValidateDelete() error
- func (r *Folder) ValidateUpdate(old runtime.Object) error
- type FolderList
- type FolderSpec
- type FolderSpecResource
- type FolderStatus
- type Permission
- func (in *Permission) DeepCopy() *Permission
- func (in *Permission) DeepCopyInto(out *Permission)
- func (in *Permission) DeepCopyObject() runtime.Object
- func (r *Permission) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Permission) ValidateCreate() error
- func (r *Permission) ValidateDelete() error
- func (r *Permission) ValidateUpdate(old runtime.Object) error
- type PermissionList
- type PermissionSpec
- type PermissionSpecPermissions
- type PermissionSpecResource
- type PermissionStatus
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: folder.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 Folder ¶
type Folder struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FolderSpec `json:"spec,omitempty"` Status FolderStatus `json:"status,omitempty"` }
func (*Folder) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Folder.
func (*Folder) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Folder) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Folder) SetupWebhookWithManager ¶
func (*Folder) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Folder) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type FolderList ¶
type FolderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Folder CRD objects Items []Folder `json:"items,omitempty"` }
FolderList is a list of Folders
func (*FolderList) DeepCopy ¶
func (in *FolderList) DeepCopy() *FolderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderList.
func (*FolderList) DeepCopyInto ¶
func (in *FolderList) DeepCopyInto(out *FolderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FolderList) DeepCopyObject ¶
func (in *FolderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FolderSpec ¶
type FolderSpec struct { State *FolderSpecResource `json:"state,omitempty" tf:"-"` Resource FolderSpecResource `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 (*FolderSpec) DeepCopy ¶
func (in *FolderSpec) DeepCopy() *FolderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderSpec.
func (*FolderSpec) DeepCopyInto ¶
func (in *FolderSpec) DeepCopyInto(out *FolderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderSpecResource ¶
type FolderSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The title of the folder. Title *string `json:"title" tf:"title"` // Unique identifier. // +optional Uid *string `json:"uid,omitempty" tf:"uid"` }
func (*FolderSpecResource) DeepCopy ¶
func (in *FolderSpecResource) DeepCopy() *FolderSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderSpecResource.
func (*FolderSpecResource) DeepCopyInto ¶
func (in *FolderSpecResource) DeepCopyInto(out *FolderSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderStatus ¶
type FolderStatus 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 (*FolderStatus) DeepCopy ¶
func (in *FolderStatus) DeepCopy() *FolderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderStatus.
func (*FolderStatus) DeepCopyInto ¶
func (in *FolderStatus) DeepCopyInto(out *FolderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Permission ¶
type Permission struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PermissionSpec `json:"spec,omitempty"` Status PermissionStatus `json:"status,omitempty"` }
func (*Permission) DeepCopy ¶
func (in *Permission) DeepCopy() *Permission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permission.
func (*Permission) DeepCopyInto ¶
func (in *Permission) DeepCopyInto(out *Permission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Permission) DeepCopyObject ¶
func (in *Permission) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Permission) SetupWebhookWithManager ¶
func (r *Permission) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Permission) ValidateCreate ¶
func (r *Permission) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Permission) ValidateDelete ¶
func (r *Permission) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Permission) ValidateUpdate ¶
func (r *Permission) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type PermissionList ¶
type PermissionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Permission CRD objects Items []Permission `json:"items,omitempty"` }
PermissionList is a list of Permissions
func (*PermissionList) DeepCopy ¶
func (in *PermissionList) DeepCopy() *PermissionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionList.
func (*PermissionList) DeepCopyInto ¶
func (in *PermissionList) DeepCopyInto(out *PermissionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PermissionList) DeepCopyObject ¶
func (in *PermissionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PermissionSpec ¶
type PermissionSpec struct { State *PermissionSpecResource `json:"state,omitempty" tf:"-"` Resource PermissionSpecResource `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 (*PermissionSpec) DeepCopy ¶
func (in *PermissionSpec) DeepCopy() *PermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionSpec.
func (*PermissionSpec) DeepCopyInto ¶
func (in *PermissionSpec) DeepCopyInto(out *PermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionSpecPermissions ¶
type PermissionSpecPermissions struct { // Permission to associate with item. Must be one of `View`, `Edit`, or `Admin`. Permission *string `json:"permission" tf:"permission"` // Manage permissions for `Viewer` or `Editor` roles. // +optional Role *string `json:"role,omitempty" tf:"role"` // ID of the team to manage permissions for. // +optional TeamID *int64 `json:"teamID,omitempty" tf:"team_id"` // ID of the user to manage permissions for. // +optional UserID *int64 `json:"userID,omitempty" tf:"user_id"` }
func (*PermissionSpecPermissions) DeepCopy ¶
func (in *PermissionSpecPermissions) DeepCopy() *PermissionSpecPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionSpecPermissions.
func (*PermissionSpecPermissions) DeepCopyInto ¶
func (in *PermissionSpecPermissions) DeepCopyInto(out *PermissionSpecPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionSpecResource ¶
type PermissionSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The UID of the folder. FolderUid *string `json:"folderUid" tf:"folder_uid"` // The permission items to add/update. Items that are omitted from the list will be removed. Permissions []PermissionSpecPermissions `json:"permissions" tf:"permissions"` }
func (*PermissionSpecResource) DeepCopy ¶
func (in *PermissionSpecResource) DeepCopy() *PermissionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionSpecResource.
func (*PermissionSpecResource) DeepCopyInto ¶
func (in *PermissionSpecResource) DeepCopyInto(out *PermissionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionStatus ¶
type PermissionStatus 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 (*PermissionStatus) DeepCopy ¶
func (in *PermissionStatus) DeepCopy() *PermissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PermissionStatus.
func (*PermissionStatus) DeepCopyInto ¶
func (in *PermissionStatus) DeepCopyInto(out *PermissionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.