Documentation
¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Child
- type Link
- type NexusStatus
- type SvcGroup
- type SvcGroupLinkInfo
- type SvcGroupLinkInfoList
- type SvcGroupLinkInfoNexusStatus
- type SvcGroupLinkInfoSpec
- type SvcGroupList
- type SvcGroupNexusStatus
- type SvcGroupSpec
- type SyncerStatus
Constants ¶
const ResourceVersion = "v1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: servicegroup_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 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 SvcGroup ¶
type SvcGroup struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec SvcGroupSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status SvcGroupNexusStatus `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 (*SvcGroup) DisplayName ¶
type SvcGroupLinkInfo ¶
type SvcGroupLinkInfo struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ObjectMeta `json:"metadata" yaml:"metadata"` Spec SvcGroupLinkInfoSpec `json:"spec,omitempty" yaml:"spec,omitempty"` Status SvcGroupLinkInfoNexusStatus `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 (*SvcGroupLinkInfo) CRDName ¶
func (c *SvcGroupLinkInfo) CRDName() string
func (*SvcGroupLinkInfo) DisplayName ¶
func (c *SvcGroupLinkInfo) DisplayName() string
type SvcGroupLinkInfoList ¶
type SvcGroupLinkInfoList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []SvcGroupLinkInfo `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type SvcGroupLinkInfoNexusStatus ¶
type SvcGroupLinkInfoNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type SvcGroupLinkInfoSpec ¶
type SvcGroupLinkInfoSpec struct { ClusterName string `json:"clusterName" yaml:"clusterName"` DomainName string `json:"domainName" yaml:"domainName"` ServiceName string `json:"serviceName" yaml:"serviceName"` ServiceType string `json:"serviceType" yaml:"serviceType"` }
+k8s:openapi-gen=true
type SvcGroupList ¶
type SvcGroupList struct { metav1.TypeMeta `json:",inline" yaml:",inline"` metav1.ListMeta `json:"metadata" yaml:"metadata"` Items []SvcGroup `json:"items" yaml:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type SvcGroupNexusStatus ¶
type SvcGroupNexusStatus struct {
Nexus NexusStatus `json:"nexus,omitempty" yaml:"nexus,omitempty"`
}
+k8s:openapi-gen=true
type SvcGroupSpec ¶
type SvcGroupSpec struct { DisplayName string `json:"displayName" yaml:"displayName"` Description string `json:"description" yaml:"description"` Color string `json:"color" yaml:"color"` }
+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