nodeauthorizer

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultPort is the default port to listen on
	DefaultPort = 10443
	// DefaultTimeout is the max time we are willing to wait before erroring
	DefaultTimeout = &metav1.Duration{Duration: 20 * time.Second}
	// DefaultTokenTTL is the default expiration on a bootstrap token
	DefaultTokenTTL = &metav1.Duration{Duration: 5 * time.Minute}
)

Functions

func GetNodeAuthorizerImage

func GetNodeAuthorizerImage() string

GetNodeAuthorizerImage returns the image to use for the node-authorizer

Types

type OptionsBuilder

type OptionsBuilder struct {
	Context *components.OptionsContext
}

OptionsBuilder fills in the default options for the node-authorizer

func (*OptionsBuilder) BuildOptions

func (b *OptionsBuilder) BuildOptions(o interface{}) error

BuildOptions generates the configurations used to create node authorizer

Jump to

Keyboard shortcuts

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