scrapeconfigs

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "scrapeconfigs"
)

Variables

This section is empty.

Functions

func IsWrongType

func IsWrongType(err error) bool

IsWrongType asserts wrongTypeError.

func New

func New(config Config) (*generic.Resource, error)

Types

type Config

type Config struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger
	Provider  string
}

type TemplateData

type TemplateData struct {
	APIServerURL string
	ETCD         string
	Provider     string
	ClusterID    string
	SecretName   string
}

Jump to

Keyboard shortcuts

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