Documentation ¶
Overview ¶
+groupName=playlist.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 Playlist
- func (in *Playlist) DeepCopy() *Playlist
- func (in *Playlist) DeepCopyInto(out *Playlist)
- func (in *Playlist) DeepCopyObject() runtime.Object
- func (r *Playlist) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Playlist) ValidateCreate() error
- func (r *Playlist) ValidateDelete() error
- func (r *Playlist) ValidateUpdate(old runtime.Object) error
- type PlaylistList
- type PlaylistSpec
- type PlaylistSpecItem
- type PlaylistSpecResource
- type PlaylistStatus
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: playlist.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 Playlist ¶
type Playlist struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlaylistSpec `json:"spec,omitempty"` Status PlaylistStatus `json:"status,omitempty"` }
func (*Playlist) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Playlist.
func (*Playlist) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Playlist) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Playlist) SetupWebhookWithManager ¶
func (*Playlist) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Playlist) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type PlaylistList ¶
type PlaylistList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Playlist CRD objects Items []Playlist `json:"items,omitempty"` }
PlaylistList is a list of Playlists
func (*PlaylistList) DeepCopy ¶
func (in *PlaylistList) DeepCopy() *PlaylistList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistList.
func (*PlaylistList) DeepCopyInto ¶
func (in *PlaylistList) DeepCopyInto(out *PlaylistList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlaylistList) DeepCopyObject ¶
func (in *PlaylistList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlaylistSpec ¶
type PlaylistSpec struct { State *PlaylistSpecResource `json:"state,omitempty" tf:"-"` Resource PlaylistSpecResource `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 (*PlaylistSpec) DeepCopy ¶
func (in *PlaylistSpec) DeepCopy() *PlaylistSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistSpec.
func (*PlaylistSpec) DeepCopyInto ¶
func (in *PlaylistSpec) DeepCopyInto(out *PlaylistSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistSpecItem ¶
type PlaylistSpecItem struct { // +optional ID *string `json:"ID,omitempty" tf:"id"` Order *int64 `json:"order" tf:"order"` Title *string `json:"title" tf:"title"` // +optional Type *string `json:"type,omitempty" tf:"type"` // +optional Value *string `json:"value,omitempty" tf:"value"` }
func (*PlaylistSpecItem) DeepCopy ¶
func (in *PlaylistSpecItem) DeepCopy() *PlaylistSpecItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistSpecItem.
func (*PlaylistSpecItem) DeepCopyInto ¶
func (in *PlaylistSpecItem) DeepCopyInto(out *PlaylistSpecItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistSpecResource ¶
type PlaylistSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` Interval *string `json:"interval" tf:"interval"` Item []PlaylistSpecItem `json:"item" tf:"item"` // The name of the playlist. Name *string `json:"name" tf:"name"` // +optional OrgID *string `json:"orgID,omitempty" tf:"org_id"` }
func (*PlaylistSpecResource) DeepCopy ¶
func (in *PlaylistSpecResource) DeepCopy() *PlaylistSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistSpecResource.
func (*PlaylistSpecResource) DeepCopyInto ¶
func (in *PlaylistSpecResource) DeepCopyInto(out *PlaylistSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlaylistStatus ¶
type PlaylistStatus 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 (*PlaylistStatus) DeepCopy ¶
func (in *PlaylistStatus) DeepCopy() *PlaylistStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlaylistStatus.
func (*PlaylistStatus) DeepCopyInto ¶
func (in *PlaylistStatus) DeepCopyInto(out *PlaylistStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.