Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=homer.bananaops.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "homer.bananaops.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { // Name of group in homer dashboard Name string `json:"name,omitempty"` // Icon of group in homer dashboard, See https://fontawesome.com/v5/search for icons options Icon string `json:"icon,omitempty"` // Items is map of services in homer dashboard Items []Item `json:"items,omitempty"` }
type HomerServices ¶
type HomerServices struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HomerServicesSpec `json:"spec,omitempty"` Status HomerServicesStatus `json:"status,omitempty"` }
HomerServices is the Schema for the homerservices API
func (*HomerServices) DeepCopy ¶
func (in *HomerServices) DeepCopy() *HomerServices
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HomerServices.
func (*HomerServices) DeepCopyInto ¶
func (in *HomerServices) DeepCopyInto(out *HomerServices)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HomerServices) DeepCopyObject ¶
func (in *HomerServices) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HomerServicesList ¶
type HomerServicesList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HomerServices `json:"items"` }
HomerServicesList contains a list of HomerServices
func (*HomerServicesList) DeepCopy ¶
func (in *HomerServicesList) DeepCopy() *HomerServicesList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HomerServicesList.
func (*HomerServicesList) DeepCopyInto ¶
func (in *HomerServicesList) DeepCopyInto(out *HomerServicesList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HomerServicesList) DeepCopyObject ¶
func (in *HomerServicesList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HomerServicesSpec ¶
type HomerServicesSpec struct { // Groups is a map of group for items service Groups []Group `json:"groups,omitempty"` }
HomerServicesSpec defines the desired state of HomerServices
func (*HomerServicesSpec) DeepCopy ¶
func (in *HomerServicesSpec) DeepCopy() *HomerServicesSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HomerServicesSpec.
func (*HomerServicesSpec) DeepCopyInto ¶
func (in *HomerServicesSpec) DeepCopyInto(out *HomerServicesSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HomerServicesStatus ¶
type HomerServicesStatus struct { }
HomerServicesStatus defines the observed state of HomerServices
func (*HomerServicesStatus) DeepCopy ¶
func (in *HomerServicesStatus) DeepCopy() *HomerServicesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HomerServicesStatus.
func (*HomerServicesStatus) DeepCopyInto ¶
func (in *HomerServicesStatus) DeepCopyInto(out *HomerServicesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Item ¶
type Item struct { // Name of service in homer dashboard Name string `json:"name,omitempty"` // Icon of service in homer dashboard, See https://fontawesome.com/v5/search for icons options Icon string `json:"icon,omitempty"` // A path to an image can also be provided. Note that icon take precedence if both icon and logo are set. Logo string `json:"logo,omitempty"` // Tagstyle is the style of the tag in homer dashboard, See https://github.com/bastienwirtz/homer/blob/main/docs/configuration.md#style-options for style options TagStyle string `json:"tagstyle,omitempty"` // SubTitle of the service in homer dashboard SubTitle string `json:"subtitle,omitempty"` // Tag of the service in homer dashboard Tag string `json:"tag,omitempty"` // Keywords of the service in homer dashboard Keyword string `json:"keywords,omitempty"` // Url of the service in homer dashboard Url string `json:"url,omitempty"` // Target of the service in homer dashboard Target string `json:"target,omitempty"` // Type of the service in homer dashboard. See https://github.com/bastienwirtz/homer/blob/64629742f7aec7b34e8fc9e6b83282e496c2fb74/docs/configuration.md?plain=1#L150 Type string `json:"type,omitempty"` Clipboard string `json:"clipboard,omitempty"` // Optional color for card to set color directly without custom stylesheet Background string `json:"background,omitempty"` }