Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeKube
- func (fake *FakeKube) Apply(arg1 []byte, arg2 string) ([]byte, error)
- func (fake *FakeKube) ApplyArgsForCall(i int) ([]byte, string)
- func (fake *FakeKube) ApplyCallCount() int
- func (fake *FakeKube) ApplyCalls(stub func([]byte, string) ([]byte, error))
- func (fake *FakeKube) ApplyReturns(result1 []byte, result2 error)
- func (fake *FakeKube) ApplyReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeKube) Delete(arg1 []byte, arg2 string) ([]byte, error)
- func (fake *FakeKube) DeleteArgsForCall(i int) ([]byte, string)
- func (fake *FakeKube) DeleteCallCount() int
- func (fake *FakeKube) DeleteCalls(stub func([]byte, string) ([]byte, error))
- func (fake *FakeKube) DeleteReturns(result1 []byte, result2 error)
- func (fake *FakeKube) DeleteReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeKube) FluxPresent(arg1 context.Context) (bool, error)
- func (fake *FakeKube) FluxPresentArgsForCall(i int) context.Context
- func (fake *FakeKube) FluxPresentCallCount() int
- func (fake *FakeKube) FluxPresentCalls(stub func(context.Context) (bool, error))
- func (fake *FakeKube) FluxPresentReturns(result1 bool, result2 error)
- func (fake *FakeKube) FluxPresentReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeKube) GetApplication(arg1 context.Context, arg2 string) (*v1alpha1.Application, error)
- func (fake *FakeKube) GetApplicationArgsForCall(i int) (context.Context, string)
- func (fake *FakeKube) GetApplicationCallCount() int
- func (fake *FakeKube) GetApplicationCalls(stub func(context.Context, string) (*v1alpha1.Application, error))
- func (fake *FakeKube) GetApplicationReturns(result1 *v1alpha1.Application, result2 error)
- func (fake *FakeKube) GetApplicationReturnsOnCall(i int, result1 *v1alpha1.Application, result2 error)
- func (fake *FakeKube) GetApplications(arg1 context.Context, arg2 string) ([]v1alpha1.Application, error)
- func (fake *FakeKube) GetApplicationsArgsForCall(i int) (context.Context, string)
- func (fake *FakeKube) GetApplicationsCallCount() int
- func (fake *FakeKube) GetApplicationsCalls(stub func(context.Context, string) ([]v1alpha1.Application, error))
- func (fake *FakeKube) GetApplicationsReturns(result1 []v1alpha1.Application, result2 error)
- func (fake *FakeKube) GetApplicationsReturnsOnCall(i int, result1 []v1alpha1.Application, result2 error)
- func (fake *FakeKube) GetClusterName(arg1 context.Context) (string, error)
- func (fake *FakeKube) GetClusterNameArgsForCall(i int) context.Context
- func (fake *FakeKube) GetClusterNameCallCount() int
- func (fake *FakeKube) GetClusterNameCalls(stub func(context.Context) (string, error))
- func (fake *FakeKube) GetClusterNameReturns(result1 string, result2 error)
- func (fake *FakeKube) GetClusterNameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeKube) GetClusterStatus(arg1 context.Context) kube.ClusterStatus
- func (fake *FakeKube) GetClusterStatusArgsForCall(i int) context.Context
- func (fake *FakeKube) GetClusterStatusCallCount() int
- func (fake *FakeKube) GetClusterStatusCalls(stub func(context.Context) kube.ClusterStatus)
- func (fake *FakeKube) GetClusterStatusReturns(result1 kube.ClusterStatus)
- func (fake *FakeKube) GetClusterStatusReturnsOnCall(i int, result1 kube.ClusterStatus)
- func (fake *FakeKube) Invocations() map[string][][]interface{}
- func (fake *FakeKube) LabelExistsInCluster(arg1 context.Context, arg2 string) error
- func (fake *FakeKube) LabelExistsInClusterArgsForCall(i int) (context.Context, string)
- func (fake *FakeKube) LabelExistsInClusterCallCount() int
- func (fake *FakeKube) LabelExistsInClusterCalls(stub func(context.Context, string) error)
- func (fake *FakeKube) LabelExistsInClusterReturns(result1 error)
- func (fake *FakeKube) LabelExistsInClusterReturnsOnCall(i int, result1 error)
- func (fake *FakeKube) SecretPresent(arg1 context.Context, arg2 string, arg3 string) (bool, error)
- func (fake *FakeKube) SecretPresentArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeKube) SecretPresentCallCount() int
- func (fake *FakeKube) SecretPresentCalls(stub func(context.Context, string, string) (bool, error))
- func (fake *FakeKube) SecretPresentReturns(result1 bool, result2 error)
- func (fake *FakeKube) SecretPresentReturnsOnCall(i int, result1 bool, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKube ¶
type FakeKube struct { ApplyStub func([]byte, string) ([]byte, error) DeleteStub func([]byte, string) ([]byte, error) FluxPresentStub func(context.Context) (bool, error) GetApplicationStub func(context.Context, string) (*v1alpha1.Application, error) GetApplicationsStub func(context.Context, string) ([]v1alpha1.Application, error) GetClusterNameStub func(context.Context) (string, error) GetClusterStatusStub func(context.Context) kube.ClusterStatus LabelExistsInClusterStub func(context.Context, string) error SecretPresentStub func(context.Context, string, string) (bool, error) // contains filtered or unexported fields }
func (*FakeKube) ApplyCallCount ¶
func (*FakeKube) ApplyCalls ¶
func (*FakeKube) ApplyReturns ¶
func (*FakeKube) ApplyReturnsOnCall ¶
func (*FakeKube) DeleteArgsForCall ¶
func (*FakeKube) DeleteCallCount ¶
func (*FakeKube) DeleteCalls ¶
func (*FakeKube) DeleteReturns ¶
func (*FakeKube) DeleteReturnsOnCall ¶
func (*FakeKube) FluxPresent ¶
func (*FakeKube) FluxPresentArgsForCall ¶ added in v0.2.0
func (*FakeKube) FluxPresentCallCount ¶
func (*FakeKube) FluxPresentCalls ¶
func (*FakeKube) FluxPresentReturns ¶
func (*FakeKube) FluxPresentReturnsOnCall ¶
func (*FakeKube) GetApplication ¶
func (*FakeKube) GetApplicationArgsForCall ¶
func (*FakeKube) GetApplicationCallCount ¶
func (*FakeKube) GetApplicationCalls ¶
func (*FakeKube) GetApplicationReturns ¶
func (fake *FakeKube) GetApplicationReturns(result1 *v1alpha1.Application, result2 error)
func (*FakeKube) GetApplicationReturnsOnCall ¶
func (fake *FakeKube) GetApplicationReturnsOnCall(i int, result1 *v1alpha1.Application, result2 error)
func (*FakeKube) GetApplications ¶ added in v0.2.0
func (*FakeKube) GetApplicationsArgsForCall ¶ added in v0.2.0
func (*FakeKube) GetApplicationsCallCount ¶ added in v0.2.0
func (*FakeKube) GetApplicationsCalls ¶ added in v0.2.0
func (*FakeKube) GetApplicationsReturns ¶ added in v0.2.0
func (fake *FakeKube) GetApplicationsReturns(result1 []v1alpha1.Application, result2 error)
func (*FakeKube) GetApplicationsReturnsOnCall ¶ added in v0.2.0
func (fake *FakeKube) GetApplicationsReturnsOnCall(i int, result1 []v1alpha1.Application, result2 error)
func (*FakeKube) GetClusterName ¶
func (*FakeKube) GetClusterNameArgsForCall ¶ added in v0.2.0
func (*FakeKube) GetClusterNameCallCount ¶
func (*FakeKube) GetClusterNameCalls ¶
func (*FakeKube) GetClusterNameReturns ¶
func (*FakeKube) GetClusterNameReturnsOnCall ¶
func (*FakeKube) GetClusterStatus ¶
func (fake *FakeKube) GetClusterStatus(arg1 context.Context) kube.ClusterStatus
func (*FakeKube) GetClusterStatusArgsForCall ¶ added in v0.2.0
func (*FakeKube) GetClusterStatusCallCount ¶
func (*FakeKube) GetClusterStatusCalls ¶
func (fake *FakeKube) GetClusterStatusCalls(stub func(context.Context) kube.ClusterStatus)
func (*FakeKube) GetClusterStatusReturns ¶
func (fake *FakeKube) GetClusterStatusReturns(result1 kube.ClusterStatus)
func (*FakeKube) GetClusterStatusReturnsOnCall ¶
func (fake *FakeKube) GetClusterStatusReturnsOnCall(i int, result1 kube.ClusterStatus)
func (*FakeKube) Invocations ¶
func (*FakeKube) LabelExistsInCluster ¶ added in v0.2.0
func (*FakeKube) LabelExistsInClusterArgsForCall ¶ added in v0.2.0
func (*FakeKube) LabelExistsInClusterCallCount ¶ added in v0.2.0
func (*FakeKube) LabelExistsInClusterCalls ¶ added in v0.2.0
func (*FakeKube) LabelExistsInClusterReturns ¶ added in v0.2.0
func (*FakeKube) LabelExistsInClusterReturnsOnCall ¶ added in v0.2.0
func (*FakeKube) SecretPresent ¶
func (*FakeKube) SecretPresentArgsForCall ¶
func (*FakeKube) SecretPresentCallCount ¶
func (*FakeKube) SecretPresentCalls ¶
func (*FakeKube) SecretPresentReturns ¶
Click to show internal directories.
Click to hide internal directories.