mock

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDAXClient

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

MockDAXClient is a mock of DAXClient interface.

func NewMockDAXClient

func NewMockDAXClient(ctrl *gomock.Controller) *MockDAXClient

NewMockDAXClient creates a new mock instance.

func (*MockDAXClient) DescribeClusters

func (m *MockDAXClient) DescribeClusters(arg0 context.Context, arg1 *dax.DescribeClustersInput, arg2 ...func(*dax.Options)) (*dax.DescribeClustersOutput, error)

DescribeClusters mocks base method.

func (*MockDAXClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockDAXClientMockRecorder

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

MockDAXClientMockRecorder is the mock recorder for MockDAXClient.

func (*MockDAXClientMockRecorder) DescribeClusters

func (mr *MockDAXClientMockRecorder) DescribeClusters(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeClusters indicates an expected call of DescribeClusters.

type MockEC2Client

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

MockEC2Client is a mock of EC2Client interface.

func NewMockEC2Client

func NewMockEC2Client(ctrl *gomock.Controller) *MockEC2Client

NewMockEC2Client creates a new mock instance.

func (*MockEC2Client) DescribeInstances

func (m *MockEC2Client) DescribeInstances(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)

DescribeInstances mocks base method.

func (*MockEC2Client) DescribeSecurityGroups

func (m *MockEC2Client) DescribeSecurityGroups(arg0 context.Context, arg1 *ec2.DescribeSecurityGroupsInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)

DescribeSecurityGroups mocks base method.

func (*MockEC2Client) DescribeTags

func (m *MockEC2Client) DescribeTags(arg0 context.Context, arg1 *ec2.DescribeTagsInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeTagsOutput, error)

DescribeTags mocks base method.

func (*MockEC2Client) DescribeVolumes

func (m *MockEC2Client) DescribeVolumes(arg0 context.Context, arg1 *ec2.DescribeVolumesInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeVolumesOutput, error)

DescribeVolumes mocks base method.

func (*MockEC2Client) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockEC2ClientMockRecorder

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

MockEC2ClientMockRecorder is the mock recorder for MockEC2Client.

func (*MockEC2ClientMockRecorder) DescribeInstances

func (mr *MockEC2ClientMockRecorder) DescribeInstances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeInstances indicates an expected call of DescribeInstances.

func (*MockEC2ClientMockRecorder) DescribeSecurityGroups

func (mr *MockEC2ClientMockRecorder) DescribeSecurityGroups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups.

func (*MockEC2ClientMockRecorder) DescribeTags

func (mr *MockEC2ClientMockRecorder) DescribeTags(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeTags indicates an expected call of DescribeTags.

func (*MockEC2ClientMockRecorder) DescribeVolumes

func (mr *MockEC2ClientMockRecorder) DescribeVolumes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeVolumes indicates an expected call of DescribeVolumes.

type MockEKSClient added in v0.5.0

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

MockEKSClient is a mock of EKSClient interface.

func NewMockEKSClient added in v0.5.0

func NewMockEKSClient(ctrl *gomock.Controller) *MockEKSClient

NewMockEKSClient creates a new mock instance.

func (*MockEKSClient) DescribeCluster added in v0.5.0

func (m *MockEKSClient) DescribeCluster(arg0 context.Context, arg1 *eks.DescribeClusterInput, arg2 ...func(*eks.Options)) (*eks.DescribeClusterOutput, error)

DescribeCluster mocks base method.

func (*MockEKSClient) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

type MockEKSClientMockRecorder added in v0.5.0

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

MockEKSClientMockRecorder is the mock recorder for MockEKSClient.

func (*MockEKSClientMockRecorder) DescribeCluster added in v0.5.0

func (mr *MockEKSClientMockRecorder) DescribeCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DescribeCluster indicates an expected call of DescribeCluster.

type MockIAMClient added in v0.6.0

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

MockIAMClient is a mock of IAMClient interface.

func NewMockIAMClient added in v0.6.0

func NewMockIAMClient(ctrl *gomock.Controller) *MockIAMClient

NewMockIAMClient creates a new mock instance.

func (*MockIAMClient) EXPECT added in v0.6.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIAMClient) GetRole added in v0.6.0

func (m *MockIAMClient) GetRole(arg0 context.Context, arg1 *iam.GetRoleInput, arg2 ...func(*iam.Options)) (*iam.GetRoleOutput, error)

GetRole mocks base method.

type MockIAMClientMockRecorder added in v0.6.0

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

MockIAMClientMockRecorder is the mock recorder for MockIAMClient.

func (*MockIAMClientMockRecorder) GetRole added in v0.6.0

func (mr *MockIAMClientMockRecorder) GetRole(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetRole indicates an expected call of GetRole.

type MockJobClient added in v0.5.0

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

MockJobClient is a mock of JobClient interface.

func NewMockJobClient added in v0.5.0

func NewMockJobClient(ctrl *gomock.Controller) *MockJobClient

NewMockJobClient creates a new mock instance.

func (*MockJobClient) Create added in v0.5.0

func (m *MockJobClient) Create(arg0 context.Context, arg1 *v1.Job, arg2 v10.CreateOptions) (*v1.Job, error)

Create mocks base method.

func (*MockJobClient) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockJobClient) Get added in v0.5.0

func (m *MockJobClient) Get(arg0 context.Context, arg1 string, arg2 v10.GetOptions) (*v1.Job, error)

Get mocks base method.

type MockJobClientMockRecorder added in v0.5.0

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

MockJobClientMockRecorder is the mock recorder for MockJobClient.

func (*MockJobClientMockRecorder) Create added in v0.5.0

func (mr *MockJobClientMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockJobClientMockRecorder) Get added in v0.5.0

func (mr *MockJobClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockLogicalClient added in v0.10.0

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

MockLogicalClient is a mock of LogicalClient interface.

func NewMockLogicalClient added in v0.10.0

func NewMockLogicalClient(ctrl *gomock.Controller) *MockLogicalClient

NewMockLogicalClient creates a new mock instance.

func (*MockLogicalClient) Delete added in v0.10.0

func (m *MockLogicalClient) Delete(arg0 string) (*api.Secret, error)

Delete mocks base method.

func (*MockLogicalClient) EXPECT added in v0.10.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLogicalClient) Read added in v0.10.0

func (m *MockLogicalClient) Read(arg0 string) (*api.Secret, error)

Read mocks base method.

type MockLogicalClientMockRecorder added in v0.10.0

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

MockLogicalClientMockRecorder is the mock recorder for MockLogicalClient.

func (*MockLogicalClientMockRecorder) Delete added in v0.10.0

func (mr *MockLogicalClientMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLogicalClientMockRecorder) Read added in v0.10.0

func (mr *MockLogicalClientMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockT added in v0.10.0

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

MockT is a mock of T interface.

func NewMockT added in v0.10.0

func NewMockT(ctrl *gomock.Controller) *MockT

NewMockT creates a new mock instance.

func (*MockT) EXPECT added in v0.10.0

func (m *MockT) EXPECT() *MockTMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockT) Errorf added in v0.10.0

func (m *MockT) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method.

func (*MockT) Fail added in v0.10.0

func (m *MockT) Fail()

Fail mocks base method.

func (*MockT) FailNow added in v0.10.0

func (m *MockT) FailNow()

FailNow mocks base method.

func (*MockT) Log added in v0.10.0

func (m *MockT) Log(arg0 ...interface{})

Log mocks base method.

func (*MockT) Logf added in v0.10.0

func (m *MockT) Logf(arg0 string, arg1 ...interface{})

Logf mocks base method.

type MockTMockRecorder added in v0.10.0

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

MockTMockRecorder is the mock recorder for MockT.

func (*MockTMockRecorder) Errorf added in v0.10.0

func (mr *MockTMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*MockTMockRecorder) Fail added in v0.10.0

func (mr *MockTMockRecorder) Fail() *gomock.Call

Fail indicates an expected call of Fail.

func (*MockTMockRecorder) FailNow added in v0.10.0

func (mr *MockTMockRecorder) FailNow() *gomock.Call

FailNow indicates an expected call of FailNow.

func (*MockTMockRecorder) Log added in v0.10.0

func (mr *MockTMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockTMockRecorder) Logf added in v0.10.0

func (mr *MockTMockRecorder) Logf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Logf indicates an expected call of Logf.

type Mockgenerator added in v0.5.0

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

Mockgenerator is a mock of generator interface.

func NewMockgenerator added in v0.5.0

func NewMockgenerator(ctrl *gomock.Controller) *Mockgenerator

NewMockgenerator creates a new mock instance.

func (*Mockgenerator) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockgenerator) GetWithOptions added in v0.5.0

func (m *Mockgenerator) GetWithOptions(arg0 *token.GetTokenOptions) (token.Token, error)

GetWithOptions mocks base method.

type MockgeneratorMockRecorder added in v0.5.0

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

MockgeneratorMockRecorder is the mock recorder for Mockgenerator.

func (*MockgeneratorMockRecorder) GetWithOptions added in v0.5.0

func (mr *MockgeneratorMockRecorder) GetWithOptions(arg0 interface{}) *gomock.Call

GetWithOptions indicates an expected call of GetWithOptions.

type Mockkubernetes added in v0.5.0

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

Mockkubernetes is a mock of kubernetes interface.

func NewMockkubernetes added in v0.5.0

func NewMockkubernetes(ctrl *gomock.Controller) *Mockkubernetes

NewMockkubernetes creates a new mock instance.

func (*Mockkubernetes) EXPECT added in v0.5.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockkubernetes) NewForConfig added in v0.5.0

func (m *Mockkubernetes) NewForConfig(arg0 *rest.Config) (*kubernetes.Clientset, error)

NewForConfig mocks base method.

type MockkubernetesMockRecorder added in v0.5.0

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

MockkubernetesMockRecorder is the mock recorder for Mockkubernetes.

func (*MockkubernetesMockRecorder) NewForConfig added in v0.5.0

func (mr *MockkubernetesMockRecorder) NewForConfig(arg0 interface{}) *gomock.Call

NewForConfig indicates an expected call of NewForConfig.

Jump to

Keyboard shortcuts

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