node

package
v4.2.608+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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncWithDatahub added in v0.9.166

func SyncWithDatahub(client client.Client, conn *grpc.ClientConn) error

Types

type AlamedaNodeRepository added in v0.3.0

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

AlamedaNodeRepository creates predicted node to datahub

func NewNodeRepository added in v0.9.166

func NewNodeRepository(conn *grpc.ClientConn, clusterUID string) *AlamedaNodeRepository

NewNodeRepository return AlamedaNodeRepository instance

func (*AlamedaNodeRepository) Close added in v0.9.166

func (repo *AlamedaNodeRepository) Close()

func (*AlamedaNodeRepository) CreateNodes added in v0.9.166

func (repo *AlamedaNodeRepository) CreateNodes(nodes []*datahub_resources.Node) error

CreateNodes creates predicted node to datahub

func (*AlamedaNodeRepository) DeleteNodes added in v0.9.166

func (repo *AlamedaNodeRepository) DeleteNodes(arg interface{}) error

DeleteNodes delete predicted node from datahub

func (*AlamedaNodeRepository) ListNodes added in v0.9.166

func (repo *AlamedaNodeRepository) ListNodes() ([]*datahub_resources.Node, error)

ListNodes lists nodes to datahub

Jump to

Keyboard shortcuts

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