mock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 12 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.

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 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