kubefakes

package
v0.7.0-patch1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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
}

func (*FakeClientGetter) Client added in v0.7.0

func (g *FakeClientGetter) Client(ctx context.Context) (client.Client, error)

type FakeKube

type FakeKube struct {
	ApplyStub func(context.Context, []byte, string) error

	GetClusterNameStub func(context.Context) (string, error)

	GetWegoConfigStub func(context.Context, string) (*kube.WegoConfig, error)

	RawStub func() client.Client
	// contains filtered or unexported fields
}

func (*FakeKube) Apply

func (fake *FakeKube) Apply(arg1 context.Context, arg2 []byte, arg3 string) error

func (*FakeKube) ApplyArgsForCall

func (fake *FakeKube) ApplyArgsForCall(i int) (context.Context, []byte, string)

func (*FakeKube) ApplyCallCount

func (fake *FakeKube) ApplyCallCount() int

func (*FakeKube) ApplyCalls

func (fake *FakeKube) ApplyCalls(stub func(context.Context, []byte, string) error)

func (*FakeKube) ApplyReturns

func (fake *FakeKube) ApplyReturns(result1 error)

func (*FakeKube) ApplyReturnsOnCall

func (fake *FakeKube) ApplyReturnsOnCall(i int, result1 error)

func (*FakeKube) GetClusterName

func (fake *FakeKube) GetClusterName(arg1 context.Context) (string, error)

func (*FakeKube) GetClusterNameArgsForCall added in v0.2.0

func (fake *FakeKube) GetClusterNameArgsForCall(i int) context.Context

func (*FakeKube) GetClusterNameCallCount

func (fake *FakeKube) GetClusterNameCallCount() int

func (*FakeKube) GetClusterNameCalls

func (fake *FakeKube) GetClusterNameCalls(stub func(context.Context) (string, error))

func (*FakeKube) GetClusterNameReturns

func (fake *FakeKube) GetClusterNameReturns(result1 string, result2 error)

func (*FakeKube) GetClusterNameReturnsOnCall

func (fake *FakeKube) GetClusterNameReturnsOnCall(i int, result1 string, result2 error)

func (*FakeKube) GetWegoConfig added in v0.6.0

func (fake *FakeKube) GetWegoConfig(arg1 context.Context, arg2 string) (*kube.WegoConfig, error)

func (*FakeKube) GetWegoConfigArgsForCall added in v0.6.0

func (fake *FakeKube) GetWegoConfigArgsForCall(i int) (context.Context, string)

func (*FakeKube) GetWegoConfigCallCount added in v0.6.0

func (fake *FakeKube) GetWegoConfigCallCount() int

func (*FakeKube) GetWegoConfigCalls added in v0.6.0

func (fake *FakeKube) GetWegoConfigCalls(stub func(context.Context, string) (*kube.WegoConfig, error))

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 (fake *FakeKube) Invocations() map[string][][]interface{}

func (*FakeKube) Raw added in v0.6.0

func (fake *FakeKube) Raw() client.Client

func (*FakeKube) RawCallCount added in v0.6.0

func (fake *FakeKube) RawCallCount() int

func (*FakeKube) RawCalls added in v0.6.0

func (fake *FakeKube) RawCalls(stub func() client.Client)

func (*FakeKube) RawReturns added in v0.6.0

func (fake *FakeKube) RawReturns(result1 client.Client)

func (*FakeKube) RawReturnsOnCall added in v0.6.0

func (fake *FakeKube) RawReturnsOnCall(i int, result1 client.Client)

type FakeKubeGetter added in v0.7.0

type FakeKubeGetter struct {
	// contains filtered or unexported fields
}

func (*FakeKubeGetter) Kube added in v0.7.0

func (g *FakeKubeGetter) Kube(ctx context.Context) (kube.Kube, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL