cluster

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(datastore store.Store) *clusterService

Types

type Service

type Service interface {
	AddCluster(ctx context.Context, cluster *store.Cluster) error
	DeleteCluster(ctx context.Context, clusterid string) error
	UpdateCluster(ctx context.Context, cluster *store.Cluster) error
	GetCluster(ctx context.Context, clusterid string) (*store.Cluster, error)
	ListClusters(ctx context.Context) (*store.ClusterList, error)
	ListNamespaces(ctx context.Context, clusterid string) (*store.NamespaceList, error)
}

Jump to

Keyboard shortcuts

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