Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeletClientConfig ¶
type KubeletClientConfig struct { // Port specifies the default port - used if no information about Kubelet port can be found in Node.NodeStatus.DaemonEndpoints. Port uint // Server requires TLS client certificate authentication CertFile string // Server requires TLS client certificate authentication KeyFile string }
Subset of the full options exposed in k8s.io/kubernetes/pkg/kubelet/client.KubeletClientConfig
type Options ¶
type Options struct { // ServerOption ServerOption // KubeletOption KubeletOption KubeletClientConfig }
Options holds the config from command line.
func NewVnAgentOptions ¶
type ServerOption ¶
type ServerOption struct { // ClientCAFile is the path to a PEM-encoded certificate bundle. If set, any request presenting a client certificate // signed by one of the authorities in the bundle is authenticated with a username corresponding to the CommonName, // and groups corresponding to the Organization in the client certificate. ClientCAFile string // CertDirectory is the directory where the TLS certs are located CertDirectory string // TLSCertFile is the file containing x509 Certificate for HTTPS TLSCertFile string // TLSPrivateKeyFile is the file containing x509 private key matching tlsCertFile TLSPrivateKeyFile string // Port is the vn-agent server listening on. Port uint // FeatureGates enabled by the user. FeatureGates map[string]bool }
Click to show internal directories.
Click to hide internal directories.