pod

package
v4.3.1008+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodRepository

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

PodRepository creates predicted pod to datahub

func NewPodRepository

func NewPodRepository(datahubClient *datahubpkg.Client, 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