v1

package
v0.0.0-...-d70f863 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ResourceVersion = "v1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   root_tsm_tanzu_vmware_com.GroupName,
	Version: ResourceVersion,
}

GroupVersion is the identifier for the API which includes the name of the group and the version of the API

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

Types

type Child

type Child struct {
	Group string `json:"group" yaml:"group"`
	Kind  string `json:"kind" yaml:"kind"`
	Name  string `json:"name" yaml:"name"`
}

+k8s:openapi-gen=true

func (*Child) DeepCopy

func (in *Child) DeepCopy() *Child

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

func (*Child) DeepCopyInto

func (in *Child) DeepCopyInto(out *Child)

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

type Link struct {
	Group string `json:"group" yaml:"group"`
	Kind  string `json:"kind" yaml:"kind"`
	Name  string `json:"name" yaml:"name"`
}

+k8s:openapi-gen=true

func (*Link) DeepCopy

func (in *Link) DeepCopy() *Link

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

func (*Link) DeepCopyInto

func (in *Link) DeepCopyInto(out *Link)

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

type NexusStatus

type NexusStatus struct {
	SourceGeneration int64 `json:"sourceGeneration" yaml:"sourceGeneration"`
	RemoteGeneration int64 `json:"remoteGeneration" yaml:"remoteGeneration"`
}

+k8s:openapi-gen=true

func (*NexusStatus) DeepCopy

func (in *NexusStatus) DeepCopy() *NexusStatus

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

func (*NexusStatus) DeepCopyInto

func (in *NexusStatus) DeepCopyInto(out *NexusStatus)

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

type NonNexusType

type NonNexusType struct {
	Test int
}

+k8s:openapi-gen=true

func (*NonNexusType) DeepCopy

func (in *NonNexusType) DeepCopy() *NonNexusType

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

func (*NonNexusType) DeepCopyInto

func (in *NonNexusType) DeepCopyInto(out *NonNexusType)

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

type Root

type Root struct {
	metav1.TypeMeta   `json:",inline" yaml:",inline"`
	metav1.ObjectMeta `json:"metadata" yaml:"metadata"`
	Spec              RootSpec        `json:"spec,omitempty" yaml:"spec,omitempty"`
	Status            RootNexusStatus `json:"status,omitempty" yaml:"status,omitempty"`
}

+genclient +genclient:noStatus +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true

func (*Root) CRDName

func (c *Root) CRDName() string

func (*Root) DeepCopy

func (in *Root) DeepCopy() *Root

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

func (*Root) DeepCopyInto

func (in *Root) DeepCopyInto(out *Root)

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

func (*Root) DeepCopyObject

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

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

func (*Root) DisplayName

func (c *Root) DisplayName() string

type RootList

type RootList struct {
	metav1.TypeMeta `json:",inline" yaml:",inline"`
	metav1.ListMeta `json:"metadata" yaml:"metadata"`
	Items           []Root `json:"items" yaml:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RootList) DeepCopy

func (in *RootList) DeepCopy() *RootList

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

func (*RootList) DeepCopyInto

func (in *RootList) DeepCopyInto(out *RootList)

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

func (*RootList) DeepCopyObject

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

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

type RootNexusStatus

type RootNexusStatus struct {
	Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}

+k8s:openapi-gen=true

func (*RootNexusStatus) DeepCopy

func (in *RootNexusStatus) DeepCopy() *RootNexusStatus

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

func (*RootNexusStatus) DeepCopyInto

func (in *RootNexusStatus) DeepCopyInto(out *RootNexusStatus)

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

type RootSpec

type RootSpec struct {
	ConfigGvk *Child `json:"configGvk,omitempty" yaml:"configGvk,omitempty" nexus:"child"`
}

+k8s:openapi-gen=true

func (*RootSpec) DeepCopy

func (in *RootSpec) DeepCopy() *RootSpec

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

func (*RootSpec) DeepCopyInto

func (in *RootSpec) DeepCopyInto(out *RootSpec)

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