cluster

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrInitPipelineCode = "11000"
	ErrInitInformerCode = "11001"
)

Variables

This section is empty.

Functions

func ErrInitInformer

func ErrInitInformer(err error) error

func ErrInitPipeline

func ErrInitPipeline(err interface{}) error

func Setup

func Setup(dclient *discovery.Client, broker broker.Handler, iclient *inf.Client) error

Types

type GlobalResources

type GlobalResources struct {
	Nodes      []corev1.Node      `json:"nodes,omitempty"`
	Namespaces []corev1.Namespace `json:"namespaces,omitempty"`
}

type LocalResources

type LocalResources struct {
	Deployments []appsv1.Deployment `json:"deployments,omitempty"`
	Pods        []corev1.Pod        `json:"pods,omitempty"`
}

type Resources

type Resources struct {
	Global GlobalResources `json:"global,omitempty"`
	Local  LocalResources  `json:"local,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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