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
Click to show internal directories.
Click to hide internal directories.