cluster

package
v4.2.606+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncWithDatahub

func SyncWithDatahub(client client.Client, conn *grpc.ClientConn) error

Types

type ClusterRepository

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

func NewClusterRepository

func NewClusterRepository(conn *grpc.ClientConn, clusterUID string) *ClusterRepository

NewClusterRepository return ClusterRepository instance

func (*ClusterRepository) Close

func (repo *ClusterRepository) Close()

func (*ClusterRepository) CreateClusters

func (repo *ClusterRepository) CreateClusters(arg interface{}) error

CreateClusters creates clusters to datahub

func (*ClusterRepository) ListClusters

func (repo *ClusterRepository) ListClusters() ([]*datahub_resources.Cluster, error)

Jump to

Keyboard shortcuts

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