Documentation
¶
Index ¶
- type Config
- type Params
- func (p *Params) APIPath() string
- func (p *Params) Host() string
- func (p *Params) KubeConfigPath() string
- func (p *Params) KubeContext() string
- func (p *Params) Namespace() string
- func (p *Params) SetAPIPath(path string)
- func (p *Params) SetHost(host string)
- func (p *Params) SetKubeConfigPath(path string)
- func (p *Params) SetKubeContext(context string)
- func (p *Params) SetNamespace(ns string)
- func (p *Params) SetSkipTLSVerify(skip bool)
- func (p *Params) SetToken(token string)
- func (p *Params) SkipTLSVerify() bool
- func (p *Params) Token() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
SetError error
}
Config implements config.Config interface for testing
type Params ¶
type Params struct {
// contains filtered or unexported fields
}
Params implements common.Params interface for testing
func (*Params) KubeConfigPath ¶
KubeConfigPath implements the KubeConfigPath method for testing
func (*Params) KubeContext ¶
KubeContext implements the KubeContext method for testing
func (*Params) SetAPIPath ¶
SetAPIPath implements the SetAPIPath method for testing
func (*Params) SetKubeConfigPath ¶
SetKubeConfigPath implements the SetKubeConfigPath method for testing
func (*Params) SetKubeContext ¶
SetKubeContext implements the SetKubeContext method for testing
func (*Params) SetNamespace ¶
SetNamespace implements the SetNamespace method for testing
func (*Params) SetSkipTLSVerify ¶
SetSkipTLSVerify implements the SetSkipTLSVerify method for testing
func (*Params) SkipTLSVerify ¶
SkipTLSVerify implements the SkipTLSVerify method for testing
Click to show internal directories.
Click to hide internal directories.