Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AdditionalDescription
- type AdditionalStatus
- type AliasArr
- type Answer
- type BarChild
- type BarChildList
- type BarChildNexusStatus
- type BarChildSpec
- type Child
- type Description
- type Dns
- type DnsList
- type DnsNexusStatus
- type Foo
- type FooList
- type FooNexusStatus
- type FooSpec
- type Gns
- type GnsList
- type GnsNexusStatus
- type GnsSpec
- type GnsState
- type Host
- type HostPort
- type IgnoreChild
- type IgnoreChildList
- type IgnoreChildNexusStatus
- type IgnoreChildSpec
- type Instance
- type Link
- type MyConst
- type MyStr
- type NexusStatus
- type Port
- type RandomConst1
- type RandomConst2
- type RandomConst3
- type RandomDescription
- type RandomStatus
- type ReplicationSource
- type ServiceSegmentRef
- type SourceKind
- type SyncerStatus
- type TempConst1
- type TempConst2
- type TempConst3
Constants ¶
const ( MyConst3 RandomConst3 = "Const3" MyConst2 RandomConst2 = "Const2" MyConst1 RandomConst1 = "Const1" Object SourceKind = "Object" Type SourceKind = "Type" XYZ MyConst = "xyz" Const3 TempConst3 = "Const3" Const2 TempConst2 = "Const2" Const1 TempConst1 = "Const1" )
const ResourceVersion = "v1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: gns_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 Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type AdditionalDescription ¶
type AdditionalDescription struct { DiscriptionA string `json:"discriptionA" yaml:"discriptionA"` DiscriptionB string `json:"discriptionB" yaml:"discriptionB"` DiscriptionC string `json:"discriptionC" yaml:"discriptionC"` DiscriptionD string `json:"discriptionD" yaml:"discriptionD"` }
+k8s:openapi-gen=true
type AdditionalStatus ¶
type AdditionalStatus struct { StatusX int `json:"statusX" yaml:"statusX"` StatusY int `json:"statusY" yaml:"statusY"` }
+k8s:openapi-gen=true
type BarChild ¶
type BarChild struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec BarChildSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status BarChildNexusStatus `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 (*BarChild) DisplayName ¶
type BarChildList ¶
type BarChildList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []BarChild `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type BarChildNexusStatus ¶
type BarChildNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type BarChildSpec ¶
type BarChildSpec struct {
Name string `json:"name" yaml:"name"`
}
+k8s:openapi-gen=true
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
type Description ¶
type Description struct { Color string `json:"color" yaml:"color"` Version string `json:"version" yaml:"version"` ProjectId string `json:"projectId" yaml:"projectId"` TestAns []Answer `json:"testAns" yaml:"testAns"` Instance Instance `json:"instance" yaml:"instance"` HostPort HostPort `json:"hostPort" yaml:"hostPort"` }
+k8s:openapi-gen=true
type Dns ¶
type Dns struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Status DnsNexusStatus `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 (*Dns) DisplayName ¶
type DnsList ¶
type DnsList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []Dns `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type DnsNexusStatus ¶
type DnsNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type Foo ¶
type Foo struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec FooSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status FooNexusStatus `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 (*Foo) DisplayName ¶
type FooList ¶
type FooList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []Foo `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type FooNexusStatus ¶
type FooNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type FooSpec ¶
type FooSpec struct {
Password string `json:"password" yaml:"password"`
}
+k8s:openapi-gen=true
type Gns ¶
type Gns struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec GnsSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status GnsNexusStatus `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 (*Gns) DisplayName ¶
type GnsList ¶
type GnsList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []Gns `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type GnsNexusStatus ¶
type GnsNexusStatus struct { State GnsState `json:"state,omitempty" yaml:"state,omitempty"` Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"` }
+k8s:openapi-gen=true
type GnsSpec ¶
type GnsSpec struct { //nexus-validation: MaxLength=8, MinLength=2 //nexus-validation: Pattern=abc Domain string `json:"domain" yaml:"domain"` Annotations nexus.NexusGenericObject `nexus-graphql-jsonencoded:"" json:"annotations,omitempty" yaml:"annotations,omitempty"` TargetPort intstr.IntOrString `json:"targetPort,omitempty" mapstructure:"targetPort,omitempty" yaml:"targetPort,omitempty"` Description Description `json:"description" yaml:"description"` Meta string `json:"meta" yaml:"meta"` IntOrString []intstr.IntOrString `` /* 132-byte string literal not displayed */ Port *int `json:"port" yaml:"port"` OtherDescription *Description `json:"otherDescription" yaml:"otherDescription"` MapPointer *map[string]string `json:"mapPointer" yaml:"mapPointer"` SlicePointer *[]string `json:"slicePointer" yaml:"slicePointer"` WorkloadSpec cartv1.WorkloadSpec `json:"workloadSpec" yaml:"workloadSpec"` DifferentSpec *cartv1.WorkloadSpec `json:"differentSpec" yaml:"differentSpec"` ServiceSegmentRef ServiceSegmentRef `json:"serviceSegmentRef,omitempty" yaml:"serviceSegmentRef,omitempty"` ServiceSegmentRefPointer *ServiceSegmentRef `json:"serviceSegmentRefPointer,omitempty" yaml:"serviceSegmentRefPointer,omitempty"` ServiceSegmentRefs []ServiceSegmentRef `json:"serviceSegmentRefs,omitempty" yaml:"serviceSegmentRefs,omitempty"` ServiceSegmentRefMap map[string]ServiceSegmentRef `json:"serviceSegmentRefMap,omitempty" yaml:"serviceSegmentRefMap,omitempty"` GnsServiceGroupsGvk map[string]Child `json:"gnsServiceGroupsGvk,omitempty" yaml:"gnsServiceGroupsGvk,omitempty" nexus:"children"` GnsAccessControlPolicyGvk *Child `json:"gnsAccessControlPolicyGvk,omitempty" yaml:"gnsAccessControlPolicyGvk,omitempty" nexus:"child"` FooChildGvk *Child `json:"fooChildGvk,omitempty" yaml:"fooChildGvk,omitempty" nexus:"child"` IgnoreChildGvk *Child `json:"ignoreChildGvk,omitempty" yaml:"ignoreChildGvk,omitempty" nexus:"child"` FooGvk *Child `json:"fooGvk,omitempty" yaml:"fooGvk,omitempty" nexus:"child"` DnsGvk *Link `json:"dnsGvk,omitempty" yaml:"dnsGvk,omitempty" nexus:"link"` }
+k8s:openapi-gen=true
type GnsState ¶
type GnsState struct { Working bool `json:"working" yaml:"working"` Temperature int `json:"temperature" yaml:"temperature"` }
+k8s:openapi-gen=true
type IgnoreChild ¶
type IgnoreChild struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec IgnoreChildSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status IgnoreChildNexusStatus `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 (*IgnoreChild) CRDName ¶
func (c *IgnoreChild) CRDName() string
func (*IgnoreChild) DisplayName ¶
func (c *IgnoreChild) DisplayName() string
type IgnoreChildList ¶
type IgnoreChildList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []IgnoreChild `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type IgnoreChildNexusStatus ¶
type IgnoreChildNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type IgnoreChildSpec ¶
type IgnoreChildSpec struct {
Name string `json:"name" yaml:"name"`
}
+k8s:openapi-gen=true
type Link ¶
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
type NexusStatus ¶
type NexusStatus struct { SourceGeneration int64 `json:"sourceGeneration, omitempty" yaml:"sourceGeneration, omitempty"` RemoteGeneration int64 `json:"remoteGeneration, omitempty" yaml:"remoteGeneration, omitempty"` SyncerStatus SyncerStatus `json:"syncerStatus, omitempty" yaml:"syncerStatus, omitempty"` }
+k8s:openapi-gen=true
type RandomConst1 ¶
type RandomConst1 string
type RandomConst2 ¶
type RandomConst2 string
type RandomConst3 ¶
type RandomConst3 string
type RandomDescription ¶
type RandomDescription struct { DiscriptionA string `json:"discriptionA" yaml:"discriptionA"` DiscriptionB string `json:"discriptionB" yaml:"discriptionB"` DiscriptionC string `json:"discriptionC" yaml:"discriptionC"` DiscriptionD string `json:"discriptionD" yaml:"discriptionD"` }
+k8s:openapi-gen=true
type RandomStatus ¶
type RandomStatus struct { StatusX int `json:"statusX" yaml:"statusX"` StatusY int `json:"statusY" yaml:"statusY"` }
+k8s:openapi-gen=true
type ReplicationSource ¶
type ReplicationSource struct {
Kind SourceKind `json:"kind" yaml:"kind"`
}
+k8s:openapi-gen=true
type ServiceSegmentRef ¶
type ServiceSegmentRef struct { Field1 string `json:"field1" yaml:"field1"` Field2 string `json:"field2" yaml:"field2"` }
+k8s:openapi-gen=true
type SourceKind ¶
type SourceKind string
type SyncerStatus ¶
type SyncerStatus struct { EtcdVersion int64 `json:"etcdVersion, omitempty" yaml:"etcdVersion, omitempty"` CRGenerationId int64 `json:"cRGenerationId, omitempty" yaml:"cRGenerationId, omitempty"` }
+k8s:openapi-gen=true
type TempConst1 ¶
type TempConst1 string
type TempConst2 ¶
type TempConst2 string
type TempConst3 ¶
type TempConst3 string