Documentation ¶
Index ¶
- Constants
- type Cluster
- type ManagementCluster
- func (mc *ManagementCluster) ClusterID() string
- func (mc *ManagementCluster) ID() string
- func (mc *ManagementCluster) Kind() int
- func (mc *ManagementCluster) Name() string
- func (mc *ManagementCluster) Region() string
- func (mc *ManagementCluster) Sector() string
- func (mc *ManagementCluster) State() string
- func (mc *ManagementCluster) String() string
- type ServiceCluster
- func (sc *ServiceCluster) AddManagementCluster(mc *ManagementCluster)
- func (sc *ServiceCluster) ClusterID() string
- func (sc *ServiceCluster) ID() string
- func (sc *ServiceCluster) Kind() int
- func (sc *ServiceCluster) Name() string
- func (sc *ServiceCluster) Region() string
- func (sc *ServiceCluster) Sector() string
- func (sc *ServiceCluster) State() string
- func (sc *ServiceCluster) String() string
Constants ¶
View Source
const ( ServiceClusterType int = iota ManagementClusterType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagementCluster ¶
type ManagementCluster struct { Parent *ServiceCluster // contains filtered or unexported fields }
func NewManagementCluster ¶
func NewManagementCluster(mc *v1.ManagementCluster, parent *ServiceCluster) *ManagementCluster
func (*ManagementCluster) ClusterID ¶
func (mc *ManagementCluster) ClusterID() string
func (*ManagementCluster) ID ¶
func (mc *ManagementCluster) ID() string
func (*ManagementCluster) Kind ¶
func (mc *ManagementCluster) Kind() int
func (*ManagementCluster) Name ¶
func (mc *ManagementCluster) Name() string
func (*ManagementCluster) Region ¶
func (mc *ManagementCluster) Region() string
func (*ManagementCluster) Sector ¶
func (mc *ManagementCluster) Sector() string
func (*ManagementCluster) State ¶
func (mc *ManagementCluster) State() string
func (*ManagementCluster) String ¶
func (mc *ManagementCluster) String() string
type ServiceCluster ¶
type ServiceCluster struct { Children []*ManagementCluster // contains filtered or unexported fields }
func NewServiceCluster ¶
func NewServiceCluster(sc *v1.ServiceCluster) *ServiceCluster
func (*ServiceCluster) AddManagementCluster ¶
func (sc *ServiceCluster) AddManagementCluster(mc *ManagementCluster)
func (*ServiceCluster) ClusterID ¶
func (sc *ServiceCluster) ClusterID() string
func (*ServiceCluster) ID ¶
func (sc *ServiceCluster) ID() string
func (*ServiceCluster) Kind ¶
func (sc *ServiceCluster) Kind() int
func (*ServiceCluster) Name ¶
func (sc *ServiceCluster) Name() string
func (*ServiceCluster) Region ¶
func (sc *ServiceCluster) Region() string
func (*ServiceCluster) Sector ¶
func (sc *ServiceCluster) Sector() string
func (*ServiceCluster) State ¶
func (sc *ServiceCluster) State() string
func (*ServiceCluster) String ¶
func (sc *ServiceCluster) String() string
Click to show internal directories.
Click to hide internal directories.