Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "kubekitctl", Short: "KubeKit client", Long: `It's a client to interact with the KubeKit server using the gRPC or REST API.`, Run: func(cmd *cobra.Command, args []string) { cmd.HelpFunc()(cmd, args) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type Config ¶
type Config struct { Debug bool `json:"debug" yaml:"debug" toml:"debug" mapstructure:"debug"` Insecure bool `json:"insecure" yaml:"insecure" toml:"insecure" mapstructure:"insecure"` Host string `json:"host" yaml:"host" toml:"host" mapstructure:"host"` Port string `json:"port" yaml:"port" toml:"port" mapstructure:"port"` PortGRPC string `json:"grpc-port" yaml:"grpc-port" toml:"grpc-port" mapstructure:"grpc-port"` PortHealthz string `json:"healthz-port" yaml:"healthz-port" toml:"healthz-port" mapstructure:"healthz-port"` NoHTTP bool `json:"no-http" yaml:"no-http" toml:"no-http" mapstructure:"no-http"` NoGRPC bool `json:"no-grpc" yaml:"no-grpc" toml:"no-grpc" mapstructure:"no-grpc"` CertDir string `json:"cert-dir" yaml:"cert-dir" toml:"cert-dir" mapstructure:"cert-dir"` CertFile string `json:"tls-cert-file" yaml:"tls-cert-file" toml:"tls-cert-file" mapstructure:"tls-cert-file"` KeyFile string `json:"tls-private-key-file" yaml:"tls-private-key-file" toml:"tls-private-key-file" mapstructure:"tls-private-key-file"` CAFile string `json:"ca-file" yaml:"ca-file" toml:"ca-file" mapstructure:"ca-file"` Logger *log.Logger // contains filtered or unexported fields }
Config store all the KubeKit Client parameters
Click to show internal directories.
Click to hide internal directories.