Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: dashboard.GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type Dashboard ¶
type Dashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DashboardSpec `json:"spec,omitempty"` }
Dashboard is the Dashboard CRD.
func (*Dashboard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.
func (*Dashboard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dashboard) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DashboardList ¶
type DashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Dashboard `json:"items"` }
DashboardList is the structure for a list of Dashboard CRs.
func (*DashboardList) DeepCopy ¶
func (in *DashboardList) DeepCopy() *DashboardList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardList.
func (*DashboardList) DeepCopyInto ¶
func (in *DashboardList) DeepCopyInto(out *DashboardList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DashboardList) DeepCopyObject ¶
func (in *DashboardList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DashboardSpec ¶
type DashboardSpec struct { Cluster string `json:"cluster,omitempty"` Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Placeholders []Placeholder `json:"placeholders,omitempty"` Variables []Variable `json:"variables,omitempty"` Rows []Row `json:"rows"` }
func (*DashboardSpec) DeepCopy ¶
func (in *DashboardSpec) DeepCopy() *DashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardSpec.
func (*DashboardSpec) DeepCopyInto ¶
func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Panel ¶
type Panel struct { Title string `json:"title"` Description string `json:"description,omitempty"` ColSpan int64 `json:"colSpan,omitempty"` RowSpan int64 `json:"rowSpan,omitempty"` Plugin Plugin `json:"plugin"` }
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.
type Placeholder ¶
type Placeholder struct { Name string `json:"name"` Description string `json:"description,omitempty"` }
func (*Placeholder) DeepCopy ¶
func (in *Placeholder) DeepCopy() *Placeholder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Placeholder.
func (*Placeholder) DeepCopyInto ¶
func (in *Placeholder) DeepCopyInto(out *Placeholder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plugin ¶
type Plugin struct { Name string `json:"name"` Options *apiextensionsv1.JSON `json:"options,omitempty"` }
func (*Plugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin.
func (*Plugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Reference ¶
type Reference struct { Cluster string `json:"cluster,omitempty"` Namespace string `json:"namespace,omitempty"` Name string `json:"name,omitempty"` Title string `json:"title"` Description string `json:"description,omitempty"` Placeholders map[string]string `json:"placeholders,omitempty"` Inline *ReferenceInline `json:"inline,omitempty"` }
func (*Reference) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Reference.
func (*Reference) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReferenceInline ¶ added in v0.6.0
type ReferenceInline struct { Variables []Variable `json:"variables,omitempty"` Rows []Row `json:"rows"` }
func (*ReferenceInline) DeepCopy ¶ added in v0.6.0
func (in *ReferenceInline) DeepCopy() *ReferenceInline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReferenceInline.
func (*ReferenceInline) DeepCopyInto ¶ added in v0.6.0
func (in *ReferenceInline) DeepCopyInto(out *ReferenceInline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Row ¶
type Row struct { Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Size int64 `json:"size,omitempty"` Panels []Panel `json:"panels"` }
func (*Row) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Row.
func (*Row) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Variable ¶
type Variable struct { Name string `json:"name"` Label string `json:"label,omitempty"` Hide bool `json:"hide,omitempty"` Plugin Plugin `json:"plugin"` }
func (*Variable) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
func (*Variable) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.