config

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration interface {
	K8sAPIDiscoveryEnabled() bool
}

Configuration is the configuration interface for the k8s package

func NewDefaultConfiguration

func NewDefaultConfiguration() Configuration

NewDefaultConfiguration returns an implementation of Configuration with default values

type DefaultConfiguration

type DefaultConfiguration struct{}

DefaultConfiguration is an implementation of Configuration with default values

func (*DefaultConfiguration) K8sAPIDiscoveryEnabled

func (d *DefaultConfiguration) K8sAPIDiscoveryEnabled() bool

K8sAPIDiscoveryEnabled returns true if API discovery of API groups and resources is enabled

Jump to

Keyboard shortcuts

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