k8sauth

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFromTLSClientAuth

func ConfigFromTLSClientAuth(options TLSClientAuth) *rest.Config

func ConfigFromTokenAuth

func ConfigFromTokenAuth(tokenAuth TokenAuth) *rest.Config

func WithKappyUserAgent

func WithKappyUserAgent(config *rest.Config) *rest.Config

Types

type TLSClientAuth

type TLSClientAuth struct {
	KeyData  []byte
	CertData []byte
	CAData   []byte

	Host string
}

type TokenAuth

type TokenAuth struct {
	Token  string
	CAData []byte

	Host string
}

Jump to

Keyboard shortcuts

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