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) UnmarshalRiver ¶
func (args *ClientArguments) UnmarshalRiver(f func(interface{}) error) error
UnmarshalRiver unmarshals ClientArguments and performs validations.
Click to show internal directories.
Click to hide internal directories.