Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClientConfig

type AuthClientConfig struct {
	Path        string
	TLSCert     string
	TLSKey      string
	TLSClientCA string
}

AuthClientConfig represents the clientSet configuration

type ClientSet

type ClientSet interface {
	Login(username, password string) (string, error)
	Authenticate(bearerToken string) (*v1.TokenReviewRequest, error)
}

ClientSet represents a v1 authproxy client

func NewForConfig

func NewForConfig(c *AuthClientConfig) (ClientSet, error)

newClientV1ForConfig returns a new v1 client for a given config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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