Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- func NewFakeClientGetter(client client.Client) kube.ClientGetter
- func NewFakeKubeGetter(kube kube.Kube) kube.KubeGetter
- type FakeClientGetter
- type FakeKube
- func (fake *FakeKube) Apply(arg1 context.Context, arg2 []byte, arg3 string) error
- func (fake *FakeKube) ApplyArgsForCall(i int) (context.Context, []byte, string)
- func (fake *FakeKube) ApplyCallCount() int
- func (fake *FakeKube) ApplyCalls(stub func(context.Context, []byte, string) error)
- func (fake *FakeKube) ApplyReturns(result1 error)
- func (fake *FakeKube) ApplyReturnsOnCall(i int, result1 error)
- func (fake *FakeKube) Delete(arg1 context.Context, arg2 []byte) error
- func (fake *FakeKube) DeleteArgsForCall(i int) (context.Context, []byte)
- func (fake *FakeKube) DeleteByName(arg1 context.Context, arg2 string, arg3 schema.GroupVersionResource, ...) error
- func (fake *FakeKube) DeleteByNameArgsForCall(i int) (context.Context, string, schema.GroupVersionResource, string)
- func (fake *FakeKube) DeleteByNameCallCount() int
- func (fake *FakeKube) DeleteByNameCalls(stub func(context.Context, string, schema.GroupVersionResource, string) error)
- func (fake *FakeKube) DeleteByNameReturns(result1 error)
- func (fake *FakeKube) DeleteByNameReturnsOnCall(i int, result1 error)
- func (fake *FakeKube) DeleteCallCount() int
- func (fake *FakeKube) DeleteCalls(stub func(context.Context, []byte) error)
- func (fake *FakeKube) DeleteReturns(result1 error)
- func (fake *FakeKube) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeKube) FetchNamespaceWithLabel(arg1 context.Context, arg2 string, arg3 string) (*v1.Namespace, error)
- func (fake *FakeKube) FetchNamespaceWithLabelArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeKube) FetchNamespaceWithLabelCallCount() int
- func (fake *FakeKube) FetchNamespaceWithLabelCalls(stub func(context.Context, string, string) (*v1.Namespace, error))
- func (fake *FakeKube) FetchNamespaceWithLabelReturns(result1 *v1.Namespace, result2 error)
- func (fake *FakeKube) FetchNamespaceWithLabelReturnsOnCall(i int, result1 *v1.Namespace, 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 types.NamespacedName) (*v1alpha1.Application, error)
- func (fake *FakeKube) GetApplicationArgsForCall(i int) (context.Context, types.NamespacedName)
- func (fake *FakeKube) GetApplicationCallCount() int
- func (fake *FakeKube) GetApplicationCalls(...)
- 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) GetResource(arg1 context.Context, arg2 types.NamespacedName, arg3 kube.Resource) error
- func (fake *FakeKube) GetResourceArgsForCall(i int) (context.Context, types.NamespacedName, kube.Resource)
- func (fake *FakeKube) GetResourceCallCount() int
- func (fake *FakeKube) GetResourceCalls(stub func(context.Context, types.NamespacedName, kube.Resource) error)
- func (fake *FakeKube) GetResourceReturns(result1 error)
- func (fake *FakeKube) GetResourceReturnsOnCall(i int, result1 error)
- func (fake *FakeKube) GetSecret(arg1 context.Context, arg2 types.NamespacedName) (*v1.Secret, error)
- func (fake *FakeKube) GetSecretArgsForCall(i int) (context.Context, types.NamespacedName)
- func (fake *FakeKube) GetSecretCallCount() int
- func (fake *FakeKube) GetSecretCalls(stub func(context.Context, types.NamespacedName) (*v1.Secret, error))
- func (fake *FakeKube) GetSecretReturns(result1 *v1.Secret, result2 error)
- func (fake *FakeKube) GetSecretReturnsOnCall(i int, result1 *v1.Secret, result2 error)
- func (fake *FakeKube) GetWegoConfig(arg1 context.Context, arg2 string) (*kube.WegoConfig, error)
- func (fake *FakeKube) GetWegoConfigArgsForCall(i int) (context.Context, string)
- func (fake *FakeKube) GetWegoConfigCallCount() int
- func (fake *FakeKube) GetWegoConfigCalls(stub func(context.Context, string) (*kube.WegoConfig, error))
- func (fake *FakeKube) GetWegoConfigReturns(result1 *kube.WegoConfig, result2 error)
- func (fake *FakeKube) GetWegoConfigReturnsOnCall(i int, result1 *kube.WegoConfig, result2 error)
- func (fake *FakeKube) Invocations() map[string][][]interface{}
- func (fake *FakeKube) NamespacePresent(arg1 context.Context, arg2 string) (bool, error)
- func (fake *FakeKube) NamespacePresentArgsForCall(i int) (context.Context, string)
- func (fake *FakeKube) NamespacePresentCallCount() int
- func (fake *FakeKube) NamespacePresentCalls(stub func(context.Context, string) (bool, error))
- func (fake *FakeKube) NamespacePresentReturns(result1 bool, result2 error)
- func (fake *FakeKube) NamespacePresentReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeKube) Raw() client.Client
- func (fake *FakeKube) RawCallCount() int
- func (fake *FakeKube) RawCalls(stub func() client.Client)
- func (fake *FakeKube) RawReturns(result1 client.Client)
- func (fake *FakeKube) RawReturnsOnCall(i int, result1 client.Client)
- 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)
- func (fake *FakeKube) SetResource(arg1 context.Context, arg2 kube.Resource) error
- func (fake *FakeKube) SetResourceArgsForCall(i int) (context.Context, kube.Resource)
- func (fake *FakeKube) SetResourceCallCount() int
- func (fake *FakeKube) SetResourceCalls(stub func(context.Context, kube.Resource) error)
- func (fake *FakeKube) SetResourceReturns(result1 error)
- func (fake *FakeKube) SetResourceReturnsOnCall(i int, result1 error)
- func (fake *FakeKube) SetWegoConfig(arg1 context.Context, arg2 kube.WegoConfig, arg3 string) (*v1.ConfigMap, error)
- func (fake *FakeKube) SetWegoConfigArgsForCall(i int) (context.Context, kube.WegoConfig, string)
- func (fake *FakeKube) SetWegoConfigCallCount() int
- func (fake *FakeKube) SetWegoConfigCalls(stub func(context.Context, kube.WegoConfig, string) (*v1.ConfigMap, error))
- func (fake *FakeKube) SetWegoConfigReturns(result1 *v1.ConfigMap, result2 error)
- func (fake *FakeKube) SetWegoConfigReturnsOnCall(i int, result1 *v1.ConfigMap, result2 error)
- type FakeKubeGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeClientGetter ¶ added in v0.7.0
func NewFakeClientGetter(client client.Client) kube.ClientGetter
func NewFakeKubeGetter ¶ added in v0.7.0
func NewFakeKubeGetter(kube kube.Kube) kube.KubeGetter
Types ¶
type FakeClientGetter ¶ added in v0.7.0
type FakeClientGetter struct {
// contains filtered or unexported fields
}
type FakeKube ¶
type FakeKube struct { ApplyStub func(context.Context, []byte, string) error DeleteStub func(context.Context, []byte) error DeleteByNameStub func(context.Context, string, schema.GroupVersionResource, string) error FetchNamespaceWithLabelStub func(context.Context, string, string) (*v1.Namespace, error) FluxPresentStub func(context.Context) (bool, error) GetApplicationStub func(context.Context, types.NamespacedName) (*v1alpha1.Application, error) GetApplicationsStub func(context.Context, string) ([]v1alpha1.Application, error) GetClusterNameStub func(context.Context) (string, error) GetClusterStatusStub func(context.Context) kube.ClusterStatus GetResourceStub func(context.Context, types.NamespacedName, kube.Resource) error GetSecretStub func(context.Context, types.NamespacedName) (*v1.Secret, error) GetWegoConfigStub func(context.Context, string) (*kube.WegoConfig, error) NamespacePresentStub func(context.Context, string) (bool, error) RawStub func() client.Client SecretPresentStub func(context.Context, string, string) (bool, error) SetResourceStub func(context.Context, kube.Resource) error SetWegoConfigStub func(context.Context, kube.WegoConfig, string) (*v1.ConfigMap, error) // contains filtered or unexported fields }
func (*FakeKube) ApplyArgsForCall ¶
func (*FakeKube) ApplyCallCount ¶
func (*FakeKube) ApplyCalls ¶
func (*FakeKube) ApplyReturns ¶
func (*FakeKube) ApplyReturnsOnCall ¶
func (*FakeKube) DeleteArgsForCall ¶
func (*FakeKube) DeleteByName ¶ added in v0.2.3
func (*FakeKube) DeleteByNameArgsForCall ¶ added in v0.2.3
func (*FakeKube) DeleteByNameCallCount ¶ added in v0.2.3
func (*FakeKube) DeleteByNameCalls ¶ added in v0.2.3
func (*FakeKube) DeleteByNameReturns ¶ added in v0.2.3
func (*FakeKube) DeleteByNameReturnsOnCall ¶ added in v0.2.3
func (*FakeKube) DeleteCallCount ¶
func (*FakeKube) DeleteCalls ¶
func (*FakeKube) DeleteReturns ¶
func (*FakeKube) DeleteReturnsOnCall ¶
func (*FakeKube) FetchNamespaceWithLabel ¶ added in v0.6.1
func (*FakeKube) FetchNamespaceWithLabelArgsForCall ¶ added in v0.6.1
func (*FakeKube) FetchNamespaceWithLabelCallCount ¶ added in v0.6.1
func (*FakeKube) FetchNamespaceWithLabelCalls ¶ added in v0.6.1
func (*FakeKube) FetchNamespaceWithLabelReturns ¶ added in v0.6.1
func (*FakeKube) FetchNamespaceWithLabelReturnsOnCall ¶ added in v0.6.1
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 (fake *FakeKube) GetApplication(arg1 context.Context, arg2 types.NamespacedName) (*v1alpha1.Application, error)
func (*FakeKube) GetApplicationArgsForCall ¶
func (*FakeKube) GetApplicationCallCount ¶
func (*FakeKube) GetApplicationCalls ¶
func (fake *FakeKube) GetApplicationCalls(stub func(context.Context, types.NamespacedName) (*v1alpha1.Application, error))
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) GetResource ¶ added in v0.2.1
func (*FakeKube) GetResourceArgsForCall ¶ added in v0.2.1
func (*FakeKube) GetResourceCallCount ¶ added in v0.2.1
func (*FakeKube) GetResourceCalls ¶ added in v0.2.1
func (*FakeKube) GetResourceReturns ¶ added in v0.2.1
func (*FakeKube) GetResourceReturnsOnCall ¶ added in v0.2.1
func (*FakeKube) GetSecretArgsForCall ¶ added in v0.2.5
func (*FakeKube) GetSecretCallCount ¶ added in v0.2.5
func (*FakeKube) GetSecretCalls ¶ added in v0.2.5
func (*FakeKube) GetSecretReturns ¶ added in v0.2.5
func (*FakeKube) GetSecretReturnsOnCall ¶ added in v0.2.5
func (*FakeKube) GetWegoConfig ¶ added in v0.6.0
func (*FakeKube) GetWegoConfigArgsForCall ¶ added in v0.6.0
func (*FakeKube) GetWegoConfigCallCount ¶ added in v0.6.0
func (*FakeKube) GetWegoConfigCalls ¶ added in v0.6.0
func (*FakeKube) GetWegoConfigReturns ¶ added in v0.6.0
func (fake *FakeKube) GetWegoConfigReturns(result1 *kube.WegoConfig, result2 error)
func (*FakeKube) GetWegoConfigReturnsOnCall ¶ added in v0.6.0
func (fake *FakeKube) GetWegoConfigReturnsOnCall(i int, result1 *kube.WegoConfig, result2 error)
func (*FakeKube) Invocations ¶
func (*FakeKube) NamespacePresent ¶ added in v0.3.2
func (*FakeKube) NamespacePresentArgsForCall ¶ added in v0.3.2
func (*FakeKube) NamespacePresentCallCount ¶ added in v0.3.2
func (*FakeKube) NamespacePresentCalls ¶ added in v0.3.2
func (*FakeKube) NamespacePresentReturns ¶ added in v0.3.2
func (*FakeKube) NamespacePresentReturnsOnCall ¶ added in v0.3.2
func (*FakeKube) RawCallCount ¶ added in v0.6.0
func (*FakeKube) RawReturns ¶ added in v0.6.0
func (*FakeKube) RawReturnsOnCall ¶ added in v0.6.0
func (*FakeKube) SecretPresent ¶
func (*FakeKube) SecretPresentArgsForCall ¶
func (*FakeKube) SecretPresentCallCount ¶
func (*FakeKube) SecretPresentCalls ¶
func (*FakeKube) SecretPresentReturns ¶
func (*FakeKube) SecretPresentReturnsOnCall ¶
func (*FakeKube) SetResource ¶ added in v0.4.1
func (*FakeKube) SetResourceArgsForCall ¶ added in v0.4.1
func (*FakeKube) SetResourceCallCount ¶ added in v0.4.1
func (*FakeKube) SetResourceCalls ¶ added in v0.4.1
func (*FakeKube) SetResourceReturns ¶ added in v0.4.1
func (*FakeKube) SetResourceReturnsOnCall ¶ added in v0.4.1
func (*FakeKube) SetWegoConfig ¶ added in v0.6.0
func (*FakeKube) SetWegoConfigArgsForCall ¶ added in v0.6.0
func (*FakeKube) SetWegoConfigCallCount ¶ added in v0.6.0
func (*FakeKube) SetWegoConfigCalls ¶ added in v0.6.0
func (*FakeKube) SetWegoConfigReturns ¶ added in v0.6.0
type FakeKubeGetter ¶ added in v0.7.0
type FakeKubeGetter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.