Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildConfig ¶
func BuildConfig(opt ClientOptions) (*rest.Config, error)
BuildConfig builds kube rest config with the given options.
Types ¶
type Argument ¶
type Argument struct { CheckInterval time.Duration KubeletConf string DevicePath string CpuMngstate string KubeClientOptions ClientOptions }
func NewArgument ¶
func NewArgument() *Argument
type ClientOptions ¶
ClientOptions used to build kube rest config.
Click to show internal directories.
Click to hide internal directories.