v1

package
v0.0.0-...-baa1f0e Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const ResourceVersion = "v1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
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 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 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 AliasArr

type AliasArr []int

type Answer

type Answer struct {
	Name string `json:"name" yaml:"name"`
}

+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) CRDName

func (c *BarChild) CRDName() string

func (*BarChild) DisplayName

func (c *BarChild) DisplayName() string

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) CRDName

func (c *Dns) CRDName() string

func (*Dns) DisplayName

func (c *Dns) DisplayName() string

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) CRDName

func (c *Foo) CRDName() string

func (*Foo) DisplayName

func (c *Foo) DisplayName() string

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) CRDName

func (c *Gns) CRDName() string

func (*Gns) DisplayName

func (c *Gns) DisplayName() string

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"`
	UseSharedGateway          bool                         `json:"useSharedGateway" yaml:"useSharedGateway"`
	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 Host

type Host string

type HostPort

type HostPort struct {
	Host Host `json:"host" yaml:"host"`
	Port Port `json:"port" yaml:"port"`
}

+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 Instance

type Instance float32
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 MyConst

type MyConst string

type MyStr

type MyStr string

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 Port

type Port uint16

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL