watt

package
v1.13.8 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsulSnapshot

type ConsulSnapshot struct {
	Endpoints map[string]consulwatch.Endpoints `json:",omitempty"`
}

func (*ConsulSnapshot) DeepCopy

func (s *ConsulSnapshot) DeepCopy() (*ConsulSnapshot, error)

type Error added in v1.0.0

type Error struct {
	Source    string
	Message   string
	Timestamp int64
}

func NewError added in v1.0.0

func NewError(source, message string) Error

type Snapshot

type Snapshot struct {
	Consul     ConsulSnapshot            `json:",omitempty"`
	Kubernetes map[string][]k8s.Resource `json:",omitempty"`
	Errors     map[string][]Error        `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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