config

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KdnConfig

type KdnConfig struct {
	DryRun     bool
	Logger     *logrus.Logger
	ClientSet  kubernetes.Interface
	Endpoint   string
	TokenHdr   string
	TokenVal   string
	Filter     string
	HealthPort int
}

KdnConfig is the main program configuration, passed to controllers Init()

func (*KdnConfig) Init

func (c *KdnConfig) Init(apiserver string, kubeconfig string)

Init initialize the configuration (creating the ClientSet for the cluster)

Jump to

Keyboard shortcuts

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