kubernetes

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster kubernetes.Cluster

func (Cluster) Columns

func (c Cluster) Columns() []string

func (Cluster) Keys

func (c Cluster) Keys() []string

func (Cluster) String

func (c Cluster) String() string

func (Cluster) Values

func (c Cluster) Values() map[string]interface{}

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 (ClusterService) Delete

func (c ClusterService) Delete(ctx context.Context, id int) error

func (ClusterService) Get

func (c ClusterService) Get(ctx context.Context, id int) (Cluster, 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) List

func (c ClusterService) List(ctx context.Context) ([]Cluster, 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

type Node

type Node kubernetes.Node

func (Node) Columns

func (n Node) Columns() []string

func (Node) Keys

func (n Node) Keys() (identifiers []string)

func (Node) String

func (n Node) String() string

func (Node) Values

func (n Node) Values() map[string]interface{}

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

func (n NodeService) Delete(ctx context.Context, id int) error

func (NodeService) List

func (n NodeService) List(ctx context.Context) ([]Node, error)

func (NodeService) PerformAction

func (n NodeService) PerformAction(ctx context.Context, id int, data NodePerformAction) (Node, error)

type Volume

type Volume = compute.Volume

type VolumeService

type VolumeService struct {
	// contains filtered or unexported fields
}

func NewVolumeService

func NewVolumeService(client goclient.Client, clusterID int) VolumeService

func (VolumeService) Delete

func (v VolumeService) Delete(ctx context.Context, id int) error

func (VolumeService) List

func (v VolumeService) List(ctx context.Context) ([]Volume, error)

Jump to

Keyboard shortcuts

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