namespace

package
v4.2.712+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 14 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 NamespaceRepository

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

func NewNamespaceRepository

func NewNamespaceRepository(conn *grpc.ClientConn, clusterUID string) *NamespaceRepository

NewNamespaceRepository return NamespaceRepository instance

func (*NamespaceRepository) Close

func (repo *NamespaceRepository) Close()

func (*NamespaceRepository) CreateNamespaces

func (repo *NamespaceRepository) CreateNamespaces(arg interface{}) error

CreateNamespaces creates namespaces to datahub

func (*NamespaceRepository) DeleteNamespaces

func (repo *NamespaceRepository) DeleteNamespaces(arg interface{}) error

DeleteNamespace delete namespaces from datahub

func (*NamespaceRepository) IsNSExcluded

func (repo *NamespaceRepository) IsNSExcluded(ns string) bool

func (*NamespaceRepository) ListNamespaces

func (repo *NamespaceRepository) ListNamespaces() (
	[]*datahub_resources.Namespace, error)

Jump to

Keyboard shortcuts

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