controller

package
v4.2.716+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 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(ctx context.Context, arg interface{}, kindIf interface{}) error

DeleteControllers delete controllers from datahub

func (*ControllerRepository) ListControllers

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

func (*ControllerRepository) ListControllersByApplication

func (repo *ControllerRepository) ListControllersByApplication(ctx context.Context, namespace, name string) ([]*datahub_resources.Controller, error)

Jump to

Keyboard shortcuts

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