mocks

package
v0.0.0-...-f99fb5f Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControl

type AccessControl struct {
	mock.Mock
}

AccessControl is an autogenerated mock type for the AccessControl type

func NewAccessControl

func NewAccessControl(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccessControl

NewAccessControl creates a new instance of AccessControl. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccessControl) AddInboundAllowRuleByInstanceIPMatch

func (_m *AccessControl) AddInboundAllowRuleByInstanceIPMatch(ctx context.Context, account string, region string, vpcID string, ruleName string, instancesIPs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, []types.Instance, error)

AddInboundAllowRuleByInstanceIPMatch provides a mock function with given fields: ctx, account, region, vpcID, ruleName, instancesIPs, cidrsToAllow, protocolsAndPorts

func (*AccessControl) AddInboundAllowRuleByLabelsMatch

func (_m *AccessControl) AddInboundAllowRuleByLabelsMatch(ctx context.Context, account string, region string, vpcID string, ruleName string, labels map[string]string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, []types.Instance, error)

AddInboundAllowRuleByLabelsMatch provides a mock function with given fields: ctx, account, region, vpcID, ruleName, labels, cidrsToAllow, protocolsAndPorts

func (*AccessControl) AddInboundAllowRuleBySubnetMatch

func (_m *AccessControl) AddInboundAllowRuleBySubnetMatch(ctx context.Context, account string, region string, vpcID string, ruleName string, subnetCidrs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, []types.Instance, []types.Subnet, error)

AddInboundAllowRuleBySubnetMatch provides a mock function with given fields: ctx, account, region, vpcID, ruleName, subnetCidrs, cidrsToAllow, protocolsAndPorts

func (*AccessControl) AddInboundAllowRuleForLoadBalancerByDNS

func (_m *AccessControl) AddInboundAllowRuleForLoadBalancerByDNS(ctx context.Context, account string, region string, loadBalancerDNS string, vpcID string, ruleName string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, string, error)

AddInboundAllowRuleForLoadBalancerByDNS provides a mock function with given fields: ctx, account, region, loadBalancerDNS, vpcID, ruleName, cidrsToAllow, protocolsAndPorts

func (*AccessControl) AddInboundAllowRuleInVPC

func (_m *AccessControl) AddInboundAllowRuleInVPC(ctx context.Context, account string, region string, destinationVpcID string, cidrsToAllow []string, ruleName string, tags map[string]string) error

AddInboundAllowRuleInVPC provides a mock function with given fields: ctx, account, region, destinationVpcID, cidrsToAllow, ruleName, tags

func (*AccessControl) EXPECT

func (_m *AccessControl) EXPECT() *AccessControl_Expecter

func (*AccessControl) RefreshInboundAllowRule

func (_m *AccessControl) RefreshInboundAllowRule(ctx context.Context, account string, region string, ruleId string, cidrsToAdd []string, cidrsToRemove []string, destinationLabels map[string]string, destinationPrefixes []string, destinationVPCId string, protocolsAndPorts types.ProtocolsAndPorts) ([]types.Instance, []types.Subnet, error)

RefreshInboundAllowRule provides a mock function with given fields: ctx, account, region, ruleId, cidrsToAdd, cidrsToRemove, destinationLabels, destinationPrefixes, destinationVPCId, protocolsAndPorts

func (*AccessControl) RemoveInboundAllowRuleFromVPCByName

func (_m *AccessControl) RemoveInboundAllowRuleFromVPCByName(ctx context.Context, account string, region string, vpcID string, ruleName string) error

RemoveInboundAllowRuleFromVPCByName provides a mock function with given fields: ctx, account, region, vpcID, ruleName

func (*AccessControl) RemoveInboundAllowRuleRulesByTags

func (_m *AccessControl) RemoveInboundAllowRuleRulesByTags(ctx context.Context, account string, region string, vpcID string, ruleName string, tags map[string]string) error

RemoveInboundAllowRuleRulesByTags provides a mock function with given fields: ctx, account, region, vpcID, ruleName, tags

func (*AccessControl) RemoveInboundAllowRulesFromVPCById

func (_m *AccessControl) RemoveInboundAllowRulesFromVPCById(ctx context.Context, account string, region string, vpcID string, instanceIDs []string, loadBalancersIDs []string, ruleId string) error

RemoveInboundAllowRulesFromVPCById provides a mock function with given fields: ctx, account, region, vpcID, instanceIDs, loadBalancersIDs, ruleId

type AccessControlServiceClient

type AccessControlServiceClient struct {
	mock.Mock
}

AccessControlServiceClient is an autogenerated mock type for the AccessControlServiceClient type

func NewAccessControlServiceClient

func NewAccessControlServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccessControlServiceClient

NewAccessControlServiceClient creates a new instance of AccessControlServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccessControlServiceClient) AddInboundAllowRuleByInstanceIPMatch

AddInboundAllowRuleByInstanceIPMatch provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) AddInboundAllowRuleByLabelsMatch

AddInboundAllowRuleByLabelsMatch provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) AddInboundAllowRuleBySubnetMatch

AddInboundAllowRuleBySubnetMatch provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) AddInboundAllowRuleForLoadBalancerByDNS

AddInboundAllowRuleForLoadBalancerByDNS provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) AddInboundAllowRuleInVPC

AddInboundAllowRuleInVPC provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) EXPECT

func (*AccessControlServiceClient) RefreshInboundAllowRule

RefreshInboundAllowRule provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) RemoveInboundAllowRuleFromVPCByName

RemoveInboundAllowRuleFromVPCByName provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) RemoveInboundAllowRuleRulesByTags

RemoveInboundAllowRuleRulesByTags provides a mock function with given fields: ctx, in, opts

func (*AccessControlServiceClient) RemoveInboundAllowRulesFromVPCById

RemoveInboundAllowRulesFromVPCById provides a mock function with given fields: ctx, in, opts

type AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call

type AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call struct {
	*mock.Call
}

AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByInstanceIPMatch'

type AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call

type AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call struct {
	*mock.Call
}

AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByLabelsMatch'

type AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call

type AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call struct {
	*mock.Call
}

AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleBySubnetMatch'

type AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call

type AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call struct {
	*mock.Call
}

AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleForLoadBalancerByDNS'

type AccessControlServiceClient_AddInboundAllowRuleInVPC_Call

type AccessControlServiceClient_AddInboundAllowRuleInVPC_Call struct {
	*mock.Call
}

AccessControlServiceClient_AddInboundAllowRuleInVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleInVPC'

type AccessControlServiceClient_Expecter

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

func (*AccessControlServiceClient_Expecter) AddInboundAllowRuleByInstanceIPMatch

func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleByInstanceIPMatch(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call

AddInboundAllowRuleByInstanceIPMatch is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) AddInboundAllowRuleByLabelsMatch

func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleByLabelsMatch(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call

AddInboundAllowRuleByLabelsMatch is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.AddInboundAllowRuleByLabelsMatchRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) AddInboundAllowRuleBySubnetMatch

func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleBySubnetMatch(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call

AddInboundAllowRuleBySubnetMatch is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.AddInboundAllowRuleBySubnetMatchRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) AddInboundAllowRuleForLoadBalancerByDNS

func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call

AddInboundAllowRuleForLoadBalancerByDNS is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.AddInboundAllowRuleForLoadBalancerByDNSRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) AddInboundAllowRuleInVPC

func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleInVPC(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call

AddInboundAllowRuleInVPC is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.AddInboundAllowRuleInVPCRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) RefreshInboundAllowRule

func (_e *AccessControlServiceClient_Expecter) RefreshInboundAllowRule(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RefreshInboundAllowRule_Call

RefreshInboundAllowRule is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.RefreshInboundAllowRuleRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) RemoveInboundAllowRuleFromVPCByName

func (_e *AccessControlServiceClient_Expecter) RemoveInboundAllowRuleFromVPCByName(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call

RemoveInboundAllowRuleFromVPCByName is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) RemoveInboundAllowRuleRulesByTags

func (_e *AccessControlServiceClient_Expecter) RemoveInboundAllowRuleRulesByTags(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call

RemoveInboundAllowRuleRulesByTags is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.RemoveInboundAllowRuleRulesByTagsRequest
  • opts ...grpc.CallOption

func (*AccessControlServiceClient_Expecter) RemoveInboundAllowRulesFromVPCById

func (_e *AccessControlServiceClient_Expecter) RemoveInboundAllowRulesFromVPCById(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call

RemoveInboundAllowRulesFromVPCById is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest
  • opts ...grpc.CallOption

type AccessControlServiceClient_RefreshInboundAllowRule_Call

type AccessControlServiceClient_RefreshInboundAllowRule_Call struct {
	*mock.Call
}

AccessControlServiceClient_RefreshInboundAllowRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshInboundAllowRule'

func (*AccessControlServiceClient_RefreshInboundAllowRule_Call) Run

type AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call

type AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call struct {
	*mock.Call
}

AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'

type AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call

type AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call struct {
	*mock.Call
}

AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'

type AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call

type AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call struct {
	*mock.Call
}

AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'

type AccessControlServiceServer

type AccessControlServiceServer struct {
	mock.Mock
}

AccessControlServiceServer is an autogenerated mock type for the AccessControlServiceServer type

func NewAccessControlServiceServer

func NewAccessControlServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccessControlServiceServer

NewAccessControlServiceServer creates a new instance of AccessControlServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AccessControlServiceServer) AddInboundAllowRuleByInstanceIPMatch

AddInboundAllowRuleByInstanceIPMatch provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) AddInboundAllowRuleByLabelsMatch

AddInboundAllowRuleByLabelsMatch provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) AddInboundAllowRuleBySubnetMatch

AddInboundAllowRuleBySubnetMatch provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) AddInboundAllowRuleForLoadBalancerByDNS

AddInboundAllowRuleForLoadBalancerByDNS provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) AddInboundAllowRuleInVPC

AddInboundAllowRuleInVPC provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) EXPECT

func (*AccessControlServiceServer) RefreshInboundAllowRule

RefreshInboundAllowRule provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) RemoveInboundAllowRuleFromVPCByName

RemoveInboundAllowRuleFromVPCByName provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) RemoveInboundAllowRuleRulesByTags

RemoveInboundAllowRuleRulesByTags provides a mock function with given fields: _a0, _a1

func (*AccessControlServiceServer) RemoveInboundAllowRulesFromVPCById

RemoveInboundAllowRulesFromVPCById provides a mock function with given fields: _a0, _a1

type AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call

type AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call struct {
	*mock.Call
}

AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByInstanceIPMatch'

type AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call

type AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call struct {
	*mock.Call
}

AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByLabelsMatch'

type AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call

type AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call struct {
	*mock.Call
}

AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleBySubnetMatch'

type AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call

type AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call struct {
	*mock.Call
}

AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleForLoadBalancerByDNS'

type AccessControlServiceServer_AddInboundAllowRuleInVPC_Call

type AccessControlServiceServer_AddInboundAllowRuleInVPC_Call struct {
	*mock.Call
}

AccessControlServiceServer_AddInboundAllowRuleInVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleInVPC'

type AccessControlServiceServer_Expecter

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

func (*AccessControlServiceServer_Expecter) AddInboundAllowRuleByInstanceIPMatch

