v1

package
v0.0.0-...-f26d988 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=ui.cattle.io

+k8s:deepcopy-gen=package +groupName=ui.cattle.io

+k8s:deepcopy-gen=package +groupName=ui.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	NavLinkResourceName = "navlinks"
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: ui.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back 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 NavLink struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NavLinkSpec `json:"spec"`
}
func NewNavLink(namespace, name string, obj NavLink) *NavLink
func (in *NavLink) DeepCopy() *NavLink

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

func (in *NavLink) DeepCopyInto(out *NavLink)

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

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

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

type NavLinkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []NavLink `json:"items"`
}

NavLinkList is a list of NavLink resources

func (in *NavLinkList) DeepCopy() *NavLinkList

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

func (in *NavLinkList) DeepCopyInto(out *NavLinkList)

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

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

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

type NavLinkSpec struct {
	Label       string                `json:"label,omitempty"`
	Description string                `json:"description,omitempty"`
	SideLabel   string                `json:"sideLabel,omitempty"`
	IconSrc     string                `json:"iconSrc,omitempty"`
	Group       string                `json:"group,omitempty"`
	Target      string                `json:"target,omitempty"`
	ToURL       string                `json:"toURL,omitempty"`
	ToService   *NavLinkTargetService `json:"toService,omitempty"`
}
func (in *NavLinkSpec) DeepCopy() *NavLinkSpec

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

func (in *NavLinkSpec) DeepCopyInto(out *NavLinkSpec)

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

type NavLinkTargetService struct {
	Namespace string              `json:"namespace,omitempty" wrangler:"required"`
	Name      string              `json:"name,omitempty" wrangler:"required"`
	Scheme    string              `json:"scheme,omitempty" wrangler:"default=http,options=http|https,type=enum"`
	Port      *intstr.IntOrString `json:"port,omitempty"`
	Path      string              `json:"path,omitempty"`
}

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

func (in *NavLinkTargetService) DeepCopyInto(out *NavLinkTargetService)

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