Documentation ¶
Overview ¶
+groupName=library.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 Panel
- func (in *Panel) DeepCopy() *Panel
- func (in *Panel) DeepCopyInto(out *Panel)
- func (in *Panel) DeepCopyObject() runtime.Object
- func (r *Panel) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Panel) ValidateCreate() error
- func (r *Panel) ValidateDelete() error
- func (r *Panel) ValidateUpdate(old runtime.Object) error
- type PanelList
- type PanelSpec
- type PanelSpecResource
- type PanelStatus
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: library.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 Panel ¶
type Panel struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PanelSpec `json:"spec,omitempty"` Status PanelStatus `json:"status,omitempty"` }
func (*Panel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Panel.
func (*Panel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Panel) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Panel) SetupWebhookWithManager ¶
func (*Panel) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Panel) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type PanelList ¶
type PanelList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Panel CRD objects Items []Panel `json:"items,omitempty"` }
PanelList is a list of Panels
func (*PanelList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelList.
func (*PanelList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PanelSpec ¶
type PanelSpec struct { State *PanelSpecResource `json:"state,omitempty" tf:"-"` Resource PanelSpecResource `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 (*PanelSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelSpec.
type PanelSpecResource ¶
type PanelSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Timestamp when the library panel was created. // +optional Created *string `json:"created,omitempty" tf:"created"` // Numerical IDs of Grafana dashboards containing the library panel. // +optional DashboardIDS []int64 `json:"dashboardIDS,omitempty" tf:"dashboard_ids"` // Description of the library panel. // +optional Description *string `json:"description,omitempty" tf:"description"` // ID of the folder where the library panel is stored. // +optional FolderID *int64 `json:"folderID,omitempty" tf:"folder_id"` // Name of the folder containing the library panel. // +optional FolderName *string `json:"folderName,omitempty" tf:"folder_name"` // Unique ID (UID) of the folder containing the library panel. // +optional FolderUid *string `json:"folderUid,omitempty" tf:"folder_uid"` // The JSON model for the library panel. ModelJSON *string `json:"modelJSON" tf:"model_json"` // Name of the library panel. Name *string `json:"name" tf:"name"` // The numeric ID of the library panel computed by Grafana. // +optional OrgID *int64 `json:"orgID,omitempty" tf:"org_id"` // The numeric ID of the library panel computed by Grafana. // +optional PanelID *int64 `json:"panelID,omitempty" tf:"panel_id"` // Type of the library panel (eg. text). // +optional Type *string `json:"type,omitempty" tf:"type"` // The unique identifier (UID) of a library panel uniquely identifies library panels between multiple Grafana installs. It’s automatically generated unless you specify it during library panel creation.The UID provides consistent URLs for accessing library panels and when syncing library panels between multiple Grafana installs. // +optional Uid *string `json:"uid,omitempty" tf:"uid"` // Timestamp when the library panel was last modified. // +optional Updated *string `json:"updated,omitempty" tf:"updated"` // Version of the library panel. // +optional Version *int64 `json:"version,omitempty" tf:"version"` }
func (*PanelSpecResource) DeepCopy ¶
func (in *PanelSpecResource) DeepCopy() *PanelSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelSpecResource.
func (*PanelSpecResource) DeepCopyInto ¶
func (in *PanelSpecResource) DeepCopyInto(out *PanelSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PanelStatus ¶
type PanelStatus 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 (*PanelStatus) DeepCopy ¶
func (in *PanelStatus) DeepCopy() *PanelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PanelStatus.
func (*PanelStatus) DeepCopyInto ¶
func (in *PanelStatus) DeepCopyInto(out *PanelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.