Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct {
k8sconfig.APIConfig `mapstructure:",squash"`
configtls.Config `mapstructure:",squash"`
// InsecureSkipVerify controls whether the client verifies the server's
// certificate chain and host name.
InsecureSkipVerify bool `mapstructure:"insecure_skip_verify"`
}
ClientConfig for a kubelet client for talking to a kubelet HTTP endpoint.
type ClientProvider ¶
func NewClientProvider ¶
func NewClientProvider(endpoint string, cfg *ClientConfig, logger *zap.Logger) (ClientProvider, error)
Click to show internal directories.
Click to hide internal directories.