Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOptions ¶
type ClientOptions struct { CertFile string KeyFile string CAFile string CertDirectory string PairName string }
ClientOptions is the options for agent client
func NewClientOptions ¶
func NewClientOptions() *ClientOptions
NewClientOptions creates a new agent ClientOptions object with default values.
func (*ClientOptions) AddFlags ¶
func (s *ClientOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for ServerRunOptions fields to be specified via FlagSet.
func (*ClientOptions) Config ¶
func (s *ClientOptions) Config(dynamicClient dynamic.Interface) getter.ClientConfig
Config returns agent ClientConfig from options
func (*ClientOptions) MaybeDefaultWithSelfSignedCerts ¶
func (s *ClientOptions) MaybeDefaultWithSelfSignedCerts(publicAddress string) error
MaybeDefaultWithSelfSignedCerts generate self signed cert if they are not set
type Options ¶
type Options struct { KubeConfigFile string ConfigMapLabels string ServerRun *genericapiserveroptions.ServerRunOptions SecureServing *genericapiserveroptions.SecureServingOptionsWithLoopback Authentication *genericapiserveroptions.DelegatingAuthenticationOptions Authorization *genericapiserveroptions.DelegatingAuthorizationOptions ClientOptions *ClientOptions }
func NewOptions ¶
func NewOptions() *Options
NewOptions constructs a new set of default options for proxyserver.
func (*Options) APIServerConfig ¶
func (o *Options) APIServerConfig() (*genericapiserver.Config, error)
func (*Options) SetDefaults ¶
Click to show internal directories.
Click to hide internal directories.