Documentation
¶
Index ¶
- type Cluster
- type ClusterAction
- type ClusterConfiguration
- type ClusterCreate
- type ClusterKubeConfig
- type ClusterPerformAction
- type ClusterService
- func (c ClusterService) Create(ctx context.Context, data ClusterCreate) (common.Ordering, error)
- func (c ClusterService) Delete(ctx context.Context, id int) error
- func (c ClusterService) Get(ctx context.Context, id int) (Cluster, error)
- func (c ClusterService) GetConfiguration(ctx context.Context, id int) (ClusterConfiguration, error)
- func (c ClusterService) GetKubeConfig(ctx context.Context, id int) (ClusterKubeConfig, error)
- func (c ClusterService) List(ctx context.Context) ([]Cluster, error)
- func (c ClusterService) PerformAction(ctx context.Context, id int, data ClusterPerformAction) (Cluster, error)
- func (c ClusterService) Update(ctx context.Context, id int, data ClusterUpdate) (Cluster, error)
- func (c ClusterService) UpdateConfiguration(ctx context.Context, id int, data ClusterConfiguration) (config ClusterConfiguration, err error)
- func (c ClusterService) UpdateFlavor(ctx context.Context, id int, data ClusterUpdateFlavor) (Cluster, error)
- type ClusterUpdate
- type ClusterUpdateFlavor
- type ClusterWorkerCreate
- type ClusterWorkerUpdate
- type LoadBalancer
- type LoadBalancerService
- type Node
- type NodeAction
- type NodePerformAction
- type NodeService
- type Volume
- type VolumeService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster kubernetes.Cluster
type ClusterAction ¶
type ClusterAction kubernetes.ClusterAction
func (ClusterAction) Columns ¶
func (c ClusterAction) Columns() []string
func (ClusterAction) Keys ¶
func (c ClusterAction) Keys() []string
func (ClusterAction) Values ¶
func (c ClusterAction) Values() map[string]interface{}
type ClusterConfiguration ¶
type ClusterConfiguration = kubernetes.ClusterConfiguration
type ClusterCreate ¶
type ClusterCreate = kubernetes.ClusterCreate
type ClusterKubeConfig ¶
type ClusterKubeConfig = kubernetes.ClusterKubeConfig
type ClusterPerformAction ¶
type ClusterPerformAction = kubernetes.ClusterPerformAction
type ClusterService ¶
type ClusterService struct {
// contains filtered or unexported fields
}
func NewClusterService ¶
func NewClusterService(client goclient.Client) ClusterService
func (ClusterService) Create ¶
func (c ClusterService) Create(ctx context.Context, data ClusterCreate) (common.Ordering, error)
func (ClusterService) GetConfiguration ¶
func (c ClusterService) GetConfiguration(ctx context.Context, id int) (ClusterConfiguration, error)
func (ClusterService) GetKubeConfig ¶
func (c ClusterService) GetKubeConfig(ctx context.Context, id int) (ClusterKubeConfig, error)
func (ClusterService) PerformAction ¶
func (c ClusterService) PerformAction(ctx context.Context, id int, data ClusterPerformAction) (Cluster, error)
func (ClusterService) Update ¶
func (c ClusterService) Update(ctx context.Context, id int, data ClusterUpdate) (Cluster, error)
func (ClusterService) UpdateConfiguration ¶
func (c ClusterService) UpdateConfiguration(ctx context.Context, id int, data ClusterConfiguration) (config ClusterConfiguration, err error)
func (ClusterService) UpdateFlavor ¶
func (c ClusterService) UpdateFlavor(ctx context.Context, id int, data ClusterUpdateFlavor) (Cluster, error)
type ClusterUpdate ¶
type ClusterUpdate = kubernetes.ClusterUpdate
type ClusterUpdateFlavor ¶
type ClusterUpdateFlavor = kubernetes.ClusterUpdateFlavor
type ClusterWorkerCreate ¶
type ClusterWorkerCreate = kubernetes.ClusterWorkerCreate
type ClusterWorkerUpdate ¶
type ClusterWorkerUpdate = kubernetes.ClusterWorkerUpdate
type LoadBalancer ¶
type LoadBalancer = compute.LoadBalancer
type LoadBalancerService ¶
type LoadBalancerService struct {
// contains filtered or unexported fields
}
func NewLoadBalancerService ¶
func NewLoadBalancerService(client goclient.Client, clusterID int) LoadBalancerService
func (LoadBalancerService) List ¶
func (v LoadBalancerService) List(ctx context.Context) ([]LoadBalancer, error)
type Node ¶
type Node kubernetes.Node
type NodeAction ¶
type NodeAction kubernetes.NodeAction
func (NodeAction) Columns ¶
func (c NodeAction) Columns() []string
func (NodeAction) Keys ¶
func (c NodeAction) Keys() []string
func (NodeAction) Values ¶
func (c NodeAction) Values() map[string]interface{}
type NodePerformAction ¶
type NodePerformAction = kubernetes.NodePerformAction
type NodeService ¶
type NodeService struct {
// contains filtered or unexported fields
}
func NewNodeService ¶
func NewNodeService(client goclient.Client, clusterID int) NodeService
func (NodeService) PerformAction ¶
func (n NodeService) PerformAction(ctx context.Context, id int, data NodePerformAction) (Node, error)
type VolumeService ¶
type VolumeService struct {
// contains filtered or unexported fields
}
func NewVolumeService ¶
func NewVolumeService(client goclient.Client, clusterID int) VolumeService
Click to show internal directories.
Click to hide internal directories.