controller

package
v4.3.942+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRepository

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

func NewControllerRepository

func NewControllerRepository(datahubClient *datahubpkg.Client, clusterUID string) *ControllerRepository

NewControllerRepository return ControllerRepository instance

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