impl

package
v0.3.27 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 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 Container

type Container struct {
	InfluxDBConfig influxdb_repository.Config
}

Implement ContainerOperation interface

func (*Container) AddPods

func (container *Container) AddPods(pods []*datahub_v1alpha1.Pod) error

func (*Container) DeletePods

func (container *Container) DeletePods(pods []*datahub_v1alpha1.Pod) error

func (*Container) ListAlamedaPods

func (container *Container) ListAlamedaPods(ns, name string, kind datahub_v1alpha1.Kind, timeRange *datahub_v1alpha1.TimeRange) ([]*datahub_v1alpha1.Pod, error)

type Controller added in v0.3.9

type Controller struct {
	InfluxDBConfig influxdb_repository.Config
}

func (*Controller) CreateControllers added in v0.3.9

func (c *Controller) CreateControllers(controllers []*datahub_api.Controller) error

func (*Controller) DeleteControllers added in v0.3.11

func (c *Controller) DeleteControllers(in *datahub_api.DeleteControllersRequest) error

func (*Controller) ListControllers added in v0.3.9

type Node

type Node struct {
	InfluxDBConfig influxdb_repository.Config
}

Implement Node interface

func (*Node) DeregisterAlamedaNodes

func (node *Node) DeregisterAlamedaNodes(alamedaNodes []*datahub_v1alpha1.Node) error

func (*Node) ListAlamedaNodes

func (node *Node) ListAlamedaNodes(timeRange *datahub_api.TimeRange) ([]*datahub_v1alpha1.Node, error)

func (*Node) ListNodes added in v0.3.0

func (node *Node) ListNodes(request cluster_status_dao.ListNodesRequest) ([]*datahub_v1alpha1.Node, error)

func (*Node) RegisterAlamedaNodes

func (node *Node) RegisterAlamedaNodes(alamedaNodes []*datahub_v1alpha1.Node) error

Jump to

Keyboard shortcuts

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