Documentation ¶
Index ¶
- type Clients
- func (_m *Clients) EXPECT() *Clients_Expecter
- func (_m *Clients) ForKubectx(kubectx kubecfg.Kubectx) (kubernetes.Interface, error)
- func (_m *Clients) ForRelease(release terra.Release) (kubernetes.Interface, error)
- func (_m *Clients) Kubecfg() (kubecfg.Kubeconfig, error)
- func (_m *Clients) Kubectl() (kubectl.Kubectl, error)
- type Clients_Expecter
- type Clients_ForKubectx_Call
- func (_c *Clients_ForKubectx_Call) Return(_a0 kubernetes.Interface, _a1 error) *Clients_ForKubectx_Call
- func (_c *Clients_ForKubectx_Call) Run(run func(kubectx kubecfg.Kubectx)) *Clients_ForKubectx_Call
- func (_c *Clients_ForKubectx_Call) RunAndReturn(run func(kubecfg.Kubectx) (kubernetes.Interface, error)) *Clients_ForKubectx_Call
- type Clients_ForRelease_Call
- func (_c *Clients_ForRelease_Call) Return(_a0 kubernetes.Interface, _a1 error) *Clients_ForRelease_Call
- func (_c *Clients_ForRelease_Call) Run(run func(release terra.Release)) *Clients_ForRelease_Call
- func (_c *Clients_ForRelease_Call) RunAndReturn(run func(terra.Release) (kubernetes.Interface, error)) *Clients_ForRelease_Call
- type Clients_Kubecfg_Call
- type Clients_Kubectl_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clients ¶
Clients is an autogenerated mock type for the Clients type
func NewClients ¶
func NewClients(t mockConstructorTestingTNewClients) *Clients
NewClients creates a new instance of Clients. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Clients) EXPECT ¶
func (_m *Clients) EXPECT() *Clients_Expecter
func (*Clients) ForKubectx ¶
ForKubectx provides a mock function with given fields: kubectx
func (*Clients) ForRelease ¶
ForRelease provides a mock function with given fields: release
type Clients_Expecter ¶
type Clients_Expecter struct {
// contains filtered or unexported fields
}
func (*Clients_Expecter) ForKubectx ¶
func (_e *Clients_Expecter) ForKubectx(kubectx interface{}) *Clients_ForKubectx_Call
ForKubectx is a helper method to define mock.On call
- kubectx kubecfg.Kubectx
func (*Clients_Expecter) ForRelease ¶
func (_e *Clients_Expecter) ForRelease(release interface{}) *Clients_ForRelease_Call
ForRelease is a helper method to define mock.On call
- release terra.Release
func (*Clients_Expecter) Kubecfg ¶
func (_e *Clients_Expecter) Kubecfg() *Clients_Kubecfg_Call
Kubecfg is a helper method to define mock.On call
func (*Clients_Expecter) Kubectl ¶
func (_e *Clients_Expecter) Kubectl() *Clients_Kubectl_Call
Kubectl is a helper method to define mock.On call
type Clients_ForKubectx_Call ¶
Clients_ForKubectx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForKubectx'
func (*Clients_ForKubectx_Call) Return ¶
func (_c *Clients_ForKubectx_Call) Return(_a0 kubernetes.Interface, _a1 error) *Clients_ForKubectx_Call
func (*Clients_ForKubectx_Call) Run ¶
func (_c *Clients_ForKubectx_Call) Run(run func(kubectx kubecfg.Kubectx)) *Clients_ForKubectx_Call
func (*Clients_ForKubectx_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Clients_ForKubectx_Call) RunAndReturn(run func(kubecfg.Kubectx) (kubernetes.Interface, error)) *Clients_ForKubectx_Call
type Clients_ForRelease_Call ¶
Clients_ForRelease_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForRelease'
func (*Clients_ForRelease_Call) Return ¶
func (_c *Clients_ForRelease_Call) Return(_a0 kubernetes.Interface, _a1 error) *Clients_ForRelease_Call
func (*Clients_ForRelease_Call) Run ¶
func (_c *Clients_ForRelease_Call) Run(run func(release terra.Release)) *Clients_ForRelease_Call
func (*Clients_ForRelease_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Clients_ForRelease_Call) RunAndReturn(run func(terra.Release) (kubernetes.Interface, error)) *Clients_ForRelease_Call
type Clients_Kubecfg_Call ¶
Clients_Kubecfg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Kubecfg'
func (*Clients_Kubecfg_Call) Return ¶
func (_c *Clients_Kubecfg_Call) Return(_a0 kubecfg.Kubeconfig, _a1 error) *Clients_Kubecfg_Call
func (*Clients_Kubecfg_Call) Run ¶
func (_c *Clients_Kubecfg_Call) Run(run func()) *Clients_Kubecfg_Call
func (*Clients_Kubecfg_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Clients_Kubecfg_Call) RunAndReturn(run func() (kubecfg.Kubeconfig, error)) *Clients_Kubecfg_Call
type Clients_Kubectl_Call ¶
Clients_Kubectl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Kubectl'
func (*Clients_Kubectl_Call) Return ¶
func (_c *Clients_Kubectl_Call) Return(_a0 kubectl.Kubectl, _a1 error) *Clients_Kubectl_Call
func (*Clients_Kubectl_Call) Run ¶
func (_c *Clients_Kubectl_Call) Run(run func()) *Clients_Kubectl_Call
func (*Clients_Kubectl_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Clients_Kubectl_Call) RunAndReturn(run func() (kubectl.Kubectl, error)) *Clients_Kubectl_Call