application

package
v4.2.553+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2020 License: Apache-2.0 Imports: 11 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 ApplicationRepository

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

func NewApplicationRepository

func NewApplicationRepository(conn *grpc.ClientConn, clusterUID string) *ApplicationRepository

NewApplicationRepository return ApplicationRepository instance

func (*ApplicationRepository) Close

func (repo *ApplicationRepository) Close()

func (*ApplicationRepository) CreateApplications

func (repo *ApplicationRepository) CreateApplications(arg interface{}) error

CreateApplications creates applications to datahub

func (*ApplicationRepository) DeleteApplications

func (repo *ApplicationRepository) DeleteApplications(ctx context.Context, objectMetas []*datahub_resources.ObjectMeta) error

DeleteApplications delete applications from datahub

func (*ApplicationRepository) GetApplication

func (repo *ApplicationRepository) GetApplication(ctx context.Context, namespace, name string) (datahub_resources.Application, error)

func (*ApplicationRepository) ListApplications

func (repo *ApplicationRepository) ListApplications() ([]*datahub_resources.Application, error)

Jump to

Keyboard shortcuts

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