func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleByInstanceIPMatch(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call

AddInboundAllowRuleByInstanceIPMatch is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest

func (*AccessControlServiceServer_Expecter) AddInboundAllowRuleByLabelsMatch

func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleByLabelsMatch(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call

AddInboundAllowRuleByLabelsMatch is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.AddInboundAllowRuleByLabelsMatchRequest

func (*AccessControlServiceServer_Expecter) AddInboundAllowRuleBySubnetMatch

func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleBySubnetMatch(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call

AddInboundAllowRuleBySubnetMatch is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.AddInboundAllowRuleBySubnetMatchRequest

func (*AccessControlServiceServer_Expecter) AddInboundAllowRuleForLoadBalancerByDNS

func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call

AddInboundAllowRuleForLoadBalancerByDNS is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.AddInboundAllowRuleForLoadBalancerByDNSRequest

func (*AccessControlServiceServer_Expecter) AddInboundAllowRuleInVPC

func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleInVPC(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call

AddInboundAllowRuleInVPC is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.AddInboundAllowRuleInVPCRequest

func (*AccessControlServiceServer_Expecter) RefreshInboundAllowRule

func (_e *AccessControlServiceServer_Expecter) RefreshInboundAllowRule(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RefreshInboundAllowRule_Call

RefreshInboundAllowRule is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.RefreshInboundAllowRuleRequest

func (*AccessControlServiceServer_Expecter) RemoveInboundAllowRuleFromVPCByName

func (_e *AccessControlServiceServer_Expecter) RemoveInboundAllowRuleFromVPCByName(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call

RemoveInboundAllowRuleFromVPCByName is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest

func (*AccessControlServiceServer_Expecter) RemoveInboundAllowRuleRulesByTags

func (_e *AccessControlServiceServer_Expecter) RemoveInboundAllowRuleRulesByTags(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call

RemoveInboundAllowRuleRulesByTags is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.RemoveInboundAllowRuleRulesByTagsRequest

func (*AccessControlServiceServer_Expecter) RemoveInboundAllowRulesFromVPCById

func (_e *AccessControlServiceServer_Expecter) RemoveInboundAllowRulesFromVPCById(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call

RemoveInboundAllowRulesFromVPCById is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest

type AccessControlServiceServer_RefreshInboundAllowRule_Call

type AccessControlServiceServer_RefreshInboundAllowRule_Call struct {
	*mock.Call
}

AccessControlServiceServer_RefreshInboundAllowRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshInboundAllowRule'

type AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call

type AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call struct {
	*mock.Call
}

AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'

type AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call

type AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call struct {
	*mock.Call
}

AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'

type AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call

type AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call struct {
	*mock.Call
}

AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'

type AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call

type AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call struct {
	*mock.Call
}

AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedAccessControlServiceServer'

func (*AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Return

func (*AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Run

func (*AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) RunAndReturn

type AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call

type AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call struct {
	*mock.Call
}

AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByInstanceIPMatch'

func (*AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) Return

func (*AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) Run

func (_c *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, instancesIPs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call

type AccessControl_AddInboundAllowRuleByLabelsMatch_Call

type AccessControl_AddInboundAllowRuleByLabelsMatch_Call struct {
	*mock.Call
}

AccessControl_AddInboundAllowRuleByLabelsMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByLabelsMatch'

func (*AccessControl_AddInboundAllowRuleByLabelsMatch_Call) Return

func (*AccessControl_AddInboundAllowRuleByLabelsMatch_Call) Run

func (_c *AccessControl_AddInboundAllowRuleByLabelsMatch_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, labels map[string]string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call

type AccessControl_AddInboundAllowRuleBySubnetMatch_Call

type AccessControl_AddInboundAllowRuleBySubnetMatch_Call struct {
	*mock.Call
}

AccessControl_AddInboundAllowRuleBySubnetMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleBySubnetMatch'

func (*AccessControl_AddInboundAllowRuleBySubnetMatch_Call) Return

func (*AccessControl_AddInboundAllowRuleBySubnetMatch_Call) Run

func (_c *AccessControl_AddInboundAllowRuleBySubnetMatch_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, subnetCidrs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call

type AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call

type AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call struct {
	*mock.Call
}

AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleForLoadBalancerByDNS'

func (*AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return

func (*AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run

func (_c *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run(run func(ctx context.Context, account string, region string, loadBalancerDNS string, vpcID string, ruleName string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call

type AccessControl_AddInboundAllowRuleInVPC_Call

type AccessControl_AddInboundAllowRuleInVPC_Call struct {
	*mock.Call
}

AccessControl_AddInboundAllowRuleInVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleInVPC'

func (*AccessControl_AddInboundAllowRuleInVPC_Call) Return

func (*AccessControl_AddInboundAllowRuleInVPC_Call) Run

func (_c *AccessControl_AddInboundAllowRuleInVPC_Call) Run(run func(ctx context.Context, account string, region string, destinationVpcID string, cidrsToAllow []string, ruleName string, tags map[string]string)) *AccessControl_AddInboundAllowRuleInVPC_Call

func (*AccessControl_AddInboundAllowRuleInVPC_Call) RunAndReturn

type AccessControl_Expecter

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

func (*AccessControl_Expecter) AddInboundAllowRuleByInstanceIPMatch

func (_e *AccessControl_Expecter) AddInboundAllowRuleByInstanceIPMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, instancesIPs interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call

AddInboundAllowRuleByInstanceIPMatch is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • instancesIPs []string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*AccessControl_Expecter) AddInboundAllowRuleByLabelsMatch

func (_e *AccessControl_Expecter) AddInboundAllowRuleByLabelsMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, labels interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call

AddInboundAllowRuleByLabelsMatch is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • labels map[string]string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*AccessControl_Expecter) AddInboundAllowRuleBySubnetMatch

func (_e *AccessControl_Expecter) AddInboundAllowRuleBySubnetMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, subnetCidrs interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call

AddInboundAllowRuleBySubnetMatch is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • subnetCidrs []string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*AccessControl_Expecter) AddInboundAllowRuleForLoadBalancerByDNS

func (_e *AccessControl_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(ctx interface{}, account interface{}, region interface{}, loadBalancerDNS interface{}, vpcID interface{}, ruleName interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call

AddInboundAllowRuleForLoadBalancerByDNS is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • loadBalancerDNS string
  • vpcID string
  • ruleName string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*AccessControl_Expecter) AddInboundAllowRuleInVPC

func (_e *AccessControl_Expecter) AddInboundAllowRuleInVPC(ctx interface{}, account interface{}, region interface{}, destinationVpcID interface{}, cidrsToAllow interface{}, ruleName interface{}, tags interface{}) *AccessControl_AddInboundAllowRuleInVPC_Call

AddInboundAllowRuleInVPC is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • destinationVpcID string
  • cidrsToAllow []string
  • ruleName string
  • tags map[string]string

func (*AccessControl_Expecter) RefreshInboundAllowRule

func (_e *AccessControl_Expecter) RefreshInboundAllowRule(ctx interface{}, account interface{}, region interface{}, ruleId interface{}, cidrsToAdd interface{}, cidrsToRemove interface{}, destinationLabels interface{}, destinationPrefixes interface{}, destinationVPCId interface{}, protocolsAndPorts interface{}) *AccessControl_RefreshInboundAllowRule_Call

RefreshInboundAllowRule is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • ruleId string
  • cidrsToAdd []string
  • cidrsToRemove []string
  • destinationLabels map[string]string
  • destinationPrefixes []string
  • destinationVPCId string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*AccessControl_Expecter) RemoveInboundAllowRuleFromVPCByName

func (_e *AccessControl_Expecter) RemoveInboundAllowRuleFromVPCByName(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call

RemoveInboundAllowRuleFromVPCByName is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string

func (*AccessControl_Expecter) RemoveInboundAllowRuleRulesByTags

func (_e *AccessControl_Expecter) RemoveInboundAllowRuleRulesByTags(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, tags interface{}) *AccessControl_RemoveInboundAllowRuleRulesByTags_Call

RemoveInboundAllowRuleRulesByTags is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • tags map[string]string

func (*AccessControl_Expecter) RemoveInboundAllowRulesFromVPCById

func (_e *AccessControl_Expecter) RemoveInboundAllowRulesFromVPCById(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, instanceIDs interface{}, loadBalancersIDs interface{}, ruleId interface{}) *AccessControl_RemoveInboundAllowRulesFromVPCById_Call

RemoveInboundAllowRulesFromVPCById is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • instanceIDs []string
  • loadBalancersIDs []string
  • ruleId string

type AccessControl_RefreshInboundAllowRule_Call

type AccessControl_RefreshInboundAllowRule_Call struct {
	*mock.Call
}

AccessControl_RefreshInboundAllowRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshInboundAllowRule'

func (*AccessControl_RefreshInboundAllowRule_Call) Return

func (*AccessControl_RefreshInboundAllowRule_Call) Run

func (_c *AccessControl_RefreshInboundAllowRule_Call) Run(run func(ctx context.Context, account string, region string, ruleId string, cidrsToAdd []string, cidrsToRemove []string, destinationLabels map[string]string, destinationPrefixes []string, destinationVPCId string, protocolsAndPorts types.ProtocolsAndPorts)) *AccessControl_RefreshInboundAllowRule_Call

type AccessControl_RemoveInboundAllowRuleFromVPCByName_Call

type AccessControl_RemoveInboundAllowRuleFromVPCByName_Call struct {
	*mock.Call
}

AccessControl_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'

func (*AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) Return

func (*AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) Run

func (*AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn

type AccessControl_RemoveInboundAllowRuleRulesByTags_Call

type AccessControl_RemoveInboundAllowRuleRulesByTags_Call struct {
	*mock.Call
}

AccessControl_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'

func (*AccessControl_RemoveInboundAllowRuleRulesByTags_Call) Return

func (*AccessControl_RemoveInboundAllowRuleRulesByTags_Call) Run

func (*AccessControl_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn

type AccessControl_RemoveInboundAllowRulesFromVPCById_Call

type AccessControl_RemoveInboundAllowRulesFromVPCById_Call struct {
	*mock.Call
}

AccessControl_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'

func (*AccessControl_RemoveInboundAllowRulesFromVPCById_Call) Return

func (*AccessControl_RemoveInboundAllowRulesFromVPCById_Call) Run

func (_c *AccessControl_RemoveInboundAllowRulesFromVPCById_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, instanceIDs []string, loadBalancersIDs []string, ruleId string)) *AccessControl_RemoveInboundAllowRulesFromVPCById_Call

func (*AccessControl_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) Close

func (_m *Client) Close() error

Close provides a mock function with given fields:

func (*Client) DeleteACL

func (_m *Client) DeleteACL(id string) error

DeleteACL provides a mock function with given fields: id

func (*Client) DeleteCluster

func (_m *Client) DeleteCluster(id string) error

DeleteCluster provides a mock function with given fields: id

func (*Client) DeleteInstance

func (_m *Client) DeleteInstance(id string) error

DeleteInstance provides a mock function with given fields: id

func (*Client) DeleteKubernetesNode

func (_m *Client) DeleteKubernetesNode(id string) error

DeleteKubernetesNode provides a mock function with given fields: id

func (*Client) DeleteKubernetesService

func (_m *Client) DeleteKubernetesService(id string) error

DeleteKubernetesService provides a mock function with given fields: id

func (*Client) DeleteNamespace

func (_m *Client) DeleteNamespace(id string) error

DeleteNamespace provides a mock function with given fields: id

func (*Client) DeletePod

func (_m *Client) DeletePod(id string) error

DeletePod provides a mock function with given fields: id

func (*Client) DeleteRouteTable

func (_m *Client) DeleteRouteTable(id string) error

DeleteRouteTable provides a mock function with given fields: id

func (*Client) DeleteSecurityGroup

func (_m *Client) DeleteSecurityGroup(id string) error

DeleteSecurityGroup provides a mock function with given fields: id

func (*Client) DeleteSubnet

func (_m *Client) DeleteSubnet(id string) error

DeleteSubnet provides a mock function with given fields: id

func (*Client) DeleteSyncTime

func (_m *Client) DeleteSyncTime(id string) error

DeleteSyncTime provides a mock function with given fields: id

func (*Client) DeleteVPC

func (_m *Client) DeleteVPC(id string) error

DeleteVPC provides a mock function with given fields: id

func (*Client) DropDB

func (_m *Client) DropDB() error

DropDB provides a mock function with given fields:

func (*Client) EXPECT

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) GetACL

func (_m *Client) GetACL(id string) (*types.ACL, error)

GetACL provides a mock function with given fields: id

func (*Client) GetCluster

func (_m *Client) GetCluster(id string) (*types.Cluster, error)

GetCluster provides a mock function with given fields: id

func (*Client) GetInstance

func (_m *Client) GetInstance(id string) (*types.Instance, error)

GetInstance provides a mock function with given fields: id

func (*Client) GetKubernetesNode

func (_m *Client) GetKubernetesNode(id string) (*types.K8sNode, error)

GetKubernetesNode provides a mock function with given fields: id

func (*Client) GetKubernetesService

func (_m *Client) GetKubernetesService(id string) (*types.K8SService, error)

GetKubernetesService provides a mock function with given fields: id

func (*Client) GetNamespace

func (_m *Client) GetNamespace(id string) (*types.Namespace, error)

GetNamespace provides a mock function with given fields: id

func (*Client) GetPod

func (_m *Client) GetPod(id string) (*types.Pod, error)

GetPod provides a mock function with given fields: id

func (*Client) GetRouteTable

func (_m *Client) GetRouteTable(id string) (*types.RouteTable, error)

GetRouteTable provides a mock function with given fields: id

func (*Client) GetSecurityGroup

func (_m *Client) GetSecurityGroup(id string) (*types.SecurityGroup, error)

GetSecurityGroup provides a mock function with given fields: id

func (*Client) GetSubnet

func (_m *Client) GetSubnet(id string) (*types.Subnet, error)

GetSubnet provides a mock function with given fields: id

func (*Client) GetSyncTime

func (_m *Client) GetSyncTime(id string) (*types.SyncTime, error)

GetSyncTime provides a mock function with given fields: id

func (*Client) GetVPC

func (_m *Client) GetVPC(id string) (*types.VPC, error)

GetVPC provides a mock function with given fields: id

func (*Client) ListACLs

func (_m *Client) ListACLs() ([]*types.ACL, error)

ListACLs provides a mock function with given fields:

func (*Client) ListClusters

func (_m *Client) ListClusters() ([]*types.Cluster, error)

ListClusters provides a mock function with given fields:

func (*Client) ListInstances

func (_m *Client) ListInstances() ([]*types.Instance, error)

ListInstances provides a mock function with given fields:

func (*Client) ListKubernetesNodes

func (_m *Client) ListKubernetesNodes() ([]*types.K8sNode, error)

ListKubernetesNodes provides a mock function with given fields:

func (*Client) ListKubernetesServices

func (_m *Client) ListKubernetesServices() ([]*types.K8SService, error)

ListKubernetesServices provides a mock function with given fields:

func (*Client) ListNamespaces

func (_m *Client) ListNamespaces() ([]*types.Namespace, error)

ListNamespaces provides a mock function with given fields:

func (*Client) ListPods

func (_m *Client) ListPods() ([]*types.Pod, error)

ListPods provides a mock function with given fields:

func (*Client) ListRouteTables

func (_m *Client) ListRouteTables() ([]*types.RouteTable, error)

ListRouteTables provides a mock function with given fields:

func (*Client) ListSecurityGroups

func (_m *Client) ListSecurityGroups() ([]*types.SecurityGroup, error)

ListSecurityGroups provides a mock function with given fields:

func (*Client) ListSubnets

func (_m *Client) ListSubnets() ([]*types.Subnet, error)

ListSubnets provides a mock function with given fields:

func (*Client) ListSyncTimes

func (_m *Client) ListSyncTimes() ([]*types.SyncTime, error)

ListSyncTimes provides a mock function with given fields:

func (*Client) ListVPCs

func (_m *Client) ListVPCs() ([]*types.VPC, error)

ListVPCs provides a mock function with given fields:

func (*Client) Open

func (_m *Client) Open(filename string) error

Open provides a mock function with given fields: filename

func (*Client) PutACL

func (_m *Client) PutACL(acl *types.ACL) error

PutACL provides a mock function with given fields: acl

func (*Client) PutCluster

func (_m *Client) PutCluster(cluster *types.Cluster) error

PutCluster provides a mock function with given fields: cluster

func (*Client) PutInstance

func (_m *Client) PutInstance(instance *types.Instance) error

PutInstance provides a mock function with given fields: instance

func (*Client) PutKubernetesNode

func (_m *Client) PutKubernetesNode(node *types.K8sNode) error

PutKubernetesNode provides a mock function with given fields: node

func (*Client) PutKubernetesService

func (_m *Client) PutKubernetesService(service *types.K8SService) error

PutKubernetesService provides a mock function with given fields: service

func (*Client) PutNamespace

func (_m *Client) PutNamespace(namespace *types.Namespace) error

PutNamespace provides a mock function with given fields: namespace

func (*Client) PutPod

func (_m *Client) PutPod(pod *types.Pod) error

PutPod provides a mock function with given fields: pod

func (*Client) PutRouteTable

func (_m *Client) PutRouteTable(routeTable *types.RouteTable) error

PutRouteTable provides a mock function with given fields: routeTable

func (*Client) PutSecurityGroup

func (_m *Client) PutSecurityGroup(securityGroup *types.SecurityGroup) error

PutSecurityGroup provides a mock function with given fields: securityGroup

func (*Client) PutSubnet

func (_m *Client) PutSubnet(subnet *types.Subnet) error

PutSubnet provides a mock function with given fields: subnet

func (*Client) PutSyncTime

func (_m *Client) PutSyncTime(time *types.SyncTime) error

PutSyncTime provides a mock function with given fields: time

func (*Client) PutVPC

func (_m *Client) PutVPC(vpc *types.VPC) error

PutVPC provides a mock function with given fields: vpc

type Client_Close_Call

type Client_Close_Call struct {
	*mock.Call
}

Client_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*Client_Close_Call) Return

func (_c *Client_Close_Call) Return(_a0 error) *Client_Close_Call

func (*Client_Close_Call) Run

func (_c *Client_Close_Call) Run(run func()) *Client_Close_Call

func (*Client_Close_Call) RunAndReturn

func (_c *Client_Close_Call) RunAndReturn(run func() error) *Client_Close_Call

type Client_DeleteACL_Call

type Client_DeleteACL_Call struct {
	*mock.Call
}

Client_DeleteACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteACL'

func (*Client_DeleteACL_Call) Return

func (*Client_DeleteACL_Call) Run

func (_c *Client_DeleteACL_Call) Run(run func(id string)) *Client_DeleteACL_Call

func (*Client_DeleteACL_Call) RunAndReturn

func (_c *Client_DeleteACL_Call) RunAndReturn(run func(string) error) *Client_DeleteACL_Call

type Client_DeleteCluster_Call

type Client_DeleteCluster_Call struct {
	*mock.Call
}

Client_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'

func (*Client_DeleteCluster_Call) Return

func (*Client_DeleteCluster_Call) Run

func (*Client_DeleteCluster_Call) RunAndReturn

func (_c *Client_DeleteCluster_Call) RunAndReturn(run func(string) error) *Client_DeleteCluster_Call

type Client_DeleteInstance_Call

type Client_DeleteInstance_Call struct {
	*mock.Call
}

Client_DeleteInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInstance'

func (*Client_DeleteInstance_Call) Return

func (*Client_DeleteInstance_Call) Run

func (*Client_DeleteInstance_Call) RunAndReturn

type Client_DeleteKubernetesNode_Call

type Client_DeleteKubernetesNode_Call struct {
	*mock.Call
}

Client_DeleteKubernetesNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteKubernetesNode'

func (*Client_DeleteKubernetesNode_Call) Return

func (*Client_DeleteKubernetesNode_Call) Run

func (*Client_DeleteKubernetesNode_Call) RunAndReturn

type Client_DeleteKubernetesService_Call

type Client_DeleteKubernetesService_Call struct {
	*mock.Call
}

Client_DeleteKubernetesService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteKubernetesService'

func (*Client_DeleteKubernetesService_Call) Return

func (*Client_DeleteKubernetesService_Call) Run

func (*Client_DeleteKubernetesService_Call) RunAndReturn

type Client_DeleteNamespace_Call

type Client_DeleteNamespace_Call struct {
	*mock.Call
}

Client_DeleteNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteNamespace'

func (*Client_DeleteNamespace_Call) Return

func (*Client_DeleteNamespace_Call) Run

func (*Client_DeleteNamespace_Call) RunAndReturn

type Client_DeletePod_Call

type Client_DeletePod_Call struct {
	*mock.Call
}

Client_DeletePod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePod'

func (*Client_DeletePod_Call) Return

func (*Client_DeletePod_Call) Run

func (_c *Client_DeletePod_Call) Run(run func(id string)) *Client_DeletePod_Call

func (*Client_DeletePod_Call) RunAndReturn

func (_c *Client_DeletePod_Call) RunAndReturn(run func(string) error) *Client_DeletePod_Call

type Client_DeleteRouteTable_Call

type Client_DeleteRouteTable_Call struct {
	*mock.Call
}

Client_DeleteRouteTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRouteTable'

func (*Client_DeleteRouteTable_Call) Return

func (*Client_DeleteRouteTable_Call) Run

func (*Client_DeleteRouteTable_Call) RunAndReturn

type Client_DeleteSecurityGroup_Call

type Client_DeleteSecurityGroup_Call struct {
	*mock.Call
}

Client_DeleteSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSecurityGroup'

func (*Client_DeleteSecurityGroup_Call) Return

func (*Client_DeleteSecurityGroup_Call) Run

func (*Client_DeleteSecurityGroup_Call) RunAndReturn

type Client_DeleteSubnet_Call

type Client_DeleteSubnet_Call struct {
	*mock.Call
}

Client_DeleteSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubnet'

func (*Client_DeleteSubnet_Call) Return

func (*Client_DeleteSubnet_Call) Run

func (*Client_DeleteSubnet_Call) RunAndReturn

func (_c *Client_DeleteSubnet_Call) RunAndReturn(run func(string) error) *Client_DeleteSubnet_Call

type Client_DeleteSyncTime_Call

type Client_DeleteSyncTime_Call struct {
	*mock.Call
}

Client_DeleteSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSyncTime'

func (*Client_DeleteSyncTime_Call) Return

func (*Client_DeleteSyncTime_Call) Run

func (*Client_DeleteSyncTime_Call) RunAndReturn

type Client_DeleteVPC_Call

type Client_DeleteVPC_Call struct {
	*mock.Call
}

Client_DeleteVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteVPC'

func (*Client_DeleteVPC_Call) Return

func (*Client_DeleteVPC_Call) Run

func (_c *Client_DeleteVPC_Call) Run(run func(id string)) *Client_DeleteVPC_Call

func (*Client_DeleteVPC_Call) RunAndReturn

func (_c *Client_DeleteVPC_Call) RunAndReturn(run func(string) error) *Client_DeleteVPC_Call

type Client_DropDB_Call

type Client_DropDB_Call struct {
	*mock.Call
}

Client_DropDB_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DropDB'

func (*Client_DropDB_Call) Return

func (_c *Client_DropDB_Call) Return(_a0 error) *Client_DropDB_Call

func (*Client_DropDB_Call) Run

func (_c *Client_DropDB_Call) Run(run func()) *Client_DropDB_Call

func (*Client_DropDB_Call) RunAndReturn

func (_c *Client_DropDB_Call) RunAndReturn(run func() error) *Client_DropDB_Call

type Client_Expecter

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

func (*Client_Expecter) Close

func (_e *Client_Expecter) Close() *Client_Close_Call

Close is a helper method to define mock.On call

func (*Client_Expecter) DeleteACL

func (_e *Client_Expecter) DeleteACL(id interface{}) *Client_DeleteACL_Call

DeleteACL is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteCluster

func (_e *Client_Expecter) DeleteCluster(id interface{}) *Client_DeleteCluster_Call

DeleteCluster is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteInstance

func (_e *Client_Expecter) DeleteInstance(id interface{}) *Client_DeleteInstance_Call

DeleteInstance is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteKubernetesNode

func (_e *Client_Expecter) DeleteKubernetesNode(id interface{}) *Client_DeleteKubernetesNode_Call

DeleteKubernetesNode is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteKubernetesService

func (_e *Client_Expecter) DeleteKubernetesService(id interface{}) *Client_DeleteKubernetesService_Call

DeleteKubernetesService is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteNamespace

func (_e *Client_Expecter) DeleteNamespace(id interface{}) *Client_DeleteNamespace_Call

DeleteNamespace is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeletePod

func (_e *Client_Expecter) DeletePod(id interface{}) *Client_DeletePod_Call

DeletePod is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteRouteTable

func (_e *Client_Expecter) DeleteRouteTable(id interface{}) *Client_DeleteRouteTable_Call

DeleteRouteTable is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteSecurityGroup

func (_e *Client_Expecter) DeleteSecurityGroup(id interface{}) *Client_DeleteSecurityGroup_Call

DeleteSecurityGroup is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteSubnet

func (_e *Client_Expecter) DeleteSubnet(id interface{}) *Client_DeleteSubnet_Call

DeleteSubnet is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteSyncTime

func (_e *Client_Expecter) DeleteSyncTime(id interface{}) *Client_DeleteSyncTime_Call

DeleteSyncTime is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DeleteVPC

func (_e *Client_Expecter) DeleteVPC(id interface{}) *Client_DeleteVPC_Call

DeleteVPC is a helper method to define mock.On call

  • id string

func (*Client_Expecter) DropDB

func (_e *Client_Expecter) DropDB() *Client_DropDB_Call

DropDB is a helper method to define mock.On call

func (*Client_Expecter) GetACL

func (_e *Client_Expecter) GetACL(id interface{}) *Client_GetACL_Call

GetACL is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetCluster

func (_e *Client_Expecter) GetCluster(id interface{}) *Client_GetCluster_Call

GetCluster is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetInstance

func (_e *Client_Expecter) GetInstance(id interface{}) *Client_GetInstance_Call

GetInstance is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetKubernetesNode

func (_e *Client_Expecter) GetKubernetesNode(id interface{}) *Client_GetKubernetesNode_Call

GetKubernetesNode is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetKubernetesService

func (_e *Client_Expecter) GetKubernetesService(id interface{}) *Client_GetKubernetesService_Call

GetKubernetesService is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetNamespace

func (_e *Client_Expecter) GetNamespace(id interface{}) *Client_GetNamespace_Call

GetNamespace is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetPod

func (_e *Client_Expecter) GetPod(id interface{}) *Client_GetPod_Call

GetPod is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetRouteTable

func (_e *Client_Expecter) GetRouteTable(id interface{}) *Client_GetRouteTable_Call

GetRouteTable is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetSecurityGroup

func (_e *Client_Expecter) GetSecurityGroup(id interface{}) *Client_GetSecurityGroup_Call

GetSecurityGroup is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetSubnet

func (_e *Client_Expecter) GetSubnet(id interface{}) *Client_GetSubnet_Call

GetSubnet is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetSyncTime

func (_e *Client_Expecter) GetSyncTime(id interface{}) *Client_GetSyncTime_Call

GetSyncTime is a helper method to define mock.On call

  • id string

func (*Client_Expecter) GetVPC

func (_e *Client_Expecter) GetVPC(id interface{}) *Client_GetVPC_Call

GetVPC is a helper method to define mock.On call

  • id string

func (*Client_Expecter) ListACLs

func (_e *Client_Expecter) ListACLs() *Client_ListACLs_Call

ListACLs is a helper method to define mock.On call

func (*Client_Expecter) ListClusters

func (_e *Client_Expecter) ListClusters() *Client_ListClusters_Call

ListClusters is a helper method to define mock.On call

func (*Client_Expecter) ListInstances

func (_e *Client_Expecter) ListInstances() *Client_ListInstances_Call

ListInstances is a helper method to define mock.On call

func (*Client_Expecter) ListKubernetesNodes

func (_e *Client_Expecter) ListKubernetesNodes() *Client_ListKubernetesNodes_Call

ListKubernetesNodes is a helper method to define mock.On call

func (*Client_Expecter) ListKubernetesServices

func (_e *Client_Expecter) ListKubernetesServices() *Client_ListKubernetesServices_Call

ListKubernetesServices is a helper method to define mock.On call

func (*Client_Expecter) ListNamespaces

func (_e *Client_Expecter) ListNamespaces() *Client_ListNamespaces_Call

ListNamespaces is a helper method to define mock.On call

func (*Client_Expecter) ListPods

func (_e *Client_Expecter) ListPods() *Client_ListPods_Call

ListPods is a helper method to define mock.On call

func (*Client_Expecter) ListRouteTables

func (_e *Client_Expecter) ListRouteTables() *Client_ListRouteTables_Call

ListRouteTables is a helper method to define mock.On call

func (*Client_Expecter) ListSecurityGroups

func (_e *Client_Expecter) ListSecurityGroups() *Client_ListSecurityGroups_Call

ListSecurityGroups is a helper method to define mock.On call

func (*Client_Expecter) ListSubnets

func (_e *Client_Expecter) ListSubnets() *Client_ListSubnets_Call

ListSubnets is a helper method to define mock.On call

func (*Client_Expecter) ListSyncTimes

func (_e *Client_Expecter) ListSyncTimes() *Client_ListSyncTimes_Call

ListSyncTimes is a helper method to define mock.On call

func (*Client_Expecter) ListVPCs

func (_e *Client_Expecter) ListVPCs() *Client_ListVPCs_Call

ListVPCs is a helper method to define mock.On call

func (*Client_Expecter) Open

func (_e *Client_Expecter) Open(filename interface{}) *Client_Open_Call

Open is a helper method to define mock.On call

  • filename string

func (*Client_Expecter) PutACL

func (_e *Client_Expecter) PutACL(acl interface{}) *Client_PutACL_Call

PutACL is a helper method to define mock.On call

  • acl *types.ACL

func (*Client_Expecter) PutCluster

func (_e *Client_Expecter) PutCluster(cluster interface{}) *Client_PutCluster_Call

PutCluster is a helper method to define mock.On call

  • cluster *types.Cluster

func (*Client_Expecter) PutInstance

func (_e *Client_Expecter) PutInstance(instance interface{}) *Client_PutInstance_Call

PutInstance is a helper method to define mock.On call

  • instance *types.Instance

func (*Client_Expecter) PutKubernetesNode

func (_e *Client_Expecter) PutKubernetesNode(node interface{}) *Client_PutKubernetesNode_Call

PutKubernetesNode is a helper method to define mock.On call

  • node *types.K8sNode

func (*Client_Expecter) PutKubernetesService

func (_e *Client_Expecter) PutKubernetesService(service interface{}) *Client_PutKubernetesService_Call

PutKubernetesService is a helper method to define mock.On call

  • service *types.K8SService

func (*Client_Expecter) PutNamespace

func (_e *Client_Expecter) PutNamespace(namespace interface{}) *Client_PutNamespace_Call

PutNamespace is a helper method to define mock.On call

  • namespace *types.Namespace

func (*Client_Expecter) PutPod

func (_e *Client_Expecter) PutPod(pod interface{}) *Client_PutPod_Call

PutPod is a helper method to define mock.On call

  • pod *types.Pod

func (*Client_Expecter) PutRouteTable

func (_e *Client_Expecter) PutRouteTable(routeTable interface{}) *Client_PutRouteTable_Call

PutRouteTable is a helper method to define mock.On call

  • routeTable *types.RouteTable

func (*Client_Expecter) PutSecurityGroup

func (_e *Client_Expecter) PutSecurityGroup(securityGroup interface{}) *Client_PutSecurityGroup_Call

PutSecurityGroup is a helper method to define mock.On call

  • securityGroup *types.SecurityGroup

func (*Client_Expecter) PutSubnet

func (_e *Client_Expecter) PutSubnet(subnet interface{}) *Client_PutSubnet_Call

PutSubnet is a helper method to define mock.On call

  • subnet *types.Subnet

func (*Client_Expecter) PutSyncTime

func (_e *Client_Expecter) PutSyncTime(time interface{}) *Client_PutSyncTime_Call

PutSyncTime is a helper method to define mock.On call

  • time *types.SyncTime

func (*Client_Expecter) PutVPC

func (_e *Client_Expecter) PutVPC(vpc interface{}) *Client_PutVPC_Call

PutVPC is a helper method to define mock.On call

  • vpc *types.VPC

type Client_GetACL_Call

type Client_GetACL_Call struct {
	*mock.Call
}

Client_GetACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetACL'

func (*Client_GetACL_Call) Return

func (_c *Client_GetACL_Call) Return(_a0 *types.ACL, _a1 error) *Client_GetACL_Call

func (*Client_GetACL_Call) Run

func (_c *Client_GetACL_Call) Run(run func(id string)) *Client_GetACL_Call

func (*Client_GetACL_Call) RunAndReturn

func (_c *Client_GetACL_Call) RunAndReturn(run func(string) (*types.ACL, error)) *Client_GetACL_Call

type Client_GetCluster_Call

type Client_GetCluster_Call struct {
	*mock.Call
}

Client_GetCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCluster'

func (*Client_GetCluster_Call) Return

func (*Client_GetCluster_Call) Run

func (_c *Client_GetCluster_Call) Run(run func(id string)) *Client_GetCluster_Call

func (*Client_GetCluster_Call) RunAndReturn

func (_c *Client_GetCluster_Call) RunAndReturn(run func(string) (*types.Cluster, error)) *Client_GetCluster_Call

type Client_GetInstance_Call

type Client_GetInstance_Call struct {
	*mock.Call
}

Client_GetInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstance'

func (*Client_GetInstance_Call) Return

func (*Client_GetInstance_Call) Run

func (*Client_GetInstance_Call) RunAndReturn

func (_c *Client_GetInstance_Call) RunAndReturn(run func(string) (*types.Instance, error)) *Client_GetInstance_Call

type Client_GetKubernetesNode_Call

type Client_GetKubernetesNode_Call struct {
	*mock.Call
}

Client_GetKubernetesNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKubernetesNode'

func (*Client_GetKubernetesNode_Call) Return

func (*Client_GetKubernetesNode_Call) Run

func (*Client_GetKubernetesNode_Call) RunAndReturn

type Client_GetKubernetesService_Call

type Client_GetKubernetesService_Call struct {
	*mock.Call
}

Client_GetKubernetesService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKubernetesService'

func (*Client_GetKubernetesService_Call) Return

func (*Client_GetKubernetesService_Call) Run

func (*Client_GetKubernetesService_Call) RunAndReturn

type Client_GetNamespace_Call

type Client_GetNamespace_Call struct {
	*mock.Call
}

Client_GetNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespace'

func (*Client_GetNamespace_Call) Return

func (*Client_GetNamespace_Call) Run

func (*Client_GetNamespace_Call) RunAndReturn

type Client_GetPod_Call

type Client_GetPod_Call struct {
	*mock.Call
}

Client_GetPod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPod'

func (*Client_GetPod_Call) Return

func (_c *Client_GetPod_Call) Return(_a0 *types.Pod, _a1 error) *Client_GetPod_Call

func (*Client_GetPod_Call) Run

func (_c *Client_GetPod_Call) Run(run func(id string)) *Client_GetPod_Call

func (*Client_GetPod_Call) RunAndReturn

func (_c *Client_GetPod_Call) RunAndReturn(run func(string) (*types.Pod, error)) *Client_GetPod_Call

type Client_GetRouteTable_Call

type Client_GetRouteTable_Call struct {
	*mock.Call
}

Client_GetRouteTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRouteTable'

func (*Client_GetRouteTable_Call) Return

func (*Client_GetRouteTable_Call) Run

func (*Client_GetRouteTable_Call) RunAndReturn

type Client_GetSecurityGroup_Call

type Client_GetSecurityGroup_Call struct {
	*mock.Call
}

Client_GetSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecurityGroup'

func (*Client_GetSecurityGroup_Call) Return

func (*Client_GetSecurityGroup_Call) Run

func (*Client_GetSecurityGroup_Call) RunAndReturn

type Client_GetSubnet_Call

type Client_GetSubnet_Call struct {
	*mock.Call
}

Client_GetSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubnet'

func (*Client_GetSubnet_Call) Return

func (*Client_GetSubnet_Call) Run

func (_c *Client_GetSubnet_Call) Run(run func(id string)) *Client_GetSubnet_Call

func (*Client_GetSubnet_Call) RunAndReturn

func (_c *Client_GetSubnet_Call) RunAndReturn(run func(string) (*types.Subnet, error)) *Client_GetSubnet_Call

type Client_GetSyncTime_Call

type Client_GetSyncTime_Call struct {
	*mock.Call
}

Client_GetSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSyncTime'

func (*Client_GetSyncTime_Call) Return

func (*Client_GetSyncTime_Call) Run

func (*Client_GetSyncTime_Call) RunAndReturn

func (_c *Client_GetSyncTime_Call) RunAndReturn(run func(string) (*types.SyncTime, error)) *Client_GetSyncTime_Call

type Client_GetVPC_Call

type Client_GetVPC_Call struct {
	*mock.Call
}

Client_GetVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPC'

func (*Client_GetVPC_Call) Return

func (_c *Client_GetVPC_Call) Return(_a0 *types.VPC, _a1 error) *Client_GetVPC_Call

func (*Client_GetVPC_Call) Run

func (_c *Client_GetVPC_Call) Run(run func(id string)) *Client_GetVPC_Call

func (*Client_GetVPC_Call) RunAndReturn

func (_c *Client_GetVPC_Call) RunAndReturn(run func(string) (*types.VPC, error)) *Client_GetVPC_Call

type Client_ListACLs_Call

type Client_ListACLs_Call struct {
	*mock.Call
}

Client_ListACLs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListACLs'

func (*Client_ListACLs_Call) Return

func (_c *Client_ListACLs_Call) Return(_a0 []*types.ACL, _a1 error) *Client_ListACLs_Call

func (*Client_ListACLs_Call) Run

func (_c *Client_ListACLs_Call) Run(run func()) *Client_ListACLs_Call

func (*Client_ListACLs_Call) RunAndReturn

func (_c *Client_ListACLs_Call) RunAndReturn(run func() ([]*types.ACL, error)) *Client_ListACLs_Call

type Client_ListClusters_Call

type Client_ListClusters_Call struct {
	*mock.Call
}

Client_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*Client_ListClusters_Call) Return

func (*Client_ListClusters_Call) Run

func (*Client_ListClusters_Call) RunAndReturn

func (_c *Client_ListClusters_Call) RunAndReturn(run func() ([]*types.Cluster, error)) *Client_ListClusters_Call

type Client_ListInstances_Call

type Client_ListInstances_Call struct {
	*mock.Call
}

Client_ListInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInstances'

func (*Client_ListInstances_Call) Return

func (*Client_ListInstances_Call) Run

func (*Client_ListInstances_Call) RunAndReturn

func (_c *Client_ListInstances_Call) RunAndReturn(run func() ([]*types.Instance, error)) *Client_ListInstances_Call

type Client_ListKubernetesNodes_Call

type Client_ListKubernetesNodes_Call struct {
	*mock.Call
}

Client_ListKubernetesNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKubernetesNodes'

func (*Client_ListKubernetesNodes_Call) Return

func (*Client_ListKubernetesNodes_Call) Run

func (*Client_ListKubernetesNodes_Call) RunAndReturn

type Client_ListKubernetesServices_Call

type Client_ListKubernetesServices_Call struct {
	*mock.Call
}

Client_ListKubernetesServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListKubernetesServices'

func (*Client_ListKubernetesServices_Call) Return

func (*Client_ListKubernetesServices_Call) Run

func (*Client_ListKubernetesServices_Call) RunAndReturn

type Client_ListNamespaces_Call

type Client_ListNamespaces_Call struct {
	*mock.Call
}

Client_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'

func (*Client_ListNamespaces_Call) Return

func (*Client_ListNamespaces_Call) Run

func (*Client_ListNamespaces_Call) RunAndReturn

func (_c *Client_ListNamespaces_Call) RunAndReturn(run func() ([]*types.Namespace, error)) *Client_ListNamespaces_Call

type Client_ListPods_Call

type Client_ListPods_Call struct {
	*mock.Call
}

Client_ListPods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPods'

func (*Client_ListPods_Call) Return

func (_c *Client_ListPods_Call) Return(_a0 []*types.Pod, _a1 error) *Client_ListPods_Call

func (*Client_ListPods_Call) Run

func (_c *Client_ListPods_Call) Run(run func()) *Client_ListPods_Call

func (*Client_ListPods_Call) RunAndReturn

func (_c *Client_ListPods_Call) RunAndReturn(run func() ([]*types.Pod, error)) *Client_ListPods_Call

type Client_ListRouteTables_Call

type Client_ListRouteTables_Call struct {
	*mock.Call
}

Client_ListRouteTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRouteTables'

func (*Client_ListRouteTables_Call) Return

func (*Client_ListRouteTables_Call) Run

func (*Client_ListRouteTables_Call) RunAndReturn

type Client_ListSecurityGroups_Call

type Client_ListSecurityGroups_Call struct {
	*mock.Call
}

Client_ListSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecurityGroups'

func (*Client_ListSecurityGroups_Call) Return

func (*Client_ListSecurityGroups_Call) Run

func (*Client_ListSecurityGroups_Call) RunAndReturn

type Client_ListSubnets_Call

type Client_ListSubnets_Call struct {
	*mock.Call
}

Client_ListSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSubnets'

func (*Client_ListSubnets_Call) Return

func (*Client_ListSubnets_Call) Run

func (_c *Client_ListSubnets_Call) Run(run func()) *Client_ListSubnets_Call

func (*Client_ListSubnets_Call) RunAndReturn

func (_c *Client_ListSubnets_Call) RunAndReturn(run func() ([]*types.Subnet, error)) *Client_ListSubnets_Call

type Client_ListSyncTimes_Call

type Client_ListSyncTimes_Call struct {
	*mock.Call
}

Client_ListSyncTimes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSyncTimes'

func (*Client_ListSyncTimes_Call) Return

func (*Client_ListSyncTimes_Call) Run

func (*Client_ListSyncTimes_Call) RunAndReturn

func (_c *Client_ListSyncTimes_Call) RunAndReturn(run func() ([]*types.SyncTime, error)) *Client_ListSyncTimes_Call

type Client_ListVPCs_Call

type Client_ListVPCs_Call struct {
	*mock.Call
}

Client_ListVPCs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVPCs'

func (*Client_ListVPCs_Call) Return

func (_c *Client_ListVPCs_Call) Return(_a0 []*types.VPC, _a1 error) *Client_ListVPCs_Call

func (*Client_ListVPCs_Call) Run

func (_c *Client_ListVPCs_Call) Run(run func()) *Client_ListVPCs_Call

func (*Client_ListVPCs_Call) RunAndReturn

func (_c *Client_ListVPCs_Call) RunAndReturn(run func() ([]*types.VPC, error)) *Client_ListVPCs_Call

type Client_Open_Call

type Client_Open_Call struct {
	*mock.Call
}

Client_Open_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Open'

func (*Client_Open_Call) Return

func (_c *Client_Open_Call) Return(_a0 error) *Client_Open_Call

func (*Client_Open_Call) Run

func (_c *Client_Open_Call) Run(run func(filename string)) *Client_Open_Call

func (*Client_Open_Call) RunAndReturn

func (_c *Client_Open_Call) RunAndReturn(run func(string) error) *Client_Open_Call

type Client_PutACL_Call

type Client_PutACL_Call struct {
	*mock.Call
}

Client_PutACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutACL'

func (*Client_PutACL_Call) Return

func (_c *Client_PutACL_Call) Return(_a0 error) *Client_PutACL_Call

func (*Client_PutACL_Call) Run

func (_c *Client_PutACL_Call) Run(run func(acl *types.ACL)) *Client_PutACL_Call

func (*Client_PutACL_Call) RunAndReturn

func (_c *Client_PutACL_Call) RunAndReturn(run func(*types.ACL) error) *Client_PutACL_Call

type Client_PutCluster_Call

type Client_PutCluster_Call struct {
	*mock.Call
}

Client_PutCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutCluster'

func (*Client_PutCluster_Call) Return

func (*Client_PutCluster_Call) Run

func (_c *Client_PutCluster_Call) Run(run func(cluster *types.Cluster)) *Client_PutCluster_Call

func (*Client_PutCluster_Call) RunAndReturn

func (_c *Client_PutCluster_Call) RunAndReturn(run func(*types.Cluster) error) *Client_PutCluster_Call

type Client_PutInstance_Call

type Client_PutInstance_Call struct {
	*mock.Call
}

Client_PutInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutInstance'

func (*Client_PutInstance_Call) Return

func (*Client_PutInstance_Call) Run

func (_c *Client_PutInstance_Call) Run(run func(instance *types.Instance)) *Client_PutInstance_Call

func (*Client_PutInstance_Call) RunAndReturn

func (_c *Client_PutInstance_Call) RunAndReturn(run func(*types.Instance) error) *Client_PutInstance_Call

type Client_PutKubernetesNode_Call

type Client_PutKubernetesNode_Call struct {
	*mock.Call
}

Client_PutKubernetesNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutKubernetesNode'

func (*Client_PutKubernetesNode_Call) Return

func (*Client_PutKubernetesNode_Call) Run

func (*Client_PutKubernetesNode_Call) RunAndReturn

type Client_PutKubernetesService_Call

type Client_PutKubernetesService_Call struct {
	*mock.Call
}

Client_PutKubernetesService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutKubernetesService'

func (*Client_PutKubernetesService_Call) Return

func (*Client_PutKubernetesService_Call) Run

func (*Client_PutKubernetesService_Call) RunAndReturn

type Client_PutNamespace_Call

type Client_PutNamespace_Call struct {
	*mock.Call
}

Client_PutNamespace_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutNamespace'

func (*Client_PutNamespace_Call) Return

func (*Client_PutNamespace_Call) Run

func (_c *Client_PutNamespace_Call) Run(run func(namespace *types.Namespace)) *Client_PutNamespace_Call

func (*Client_PutNamespace_Call) RunAndReturn

type Client_PutPod_Call

type Client_PutPod_Call struct {
	*mock.Call
}

Client_PutPod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutPod'

func (*Client_PutPod_Call) Return

func (_c *Client_PutPod_Call) Return(_a0 error) *Client_PutPod_Call

func (*Client_PutPod_Call) Run

func (_c *Client_PutPod_Call) Run(run func(pod *types.Pod)) *Client_PutPod_Call

func (*Client_PutPod_Call) RunAndReturn

func (_c *Client_PutPod_Call) RunAndReturn(run func(*types.Pod) error) *Client_PutPod_Call

type Client_PutRouteTable_Call

type Client_PutRouteTable_Call struct {
	*mock.Call
}

Client_PutRouteTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRouteTable'

func (*Client_PutRouteTable_Call) Return

func (*Client_PutRouteTable_Call) Run

func (_c *Client_PutRouteTable_Call) Run(run func(routeTable *types.RouteTable)) *Client_PutRouteTable_Call

func (*Client_PutRouteTable_Call) RunAndReturn

type Client_PutSecurityGroup_Call

type Client_PutSecurityGroup_Call struct {
	*mock.Call
}

Client_PutSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSecurityGroup'

func (*Client_PutSecurityGroup_Call) Return

func (*Client_PutSecurityGroup_Call) Run

func (*Client_PutSecurityGroup_Call) RunAndReturn

type Client_PutSubnet_Call

type Client_PutSubnet_Call struct {
	*mock.Call
}

Client_PutSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubnet'

func (*Client_PutSubnet_Call) Return

func (*Client_PutSubnet_Call) Run

func (_c *Client_PutSubnet_Call) Run(run func(subnet *types.Subnet)) *Client_PutSubnet_Call

func (*Client_PutSubnet_Call) RunAndReturn

func (_c *Client_PutSubnet_Call) RunAndReturn(run func(*types.Subnet) error) *Client_PutSubnet_Call

type Client_PutSyncTime_Call

type Client_PutSyncTime_Call struct {
	*mock.Call
}

Client_PutSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSyncTime'

func (*Client_PutSyncTime_Call) Return

func (*Client_PutSyncTime_Call) Run

func (*Client_PutSyncTime_Call) RunAndReturn

func (_c *Client_PutSyncTime_Call) RunAndReturn(run func(*types.SyncTime) error) *Client_PutSyncTime_Call

type Client_PutVPC_Call

type Client_PutVPC_Call struct {
	*mock.Call
}

Client_PutVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutVPC'

func (*Client_PutVPC_Call) Return

func (_c *Client_PutVPC_Call) Return(_a0 error) *Client_PutVPC_Call

func (*Client_PutVPC_Call) Run

func (_c *Client_PutVPC_Call) Run(run func(vpc *types.VPC)) *Client_PutVPC_Call

func (*Client_PutVPC_Call) RunAndReturn

func (_c *Client_PutVPC_Call) RunAndReturn(run func(*types.VPC) error) *Client_PutVPC_Call

type CloudProvider

type CloudProvider struct {
	mock.Mock
}

CloudProvider is an autogenerated mock type for the CloudProvider type

func NewCloudProvider

func NewCloudProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *CloudProvider

NewCloudProvider creates a new instance of CloudProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CloudProvider) AddInboundAllowRuleByInstanceIPMatch

func (_m *CloudProvider) AddInboundAllowRuleByInstanceIPMatch(ctx context.Context, account string, region string, vpcID string, ruleName string, instancesIPs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, []types.Instance, error)

AddInboundAllowRuleByInstanceIPMatch provides a mock function with given fields: ctx, account, region, vpcID, ruleName, instancesIPs, cidrsToAllow, protocolsAndPorts

func (*CloudProvider) AddInboundAllowRuleByLabelsMatch

func (_m *CloudProvider) AddInboundAllowRuleByLabelsMatch(ctx context.Context, account string, region string, vpcID string, ruleName string, labels map[string]string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, []types.Instance, error)

AddInboundAllowRuleByLabelsMatch provides a mock function with given fields: ctx, account, region, vpcID, ruleName, labels, cidrsToAllow, protocolsAndPorts

func (*CloudProvider) AddInboundAllowRuleBySubnetMatch

func (_m *CloudProvider) AddInboundAllowRuleBySubnetMatch(ctx context.Context, account string, region string, vpcID string, ruleName string, subnetCidrs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, []types.Instance, []types.Subnet, error)

AddInboundAllowRuleBySubnetMatch provides a mock function with given fields: ctx, account, region, vpcID, ruleName, subnetCidrs, cidrsToAllow, protocolsAndPorts

func (*CloudProvider) AddInboundAllowRuleForLoadBalancerByDNS

func (_m *CloudProvider) AddInboundAllowRuleForLoadBalancerByDNS(ctx context.Context, account string, region string, loadBalancerDNS string, vpcID string, ruleName string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts) (string, string, error)

AddInboundAllowRuleForLoadBalancerByDNS provides a mock function with given fields: ctx, account, region, loadBalancerDNS, vpcID, ruleName, cidrsToAllow, protocolsAndPorts

func (*CloudProvider) AddInboundAllowRuleInVPC

func (_m *CloudProvider) AddInboundAllowRuleInVPC(ctx context.Context, account string, region string, destinationVpcID string, cidrsToAllow []string, ruleName string, tags map[string]string) error

AddInboundAllowRuleInVPC provides a mock function with given fields: ctx, account, region, destinationVpcID, cidrsToAllow, ruleName, tags

func (*CloudProvider) ConnectVPCs

ConnectVPCs provides a mock function with given fields: ctx, input

func (*CloudProvider) DisconnectVPCs

DisconnectVPCs provides a mock function with given fields: ctx, input

func (*CloudProvider) EXPECT

func (_m *CloudProvider) EXPECT() *CloudProvider_Expecter

func (*CloudProvider) GetCIDRsForLabels

func (_m *CloudProvider) GetCIDRsForLabels(ctx context.Context, input *infrapb.GetCIDRsForLabelsRequest) ([]string, error)

GetCIDRsForLabels provides a mock function with given fields: ctx, input

func (*CloudProvider) GetIPsForLabels

func (_m *CloudProvider) GetIPsForLabels(ctx context.Context, input *infrapb.GetIPsForLabelsRequest) ([]string, error)

GetIPsForLabels provides a mock function with given fields: ctx, input

func (*CloudProvider) GetInstancesForLabels

func (_m *CloudProvider) GetInstancesForLabels(ctx context.Context, input *infrapb.GetInstancesForLabelsRequest) ([]types.Instance, error)

GetInstancesForLabels provides a mock function with given fields: ctx, input

func (*CloudProvider) GetName

func (_m *CloudProvider) GetName() string

GetName provides a mock function with given fields:

func (*CloudProvider) GetSubnet

func (_m *CloudProvider) GetSubnet(ctx context.Context, input *infrapb.GetSubnetRequest) (types.Subnet, error)

GetSubnet provides a mock function with given fields: ctx, input

func (*CloudProvider) GetSyncTime

func (_m *CloudProvider) GetSyncTime(id string) (types.SyncTime, error)

GetSyncTime provides a mock function with given fields: id

func (*CloudProvider) GetVPCIDForCIDR

func (_m *CloudProvider) GetVPCIDForCIDR(ctx context.Context, input *infrapb.GetVPCIDForCIDRRequest) (string, error)

GetVPCIDForCIDR provides a mock function with given fields: ctx, input

func (*CloudProvider) GetVPCIDWithTag

func (_m *CloudProvider) GetVPCIDWithTag(ctx context.Context, input *infrapb.GetVPCIDWithTagRequest) (string, error)

GetVPCIDWithTag provides a mock function with given fields: ctx, input

func (*CloudProvider) ListACLs

func (_m *CloudProvider) ListACLs(ctx context.Context, input *infrapb.ListACLsRequest) ([]types.ACL, error)

ListACLs provides a mock function with given fields: ctx, input

func (*CloudProvider) ListAccounts

func (_m *CloudProvider) ListAccounts() []types.Account

ListAccounts provides a mock function with given fields:

func (*CloudProvider) ListClusters

func (_m *CloudProvider) ListClusters(ctx context.Context, input *infrapb.ListCloudClustersRequest) ([]types.Cluster, error)

ListClusters provides a mock function with given fields: ctx, input

func (*CloudProvider) ListInstances

func (_m *CloudProvider) ListInstances(ctx context.Context, input *infrapb.ListInstancesRequest) ([]types.Instance, error)

ListInstances provides a mock function with given fields: ctx, input

func (*CloudProvider) ListRouteTables

func (_m *CloudProvider) ListRouteTables(ctx context.Context, input *infrapb.ListRouteTablesRequest) ([]types.RouteTable, error)

ListRouteTables provides a mock function with given fields: ctx, input

func (*CloudProvider) ListSecurityGroups

func (_m *CloudProvider) ListSecurityGroups(ctx context.Context, input *infrapb.ListSecurityGroupsRequest) ([]types.SecurityGroup, error)

ListSecurityGroups provides a mock function with given fields: ctx, input

func (*CloudProvider) ListSubnets

func (_m *CloudProvider) ListSubnets(ctx context.Context, input *infrapb.ListSubnetsRequest) ([]types.Subnet, error)

ListSubnets provides a mock function with given fields: ctx, input

func (*CloudProvider) ListVPC

func (_m *CloudProvider) ListVPC(ctx context.Context, input *infrapb.ListVPCRequest) ([]types.VPC, error)

ListVPC provides a mock function with given fields: ctx, input

func (*CloudProvider) RefreshInboundAllowRule

func (_m *CloudProvider) RefreshInboundAllowRule(ctx context.Context, account string, region string, ruleId string, cidrsToAdd []string, cidrsToRemove []string, destinationLabels map[string]string, destinationPrefixes []string, destinationVPCId string, protocolsAndPorts types.ProtocolsAndPorts) ([]types.Instance, []types.Subnet, error)

RefreshInboundAllowRule provides a mock function with given fields: ctx, account, region, ruleId, cidrsToAdd, cidrsToRemove, destinationLabels, destinationPrefixes, destinationVPCId, protocolsAndPorts

func (*CloudProvider) RemoveInboundAllowRuleFromVPCByName

func (_m *CloudProvider) RemoveInboundAllowRuleFromVPCByName(ctx context.Context, account string, region string, vpcID string, ruleName string) error

RemoveInboundAllowRuleFromVPCByName provides a mock function with given fields: ctx, account, region, vpcID, ruleName

func (*CloudProvider) RemoveInboundAllowRuleRulesByTags

func (_m *CloudProvider) RemoveInboundAllowRuleRulesByTags(ctx context.Context, account string, region string, vpcID string, ruleName string, tags map[string]string) error

RemoveInboundAllowRuleRulesByTags provides a mock function with given fields: ctx, account, region, vpcID, ruleName, tags

func (*CloudProvider) RemoveInboundAllowRulesFromVPCById

func (_m *CloudProvider) RemoveInboundAllowRulesFromVPCById(ctx context.Context, account string, region string, vpcID string, instanceIDs []string, loadBalancersIDs []string, ruleId string) error

RemoveInboundAllowRulesFromVPCById provides a mock function with given fields: ctx, account, region, vpcID, instanceIDs, loadBalancersIDs, ruleId

func (*CloudProvider) RetrieveClustersData

func (_m *CloudProvider) RetrieveClustersData(ctx context.Context) ([]cluster.DiscoveredCluster, error)

RetrieveClustersData provides a mock function with given fields: ctx

type CloudProviderServiceClient

type CloudProviderServiceClient struct {
	mock.Mock
}

CloudProviderServiceClient is an autogenerated mock type for the CloudProviderServiceClient type

func NewCloudProviderServiceClient

func NewCloudProviderServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *CloudProviderServiceClient

NewCloudProviderServiceClient creates a new instance of CloudProviderServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CloudProviderServiceClient) EXPECT

func (*CloudProviderServiceClient) GetCIDRsForLabels

GetCIDRsForLabels provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) GetIPsForLabels

GetIPsForLabels provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) GetInstancesForLabels

GetInstancesForLabels provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) GetSubnet

GetSubnet provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) GetVPCIDForCIDR

GetVPCIDForCIDR provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) GetVPCIDWithTag

GetVPCIDWithTag provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListACLs

ListACLs provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListAccounts

ListAccounts provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListCloudClusters

ListCloudClusters provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListInstances

ListInstances provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListRouteTables

ListRouteTables provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListSecurityGroups

ListSecurityGroups provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListSubnets

ListSubnets provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) ListVPC

ListVPC provides a mock function with given fields: ctx, in, opts

func (*CloudProviderServiceClient) Summary

Summary provides a mock function with given fields: ctx, in, opts

type CloudProviderServiceClient_Expecter

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

func (*CloudProviderServiceClient_Expecter) GetCIDRsForLabels

func (_e *CloudProviderServiceClient_Expecter) GetCIDRsForLabels(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetCIDRsForLabels_Call

GetCIDRsForLabels is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.GetCIDRsForLabelsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) GetIPsForLabels

func (_e *CloudProviderServiceClient_Expecter) GetIPsForLabels(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetIPsForLabels_Call

GetIPsForLabels is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.GetIPsForLabelsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) GetInstancesForLabels

func (_e *CloudProviderServiceClient_Expecter) GetInstancesForLabels(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetInstancesForLabels_Call

GetInstancesForLabels is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.GetInstancesForLabelsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) GetSubnet

func (_e *CloudProviderServiceClient_Expecter) GetSubnet(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetSubnet_Call

GetSubnet is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.GetSubnetRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) GetVPCIDForCIDR

func (_e *CloudProviderServiceClient_Expecter) GetVPCIDForCIDR(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetVPCIDForCIDR_Call

GetVPCIDForCIDR is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.GetVPCIDForCIDRRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) GetVPCIDWithTag

func (_e *CloudProviderServiceClient_Expecter) GetVPCIDWithTag(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetVPCIDWithTag_Call

GetVPCIDWithTag is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.GetVPCIDWithTagRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListACLs

func (_e *CloudProviderServiceClient_Expecter) ListACLs(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListACLs_Call

ListACLs is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListACLsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListAccounts

func (_e *CloudProviderServiceClient_Expecter) ListAccounts(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListAccounts_Call

ListAccounts is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListAccountsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListCloudClusters

func (_e *CloudProviderServiceClient_Expecter) ListCloudClusters(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListCloudClusters_Call

ListCloudClusters is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListCloudClustersRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListInstances

func (_e *CloudProviderServiceClient_Expecter) ListInstances(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListInstances_Call

ListInstances is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListInstancesRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListRouteTables

func (_e *CloudProviderServiceClient_Expecter) ListRouteTables(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListRouteTables_Call

ListRouteTables is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListRouteTablesRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListSecurityGroups

func (_e *CloudProviderServiceClient_Expecter) ListSecurityGroups(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListSecurityGroups_Call

ListSecurityGroups is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListSecurityGroupsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListSubnets

func (_e *CloudProviderServiceClient_Expecter) ListSubnets(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListSubnets_Call

ListSubnets is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListSubnetsRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) ListVPC

func (_e *CloudProviderServiceClient_Expecter) ListVPC(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListVPC_Call

ListVPC is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListVPCRequest
  • opts ...grpc.CallOption

func (*CloudProviderServiceClient_Expecter) Summary

func (_e *CloudProviderServiceClient_Expecter) Summary(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_Summary_Call

Summary is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.SummaryRequest
  • opts ...grpc.CallOption

type CloudProviderServiceClient_GetCIDRsForLabels_Call

type CloudProviderServiceClient_GetCIDRsForLabels_Call struct {
	*mock.Call
}

CloudProviderServiceClient_GetCIDRsForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCIDRsForLabels'

func (*CloudProviderServiceClient_GetCIDRsForLabels_Call) Return

func (*CloudProviderServiceClient_GetCIDRsForLabels_Call) Run

type CloudProviderServiceClient_GetIPsForLabels_Call

type CloudProviderServiceClient_GetIPsForLabels_Call struct {
	*mock.Call
}

CloudProviderServiceClient_GetIPsForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIPsForLabels'

func (*CloudProviderServiceClient_GetIPsForLabels_Call) Return

func (*CloudProviderServiceClient_GetIPsForLabels_Call) Run

type CloudProviderServiceClient_GetInstancesForLabels_Call

type CloudProviderServiceClient_GetInstancesForLabels_Call struct {
	*mock.Call
}

CloudProviderServiceClient_GetInstancesForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstancesForLabels'

func (*CloudProviderServiceClient_GetInstancesForLabels_Call) Run

type CloudProviderServiceClient_GetSubnet_Call

type CloudProviderServiceClient_GetSubnet_Call struct {
	*mock.Call
}

CloudProviderServiceClient_GetSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubnet'

func (*CloudProviderServiceClient_GetSubnet_Call) Return

func (*CloudProviderServiceClient_GetSubnet_Call) Run

type CloudProviderServiceClient_GetVPCIDForCIDR_Call

type CloudProviderServiceClient_GetVPCIDForCIDR_Call struct {
	*mock.Call
}

CloudProviderServiceClient_GetVPCIDForCIDR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPCIDForCIDR'

func (*CloudProviderServiceClient_GetVPCIDForCIDR_Call) Return

func (*CloudProviderServiceClient_GetVPCIDForCIDR_Call) Run

type CloudProviderServiceClient_GetVPCIDWithTag_Call

type CloudProviderServiceClient_GetVPCIDWithTag_Call struct {
	*mock.Call
}

CloudProviderServiceClient_GetVPCIDWithTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPCIDWithTag'

func (*CloudProviderServiceClient_GetVPCIDWithTag_Call) Return

func (*CloudProviderServiceClient_GetVPCIDWithTag_Call) Run

type CloudProviderServiceClient_ListACLs_Call

type CloudProviderServiceClient_ListACLs_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListACLs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListACLs'

func (*CloudProviderServiceClient_ListACLs_Call) Return

func (*CloudProviderServiceClient_ListACLs_Call) Run

type CloudProviderServiceClient_ListAccounts_Call

type CloudProviderServiceClient_ListAccounts_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAccounts'

func (*CloudProviderServiceClient_ListAccounts_Call) Return

func (*CloudProviderServiceClient_ListAccounts_Call) Run

type CloudProviderServiceClient_ListCloudClusters_Call

type CloudProviderServiceClient_ListCloudClusters_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListCloudClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCloudClusters'

func (*CloudProviderServiceClient_ListCloudClusters_Call) Return

func (*CloudProviderServiceClient_ListCloudClusters_Call) Run

type CloudProviderServiceClient_ListInstances_Call

type CloudProviderServiceClient_ListInstances_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInstances'

func (*CloudProviderServiceClient_ListInstances_Call) Return

func (*CloudProviderServiceClient_ListInstances_Call) Run

type CloudProviderServiceClient_ListRouteTables_Call

type CloudProviderServiceClient_ListRouteTables_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListRouteTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRouteTables'

func (*CloudProviderServiceClient_ListRouteTables_Call) Return

func (*CloudProviderServiceClient_ListRouteTables_Call) Run

type CloudProviderServiceClient_ListSecurityGroups_Call

type CloudProviderServiceClient_ListSecurityGroups_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecurityGroups'

func (*CloudProviderServiceClient_ListSecurityGroups_Call) Run

type CloudProviderServiceClient_ListSubnets_Call

type CloudProviderServiceClient_ListSubnets_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSubnets'

func (*CloudProviderServiceClient_ListSubnets_Call) Return

func (*CloudProviderServiceClient_ListSubnets_Call) Run

type CloudProviderServiceClient_ListVPC_Call

type CloudProviderServiceClient_ListVPC_Call struct {
	*mock.Call
}

CloudProviderServiceClient_ListVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVPC'

func (*CloudProviderServiceClient_ListVPC_Call) Return

func (*CloudProviderServiceClient_ListVPC_Call) Run

type CloudProviderServiceClient_Summary_Call

type CloudProviderServiceClient_Summary_Call struct {
	*mock.Call
}

CloudProviderServiceClient_Summary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Summary'

func (*CloudProviderServiceClient_Summary_Call) Return

func (*CloudProviderServiceClient_Summary_Call) Run

type CloudProviderServiceServer

type CloudProviderServiceServer struct {
	mock.Mock
}

CloudProviderServiceServer is an autogenerated mock type for the CloudProviderServiceServer type

func NewCloudProviderServiceServer

func NewCloudProviderServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CloudProviderServiceServer

NewCloudProviderServiceServer creates a new instance of CloudProviderServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CloudProviderServiceServer) EXPECT

func (*CloudProviderServiceServer) GetCIDRsForLabels

GetCIDRsForLabels provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) GetIPsForLabels

GetIPsForLabels provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) GetInstancesForLabels

GetInstancesForLabels provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) GetSubnet

GetSubnet provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) GetVPCIDForCIDR

GetVPCIDForCIDR provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) GetVPCIDWithTag

GetVPCIDWithTag provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListACLs

ListACLs provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListAccounts

ListAccounts provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListCloudClusters

ListCloudClusters provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListInstances

ListInstances provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListRouteTables

ListRouteTables provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListSecurityGroups

ListSecurityGroups provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListSubnets

ListSubnets provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) ListVPC

ListVPC provides a mock function with given fields: _a0, _a1

func (*CloudProviderServiceServer) Summary

Summary provides a mock function with given fields: _a0, _a1

type CloudProviderServiceServer_Expecter

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

func (*CloudProviderServiceServer_Expecter) GetCIDRsForLabels

func (_e *CloudProviderServiceServer_Expecter) GetCIDRsForLabels(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetCIDRsForLabels_Call

GetCIDRsForLabels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.GetCIDRsForLabelsRequest

func (*CloudProviderServiceServer_Expecter) GetIPsForLabels

func (_e *CloudProviderServiceServer_Expecter) GetIPsForLabels(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetIPsForLabels_Call

GetIPsForLabels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.GetIPsForLabelsRequest

func (*CloudProviderServiceServer_Expecter) GetInstancesForLabels

func (_e *CloudProviderServiceServer_Expecter) GetInstancesForLabels(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetInstancesForLabels_Call

GetInstancesForLabels is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.GetInstancesForLabelsRequest

func (*CloudProviderServiceServer_Expecter) GetSubnet

func (_e *CloudProviderServiceServer_Expecter) GetSubnet(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetSubnet_Call

GetSubnet is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.GetSubnetRequest

func (*CloudProviderServiceServer_Expecter) GetVPCIDForCIDR

func (_e *CloudProviderServiceServer_Expecter) GetVPCIDForCIDR(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetVPCIDForCIDR_Call

GetVPCIDForCIDR is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.GetVPCIDForCIDRRequest

func (*CloudProviderServiceServer_Expecter) GetVPCIDWithTag

func (_e *CloudProviderServiceServer_Expecter) GetVPCIDWithTag(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetVPCIDWithTag_Call

GetVPCIDWithTag is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.GetVPCIDWithTagRequest

func (*CloudProviderServiceServer_Expecter) ListACLs

func (_e *CloudProviderServiceServer_Expecter) ListACLs(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListACLs_Call

ListACLs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListACLsRequest

func (*CloudProviderServiceServer_Expecter) ListAccounts

func (_e *CloudProviderServiceServer_Expecter) ListAccounts(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListAccounts_Call

ListAccounts is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListAccountsRequest

func (*CloudProviderServiceServer_Expecter) ListCloudClusters

func (_e *CloudProviderServiceServer_Expecter) ListCloudClusters(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListCloudClusters_Call

ListCloudClusters is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListCloudClustersRequest

func (*CloudProviderServiceServer_Expecter) ListInstances

func (_e *CloudProviderServiceServer_Expecter) ListInstances(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListInstances_Call

ListInstances is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListInstancesRequest

func (*CloudProviderServiceServer_Expecter) ListRouteTables

func (_e *CloudProviderServiceServer_Expecter) ListRouteTables(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListRouteTables_Call

ListRouteTables is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListRouteTablesRequest

func (*CloudProviderServiceServer_Expecter) ListSecurityGroups

func (_e *CloudProviderServiceServer_Expecter) ListSecurityGroups(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListSecurityGroups_Call

ListSecurityGroups is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListSecurityGroupsRequest

func (*CloudProviderServiceServer_Expecter) ListSubnets

func (_e *CloudProviderServiceServer_Expecter) ListSubnets(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListSubnets_Call

ListSubnets is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListSubnetsRequest

func (*CloudProviderServiceServer_Expecter) ListVPC

func (_e *CloudProviderServiceServer_Expecter) ListVPC(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListVPC_Call

ListVPC is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListVPCRequest

func (*CloudProviderServiceServer_Expecter) Summary

func (_e *CloudProviderServiceServer_Expecter) Summary(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_Summary_Call

Summary is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.SummaryRequest

type CloudProviderServiceServer_GetCIDRsForLabels_Call

type CloudProviderServiceServer_GetCIDRsForLabels_Call struct {
	*mock.Call
}

CloudProviderServiceServer_GetCIDRsForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCIDRsForLabels'

func (*CloudProviderServiceServer_GetCIDRsForLabels_Call) Return

func (*CloudProviderServiceServer_GetCIDRsForLabels_Call) Run

type CloudProviderServiceServer_GetIPsForLabels_Call

type CloudProviderServiceServer_GetIPsForLabels_Call struct {
	*mock.Call
}

CloudProviderServiceServer_GetIPsForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIPsForLabels'

func (*CloudProviderServiceServer_GetIPsForLabels_Call) Return

func (*CloudProviderServiceServer_GetIPsForLabels_Call) Run

type CloudProviderServiceServer_GetInstancesForLabels_Call

type CloudProviderServiceServer_GetInstancesForLabels_Call struct {
	*mock.Call
}

CloudProviderServiceServer_GetInstancesForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstancesForLabels'

func (*CloudProviderServiceServer_GetInstancesForLabels_Call) Run

type CloudProviderServiceServer_GetSubnet_Call

type CloudProviderServiceServer_GetSubnet_Call struct {
	*mock.Call
}

CloudProviderServiceServer_GetSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubnet'

func (*CloudProviderServiceServer_GetSubnet_Call) Return

func (*CloudProviderServiceServer_GetSubnet_Call) Run

type CloudProviderServiceServer_GetVPCIDForCIDR_Call

type CloudProviderServiceServer_GetVPCIDForCIDR_Call struct {
	*mock.Call
}

CloudProviderServiceServer_GetVPCIDForCIDR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPCIDForCIDR'

func (*CloudProviderServiceServer_GetVPCIDForCIDR_Call) Return

func (*CloudProviderServiceServer_GetVPCIDForCIDR_Call) Run

type CloudProviderServiceServer_GetVPCIDWithTag_Call

type CloudProviderServiceServer_GetVPCIDWithTag_Call struct {
	*mock.Call
}

CloudProviderServiceServer_GetVPCIDWithTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPCIDWithTag'

func (*CloudProviderServiceServer_GetVPCIDWithTag_Call) Return

func (*CloudProviderServiceServer_GetVPCIDWithTag_Call) Run

type CloudProviderServiceServer_ListACLs_Call

type CloudProviderServiceServer_ListACLs_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListACLs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListACLs'

func (*CloudProviderServiceServer_ListACLs_Call) Return

func (*CloudProviderServiceServer_ListACLs_Call) Run

type CloudProviderServiceServer_ListAccounts_Call

type CloudProviderServiceServer_ListAccounts_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAccounts'

func (*CloudProviderServiceServer_ListAccounts_Call) Return

func (*CloudProviderServiceServer_ListAccounts_Call) Run

type CloudProviderServiceServer_ListCloudClusters_Call

type CloudProviderServiceServer_ListCloudClusters_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListCloudClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListCloudClusters'

func (*CloudProviderServiceServer_ListCloudClusters_Call) Return

func (*CloudProviderServiceServer_ListCloudClusters_Call) Run

type CloudProviderServiceServer_ListInstances_Call

type CloudProviderServiceServer_ListInstances_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInstances'

func (*CloudProviderServiceServer_ListInstances_Call) Return

func (*CloudProviderServiceServer_ListInstances_Call) Run

type CloudProviderServiceServer_ListRouteTables_Call

type CloudProviderServiceServer_ListRouteTables_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListRouteTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRouteTables'

func (*CloudProviderServiceServer_ListRouteTables_Call) Return

func (*CloudProviderServiceServer_ListRouteTables_Call) Run

type CloudProviderServiceServer_ListSecurityGroups_Call

type CloudProviderServiceServer_ListSecurityGroups_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecurityGroups'

func (*CloudProviderServiceServer_ListSecurityGroups_Call) Run

type CloudProviderServiceServer_ListSubnets_Call

type CloudProviderServiceServer_ListSubnets_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSubnets'

func (*CloudProviderServiceServer_ListSubnets_Call) Return

func (*CloudProviderServiceServer_ListSubnets_Call) Run

type CloudProviderServiceServer_ListVPC_Call

type CloudProviderServiceServer_ListVPC_Call struct {
	*mock.Call
}

CloudProviderServiceServer_ListVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVPC'

func (*CloudProviderServiceServer_ListVPC_Call) Return

func (*CloudProviderServiceServer_ListVPC_Call) Run

type CloudProviderServiceServer_Summary_Call

type CloudProviderServiceServer_Summary_Call struct {
	*mock.Call
}

CloudProviderServiceServer_Summary_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Summary'

func (*CloudProviderServiceServer_Summary_Call) Return

func (*CloudProviderServiceServer_Summary_Call) Run

type CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call

type CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call struct {
	*mock.Call
}

CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedCloudProviderServiceServer'

func (*CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Return

func (*CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Run

func (*CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) RunAndReturn

type CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call

type CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call struct {
	*mock.Call
}

CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByInstanceIPMatch'

func (*CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) Return

func (*CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) Run

func (_c *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, instancesIPs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call

type CloudProvider_AddInboundAllowRuleByLabelsMatch_Call

type CloudProvider_AddInboundAllowRuleByLabelsMatch_Call struct {
	*mock.Call
}

CloudProvider_AddInboundAllowRuleByLabelsMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByLabelsMatch'

func (*CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) Return

func (*CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) Run

func (_c *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, labels map[string]string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call

type CloudProvider_AddInboundAllowRuleBySubnetMatch_Call

type CloudProvider_AddInboundAllowRuleBySubnetMatch_Call struct {
	*mock.Call
}

CloudProvider_AddInboundAllowRuleBySubnetMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleBySubnetMatch'

func (*CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) Return

func (*CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) Run

func (_c *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, subnetCidrs []string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call

type CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call

type CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call struct {
	*mock.Call
}

CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleForLoadBalancerByDNS'

func (*CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return

func (*CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run

func (_c *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run(run func(ctx context.Context, account string, region string, loadBalancerDNS string, vpcID string, ruleName string, cidrsToAllow []string, protocolsAndPorts types.ProtocolsAndPorts)) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call

type CloudProvider_AddInboundAllowRuleInVPC_Call

type CloudProvider_AddInboundAllowRuleInVPC_Call struct {
	*mock.Call
}

CloudProvider_AddInboundAllowRuleInVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleInVPC'

func (*CloudProvider_AddInboundAllowRuleInVPC_Call) Return

func (*CloudProvider_AddInboundAllowRuleInVPC_Call) Run

func (_c *CloudProvider_AddInboundAllowRuleInVPC_Call) Run(run func(ctx context.Context, account string, region string, destinationVpcID string, cidrsToAllow []string, ruleName string, tags map[string]string)) *CloudProvider_AddInboundAllowRuleInVPC_Call

func (*CloudProvider_AddInboundAllowRuleInVPC_Call) RunAndReturn

type CloudProvider_ConnectVPCs_Call

type CloudProvider_ConnectVPCs_Call struct {
	*mock.Call
}

CloudProvider_ConnectVPCs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConnectVPCs'

func (*CloudProvider_ConnectVPCs_Call) Return

func (*CloudProvider_ConnectVPCs_Call) Run

type CloudProvider_DisconnectVPCs_Call

type CloudProvider_DisconnectVPCs_Call struct {
	*mock.Call
}

CloudProvider_DisconnectVPCs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisconnectVPCs'

func (*CloudProvider_DisconnectVPCs_Call) Return

func (*CloudProvider_DisconnectVPCs_Call) Run

type CloudProvider_Expecter

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

func (*CloudProvider_Expecter) AddInboundAllowRuleByInstanceIPMatch

func (_e *CloudProvider_Expecter) AddInboundAllowRuleByInstanceIPMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, instancesIPs interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call

AddInboundAllowRuleByInstanceIPMatch is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • instancesIPs []string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*CloudProvider_Expecter) AddInboundAllowRuleByLabelsMatch

func (_e *CloudProvider_Expecter) AddInboundAllowRuleByLabelsMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, labels interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call

AddInboundAllowRuleByLabelsMatch is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • labels map[string]string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*CloudProvider_Expecter) AddInboundAllowRuleBySubnetMatch

func (_e *CloudProvider_Expecter) AddInboundAllowRuleBySubnetMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, subnetCidrs interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call

AddInboundAllowRuleBySubnetMatch is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • subnetCidrs []string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*CloudProvider_Expecter) AddInboundAllowRuleForLoadBalancerByDNS

func (_e *CloudProvider_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(ctx interface{}, account interface{}, region interface{}, loadBalancerDNS interface{}, vpcID interface{}, ruleName interface{}, cidrsToAllow interface{}, protocolsAndPorts interface{}) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call

AddInboundAllowRuleForLoadBalancerByDNS is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • loadBalancerDNS string
  • vpcID string
  • ruleName string
  • cidrsToAllow []string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*CloudProvider_Expecter) AddInboundAllowRuleInVPC

func (_e *CloudProvider_Expecter) AddInboundAllowRuleInVPC(ctx interface{}, account interface{}, region interface{}, destinationVpcID interface{}, cidrsToAllow interface{}, ruleName interface{}, tags interface{}) *CloudProvider_AddInboundAllowRuleInVPC_Call

AddInboundAllowRuleInVPC is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • destinationVpcID string
  • cidrsToAllow []string
  • ruleName string
  • tags map[string]string

func (*CloudProvider_Expecter) ConnectVPCs

func (_e *CloudProvider_Expecter) ConnectVPCs(ctx interface{}, input interface{}) *CloudProvider_ConnectVPCs_Call

ConnectVPCs is a helper method to define mock.On call

  • ctx context.Context
  • input types.VPCConnectionParams

func (*CloudProvider_Expecter) DisconnectVPCs

func (_e *CloudProvider_Expecter) DisconnectVPCs(ctx interface{}, input interface{}) *CloudProvider_DisconnectVPCs_Call

DisconnectVPCs is a helper method to define mock.On call

  • ctx context.Context
  • input types.VPCDisconnectionParams

func (*CloudProvider_Expecter) GetCIDRsForLabels

func (_e *CloudProvider_Expecter) GetCIDRsForLabels(ctx interface{}, input interface{}) *CloudProvider_GetCIDRsForLabels_Call

GetCIDRsForLabels is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.GetCIDRsForLabelsRequest

func (*CloudProvider_Expecter) GetIPsForLabels

func (_e *CloudProvider_Expecter) GetIPsForLabels(ctx interface{}, input interface{}) *CloudProvider_GetIPsForLabels_Call

GetIPsForLabels is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.GetIPsForLabelsRequest

func (*CloudProvider_Expecter) GetInstancesForLabels

func (_e *CloudProvider_Expecter) GetInstancesForLabels(ctx interface{}, input interface{}) *CloudProvider_GetInstancesForLabels_Call

GetInstancesForLabels is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.GetInstancesForLabelsRequest

func (*CloudProvider_Expecter) GetName

GetName is a helper method to define mock.On call

func (*CloudProvider_Expecter) GetSubnet

func (_e *CloudProvider_Expecter) GetSubnet(ctx interface{}, input interface{}) *CloudProvider_GetSubnet_Call

GetSubnet is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.GetSubnetRequest

func (*CloudProvider_Expecter) GetSyncTime

func (_e *CloudProvider_Expecter) GetSyncTime(id interface{}) *CloudProvider_GetSyncTime_Call

GetSyncTime is a helper method to define mock.On call

  • id string

func (*CloudProvider_Expecter) GetVPCIDForCIDR

func (_e *CloudProvider_Expecter) GetVPCIDForCIDR(ctx interface{}, input interface{}) *CloudProvider_GetVPCIDForCIDR_Call

GetVPCIDForCIDR is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.GetVPCIDForCIDRRequest

func (*CloudProvider_Expecter) GetVPCIDWithTag

func (_e *CloudProvider_Expecter) GetVPCIDWithTag(ctx interface{}, input interface{}) *CloudProvider_GetVPCIDWithTag_Call

GetVPCIDWithTag is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.GetVPCIDWithTagRequest

func (*CloudProvider_Expecter) ListACLs

func (_e *CloudProvider_Expecter) ListACLs(ctx interface{}, input interface{}) *CloudProvider_ListACLs_Call

ListACLs is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListACLsRequest

func (*CloudProvider_Expecter) ListAccounts

ListAccounts is a helper method to define mock.On call

func (*CloudProvider_Expecter) ListClusters

func (_e *CloudProvider_Expecter) ListClusters(ctx interface{}, input interface{}) *CloudProvider_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListCloudClustersRequest

func (*CloudProvider_Expecter) ListInstances

func (_e *CloudProvider_Expecter) ListInstances(ctx interface{}, input interface{}) *CloudProvider_ListInstances_Call

ListInstances is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListInstancesRequest

func (*CloudProvider_Expecter) ListRouteTables

func (_e *CloudProvider_Expecter) ListRouteTables(ctx interface{}, input interface{}) *CloudProvider_ListRouteTables_Call

ListRouteTables is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListRouteTablesRequest

func (*CloudProvider_Expecter) ListSecurityGroups

func (_e *CloudProvider_Expecter) ListSecurityGroups(ctx interface{}, input interface{}) *CloudProvider_ListSecurityGroups_Call

ListSecurityGroups is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListSecurityGroupsRequest

func (*CloudProvider_Expecter) ListSubnets

func (_e *CloudProvider_Expecter) ListSubnets(ctx interface{}, input interface{}) *CloudProvider_ListSubnets_Call

ListSubnets is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListSubnetsRequest

func (*CloudProvider_Expecter) ListVPC

func (_e *CloudProvider_Expecter) ListVPC(ctx interface{}, input interface{}) *CloudProvider_ListVPC_Call

ListVPC is a helper method to define mock.On call

  • ctx context.Context
  • input *infrapb.ListVPCRequest

func (*CloudProvider_Expecter) RefreshInboundAllowRule

func (_e *CloudProvider_Expecter) RefreshInboundAllowRule(ctx interface{}, account interface{}, region interface{}, ruleId interface{}, cidrsToAdd interface{}, cidrsToRemove interface{}, destinationLabels interface{}, destinationPrefixes interface{}, destinationVPCId interface{}, protocolsAndPorts interface{}) *CloudProvider_RefreshInboundAllowRule_Call

RefreshInboundAllowRule is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • ruleId string
  • cidrsToAdd []string
  • cidrsToRemove []string
  • destinationLabels map[string]string
  • destinationPrefixes []string
  • destinationVPCId string
  • protocolsAndPorts types.ProtocolsAndPorts

func (*CloudProvider_Expecter) RemoveInboundAllowRuleFromVPCByName

func (_e *CloudProvider_Expecter) RemoveInboundAllowRuleFromVPCByName(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call

RemoveInboundAllowRuleFromVPCByName is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string

func (*CloudProvider_Expecter) RemoveInboundAllowRuleRulesByTags

func (_e *CloudProvider_Expecter) RemoveInboundAllowRuleRulesByTags(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ruleName interface{}, tags interface{}) *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call

RemoveInboundAllowRuleRulesByTags is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • ruleName string
  • tags map[string]string

func (*CloudProvider_Expecter) RemoveInboundAllowRulesFromVPCById

func (_e *CloudProvider_Expecter) RemoveInboundAllowRulesFromVPCById(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, instanceIDs interface{}, loadBalancersIDs interface{}, ruleId interface{}) *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call

RemoveInboundAllowRulesFromVPCById is a helper method to define mock.On call

  • ctx context.Context
  • account string
  • region string
  • vpcID string
  • instanceIDs []string
  • loadBalancersIDs []string
  • ruleId string

func (*CloudProvider_Expecter) RetrieveClustersData

func (_e *CloudProvider_Expecter) RetrieveClustersData(ctx interface{}) *CloudProvider_RetrieveClustersData_Call

RetrieveClustersData is a helper method to define mock.On call

  • ctx context.Context

type CloudProvider_GetCIDRsForLabels_Call

type CloudProvider_GetCIDRsForLabels_Call struct {
	*mock.Call
}

CloudProvider_GetCIDRsForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCIDRsForLabels'

func (*CloudProvider_GetCIDRsForLabels_Call) Return

func (*CloudProvider_GetCIDRsForLabels_Call) Run

func (*CloudProvider_GetCIDRsForLabels_Call) RunAndReturn

type CloudProvider_GetIPsForLabels_Call

type CloudProvider_GetIPsForLabels_Call struct {
	*mock.Call
}

CloudProvider_GetIPsForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIPsForLabels'

func (*CloudProvider_GetIPsForLabels_Call) Return

func (*CloudProvider_GetIPsForLabels_Call) Run

func (*CloudProvider_GetIPsForLabels_Call) RunAndReturn

type CloudProvider_GetInstancesForLabels_Call

type CloudProvider_GetInstancesForLabels_Call struct {
	*mock.Call
}

CloudProvider_GetInstancesForLabels_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstancesForLabels'

func (*CloudProvider_GetInstancesForLabels_Call) Return

func (*CloudProvider_GetInstancesForLabels_Call) Run

type CloudProvider_GetName_Call

type CloudProvider_GetName_Call struct {
	*mock.Call
}

CloudProvider_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'

func (*CloudProvider_GetName_Call) Return

func (*CloudProvider_GetName_Call) Run

func (*CloudProvider_GetName_Call) RunAndReturn

func (_c *CloudProvider_GetName_Call) RunAndReturn(run func() string) *CloudProvider_GetName_Call

type CloudProvider_GetSubnet_Call

type CloudProvider_GetSubnet_Call struct {
	*mock.Call
}

CloudProvider_GetSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSubnet'

func (*CloudProvider_GetSubnet_Call) Return

func (*CloudProvider_GetSubnet_Call) Run

func (*CloudProvider_GetSubnet_Call) RunAndReturn

type CloudProvider_GetSyncTime_Call

type CloudProvider_GetSyncTime_Call struct {
	*mock.Call
}

CloudProvider_GetSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSyncTime'

func (*CloudProvider_GetSyncTime_Call) Return

func (*CloudProvider_GetSyncTime_Call) Run

func (*CloudProvider_GetSyncTime_Call) RunAndReturn

type CloudProvider_GetVPCIDForCIDR_Call

type CloudProvider_GetVPCIDForCIDR_Call struct {
	*mock.Call
}

CloudProvider_GetVPCIDForCIDR_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPCIDForCIDR'

func (*CloudProvider_GetVPCIDForCIDR_Call) Return

func (*CloudProvider_GetVPCIDForCIDR_Call) Run

func (*CloudProvider_GetVPCIDForCIDR_Call) RunAndReturn

type CloudProvider_GetVPCIDWithTag_Call

type CloudProvider_GetVPCIDWithTag_Call struct {
	*mock.Call
}

CloudProvider_GetVPCIDWithTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVPCIDWithTag'

func (*CloudProvider_GetVPCIDWithTag_Call) Return

func (*CloudProvider_GetVPCIDWithTag_Call) Run

func (*CloudProvider_GetVPCIDWithTag_Call) RunAndReturn

type CloudProvider_ListACLs_Call

type CloudProvider_ListACLs_Call struct {
	*mock.Call
}

CloudProvider_ListACLs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListACLs'

func (*CloudProvider_ListACLs_Call) Return

func (*CloudProvider_ListACLs_Call) Run

func (*CloudProvider_ListACLs_Call) RunAndReturn

type CloudProvider_ListAccounts_Call

type CloudProvider_ListAccounts_Call struct {
	*mock.Call
}

CloudProvider_ListAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAccounts'

func (*CloudProvider_ListAccounts_Call) Return

func (*CloudProvider_ListAccounts_Call) Run

func (*CloudProvider_ListAccounts_Call) RunAndReturn

type CloudProvider_ListClusters_Call

type CloudProvider_ListClusters_Call struct {
	*mock.Call
}

CloudProvider_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*CloudProvider_ListClusters_Call) Return

func (*CloudProvider_ListClusters_Call) Run

func (*CloudProvider_ListClusters_Call) RunAndReturn

type CloudProvider_ListInstances_Call

type CloudProvider_ListInstances_Call struct {
	*mock.Call
}

CloudProvider_ListInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInstances'

func (*CloudProvider_ListInstances_Call) Return

func (*CloudProvider_ListInstances_Call) Run

func (*CloudProvider_ListInstances_Call) RunAndReturn

type CloudProvider_ListRouteTables_Call

type CloudProvider_ListRouteTables_Call struct {
	*mock.Call
}

CloudProvider_ListRouteTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListRouteTables'

func (*CloudProvider_ListRouteTables_Call) Return

func (*CloudProvider_ListRouteTables_Call) Run

func (*CloudProvider_ListRouteTables_Call) RunAndReturn

type CloudProvider_ListSecurityGroups_Call

type CloudProvider_ListSecurityGroups_Call struct {
	*mock.Call
}

CloudProvider_ListSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSecurityGroups'

func (*CloudProvider_ListSecurityGroups_Call) Return

func (*CloudProvider_ListSecurityGroups_Call) Run

type CloudProvider_ListSubnets_Call

type CloudProvider_ListSubnets_Call struct {
	*mock.Call
}

CloudProvider_ListSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSubnets'

func (*CloudProvider_ListSubnets_Call) Return

func (*CloudProvider_ListSubnets_Call) Run

func (*CloudProvider_ListSubnets_Call) RunAndReturn

type CloudProvider_ListVPC_Call

type CloudProvider_ListVPC_Call struct {
	*mock.Call
}

CloudProvider_ListVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVPC'

func (*CloudProvider_ListVPC_Call) Return

func (*CloudProvider_ListVPC_Call) Run

func (*CloudProvider_ListVPC_Call) RunAndReturn

type CloudProvider_RefreshInboundAllowRule_Call

type CloudProvider_RefreshInboundAllowRule_Call struct {
	*mock.Call
}

CloudProvider_RefreshInboundAllowRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshInboundAllowRule'

func (*CloudProvider_RefreshInboundAllowRule_Call) Return

func (*CloudProvider_RefreshInboundAllowRule_Call) Run

func (_c *CloudProvider_RefreshInboundAllowRule_Call) Run(run func(ctx context.Context, account string, region string, ruleId string, cidrsToAdd []string, cidrsToRemove []string, destinationLabels map[string]string, destinationPrefixes []string, destinationVPCId string, protocolsAndPorts types.ProtocolsAndPorts)) *CloudProvider_RefreshInboundAllowRule_Call

type CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call

type CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call struct {
	*mock.Call
}

CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'

func (*CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) Return

func (*CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) Run

func (*CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn

type CloudProvider_RemoveInboundAllowRuleRulesByTags_Call

type CloudProvider_RemoveInboundAllowRuleRulesByTags_Call struct {
	*mock.Call
}

CloudProvider_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'

func (*CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) Return

func (*CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) Run

func (*CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn

type CloudProvider_RemoveInboundAllowRulesFromVPCById_Call

type CloudProvider_RemoveInboundAllowRulesFromVPCById_Call struct {
	*mock.Call
}

CloudProvider_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'

func (*CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) Return

func (*CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) Run

func (_c *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, instanceIDs []string, loadBalancersIDs []string, ruleId string)) *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call

func (*CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn

type CloudProvider_RetrieveClustersData_Call

type CloudProvider_RetrieveClustersData_Call struct {
	*mock.Call
}

CloudProvider_RetrieveClustersData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RetrieveClustersData'

func (*CloudProvider_RetrieveClustersData_Call) Return

func (*CloudProvider_RetrieveClustersData_Call) Run

func (*CloudProvider_RetrieveClustersData_Call) RunAndReturn

type DBMetadata

type DBMetadata struct {
	mock.Mock
}

DBMetadata is an autogenerated mock type for the DBMetadata type

func NewDBMetadata

func NewDBMetadata(t interface {
	mock.TestingT
	Cleanup(func())
}) *DBMetadata

NewDBMetadata creates a new instance of DBMetadata. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DBMetadata) EXPECT

func (_m *DBMetadata) EXPECT() *DBMetadata_Expecter

func (*DBMetadata) GetSyncTime

func (_m *DBMetadata) GetSyncTime(id string) (types.SyncTime, error)

GetSyncTime provides a mock function with given fields: id

type DBMetadata_Expecter

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

func (*DBMetadata_Expecter) GetSyncTime

func (_e *DBMetadata_Expecter) GetSyncTime(id interface{}) *DBMetadata_GetSyncTime_Call

GetSyncTime is a helper method to define mock.On call

  • id string

type DBMetadata_GetSyncTime_Call

type DBMetadata_GetSyncTime_Call struct {
	*mock.Call
}

DBMetadata_GetSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSyncTime'

func (*DBMetadata_GetSyncTime_Call) Return

func (*DBMetadata_GetSyncTime_Call) Run

func (*DBMetadata_GetSyncTime_Call) RunAndReturn

type DbObject

type DbObject struct {
	mock.Mock
}

DbObject is an autogenerated mock type for the DbObject type

func NewDbObject

func NewDbObject(t interface {
	mock.TestingT
	Cleanup(func())
}) *DbObject

NewDbObject creates a new instance of DbObject. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DbObject) DbId

func (_m *DbObject) DbId() string

DbId provides a mock function with given fields:

func (*DbObject) EXPECT

func (_m *DbObject) EXPECT() *DbObject_Expecter

func (*DbObject) GetProvider

func (_m *DbObject) GetProvider() string

GetProvider provides a mock function with given fields:

func (*DbObject) SetSyncTime

func (_m *DbObject) SetSyncTime(_a0 string)

SetSyncTime provides a mock function with given fields: _a0

type DbObject_DbId_Call

type DbObject_DbId_Call struct {
	*mock.Call
}

DbObject_DbId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DbId'

func (*DbObject_DbId_Call) Return

func (_c *DbObject_DbId_Call) Return(_a0 string) *DbObject_DbId_Call

func (*DbObject_DbId_Call) Run

func (_c *DbObject_DbId_Call) Run(run func()) *DbObject_DbId_Call

func (*DbObject_DbId_Call) RunAndReturn

func (_c *DbObject_DbId_Call) RunAndReturn(run func() string) *DbObject_DbId_Call

type DbObject_Expecter

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

func (*DbObject_Expecter) DbId

DbId is a helper method to define mock.On call

func (*DbObject_Expecter) GetProvider

func (_e *DbObject_Expecter) GetProvider() *DbObject_GetProvider_Call

GetProvider is a helper method to define mock.On call

func (*DbObject_Expecter) SetSyncTime

func (_e *DbObject_Expecter) SetSyncTime(_a0 interface{}) *DbObject_SetSyncTime_Call

SetSyncTime is a helper method to define mock.On call

  • _a0 string

type DbObject_GetProvider_Call

type DbObject_GetProvider_Call struct {
	*mock.Call
}

DbObject_GetProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProvider'

func (*DbObject_GetProvider_Call) Return

func (*DbObject_GetProvider_Call) Run

func (*DbObject_GetProvider_Call) RunAndReturn

func (_c *DbObject_GetProvider_Call) RunAndReturn(run func() string) *DbObject_GetProvider_Call

type DbObject_SetSyncTime_Call

type DbObject_SetSyncTime_Call struct {
	*mock.Call
}

DbObject_SetSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSyncTime'

func (*DbObject_SetSyncTime_Call) Return

func (*DbObject_SetSyncTime_Call) Run

func (*DbObject_SetSyncTime_Call) RunAndReturn

func (_c *DbObject_SetSyncTime_Call) RunAndReturn(run func(string)) *DbObject_SetSyncTime_Call

type Kubernetes

type Kubernetes struct {
	mock.Mock
}

Kubernetes is an autogenerated mock type for the Kubernetes type

func NewKubernetes

func NewKubernetes(t interface {
	mock.TestingT
	Cleanup(func())
}) *Kubernetes

NewKubernetes creates a new instance of Kubernetes. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Kubernetes) EXPECT

func (_m *Kubernetes) EXPECT() *Kubernetes_Expecter

func (*Kubernetes) GetSyncTime

func (_m *Kubernetes) GetSyncTime(id string) (types.SyncTime, error)

GetSyncTime provides a mock function with given fields: id

func (*Kubernetes) ListClusters

func (_m *Kubernetes) ListClusters(ctx context.Context) ([]types.Cluster, error)

ListClusters provides a mock function with given fields: ctx

func (*Kubernetes) ListNamespaces

func (_m *Kubernetes) ListNamespaces(ctx context.Context, clusterName string, labels map[string]string) ([]types.Namespace, error)

ListNamespaces provides a mock function with given fields: ctx, clusterName, labels

func (*Kubernetes) ListNodes

func (_m *Kubernetes) ListNodes(ctx context.Context, clusterName string, labels map[string]string) ([]types.K8sNode, error)

ListNodes provides a mock function with given fields: ctx, clusterName, labels

func (*Kubernetes) ListPods

func (_m *Kubernetes) ListPods(ctx context.Context, clusterName string, labels map[string]string) ([]types.Pod, error)

ListPods provides a mock function with given fields: ctx, clusterName, labels

func (*Kubernetes) ListPodsCIDRs

func (_m *Kubernetes) ListPodsCIDRs(ctx context.Context, clusterName string) ([]string, error)

ListPodsCIDRs provides a mock function with given fields: ctx, clusterName

func (*Kubernetes) ListServices

func (_m *Kubernetes) ListServices(ctx context.Context, clusterName string, labels map[string]string) ([]types.K8SService, error)

ListServices provides a mock function with given fields: ctx, clusterName, labels

func (*Kubernetes) ListServicesCIDRs

func (_m *Kubernetes) ListServicesCIDRs(ctx context.Context, clusterName string) (string, error)

ListServicesCIDRs provides a mock function with given fields: ctx, clusterName

func (*Kubernetes) UpdateServiceSourceRanges

func (_m *Kubernetes) UpdateServiceSourceRanges(ctx context.Context, clusterName string, namespace string, name string, cidrsToAdd []string, cidrsToRemove []string) error

UpdateServiceSourceRanges provides a mock function with given fields: ctx, clusterName, namespace, name, cidrsToAdd, cidrsToRemove

type KubernetesServiceClient

type KubernetesServiceClient struct {
	mock.Mock
}

KubernetesServiceClient is an autogenerated mock type for the KubernetesServiceClient type

func NewKubernetesServiceClient

func NewKubernetesServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *KubernetesServiceClient

NewKubernetesServiceClient creates a new instance of KubernetesServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*KubernetesServiceClient) EXPECT

func (*KubernetesServiceClient) ListClusters

ListClusters provides a mock function with given fields: ctx, in, opts

func (*KubernetesServiceClient) ListNamespaces

ListNamespaces provides a mock function with given fields: ctx, in, opts

func (*KubernetesServiceClient) ListNodes

ListNodes provides a mock function with given fields: ctx, in, opts

func (*KubernetesServiceClient) ListPods

ListPods provides a mock function with given fields: ctx, in, opts

func (*KubernetesServiceClient) ListPodsCIDRs

ListPodsCIDRs provides a mock function with given fields: ctx, in, opts

func (*KubernetesServiceClient) ListServices

ListServices provides a mock function with given fields: ctx, in, opts

func (*KubernetesServiceClient) ListServicesCIDRs

ListServicesCIDRs provides a mock function with given fields: ctx, in, opts

type KubernetesServiceClient_Expecter

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

func (*KubernetesServiceClient_Expecter) ListClusters

func (_e *KubernetesServiceClient_Expecter) ListClusters(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListClustersRequest
  • opts ...grpc.CallOption

func (*KubernetesServiceClient_Expecter) ListNamespaces

func (_e *KubernetesServiceClient_Expecter) ListNamespaces(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListNamespaces_Call

ListNamespaces is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListNamespacesRequest
  • opts ...grpc.CallOption

func (*KubernetesServiceClient_Expecter) ListNodes

func (_e *KubernetesServiceClient_Expecter) ListNodes(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListNodes_Call

ListNodes is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListNodesRequest
  • opts ...grpc.CallOption

func (*KubernetesServiceClient_Expecter) ListPods

func (_e *KubernetesServiceClient_Expecter) ListPods(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListPods_Call

ListPods is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListPodsRequest
  • opts ...grpc.CallOption

func (*KubernetesServiceClient_Expecter) ListPodsCIDRs

func (_e *KubernetesServiceClient_Expecter) ListPodsCIDRs(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListPodsCIDRs_Call

ListPodsCIDRs is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListPodsCIDRsRequest
  • opts ...grpc.CallOption

func (*KubernetesServiceClient_Expecter) ListServices

func (_e *KubernetesServiceClient_Expecter) ListServices(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListServices_Call

ListServices is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListServicesRequest
  • opts ...grpc.CallOption

func (*KubernetesServiceClient_Expecter) ListServicesCIDRs

func (_e *KubernetesServiceClient_Expecter) ListServicesCIDRs(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListServicesCIDRs_Call

ListServicesCIDRs is a helper method to define mock.On call

  • ctx context.Context
  • in *infrapb.ListServicesCIDRsRequest
  • opts ...grpc.CallOption

type KubernetesServiceClient_ListClusters_Call

type KubernetesServiceClient_ListClusters_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*KubernetesServiceClient_ListClusters_Call) Return

func (*KubernetesServiceClient_ListClusters_Call) Run

type KubernetesServiceClient_ListNamespaces_Call

type KubernetesServiceClient_ListNamespaces_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'

func (*KubernetesServiceClient_ListNamespaces_Call) Return

func (*KubernetesServiceClient_ListNamespaces_Call) Run

type KubernetesServiceClient_ListNodes_Call

type KubernetesServiceClient_ListNodes_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'

func (*KubernetesServiceClient_ListNodes_Call) Return

func (*KubernetesServiceClient_ListNodes_Call) Run

type KubernetesServiceClient_ListPodsCIDRs_Call

type KubernetesServiceClient_ListPodsCIDRs_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListPodsCIDRs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodsCIDRs'

func (*KubernetesServiceClient_ListPodsCIDRs_Call) Return

func (*KubernetesServiceClient_ListPodsCIDRs_Call) Run

type KubernetesServiceClient_ListPods_Call

type KubernetesServiceClient_ListPods_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListPods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPods'

func (*KubernetesServiceClient_ListPods_Call) Return

func (*KubernetesServiceClient_ListPods_Call) Run

type KubernetesServiceClient_ListServicesCIDRs_Call

type KubernetesServiceClient_ListServicesCIDRs_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListServicesCIDRs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServicesCIDRs'

func (*KubernetesServiceClient_ListServicesCIDRs_Call) Return

func (*KubernetesServiceClient_ListServicesCIDRs_Call) Run

type KubernetesServiceClient_ListServices_Call

type KubernetesServiceClient_ListServices_Call struct {
	*mock.Call
}

KubernetesServiceClient_ListServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServices'

func (*KubernetesServiceClient_ListServices_Call) Return

func (*KubernetesServiceClient_ListServices_Call) Run

type KubernetesServiceServer

type KubernetesServiceServer struct {
	mock.Mock
}

KubernetesServiceServer is an autogenerated mock type for the KubernetesServiceServer type

func NewKubernetesServiceServer

func NewKubernetesServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *KubernetesServiceServer

NewKubernetesServiceServer creates a new instance of KubernetesServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*KubernetesServiceServer) EXPECT

func (*KubernetesServiceServer) ListClusters

ListClusters provides a mock function with given fields: _a0, _a1

func (*KubernetesServiceServer) ListNamespaces

ListNamespaces provides a mock function with given fields: _a0, _a1

func (*KubernetesServiceServer) ListNodes

ListNodes provides a mock function with given fields: _a0, _a1

func (*KubernetesServiceServer) ListPods

ListPods provides a mock function with given fields: _a0, _a1

func (*KubernetesServiceServer) ListPodsCIDRs

ListPodsCIDRs provides a mock function with given fields: _a0, _a1

func (*KubernetesServiceServer) ListServices

ListServices provides a mock function with given fields: _a0, _a1

func (*KubernetesServiceServer) ListServicesCIDRs

ListServicesCIDRs provides a mock function with given fields: _a0, _a1

type KubernetesServiceServer_Expecter

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

func (*KubernetesServiceServer_Expecter) ListClusters

func (_e *KubernetesServiceServer_Expecter) ListClusters(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListClustersRequest

func (*KubernetesServiceServer_Expecter) ListNamespaces

func (_e *KubernetesServiceServer_Expecter) ListNamespaces(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListNamespaces_Call

ListNamespaces is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListNamespacesRequest

func (*KubernetesServiceServer_Expecter) ListNodes

func (_e *KubernetesServiceServer_Expecter) ListNodes(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListNodes_Call

ListNodes is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListNodesRequest

func (*KubernetesServiceServer_Expecter) ListPods

func (_e *KubernetesServiceServer_Expecter) ListPods(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListPods_Call

ListPods is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListPodsRequest

func (*KubernetesServiceServer_Expecter) ListPodsCIDRs

func (_e *KubernetesServiceServer_Expecter) ListPodsCIDRs(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListPodsCIDRs_Call

ListPodsCIDRs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListPodsCIDRsRequest

func (*KubernetesServiceServer_Expecter) ListServices

func (_e *KubernetesServiceServer_Expecter) ListServices(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListServices_Call

ListServices is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListServicesRequest

func (*KubernetesServiceServer_Expecter) ListServicesCIDRs

func (_e *KubernetesServiceServer_Expecter) ListServicesCIDRs(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListServicesCIDRs_Call

ListServicesCIDRs is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *infrapb.ListServicesCIDRsRequest

type KubernetesServiceServer_ListClusters_Call

type KubernetesServiceServer_ListClusters_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*KubernetesServiceServer_ListClusters_Call) Return

func (*KubernetesServiceServer_ListClusters_Call) Run

type KubernetesServiceServer_ListNamespaces_Call

type KubernetesServiceServer_ListNamespaces_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'

func (*KubernetesServiceServer_ListNamespaces_Call) Return

func (*KubernetesServiceServer_ListNamespaces_Call) Run

type KubernetesServiceServer_ListNodes_Call

type KubernetesServiceServer_ListNodes_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'

func (*KubernetesServiceServer_ListNodes_Call) Return

func (*KubernetesServiceServer_ListNodes_Call) Run

type KubernetesServiceServer_ListPodsCIDRs_Call

type KubernetesServiceServer_ListPodsCIDRs_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListPodsCIDRs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodsCIDRs'

func (*KubernetesServiceServer_ListPodsCIDRs_Call) Return

func (*KubernetesServiceServer_ListPodsCIDRs_Call) Run

type KubernetesServiceServer_ListPods_Call

type KubernetesServiceServer_ListPods_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListPods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPods'

func (*KubernetesServiceServer_ListPods_Call) Return

func (*KubernetesServiceServer_ListPods_Call) Run

type KubernetesServiceServer_ListServicesCIDRs_Call

type KubernetesServiceServer_ListServicesCIDRs_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListServicesCIDRs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServicesCIDRs'

func (*KubernetesServiceServer_ListServicesCIDRs_Call) Return

func (*KubernetesServiceServer_ListServicesCIDRs_Call) Run

type KubernetesServiceServer_ListServices_Call

type KubernetesServiceServer_ListServices_Call struct {
	*mock.Call
}

KubernetesServiceServer_ListServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServices'

func (*KubernetesServiceServer_ListServices_Call) Return

func (*KubernetesServiceServer_ListServices_Call) Run

type KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call

type KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call struct {
	*mock.Call
}

KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedKubernetesServiceServer'

func (*KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Return

func (*KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Run

func (*KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) RunAndReturn

type Kubernetes_Expecter

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

func (*Kubernetes_Expecter) GetSyncTime

func (_e *Kubernetes_Expecter) GetSyncTime(id interface{}) *Kubernetes_GetSyncTime_Call

GetSyncTime is a helper method to define mock.On call

  • id string

func (*Kubernetes_Expecter) ListClusters

func (_e *Kubernetes_Expecter) ListClusters(ctx interface{}) *Kubernetes_ListClusters_Call

ListClusters is a helper method to define mock.On call

  • ctx context.Context

func (*Kubernetes_Expecter) ListNamespaces

func (_e *Kubernetes_Expecter) ListNamespaces(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListNamespaces_Call

ListNamespaces is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string
  • labels map[string]string

func (*Kubernetes_Expecter) ListNodes

func (_e *Kubernetes_Expecter) ListNodes(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListNodes_Call

ListNodes is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string
  • labels map[string]string

func (*Kubernetes_Expecter) ListPods

func (_e *Kubernetes_Expecter) ListPods(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListPods_Call

ListPods is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string
  • labels map[string]string

func (*Kubernetes_Expecter) ListPodsCIDRs

func (_e *Kubernetes_Expecter) ListPodsCIDRs(ctx interface{}, clusterName interface{}) *Kubernetes_ListPodsCIDRs_Call

ListPodsCIDRs is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string

func (*Kubernetes_Expecter) ListServices

func (_e *Kubernetes_Expecter) ListServices(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListServices_Call

ListServices is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string
  • labels map[string]string

func (*Kubernetes_Expecter) ListServicesCIDRs

func (_e *Kubernetes_Expecter) ListServicesCIDRs(ctx interface{}, clusterName interface{}) *Kubernetes_ListServicesCIDRs_Call

ListServicesCIDRs is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string

func (*Kubernetes_Expecter) UpdateServiceSourceRanges

func (_e *Kubernetes_Expecter) UpdateServiceSourceRanges(ctx interface{}, clusterName interface{}, namespace interface{}, name interface{}, cidrsToAdd interface{}, cidrsToRemove interface{}) *Kubernetes_UpdateServiceSourceRanges_Call

UpdateServiceSourceRanges is a helper method to define mock.On call

  • ctx context.Context
  • clusterName string
  • namespace string
  • name string
  • cidrsToAdd []string
  • cidrsToRemove []string

type Kubernetes_GetSyncTime_Call

type Kubernetes_GetSyncTime_Call struct {
	*mock.Call
}

Kubernetes_GetSyncTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSyncTime'

func (*Kubernetes_GetSyncTime_Call) Return

func (*Kubernetes_GetSyncTime_Call) Run

func (*Kubernetes_GetSyncTime_Call) RunAndReturn

type Kubernetes_ListClusters_Call

type Kubernetes_ListClusters_Call struct {
	*mock.Call
}

Kubernetes_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'

func (*Kubernetes_ListClusters_Call) Return

func (*Kubernetes_ListClusters_Call) Run

func (*Kubernetes_ListClusters_Call) RunAndReturn

type Kubernetes_ListNamespaces_Call

type Kubernetes_ListNamespaces_Call struct {
	*mock.Call
}

Kubernetes_ListNamespaces_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNamespaces'

func (*Kubernetes_ListNamespaces_Call) Return

func (*Kubernetes_ListNamespaces_Call) Run

func (_c *Kubernetes_ListNamespaces_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListNamespaces_Call

func (*Kubernetes_ListNamespaces_Call) RunAndReturn

type Kubernetes_ListNodes_Call

type Kubernetes_ListNodes_Call struct {
	*mock.Call
}

Kubernetes_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'

func (*Kubernetes_ListNodes_Call) Return

func (*Kubernetes_ListNodes_Call) Run

func (_c *Kubernetes_ListNodes_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListNodes_Call

func (*Kubernetes_ListNodes_Call) RunAndReturn

type Kubernetes_ListPodsCIDRs_Call

type Kubernetes_ListPodsCIDRs_Call struct {
	*mock.Call
}

Kubernetes_ListPodsCIDRs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodsCIDRs'

func (*Kubernetes_ListPodsCIDRs_Call) Return

func (*Kubernetes_ListPodsCIDRs_Call) Run

func (*Kubernetes_ListPodsCIDRs_Call) RunAndReturn

type Kubernetes_ListPods_Call

type Kubernetes_ListPods_Call struct {
	*mock.Call
}

Kubernetes_ListPods_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPods'

func (*Kubernetes_ListPods_Call) Return

func (*Kubernetes_ListPods_Call) Run

func (_c *Kubernetes_ListPods_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListPods_Call

func (*Kubernetes_ListPods_Call) RunAndReturn

type Kubernetes_ListServicesCIDRs_Call

type Kubernetes_ListServicesCIDRs_Call struct {
	*mock.Call
}

Kubernetes_ListServicesCIDRs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServicesCIDRs'

func (*Kubernetes_ListServicesCIDRs_Call) Return

func (*Kubernetes_ListServicesCIDRs_Call) Run

func (*Kubernetes_ListServicesCIDRs_Call) RunAndReturn

type Kubernetes_ListServices_Call

type Kubernetes_ListServices_Call struct {
	*mock.Call
}

Kubernetes_ListServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListServices'

func (*Kubernetes_ListServices_Call) Return

func (*Kubernetes_ListServices_Call) Run

func (_c *Kubernetes_ListServices_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListServices_Call

func (*Kubernetes_ListServices_Call) RunAndReturn

type Kubernetes_UpdateServiceSourceRanges_Call

type Kubernetes_UpdateServiceSourceRanges_Call struct {
	*mock.Call
}

Kubernetes_UpdateServiceSourceRanges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateServiceSourceRanges'

func (*Kubernetes_UpdateServiceSourceRanges_Call) Return

func (*Kubernetes_UpdateServiceSourceRanges_Call) Run

func (_c *Kubernetes_UpdateServiceSourceRanges_Call) Run(run func(ctx context.Context, clusterName string, namespace string, name string, cidrsToAdd []string, cidrsToRemove []string)) *Kubernetes_UpdateServiceSourceRanges_Call

func (*Kubernetes_UpdateServiceSourceRanges_Call) RunAndReturn

type Strategy

type Strategy struct {
	mock.Mock
}

Strategy is an autogenerated mock type for the Strategy type

func NewStrategy

func NewStrategy(t interface {
	mock.TestingT
	Cleanup(func())
}) *Strategy

NewStrategy creates a new instance of Strategy. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Strategy) EXPECT

func (_m *Strategy) EXPECT() *Strategy_Expecter

func (*Strategy) GetAllProviders

func (_m *Strategy) GetAllProviders() []provider.CloudProvider

GetAllProviders provides a mock function with given fields:

func (*Strategy) GetKubernetesProvider

func (_m *Strategy) GetKubernetesProvider() (provider.Kubernetes, error)

GetKubernetesProvider provides a mock function with given fields:

func (*Strategy) GetProvider

func (_m *Strategy) GetProvider(ctx context.Context, cloud string) (provider.CloudProvider, error)

GetProvider provides a mock function with given fields: ctx, cloud

func (*Strategy) RefreshState

func (_m *Strategy) RefreshState(ctx context.Context) error

RefreshState provides a mock function with given fields: ctx

type Strategy_Expecter

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

func (*Strategy_Expecter) GetAllProviders

func (_e *Strategy_Expecter) GetAllProviders() *Strategy_GetAllProviders_Call

GetAllProviders is a helper method to define mock.On call

func (*Strategy_Expecter) GetKubernetesProvider

func (_e *Strategy_Expecter) GetKubernetesProvider() *Strategy_GetKubernetesProvider_Call

GetKubernetesProvider is a helper method to define mock.On call

func (*Strategy_Expecter) GetProvider

func (_e *Strategy_Expecter) GetProvider(ctx interface{}, cloud interface{}) *Strategy_GetProvider_Call

GetProvider is a helper method to define mock.On call

  • ctx context.Context
  • cloud string

func (*Strategy_Expecter) RefreshState

func (_e *Strategy_Expecter) RefreshState(ctx interface{}) *Strategy_RefreshState_Call

RefreshState is a helper method to define mock.On call

  • ctx context.Context

type Strategy_GetAllProviders_Call

type Strategy_GetAllProviders_Call struct {
	*mock.Call
}

Strategy_GetAllProviders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllProviders'

func (*Strategy_GetAllProviders_Call) Return

func (*Strategy_GetAllProviders_Call) Run

func (*Strategy_GetAllProviders_Call) RunAndReturn

type Strategy_GetKubernetesProvider_Call

type Strategy_GetKubernetesProvider_Call struct {
	*mock.Call
}

Strategy_GetKubernetesProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetKubernetesProvider'

func (*Strategy_GetKubernetesProvider_Call) Return

func (*Strategy_GetKubernetesProvider_Call) Run

func (*Strategy_GetKubernetesProvider_Call) RunAndReturn

type Strategy_GetProvider_Call

type Strategy_GetProvider_Call struct {
	*mock.Call
}

Strategy_GetProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProvider'

func (*Strategy_GetProvider_Call) Return

func (*Strategy_GetProvider_Call) Run

func (*Strategy_GetProvider_Call) RunAndReturn

type Strategy_RefreshState_Call

type Strategy_RefreshState_Call struct {
	*mock.Call
}

Strategy_RefreshState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshState'

func (*Strategy_RefreshState_Call) Return

func (*Strategy_RefreshState_Call) Run

func (*Strategy_RefreshState_Call) RunAndReturn

type UnsafeAccessControlServiceServer

type UnsafeAccessControlServiceServer struct {
	mock.Mock
}

UnsafeAccessControlServiceServer is an autogenerated mock type for the UnsafeAccessControlServiceServer type

func NewUnsafeAccessControlServiceServer

func NewUnsafeAccessControlServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeAccessControlServiceServer

NewUnsafeAccessControlServiceServer creates a new instance of UnsafeAccessControlServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UnsafeAccessControlServiceServer) EXPECT

type UnsafeAccessControlServiceServer_Expecter

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

type UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call

type UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call struct {
	*mock.Call
}

UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedAccessControlServiceServer'

func (*UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Return

func (*UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Run

func (*UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) RunAndReturn

type UnsafeCloudProviderServiceServer

type UnsafeCloudProviderServiceServer struct {
	mock.Mock
}

UnsafeCloudProviderServiceServer is an autogenerated mock type for the UnsafeCloudProviderServiceServer type

func NewUnsafeCloudProviderServiceServer

func NewUnsafeCloudProviderServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeCloudProviderServiceServer

NewUnsafeCloudProviderServiceServer creates a new instance of UnsafeCloudProviderServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UnsafeCloudProviderServiceServer) EXPECT

type UnsafeCloudProviderServiceServer_Expecter

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

type UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call

type UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call struct {
	*mock.Call
}

UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedCloudProviderServiceServer'

func (*UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Return

func (*UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Run

func (*UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) RunAndReturn

type UnsafeKubernetesServiceServer

type UnsafeKubernetesServiceServer struct {
	mock.Mock
}

UnsafeKubernetesServiceServer is an autogenerated mock type for the UnsafeKubernetesServiceServer type

func NewUnsafeKubernetesServiceServer

func NewUnsafeKubernetesServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeKubernetesServiceServer

NewUnsafeKubernetesServiceServer creates a new instance of UnsafeKubernetesServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UnsafeKubernetesServiceServer) EXPECT

type UnsafeKubernetesServiceServer_Expecter

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

type UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call

type UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call struct {
	*mock.Call
}

UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedKubernetesServiceServer'

func (*UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Return

func (*UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Run

func (*UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) RunAndReturn

Jump to

Keyboard shortcuts

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