providers

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canary

type Canary struct {
}

func (*Canary) Fetch

func (c *Canary) Fetch(cluster *api.Cluster, config api.ClusterConfiguration) error

func (*Canary) Name

func (c *Canary) Name() string

type Kubernetes

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

func (*Kubernetes) Fetch

func (k *Kubernetes) Fetch(cluster *api.Cluster, config api.ClusterConfiguration) error

func (*Kubernetes) Name

func (k *Kubernetes) Name() string

type Provider

type Provider interface {
	Fetch(cluster *api.Cluster, config api.ClusterConfiguration) error
	Name() string
}

func NewCanary

func NewCanary(config api.Config) (Provider, error)

func NewKubernetes

func NewKubernetes(config api.Config) (Provider, error)

type ProviderFn

type ProviderFn func(api.Config) (Provider, error)

Jump to

Keyboard shortcuts

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