controller

package
v4.2.517+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 12 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 ControllerRepository

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

func NewControllerRepository

func NewControllerRepository(conn *grpc.ClientConn, clusterUID string) *ControllerRepository

NewControllerRepository return ControllerRepository instance

func (*ControllerRepository) Close

func (repo *ControllerRepository) Close()

func (*ControllerRepository) CreateControllers

func (repo *ControllerRepository) CreateControllers(arg interface{}) error

CreateControllers creates controllers to datahub

func (*ControllerRepository) DeleteControllers

func (repo *ControllerRepository) DeleteControllers(arg interface{},
	kindIf interface{}) error

DeleteController delete controllers from datahub

func (*ControllerRepository) ListControllers

func (repo *ControllerRepository) ListControllers() (
	[]*datahub_resources.Controller, error)

Jump to

Keyboard shortcuts

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