Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClientArguments = ClientArguments{ HTTPClientConfig: commoncfg.DefaultHTTPClientConfig, }
DefaultClientArguments holds default values for Arguments.
Functions ¶
This section is empty.
Types ¶
type ClientArguments ¶
type ClientArguments struct { APIServer commoncfg.URL `river:"api_server,attr,optional"` KubeConfig string `river:"kubeconfig_file,attr,optional"` HTTPClientConfig commoncfg.HTTPClientConfig `river:",squash"` }
ClientArguments controls how to connect to a Kubernetes cluster.
func (*ClientArguments) BuildRESTConfig ¶
BuildRESTConfig converts ClientArguments to a Kubernetes REST config.
func (*ClientArguments) SetToDefault ¶ added in v0.35.0
func (args *ClientArguments) SetToDefault()
SetToDefault implements river.Defaulter.
func (*ClientArguments) Validate ¶ added in v0.35.0
func (args *ClientArguments) Validate() error
Validate implements river.Validator.
Click to show internal directories.
Click to hide internal directories.