pod

package
v4.2.723+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 4, 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(k8sClient client.Client, conn *grpc.ClientConn) error

Types

type PodRepository

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

PodRepository creates predicted pod to datahub

func NewPodRepository

func NewPodRepository(conn *grpc.ClientConn, clusterUID string) *PodRepository

NewPodRepository return PodRepository instance

func (*PodRepository) CreatePods added in v0.9.166

func (repo *PodRepository) CreatePods(ctx context.Context, pods []*datahub_resources.Pod) error

func (*PodRepository) DeletePods

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

DeletePods delete pods from datahub

func (*PodRepository) ListAlamedaPods

func (repo *PodRepository) ListAlamedaPods() ([]*datahub_resources.Pod, error)

func (*PodRepository) ListAlamedaPodsByAlamedaScaler added in v0.9.166

func (repo *PodRepository) ListAlamedaPodsByAlamedaScaler(ctx context.Context, namespace, name string) ([]*datahub_resources.Pod, error)

Jump to

Keyboard shortcuts

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