cluster

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckVmBasedProvider added in v0.1.2

func CheckVmBasedProvider(ctx context.Context, runtime *runtimeclient.Runtime, providerInterface plugins.ProviderInterface,
	clusterWrapper *models.ClusterWrapper) error

func RegisterClusterNode added in v0.1.2

func RegisterClusterNode(clusterNode *models.ClusterNode) error

func RegisterClusterWrapper added in v0.1.2

func RegisterClusterWrapper(clusterWrapper *models.ClusterWrapper) error

func Serve

func Serve(cfg *config.Config)

Types

type Frontgate

type Frontgate struct {
	Runtime *runtimeclient.Runtime
}

func (*Frontgate) ActivateFrontgate

func (f *Frontgate) ActivateFrontgate(frontgateId string) error

func (*Frontgate) CreateCluster

func (f *Frontgate) CreateCluster(clusterWrapper *models.ClusterWrapper) (string, error)

func (*Frontgate) GetActiveFrontgate

func (f *Frontgate) GetActiveFrontgate(clusterWrapper *models.ClusterWrapper) (*models.Cluster, error)

func (*Frontgate) GetFrontgate

func (f *Frontgate) GetFrontgate(frontgateId string) (*models.Cluster, error)

func (*Frontgate) RecoverCluster

func (f *Frontgate) RecoverCluster(frontgate *models.Cluster) error

func (*Frontgate) StartCluster

func (f *Frontgate) StartCluster(frontgate *models.Cluster) error

type Server

type Server struct {
}

func (*Server) AddClusterNodes

func (p *Server) AddClusterNodes(ctx context.Context, req *pb.AddClusterNodesRequest) (*pb.AddClusterNodesResponse, error)

func (*Server) AddTableClusterNodes

func (p *Server) AddTableClusterNodes(ctx context.Context, req *pb.AddTableClusterNodesRequest) (*pb_empty.Empty, error)

func (*Server) CeaseClusters

func (p *Server) CeaseClusters(ctx context.Context, req *pb.CeaseClustersRequest) (*pb.CeaseClustersResponse, error)

func (*Server) Checker added in v0.1.2

func (p *Server) Checker(ctx context.Context, req interface{}) error

func (*Server) CreateCluster

func (p *Server) CreateCluster(ctx context.Context, req *pb.CreateClusterRequest) (*pb.CreateClusterResponse, error)

func (*Server) DeleteClusterNodes

func (*Server) DeleteClusters

func (p *Server) DeleteClusters(ctx context.Context, req *pb.DeleteClustersRequest) (*pb.DeleteClustersResponse, error)

func (*Server) DeleteTableClusterNodes

func (p *Server) DeleteTableClusterNodes(ctx context.Context, req *pb.DeleteTableClusterNodesRequest) (*pb_empty.Empty, error)

func (*Server) DescribeClusterNodes

func (*Server) DescribeClusters

func (p *Server) DescribeClusters(ctx context.Context, req *pb.DescribeClustersRequest) (*pb.DescribeClustersResponse, error)

func (*Server) DescribeSubnets

func (p *Server) DescribeSubnets(ctx context.Context, req *pb.DescribeSubnetsRequest) (*pb.DescribeSubnetsResponse, error)

func (*Server) ModifyCluster

func (p *Server) ModifyCluster(ctx context.Context, req *pb.ModifyClusterRequest) (*pb.ModifyClusterResponse, error)

func (*Server) ModifyClusterNode

func (p *Server) ModifyClusterNode(ctx context.Context, req *pb.ModifyClusterNodeRequest) (*pb.ModifyClusterNodeResponse, error)

func (*Server) RecoverClusters

func (p *Server) RecoverClusters(ctx context.Context, req *pb.RecoverClustersRequest) (*pb.RecoverClustersResponse, error)

func (*Server) ResizeCluster

func (p *Server) ResizeCluster(ctx context.Context, req *pb.ResizeClusterRequest) (*pb.ResizeClusterResponse, error)

func (*Server) RollbackCluster

func (p *Server) RollbackCluster(ctx context.Context, req *pb.RollbackClusterRequest) (*pb.RollbackClusterResponse, error)

func (*Server) StartClusters

func (p *Server) StartClusters(ctx context.Context, req *pb.StartClustersRequest) (*pb.StartClustersResponse, error)

func (*Server) StopClusters

func (p *Server) StopClusters(ctx context.Context, req *pb.StopClustersRequest) (*pb.StopClustersResponse, error)

func (*Server) UpdateClusterEnv

func (p *Server) UpdateClusterEnv(ctx context.Context, req *pb.UpdateClusterEnvRequest) (*pb.UpdateClusterEnvResponse, error)

func (*Server) UpgradeCluster

func (p *Server) UpgradeCluster(ctx context.Context, req *pb.UpgradeClusterRequest) (*pb.UpgradeClusterResponse, error)

Jump to

Keyboard shortcuts

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