impl

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 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) ([]*datahub_v1alpha1.Pod, error)

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() ([]*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