client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath(cfgFile string) string

Types

type ConfigSet

type ConfigSet struct {
	Core     *kubernetes.Clientset
	Pipeline *pipelineApi.Clientset

	Config *rest.Config
}

func NewClient

func NewClient(cfgFile string) (ConfigSet, error)

NewClient returns ConfigSet created from available configuration file or from in-cluster environment

Jump to

Keyboard shortcuts

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