v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=playlist.grafana.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
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

func Kind(kind string) schema.GroupKind

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

func (in *Playlist) DeepCopy() *Playlist

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Playlist.

func (*Playlist) DeepCopyInto

func (in *Playlist) DeepCopyInto(out *Playlist)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Playlist) DeepCopyObject

func (in *Playlist) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Playlist) SetupWebhookWithManager

func (r *Playlist) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Playlist) ValidateCreate

func (r *Playlist) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Playlist) ValidateDelete

func (r *Playlist) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Playlist) ValidateUpdate

func (r *Playlist) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL