Documentation
¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AMap
- type BArray
- type CInt
- type Child
- type Cluster
- type ClusterNamespace
- type Config
- type ConfigList
- type ConfigNexusStatus
- type ConfigSpec
- type CrossPackageTester
- type DFloat
- type Domain
- type DomainList
- type DomainNexusStatus
- type DomainSpec
- type EmptyStructTest
- type FooTypeABC
- type FooTypeABCList
- type FooTypeABCNexusStatus
- type FooTypeABCSpec
- type Link
- type MatchCondition
- type NexusStatus
- type SomeStruct
- type StructWithEmbeddedField
- type SyncerStatus
- type TestValMarkers
Constants ¶
const ResourceVersion = "v1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: config_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 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 ClusterNamespace ¶
type ClusterNamespace struct { Cluster MatchCondition `json:"cluster" yaml:"cluster"` Namespace MatchCondition `json:"namespace" yaml:"namespace"` }
+k8s:openapi-gen=true
type Config ¶
type Config struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec ConfigSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status ConfigNexusStatus `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 (*Config) DisplayName ¶
type ConfigList ¶
type ConfigList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []Config `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type ConfigNexusStatus ¶
type ConfigNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type ConfigSpec ¶
type ConfigSpec struct { MyStr0 *gnstsmtanzuvmwarecomv1.MyStr `json:"myStr0" yaml:"myStr0"` MyStr1 []gnstsmtanzuvmwarecomv1.MyStr `json:"myStr1" yaml:"myStr1"` MyStr2 map[string]gnstsmtanzuvmwarecomv1.MyStr `json:"myStr2" yaml:"myStr2"` XYZPort gnstsmtanzuvmwarecomv1.Port `json:"xYZPort" yaml:"xYZPort"` ABCHost []gnstsmtanzuvmwarecomv1.Host `json:"aBCHost" yaml:"aBCHost"` ClusterNamespaces []ClusterNamespace `json:"clusterNamespaces" yaml:"clusterNamespaces"` TestValMarkers TestValMarkers `json:"testValMarkers" yaml:"testValMarkers"` Instance float32 `json:"instance" yaml:"instance"` CuOption string `json:"option_cu" yaml:"option_cu"` GNSGvk *Child `json:"gNSGvk,omitempty" yaml:"gNSGvk,omitempty" nexus:"child"` DNSGvk *Child `json:"dNSGvk,omitempty" yaml:"dNSGvk,omitempty" nexus:"child"` VMPPoliciesGvk *Child `json:"vMPPoliciesGvk,omitempty" yaml:"vMPPoliciesGvk,omitempty" nexus:"child"` DomainGvk *Child `json:"domainGvk,omitempty" yaml:"domainGvk,omitempty" nexus:"child"` FooExampleGvk map[string]Child `json:"fooExampleGvk,omitempty" yaml:"fooExampleGvk,omitempty" nexus:"children"` SvcGrpInfoGvk *Child `json:"svcGrpInfoGvk,omitempty" yaml:"svcGrpInfoGvk,omitempty" nexus:"child"` ACPPoliciesGvk map[string]Link `json:"aCPPoliciesGvk,omitempty" yaml:"aCPPoliciesGvk,omitempty" nexus:"links"` }
+k8s:openapi-gen=true
type CrossPackageTester ¶
type CrossPackageTester struct {
Test gnstsmtanzuvmwarecomv1.MyStr `json:"test" yaml:"test"`
}
+k8s:openapi-gen=true
type Domain ¶
type Domain struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec DomainSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status DomainNexusStatus `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 (*Domain) DisplayName ¶
type DomainList ¶
type DomainList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []Domain `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type DomainNexusStatus ¶
type DomainNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type DomainSpec ¶
type DomainSpec struct { PointPort *gnstsmtanzuvmwarecomv1.Port `json:"pointPort" yaml:"pointPort"` PointString *string `json:"pointString" yaml:"pointString"` PointInt *int `json:"pointInt" yaml:"pointInt"` PointMap *map[string]string `json:"pointMap" yaml:"pointMap"` PointSlice *[]string `json:"pointSlice" yaml:"pointSlice"` SliceOfPoints []*string `json:"sliceOfPoints" yaml:"sliceOfPoints"` SliceOfArrPoints []*BArray `json:"sliceOfArrPoints" yaml:"sliceOfArrPoints"` MapOfArrsPoints map[string]*BArray `json:"mapOfArrsPoints" yaml:"mapOfArrsPoints"` PointStruct *Cluster `json:"pointStruct" yaml:"pointStruct"` }
+k8s:openapi-gen=true
type FooTypeABC ¶
type FooTypeABC struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec FooTypeABCSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status FooTypeABCNexusStatus `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 (*FooTypeABC) CRDName ¶
func (c *FooTypeABC) CRDName() string
func (*FooTypeABC) DisplayName ¶
func (c *FooTypeABC) DisplayName() string
type FooTypeABCList ¶
type FooTypeABCList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []FooTypeABC `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type FooTypeABCNexusStatus ¶
type FooTypeABCNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type FooTypeABCSpec ¶
type FooTypeABCSpec struct { FooA AMap `json:"fooA" yaml:"fooA"` FooB BArray `json:"fooB" yaml:"fooB"` FooC CInt `nexus-graphql:"ignore:true" json:"fooC" yaml:"fooC"` FooD DFloat `nexus-graphql:"type:string" json:"fooD" yaml:"fooD"` FooE CInt `json:"foo_e" nexus-graphql:"ignore:true" yaml:"foo_e"` FooF DFloat `json:"foo_f" yaml:"c_int" nexus-graphql:"type:string"` }
+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 MatchCondition ¶
type MatchCondition struct { Name string `json:"name" yaml:"name"` Type gnstsmtanzuvmwarecomv1.Host `json:"type" yaml:"type"` }
+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 StructWithEmbeddedField ¶
type StructWithEmbeddedField struct { SomeStruct gnstsmtanzuvmwarecomv1.MyStr }
+k8s:openapi-gen=true
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 TestValMarkers ¶
type TestValMarkers struct { //nexus-validation: MaxLength=8, MinLength=2, Pattern=ab MyStr string `json:"myStr" yaml:"myStr"` //nexus-validation: Maximum=8, Minimum=2 //nexus-validation: ExclusiveMaximum=true MyInt int `json:"myInt" yaml:"myInt"` //nexus-validation: MaxItems=3, MinItems=2 //nexus-validation: UniqueItems=true MySlice []string `json:"mySlice" yaml:"mySlice"` }
+k8s:openapi-gen=true