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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ResourceVersion = "v1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

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

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

func (c *SvcGroup) CRDName() string

func (*SvcGroup) DisplayName

func (c *SvcGroup) DisplayName() string

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

Jump to

Keyboard shortcuts

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