Documentation ¶
Index ¶
- type AccessControl
- func (_m *AccessControl) AddInboundAllowRuleByInstanceIPMatch(ctx context.Context, account string, region string, vpcID string, ...) (string, []types.Instance, error)
- func (_m *AccessControl) AddInboundAllowRuleByLabelsMatch(ctx context.Context, account string, region string, vpcID string, ...) (string, []types.Instance, error)
- func (_m *AccessControl) AddInboundAllowRuleBySubnetMatch(ctx context.Context, account string, region string, vpcID string, ...) (string, []types.Instance, []types.Subnet, error)
- func (_m *AccessControl) AddInboundAllowRuleForLoadBalancerByDNS(ctx context.Context, account string, region string, loadBalancerDNS string, ...) (string, string, error)
- func (_m *AccessControl) AddInboundAllowRuleInVPC(ctx context.Context, account string, region string, destinationVpcID string, ...) error
- func (_m *AccessControl) EXPECT() *AccessControl_Expecter
- func (_m *AccessControl) RefreshInboundAllowRule(ctx context.Context, account string, region string, ruleId string, ...) ([]types.Instance, []types.Subnet, error)
- func (_m *AccessControl) RemoveInboundAllowRuleFromVPCByName(ctx context.Context, account string, region string, vpcID string, ...) error
- func (_m *AccessControl) RemoveInboundAllowRuleRulesByTags(ctx context.Context, account string, region string, vpcID string, ...) error
- func (_m *AccessControl) RemoveInboundAllowRulesFromVPCById(ctx context.Context, account string, region string, vpcID string, ...) error
- type AccessControlServiceClient
- func (_m *AccessControlServiceClient) AddInboundAllowRuleByInstanceIPMatch(ctx context.Context, in *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest, ...) (*infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, error)
- func (_m *AccessControlServiceClient) AddInboundAllowRuleByLabelsMatch(ctx context.Context, in *infrapb.AddInboundAllowRuleByLabelsMatchRequest, ...) (*infrapb.AddInboundAllowRuleByLabelsMatchResponse, error)
- func (_m *AccessControlServiceClient) AddInboundAllowRuleBySubnetMatch(ctx context.Context, in *infrapb.AddInboundAllowRuleBySubnetMatchRequest, ...) (*infrapb.AddInboundAllowRuleBySubnetMatchResponse, error)
- func (_m *AccessControlServiceClient) AddInboundAllowRuleForLoadBalancerByDNS(ctx context.Context, ...) (*infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, error)
- func (_m *AccessControlServiceClient) AddInboundAllowRuleInVPC(ctx context.Context, in *infrapb.AddInboundAllowRuleInVPCRequest, ...) (*infrapb.AddInboundAllowRuleInVPCResponse, error)
- func (_m *AccessControlServiceClient) EXPECT() *AccessControlServiceClient_Expecter
- func (_m *AccessControlServiceClient) RefreshInboundAllowRule(ctx context.Context, in *infrapb.RefreshInboundAllowRuleRequest, ...) (*infrapb.RefreshInboundAllowRuleResponse, error)
- func (_m *AccessControlServiceClient) RemoveInboundAllowRuleFromVPCByName(ctx context.Context, in *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest, ...) (*infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, error)
- func (_m *AccessControlServiceClient) RemoveInboundAllowRuleRulesByTags(ctx context.Context, in *infrapb.RemoveInboundAllowRuleRulesByTagsRequest, ...) (*infrapb.RemoveInboundAllowRuleRulesByTagsResponse, error)
- func (_m *AccessControlServiceClient) RemoveInboundAllowRulesFromVPCById(ctx context.Context, in *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest, ...) (*infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, error)
- type AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call) Return(_a0 *infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, _a1 error) *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call) Run(...) *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn(...) *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call
- type AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) Return(_a0 *infrapb.AddInboundAllowRuleByLabelsMatchResponse, _a1 error) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) Run(...) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn(...) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
- type AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) Return(_a0 *infrapb.AddInboundAllowRuleBySubnetMatchResponse, _a1 error) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) Run(...) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn(...) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
- type AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return(_a0 *infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, _a1 error) *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run(run func(ctx context.Context, ...)) *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(...) *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call
- type AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) Return(_a0 *infrapb.AddInboundAllowRuleInVPCResponse, _a1 error) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) Run(...) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) RunAndReturn(...) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
- type AccessControlServiceClient_Expecter
- func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleByInstanceIPMatch(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleByLabelsMatch(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
- func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleBySubnetMatch(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
- func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_e *AccessControlServiceClient_Expecter) AddInboundAllowRuleInVPC(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
- func (_e *AccessControlServiceClient_Expecter) RefreshInboundAllowRule(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RefreshInboundAllowRule_Call
- func (_e *AccessControlServiceClient_Expecter) RemoveInboundAllowRuleFromVPCByName(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call
- func (_e *AccessControlServiceClient_Expecter) RemoveInboundAllowRuleRulesByTags(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
- func (_e *AccessControlServiceClient_Expecter) RemoveInboundAllowRulesFromVPCById(ctx interface{}, in interface{}, opts ...interface{}) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
- type AccessControlServiceClient_RefreshInboundAllowRule_Call
- func (_c *AccessControlServiceClient_RefreshInboundAllowRule_Call) Return(_a0 *infrapb.RefreshInboundAllowRuleResponse, _a1 error) *AccessControlServiceClient_RefreshInboundAllowRule_Call
- func (_c *AccessControlServiceClient_RefreshInboundAllowRule_Call) Run(run func(ctx context.Context, in *infrapb.RefreshInboundAllowRuleRequest, ...)) *AccessControlServiceClient_RefreshInboundAllowRule_Call
- func (_c *AccessControlServiceClient_RefreshInboundAllowRule_Call) RunAndReturn(...) *AccessControlServiceClient_RefreshInboundAllowRule_Call
- type AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call) Return(_a0 *infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, _a1 error) *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call) Run(...) *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(...) *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call
- type AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) Return(_a0 *infrapb.RemoveInboundAllowRuleRulesByTagsResponse, _a1 error) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) Run(...) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn(...) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
- type AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) Return(_a0 *infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, _a1 error) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) Run(...) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn(...) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
- type AccessControlServiceServer
- func (_m *AccessControlServiceServer) AddInboundAllowRuleByInstanceIPMatch(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest) (*infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, error)
- func (_m *AccessControlServiceServer) AddInboundAllowRuleByLabelsMatch(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleByLabelsMatchRequest) (*infrapb.AddInboundAllowRuleByLabelsMatchResponse, error)
- func (_m *AccessControlServiceServer) AddInboundAllowRuleBySubnetMatch(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleBySubnetMatchRequest) (*infrapb.AddInboundAllowRuleBySubnetMatchResponse, error)
- func (_m *AccessControlServiceServer) AddInboundAllowRuleForLoadBalancerByDNS(_a0 context.Context, ...) (*infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, error)
- func (_m *AccessControlServiceServer) AddInboundAllowRuleInVPC(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleInVPCRequest) (*infrapb.AddInboundAllowRuleInVPCResponse, error)
- func (_m *AccessControlServiceServer) EXPECT() *AccessControlServiceServer_Expecter
- func (_m *AccessControlServiceServer) RefreshInboundAllowRule(_a0 context.Context, _a1 *infrapb.RefreshInboundAllowRuleRequest) (*infrapb.RefreshInboundAllowRuleResponse, error)
- func (_m *AccessControlServiceServer) RemoveInboundAllowRuleFromVPCByName(_a0 context.Context, _a1 *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest) (*infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, error)
- func (_m *AccessControlServiceServer) RemoveInboundAllowRuleRulesByTags(_a0 context.Context, _a1 *infrapb.RemoveInboundAllowRuleRulesByTagsRequest) (*infrapb.RemoveInboundAllowRuleRulesByTagsResponse, error)
- func (_m *AccessControlServiceServer) RemoveInboundAllowRulesFromVPCById(_a0 context.Context, _a1 *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest) (*infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, error)
- type AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call) Return(_a0 *infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, _a1 error) *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call) Run(...) *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn(...) *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call
- type AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call) Return(_a0 *infrapb.AddInboundAllowRuleByLabelsMatchResponse, _a1 error) *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call) Run(...) *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn(...) *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call
- type AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call) Return(_a0 *infrapb.AddInboundAllowRuleBySubnetMatchResponse, _a1 error) *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call) Run(...) *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn(...) *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call
- type AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return(_a0 *infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, _a1 error) *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run(run func(_a0 context.Context, ...)) *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(...) *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call
- type AccessControlServiceServer_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call) Return(_a0 *infrapb.AddInboundAllowRuleInVPCResponse, _a1 error) *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call) Run(run func(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleInVPCRequest)) *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call) RunAndReturn(...) *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call
- type AccessControlServiceServer_Expecter
- func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleByInstanceIPMatch(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleByLabelsMatch(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call
- func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleBySubnetMatch(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call
- func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_e *AccessControlServiceServer_Expecter) AddInboundAllowRuleInVPC(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call
- func (_e *AccessControlServiceServer_Expecter) RefreshInboundAllowRule(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RefreshInboundAllowRule_Call
- func (_e *AccessControlServiceServer_Expecter) RemoveInboundAllowRuleFromVPCByName(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call
- func (_e *AccessControlServiceServer_Expecter) RemoveInboundAllowRuleRulesByTags(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call
- func (_e *AccessControlServiceServer_Expecter) RemoveInboundAllowRulesFromVPCById(_a0 interface{}, _a1 interface{}) *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call
- type AccessControlServiceServer_RefreshInboundAllowRule_Call
- func (_c *AccessControlServiceServer_RefreshInboundAllowRule_Call) Return(_a0 *infrapb.RefreshInboundAllowRuleResponse, _a1 error) *AccessControlServiceServer_RefreshInboundAllowRule_Call
- func (_c *AccessControlServiceServer_RefreshInboundAllowRule_Call) Run(run func(_a0 context.Context, _a1 *infrapb.RefreshInboundAllowRuleRequest)) *AccessControlServiceServer_RefreshInboundAllowRule_Call
- func (_c *AccessControlServiceServer_RefreshInboundAllowRule_Call) RunAndReturn(...) *AccessControlServiceServer_RefreshInboundAllowRule_Call
- type AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call) Return(_a0 *infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, _a1 error) *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call) Run(...) *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(...) *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call
- type AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call) Return(_a0 *infrapb.RemoveInboundAllowRuleRulesByTagsResponse, _a1 error) *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call) Run(...) *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn(...) *AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call
- type AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call) Return(_a0 *infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, _a1 error) *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call) Run(...) *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn(...) *AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call
- type AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call
- func (_c *AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Return() ...
- func (_c *AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Run(run func()) ...
- func (_c *AccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) RunAndReturn(run func()) ...
- type AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) Return(ruleId string, instances []types.Instance, err error) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) Run(...) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn(...) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call
- type AccessControl_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleByLabelsMatch_Call) Return(ruleId string, instances []types.Instance, err error) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleByLabelsMatch_Call) Run(...) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn(...) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call
- type AccessControl_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleBySubnetMatch_Call) Return(ruleId string, instances []types.Instance, subnets []types.Subnet, err error) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleBySubnetMatch_Call) Run(...) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *AccessControl_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn(...) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call
- type AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return(loadBalancerId string, ruleId string, err error) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run(...) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(...) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
- type AccessControl_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControl_AddInboundAllowRuleInVPC_Call) Return(_a0 error) *AccessControl_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControl_AddInboundAllowRuleInVPC_Call) Run(...) *AccessControl_AddInboundAllowRuleInVPC_Call
- func (_c *AccessControl_AddInboundAllowRuleInVPC_Call) RunAndReturn(...) *AccessControl_AddInboundAllowRuleInVPC_Call
- type AccessControl_Expecter
- func (_e *AccessControl_Expecter) AddInboundAllowRuleByInstanceIPMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_e *AccessControl_Expecter) AddInboundAllowRuleByLabelsMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call
- func (_e *AccessControl_Expecter) AddInboundAllowRuleBySubnetMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call
- func (_e *AccessControl_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(ctx interface{}, account interface{}, region interface{}, ...) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_e *AccessControl_Expecter) AddInboundAllowRuleInVPC(ctx interface{}, account interface{}, region interface{}, ...) *AccessControl_AddInboundAllowRuleInVPC_Call
- func (_e *AccessControl_Expecter) RefreshInboundAllowRule(ctx interface{}, account interface{}, region interface{}, ruleId interface{}, ...) *AccessControl_RefreshInboundAllowRule_Call
- func (_e *AccessControl_Expecter) RemoveInboundAllowRuleFromVPCByName(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
- func (_e *AccessControl_Expecter) RemoveInboundAllowRuleRulesByTags(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *AccessControl_RemoveInboundAllowRuleRulesByTags_Call
- func (_e *AccessControl_Expecter) RemoveInboundAllowRulesFromVPCById(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *AccessControl_RemoveInboundAllowRulesFromVPCById_Call
- type AccessControl_RefreshInboundAllowRule_Call
- func (_c *AccessControl_RefreshInboundAllowRule_Call) Return(instances []types.Instance, subnets []types.Subnet, err error) *AccessControl_RefreshInboundAllowRule_Call
- func (_c *AccessControl_RefreshInboundAllowRule_Call) Run(...) *AccessControl_RefreshInboundAllowRule_Call
- func (_c *AccessControl_RefreshInboundAllowRule_Call) RunAndReturn(...) *AccessControl_RefreshInboundAllowRule_Call
- type AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) Return(_a0 error) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) Run(...) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(run func(context.Context, string, string, string, string) error) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
- type AccessControl_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControl_RemoveInboundAllowRuleRulesByTags_Call) Return(_a0 error) *AccessControl_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControl_RemoveInboundAllowRuleRulesByTags_Call) Run(...) *AccessControl_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *AccessControl_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn(...) *AccessControl_RemoveInboundAllowRuleRulesByTags_Call
- type AccessControl_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControl_RemoveInboundAllowRulesFromVPCById_Call) Return(_a0 error) *AccessControl_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControl_RemoveInboundAllowRulesFromVPCById_Call) Run(...) *AccessControl_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *AccessControl_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn(...) *AccessControl_RemoveInboundAllowRulesFromVPCById_Call
- type Client
- func (_m *Client) Close() error
- func (_m *Client) DeleteACL(id string) error
- func (_m *Client) DeleteCluster(id string) error
- func (_m *Client) DeleteInstance(id string) error
- func (_m *Client) DeleteKubernetesNode(id string) error
- func (_m *Client) DeleteKubernetesService(id string) error
- func (_m *Client) DeleteNamespace(id string) error
- func (_m *Client) DeletePod(id string) error
- func (_m *Client) DeleteRouteTable(id string) error
- func (_m *Client) DeleteSecurityGroup(id string) error
- func (_m *Client) DeleteSubnet(id string) error
- func (_m *Client) DeleteSyncTime(id string) error
- func (_m *Client) DeleteVPC(id string) error
- func (_m *Client) DropDB() error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetACL(id string) (*types.ACL, error)
- func (_m *Client) GetCluster(id string) (*types.Cluster, error)
- func (_m *Client) GetInstance(id string) (*types.Instance, error)
- func (_m *Client) GetKubernetesNode(id string) (*types.K8sNode, error)
- func (_m *Client) GetKubernetesService(id string) (*types.K8SService, error)
- func (_m *Client) GetNamespace(id string) (*types.Namespace, error)
- func (_m *Client) GetPod(id string) (*types.Pod, error)
- func (_m *Client) GetRouteTable(id string) (*types.RouteTable, error)
- func (_m *Client) GetSecurityGroup(id string) (*types.SecurityGroup, error)
- func (_m *Client) GetSubnet(id string) (*types.Subnet, error)
- func (_m *Client) GetSyncTime(id string) (*types.SyncTime, error)
- func (_m *Client) GetVPC(id string) (*types.VPC, error)
- func (_m *Client) ListACLs() ([]*types.ACL, error)
- func (_m *Client) ListClusters() ([]*types.Cluster, error)
- func (_m *Client) ListInstances() ([]*types.Instance, error)
- func (_m *Client) ListKubernetesNodes() ([]*types.K8sNode, error)
- func (_m *Client) ListKubernetesServices() ([]*types.K8SService, error)
- func (_m *Client) ListNamespaces() ([]*types.Namespace, error)
- func (_m *Client) ListPods() ([]*types.Pod, error)
- func (_m *Client) ListRouteTables() ([]*types.RouteTable, error)
- func (_m *Client) ListSecurityGroups() ([]*types.SecurityGroup, error)
- func (_m *Client) ListSubnets() ([]*types.Subnet, error)
- func (_m *Client) ListSyncTimes() ([]*types.SyncTime, error)
- func (_m *Client) ListVPCs() ([]*types.VPC, error)
- func (_m *Client) Open(filename string) error
- func (_m *Client) PutACL(acl *types.ACL) error
- func (_m *Client) PutCluster(cluster *types.Cluster) error
- func (_m *Client) PutInstance(instance *types.Instance) error
- func (_m *Client) PutKubernetesNode(node *types.K8sNode) error
- func (_m *Client) PutKubernetesService(service *types.K8SService) error
- func (_m *Client) PutNamespace(namespace *types.Namespace) error
- func (_m *Client) PutPod(pod *types.Pod) error
- func (_m *Client) PutRouteTable(routeTable *types.RouteTable) error
- func (_m *Client) PutSecurityGroup(securityGroup *types.SecurityGroup) error
- func (_m *Client) PutSubnet(subnet *types.Subnet) error
- func (_m *Client) PutSyncTime(time *types.SyncTime) error
- func (_m *Client) PutVPC(vpc *types.VPC) error
- type Client_Close_Call
- type Client_DeleteACL_Call
- type Client_DeleteCluster_Call
- type Client_DeleteInstance_Call
- type Client_DeleteKubernetesNode_Call
- func (_c *Client_DeleteKubernetesNode_Call) Return(_a0 error) *Client_DeleteKubernetesNode_Call
- func (_c *Client_DeleteKubernetesNode_Call) Run(run func(id string)) *Client_DeleteKubernetesNode_Call
- func (_c *Client_DeleteKubernetesNode_Call) RunAndReturn(run func(string) error) *Client_DeleteKubernetesNode_Call
- type Client_DeleteKubernetesService_Call
- func (_c *Client_DeleteKubernetesService_Call) Return(_a0 error) *Client_DeleteKubernetesService_Call
- func (_c *Client_DeleteKubernetesService_Call) Run(run func(id string)) *Client_DeleteKubernetesService_Call
- func (_c *Client_DeleteKubernetesService_Call) RunAndReturn(run func(string) error) *Client_DeleteKubernetesService_Call
- type Client_DeleteNamespace_Call
- type Client_DeletePod_Call
- type Client_DeleteRouteTable_Call
- type Client_DeleteSecurityGroup_Call
- func (_c *Client_DeleteSecurityGroup_Call) Return(_a0 error) *Client_DeleteSecurityGroup_Call
- func (_c *Client_DeleteSecurityGroup_Call) Run(run func(id string)) *Client_DeleteSecurityGroup_Call
- func (_c *Client_DeleteSecurityGroup_Call) RunAndReturn(run func(string) error) *Client_DeleteSecurityGroup_Call
- type Client_DeleteSubnet_Call
- type Client_DeleteSyncTime_Call
- type Client_DeleteVPC_Call
- type Client_DropDB_Call
- type Client_Expecter
- func (_e *Client_Expecter) Close() *Client_Close_Call
- func (_e *Client_Expecter) DeleteACL(id interface{}) *Client_DeleteACL_Call
- func (_e *Client_Expecter) DeleteCluster(id interface{}) *Client_DeleteCluster_Call
- func (_e *Client_Expecter) DeleteInstance(id interface{}) *Client_DeleteInstance_Call
- func (_e *Client_Expecter) DeleteKubernetesNode(id interface{}) *Client_DeleteKubernetesNode_Call
- func (_e *Client_Expecter) DeleteKubernetesService(id interface{}) *Client_DeleteKubernetesService_Call
- func (_e *Client_Expecter) DeleteNamespace(id interface{}) *Client_DeleteNamespace_Call
- func (_e *Client_Expecter) DeletePod(id interface{}) *Client_DeletePod_Call
- func (_e *Client_Expecter) DeleteRouteTable(id interface{}) *Client_DeleteRouteTable_Call
- func (_e *Client_Expecter) DeleteSecurityGroup(id interface{}) *Client_DeleteSecurityGroup_Call
- func (_e *Client_Expecter) DeleteSubnet(id interface{}) *Client_DeleteSubnet_Call
- func (_e *Client_Expecter) DeleteSyncTime(id interface{}) *Client_DeleteSyncTime_Call
- func (_e *Client_Expecter) DeleteVPC(id interface{}) *Client_DeleteVPC_Call
- func (_e *Client_Expecter) DropDB() *Client_DropDB_Call
- func (_e *Client_Expecter) GetACL(id interface{}) *Client_GetACL_Call
- func (_e *Client_Expecter) GetCluster(id interface{}) *Client_GetCluster_Call
- func (_e *Client_Expecter) GetInstance(id interface{}) *Client_GetInstance_Call
- func (_e *Client_Expecter) GetKubernetesNode(id interface{}) *Client_GetKubernetesNode_Call
- func (_e *Client_Expecter) GetKubernetesService(id interface{}) *Client_GetKubernetesService_Call
- func (_e *Client_Expecter) GetNamespace(id interface{}) *Client_GetNamespace_Call
- func (_e *Client_Expecter) GetPod(id interface{}) *Client_GetPod_Call
- func (_e *Client_Expecter) GetRouteTable(id interface{}) *Client_GetRouteTable_Call
- func (_e *Client_Expecter) GetSecurityGroup(id interface{}) *Client_GetSecurityGroup_Call
- func (_e *Client_Expecter) GetSubnet(id interface{}) *Client_GetSubnet_Call
- func (_e *Client_Expecter) GetSyncTime(id interface{}) *Client_GetSyncTime_Call
- func (_e *Client_Expecter) GetVPC(id interface{}) *Client_GetVPC_Call
- func (_e *Client_Expecter) ListACLs() *Client_ListACLs_Call
- func (_e *Client_Expecter) ListClusters() *Client_ListClusters_Call
- func (_e *Client_Expecter) ListInstances() *Client_ListInstances_Call
- func (_e *Client_Expecter) ListKubernetesNodes() *Client_ListKubernetesNodes_Call
- func (_e *Client_Expecter) ListKubernetesServices() *Client_ListKubernetesServices_Call
- func (_e *Client_Expecter) ListNamespaces() *Client_ListNamespaces_Call
- func (_e *Client_Expecter) ListPods() *Client_ListPods_Call
- func (_e *Client_Expecter) ListRouteTables() *Client_ListRouteTables_Call
- func (_e *Client_Expecter) ListSecurityGroups() *Client_ListSecurityGroups_Call
- func (_e *Client_Expecter) ListSubnets() *Client_ListSubnets_Call
- func (_e *Client_Expecter) ListSyncTimes() *Client_ListSyncTimes_Call
- func (_e *Client_Expecter) ListVPCs() *Client_ListVPCs_Call
- func (_e *Client_Expecter) Open(filename interface{}) *Client_Open_Call
- func (_e *Client_Expecter) PutACL(acl interface{}) *Client_PutACL_Call
- func (_e *Client_Expecter) PutCluster(cluster interface{}) *Client_PutCluster_Call
- func (_e *Client_Expecter) PutInstance(instance interface{}) *Client_PutInstance_Call
- func (_e *Client_Expecter) PutKubernetesNode(node interface{}) *Client_PutKubernetesNode_Call
- func (_e *Client_Expecter) PutKubernetesService(service interface{}) *Client_PutKubernetesService_Call
- func (_e *Client_Expecter) PutNamespace(namespace interface{}) *Client_PutNamespace_Call
- func (_e *Client_Expecter) PutPod(pod interface{}) *Client_PutPod_Call
- func (_e *Client_Expecter) PutRouteTable(routeTable interface{}) *Client_PutRouteTable_Call
- func (_e *Client_Expecter) PutSecurityGroup(securityGroup interface{}) *Client_PutSecurityGroup_Call
- func (_e *Client_Expecter) PutSubnet(subnet interface{}) *Client_PutSubnet_Call
- func (_e *Client_Expecter) PutSyncTime(time interface{}) *Client_PutSyncTime_Call
- func (_e *Client_Expecter) PutVPC(vpc interface{}) *Client_PutVPC_Call
- type Client_GetACL_Call
- type Client_GetCluster_Call
- type Client_GetInstance_Call
- type Client_GetKubernetesNode_Call
- func (_c *Client_GetKubernetesNode_Call) Return(_a0 *types.K8sNode, _a1 error) *Client_GetKubernetesNode_Call
- func (_c *Client_GetKubernetesNode_Call) Run(run func(id string)) *Client_GetKubernetesNode_Call
- func (_c *Client_GetKubernetesNode_Call) RunAndReturn(run func(string) (*types.K8sNode, error)) *Client_GetKubernetesNode_Call
- type Client_GetKubernetesService_Call
- func (_c *Client_GetKubernetesService_Call) Return(_a0 *types.K8SService, _a1 error) *Client_GetKubernetesService_Call
- func (_c *Client_GetKubernetesService_Call) Run(run func(id string)) *Client_GetKubernetesService_Call
- func (_c *Client_GetKubernetesService_Call) RunAndReturn(run func(string) (*types.K8SService, error)) *Client_GetKubernetesService_Call
- type Client_GetNamespace_Call
- func (_c *Client_GetNamespace_Call) Return(_a0 *types.Namespace, _a1 error) *Client_GetNamespace_Call
- func (_c *Client_GetNamespace_Call) Run(run func(id string)) *Client_GetNamespace_Call
- func (_c *Client_GetNamespace_Call) RunAndReturn(run func(string) (*types.Namespace, error)) *Client_GetNamespace_Call
- type Client_GetPod_Call
- type Client_GetRouteTable_Call
- func (_c *Client_GetRouteTable_Call) Return(_a0 *types.RouteTable, _a1 error) *Client_GetRouteTable_Call
- func (_c *Client_GetRouteTable_Call) Run(run func(id string)) *Client_GetRouteTable_Call
- func (_c *Client_GetRouteTable_Call) RunAndReturn(run func(string) (*types.RouteTable, error)) *Client_GetRouteTable_Call
- type Client_GetSecurityGroup_Call
- func (_c *Client_GetSecurityGroup_Call) Return(_a0 *types.SecurityGroup, _a1 error) *Client_GetSecurityGroup_Call
- func (_c *Client_GetSecurityGroup_Call) Run(run func(id string)) *Client_GetSecurityGroup_Call
- func (_c *Client_GetSecurityGroup_Call) RunAndReturn(run func(string) (*types.SecurityGroup, error)) *Client_GetSecurityGroup_Call
- type Client_GetSubnet_Call
- type Client_GetSyncTime_Call
- type Client_GetVPC_Call
- type Client_ListACLs_Call
- type Client_ListClusters_Call
- type Client_ListInstances_Call
- func (_c *Client_ListInstances_Call) Return(_a0 []*types.Instance, _a1 error) *Client_ListInstances_Call
- func (_c *Client_ListInstances_Call) Run(run func()) *Client_ListInstances_Call
- func (_c *Client_ListInstances_Call) RunAndReturn(run func() ([]*types.Instance, error)) *Client_ListInstances_Call
- type Client_ListKubernetesNodes_Call
- func (_c *Client_ListKubernetesNodes_Call) Return(_a0 []*types.K8sNode, _a1 error) *Client_ListKubernetesNodes_Call
- func (_c *Client_ListKubernetesNodes_Call) Run(run func()) *Client_ListKubernetesNodes_Call
- func (_c *Client_ListKubernetesNodes_Call) RunAndReturn(run func() ([]*types.K8sNode, error)) *Client_ListKubernetesNodes_Call
- type Client_ListKubernetesServices_Call
- func (_c *Client_ListKubernetesServices_Call) Return(_a0 []*types.K8SService, _a1 error) *Client_ListKubernetesServices_Call
- func (_c *Client_ListKubernetesServices_Call) Run(run func()) *Client_ListKubernetesServices_Call
- func (_c *Client_ListKubernetesServices_Call) RunAndReturn(run func() ([]*types.K8SService, error)) *Client_ListKubernetesServices_Call
- type Client_ListNamespaces_Call
- func (_c *Client_ListNamespaces_Call) Return(_a0 []*types.Namespace, _a1 error) *Client_ListNamespaces_Call
- func (_c *Client_ListNamespaces_Call) Run(run func()) *Client_ListNamespaces_Call
- func (_c *Client_ListNamespaces_Call) RunAndReturn(run func() ([]*types.Namespace, error)) *Client_ListNamespaces_Call
- type Client_ListPods_Call
- type Client_ListRouteTables_Call
- func (_c *Client_ListRouteTables_Call) Return(_a0 []*types.RouteTable, _a1 error) *Client_ListRouteTables_Call
- func (_c *Client_ListRouteTables_Call) Run(run func()) *Client_ListRouteTables_Call
- func (_c *Client_ListRouteTables_Call) RunAndReturn(run func() ([]*types.RouteTable, error)) *Client_ListRouteTables_Call
- type Client_ListSecurityGroups_Call
- func (_c *Client_ListSecurityGroups_Call) Return(_a0 []*types.SecurityGroup, _a1 error) *Client_ListSecurityGroups_Call
- func (_c *Client_ListSecurityGroups_Call) Run(run func()) *Client_ListSecurityGroups_Call
- func (_c *Client_ListSecurityGroups_Call) RunAndReturn(run func() ([]*types.SecurityGroup, error)) *Client_ListSecurityGroups_Call
- type Client_ListSubnets_Call
- type Client_ListSyncTimes_Call
- func (_c *Client_ListSyncTimes_Call) Return(_a0 []*types.SyncTime, _a1 error) *Client_ListSyncTimes_Call
- func (_c *Client_ListSyncTimes_Call) Run(run func()) *Client_ListSyncTimes_Call
- func (_c *Client_ListSyncTimes_Call) RunAndReturn(run func() ([]*types.SyncTime, error)) *Client_ListSyncTimes_Call
- type Client_ListVPCs_Call
- type Client_Open_Call
- type Client_PutACL_Call
- type Client_PutCluster_Call
- type Client_PutInstance_Call
- type Client_PutKubernetesNode_Call
- func (_c *Client_PutKubernetesNode_Call) Return(_a0 error) *Client_PutKubernetesNode_Call
- func (_c *Client_PutKubernetesNode_Call) Run(run func(node *types.K8sNode)) *Client_PutKubernetesNode_Call
- func (_c *Client_PutKubernetesNode_Call) RunAndReturn(run func(*types.K8sNode) error) *Client_PutKubernetesNode_Call
- type Client_PutKubernetesService_Call
- func (_c *Client_PutKubernetesService_Call) Return(_a0 error) *Client_PutKubernetesService_Call
- func (_c *Client_PutKubernetesService_Call) Run(run func(service *types.K8SService)) *Client_PutKubernetesService_Call
- func (_c *Client_PutKubernetesService_Call) RunAndReturn(run func(*types.K8SService) error) *Client_PutKubernetesService_Call
- type Client_PutNamespace_Call
- type Client_PutPod_Call
- type Client_PutRouteTable_Call
- func (_c *Client_PutRouteTable_Call) Return(_a0 error) *Client_PutRouteTable_Call
- func (_c *Client_PutRouteTable_Call) Run(run func(routeTable *types.RouteTable)) *Client_PutRouteTable_Call
- func (_c *Client_PutRouteTable_Call) RunAndReturn(run func(*types.RouteTable) error) *Client_PutRouteTable_Call
- type Client_PutSecurityGroup_Call
- func (_c *Client_PutSecurityGroup_Call) Return(_a0 error) *Client_PutSecurityGroup_Call
- func (_c *Client_PutSecurityGroup_Call) Run(run func(securityGroup *types.SecurityGroup)) *Client_PutSecurityGroup_Call
- func (_c *Client_PutSecurityGroup_Call) RunAndReturn(run func(*types.SecurityGroup) error) *Client_PutSecurityGroup_Call
- type Client_PutSubnet_Call
- type Client_PutSyncTime_Call
- type Client_PutVPC_Call
- type CloudProvider
- func (_m *CloudProvider) AddInboundAllowRuleByInstanceIPMatch(ctx context.Context, account string, region string, vpcID string, ...) (string, []types.Instance, error)
- func (_m *CloudProvider) AddInboundAllowRuleByLabelsMatch(ctx context.Context, account string, region string, vpcID string, ...) (string, []types.Instance, error)
- func (_m *CloudProvider) AddInboundAllowRuleBySubnetMatch(ctx context.Context, account string, region string, vpcID string, ...) (string, []types.Instance, []types.Subnet, error)
- func (_m *CloudProvider) AddInboundAllowRuleForLoadBalancerByDNS(ctx context.Context, account string, region string, loadBalancerDNS string, ...) (string, string, error)
- func (_m *CloudProvider) AddInboundAllowRuleInVPC(ctx context.Context, account string, region string, destinationVpcID string, ...) error
- func (_m *CloudProvider) ConnectVPCs(ctx context.Context, input types.VPCConnectionParams) (types.VPCConnectionOutput, error)
- func (_m *CloudProvider) DisconnectVPCs(ctx context.Context, input types.VPCDisconnectionParams) (types.VPCDisconnectionOutput, error)
- func (_m *CloudProvider) EXPECT() *CloudProvider_Expecter
- func (_m *CloudProvider) GetCIDRsForLabels(ctx context.Context, input *infrapb.GetCIDRsForLabelsRequest) ([]string, error)
- func (_m *CloudProvider) GetIPsForLabels(ctx context.Context, input *infrapb.GetIPsForLabelsRequest) ([]string, error)
- func (_m *CloudProvider) GetInstancesForLabels(ctx context.Context, input *infrapb.GetInstancesForLabelsRequest) ([]types.Instance, error)
- func (_m *CloudProvider) GetName() string
- func (_m *CloudProvider) GetSubnet(ctx context.Context, input *infrapb.GetSubnetRequest) (types.Subnet, error)
- func (_m *CloudProvider) GetSyncTime(id string) (types.SyncTime, error)
- func (_m *CloudProvider) GetVPCIDForCIDR(ctx context.Context, input *infrapb.GetVPCIDForCIDRRequest) (string, error)
- func (_m *CloudProvider) GetVPCIDWithTag(ctx context.Context, input *infrapb.GetVPCIDWithTagRequest) (string, error)
- func (_m *CloudProvider) ListACLs(ctx context.Context, input *infrapb.ListACLsRequest) ([]types.ACL, error)
- func (_m *CloudProvider) ListAccounts() []types.Account
- func (_m *CloudProvider) ListClusters(ctx context.Context, input *infrapb.ListCloudClustersRequest) ([]types.Cluster, error)
- func (_m *CloudProvider) ListInstances(ctx context.Context, input *infrapb.ListInstancesRequest) ([]types.Instance, error)
- func (_m *CloudProvider) ListRouteTables(ctx context.Context, input *infrapb.ListRouteTablesRequest) ([]types.RouteTable, error)
- func (_m *CloudProvider) ListSecurityGroups(ctx context.Context, input *infrapb.ListSecurityGroupsRequest) ([]types.SecurityGroup, error)
- func (_m *CloudProvider) ListSubnets(ctx context.Context, input *infrapb.ListSubnetsRequest) ([]types.Subnet, error)
- func (_m *CloudProvider) ListVPC(ctx context.Context, input *infrapb.ListVPCRequest) ([]types.VPC, error)
- func (_m *CloudProvider) RefreshInboundAllowRule(ctx context.Context, account string, region string, ruleId string, ...) ([]types.Instance, []types.Subnet, error)
- func (_m *CloudProvider) RemoveInboundAllowRuleFromVPCByName(ctx context.Context, account string, region string, vpcID string, ...) error
- func (_m *CloudProvider) RemoveInboundAllowRuleRulesByTags(ctx context.Context, account string, region string, vpcID string, ...) error
- func (_m *CloudProvider) RemoveInboundAllowRulesFromVPCById(ctx context.Context, account string, region string, vpcID string, ...) error
- func (_m *CloudProvider) RetrieveClustersData(ctx context.Context) ([]cluster.DiscoveredCluster, error)
- type CloudProviderServiceClient
- func (_m *CloudProviderServiceClient) EXPECT() *CloudProviderServiceClient_Expecter
- func (_m *CloudProviderServiceClient) GetCIDRsForLabels(ctx context.Context, in *infrapb.GetCIDRsForLabelsRequest, ...) (*infrapb.GetCIDRsForLabelsResponse, error)
- func (_m *CloudProviderServiceClient) GetIPsForLabels(ctx context.Context, in *infrapb.GetIPsForLabelsRequest, ...) (*infrapb.GetIPsForLabelsResponse, error)
- func (_m *CloudProviderServiceClient) GetInstancesForLabels(ctx context.Context, in *infrapb.GetInstancesForLabelsRequest, ...) (*infrapb.GetInstancesForLabelsResponse, error)
- func (_m *CloudProviderServiceClient) GetSubnet(ctx context.Context, in *infrapb.GetSubnetRequest, opts ...grpc.CallOption) (*infrapb.GetSubnetResponse, error)
- func (_m *CloudProviderServiceClient) GetVPCIDForCIDR(ctx context.Context, in *infrapb.GetVPCIDForCIDRRequest, ...) (*infrapb.GetVPCIDForCIDRResponse, error)
- func (_m *CloudProviderServiceClient) GetVPCIDWithTag(ctx context.Context, in *infrapb.GetVPCIDWithTagRequest, ...) (*infrapb.GetVPCIDWithTagResponse, error)
- func (_m *CloudProviderServiceClient) ListACLs(ctx context.Context, in *infrapb.ListACLsRequest, opts ...grpc.CallOption) (*infrapb.ListACLsResponse, error)
- func (_m *CloudProviderServiceClient) ListAccounts(ctx context.Context, in *infrapb.ListAccountsRequest, opts ...grpc.CallOption) (*infrapb.ListAccountsResponse, error)
- func (_m *CloudProviderServiceClient) ListCloudClusters(ctx context.Context, in *infrapb.ListCloudClustersRequest, ...) (*infrapb.ListCloudClustersResponse, error)
- func (_m *CloudProviderServiceClient) ListInstances(ctx context.Context, in *infrapb.ListInstancesRequest, opts ...grpc.CallOption) (*infrapb.ListInstancesResponse, error)
- func (_m *CloudProviderServiceClient) ListRouteTables(ctx context.Context, in *infrapb.ListRouteTablesRequest, ...) (*infrapb.ListRouteTablesResponse, error)
- func (_m *CloudProviderServiceClient) ListSecurityGroups(ctx context.Context, in *infrapb.ListSecurityGroupsRequest, ...) (*infrapb.ListSecurityGroupsResponse, error)
- func (_m *CloudProviderServiceClient) ListSubnets(ctx context.Context, in *infrapb.ListSubnetsRequest, opts ...grpc.CallOption) (*infrapb.ListSubnetsResponse, error)
- func (_m *CloudProviderServiceClient) ListVPC(ctx context.Context, in *infrapb.ListVPCRequest, opts ...grpc.CallOption) (*infrapb.ListVPCResponse, error)
- func (_m *CloudProviderServiceClient) Summary(ctx context.Context, in *infrapb.SummaryRequest, opts ...grpc.CallOption) (*infrapb.SummaryResponse, error)
- type CloudProviderServiceClient_Expecter
- func (_e *CloudProviderServiceClient_Expecter) GetCIDRsForLabels(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetCIDRsForLabels_Call
- func (_e *CloudProviderServiceClient_Expecter) GetIPsForLabels(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetIPsForLabels_Call
- func (_e *CloudProviderServiceClient_Expecter) GetInstancesForLabels(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetInstancesForLabels_Call
- func (_e *CloudProviderServiceClient_Expecter) GetSubnet(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetSubnet_Call
- func (_e *CloudProviderServiceClient_Expecter) GetVPCIDForCIDR(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
- func (_e *CloudProviderServiceClient_Expecter) GetVPCIDWithTag(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_GetVPCIDWithTag_Call
- func (_e *CloudProviderServiceClient_Expecter) ListACLs(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListACLs_Call
- func (_e *CloudProviderServiceClient_Expecter) ListAccounts(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListAccounts_Call
- func (_e *CloudProviderServiceClient_Expecter) ListCloudClusters(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListCloudClusters_Call
- func (_e *CloudProviderServiceClient_Expecter) ListInstances(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListInstances_Call
- func (_e *CloudProviderServiceClient_Expecter) ListRouteTables(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListRouteTables_Call
- func (_e *CloudProviderServiceClient_Expecter) ListSecurityGroups(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListSecurityGroups_Call
- func (_e *CloudProviderServiceClient_Expecter) ListSubnets(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListSubnets_Call
- func (_e *CloudProviderServiceClient_Expecter) ListVPC(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_ListVPC_Call
- func (_e *CloudProviderServiceClient_Expecter) Summary(ctx interface{}, in interface{}, opts ...interface{}) *CloudProviderServiceClient_Summary_Call
- type CloudProviderServiceClient_GetCIDRsForLabels_Call
- func (_c *CloudProviderServiceClient_GetCIDRsForLabels_Call) Return(_a0 *infrapb.GetCIDRsForLabelsResponse, _a1 error) *CloudProviderServiceClient_GetCIDRsForLabels_Call
- func (_c *CloudProviderServiceClient_GetCIDRsForLabels_Call) Run(run func(ctx context.Context, in *infrapb.GetCIDRsForLabelsRequest, ...)) *CloudProviderServiceClient_GetCIDRsForLabels_Call
- func (_c *CloudProviderServiceClient_GetCIDRsForLabels_Call) RunAndReturn(...) *CloudProviderServiceClient_GetCIDRsForLabels_Call
- type CloudProviderServiceClient_GetIPsForLabels_Call
- func (_c *CloudProviderServiceClient_GetIPsForLabels_Call) Return(_a0 *infrapb.GetIPsForLabelsResponse, _a1 error) *CloudProviderServiceClient_GetIPsForLabels_Call
- func (_c *CloudProviderServiceClient_GetIPsForLabels_Call) Run(run func(ctx context.Context, in *infrapb.GetIPsForLabelsRequest, ...)) *CloudProviderServiceClient_GetIPsForLabels_Call
- func (_c *CloudProviderServiceClient_GetIPsForLabels_Call) RunAndReturn(...) *CloudProviderServiceClient_GetIPsForLabels_Call
- type CloudProviderServiceClient_GetInstancesForLabels_Call
- func (_c *CloudProviderServiceClient_GetInstancesForLabels_Call) Return(_a0 *infrapb.GetInstancesForLabelsResponse, _a1 error) *CloudProviderServiceClient_GetInstancesForLabels_Call
- func (_c *CloudProviderServiceClient_GetInstancesForLabels_Call) Run(run func(ctx context.Context, in *infrapb.GetInstancesForLabelsRequest, ...)) *CloudProviderServiceClient_GetInstancesForLabels_Call
- func (_c *CloudProviderServiceClient_GetInstancesForLabels_Call) RunAndReturn(...) *CloudProviderServiceClient_GetInstancesForLabels_Call
- type CloudProviderServiceClient_GetSubnet_Call
- func (_c *CloudProviderServiceClient_GetSubnet_Call) Return(_a0 *infrapb.GetSubnetResponse, _a1 error) *CloudProviderServiceClient_GetSubnet_Call
- func (_c *CloudProviderServiceClient_GetSubnet_Call) Run(...) *CloudProviderServiceClient_GetSubnet_Call
- func (_c *CloudProviderServiceClient_GetSubnet_Call) RunAndReturn(...) *CloudProviderServiceClient_GetSubnet_Call
- type CloudProviderServiceClient_GetVPCIDForCIDR_Call
- func (_c *CloudProviderServiceClient_GetVPCIDForCIDR_Call) Return(_a0 *infrapb.GetVPCIDForCIDRResponse, _a1 error) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
- func (_c *CloudProviderServiceClient_GetVPCIDForCIDR_Call) Run(run func(ctx context.Context, in *infrapb.GetVPCIDForCIDRRequest, ...)) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
- func (_c *CloudProviderServiceClient_GetVPCIDForCIDR_Call) RunAndReturn(...) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
- type CloudProviderServiceClient_GetVPCIDWithTag_Call
- func (_c *CloudProviderServiceClient_GetVPCIDWithTag_Call) Return(_a0 *infrapb.GetVPCIDWithTagResponse, _a1 error) *CloudProviderServiceClient_GetVPCIDWithTag_Call
- func (_c *CloudProviderServiceClient_GetVPCIDWithTag_Call) Run(run func(ctx context.Context, in *infrapb.GetVPCIDWithTagRequest, ...)) *CloudProviderServiceClient_GetVPCIDWithTag_Call
- func (_c *CloudProviderServiceClient_GetVPCIDWithTag_Call) RunAndReturn(...) *CloudProviderServiceClient_GetVPCIDWithTag_Call
- type CloudProviderServiceClient_ListACLs_Call
- func (_c *CloudProviderServiceClient_ListACLs_Call) Return(_a0 *infrapb.ListACLsResponse, _a1 error) *CloudProviderServiceClient_ListACLs_Call
- func (_c *CloudProviderServiceClient_ListACLs_Call) Run(...) *CloudProviderServiceClient_ListACLs_Call
- func (_c *CloudProviderServiceClient_ListACLs_Call) RunAndReturn(...) *CloudProviderServiceClient_ListACLs_Call
- type CloudProviderServiceClient_ListAccounts_Call
- func (_c *CloudProviderServiceClient_ListAccounts_Call) Return(_a0 *infrapb.ListAccountsResponse, _a1 error) *CloudProviderServiceClient_ListAccounts_Call
- func (_c *CloudProviderServiceClient_ListAccounts_Call) Run(...) *CloudProviderServiceClient_ListAccounts_Call
- func (_c *CloudProviderServiceClient_ListAccounts_Call) RunAndReturn(...) *CloudProviderServiceClient_ListAccounts_Call
- type CloudProviderServiceClient_ListCloudClusters_Call
- func (_c *CloudProviderServiceClient_ListCloudClusters_Call) Return(_a0 *infrapb.ListCloudClustersResponse, _a1 error) *CloudProviderServiceClient_ListCloudClusters_Call
- func (_c *CloudProviderServiceClient_ListCloudClusters_Call) Run(run func(ctx context.Context, in *infrapb.ListCloudClustersRequest, ...)) *CloudProviderServiceClient_ListCloudClusters_Call
- func (_c *CloudProviderServiceClient_ListCloudClusters_Call) RunAndReturn(...) *CloudProviderServiceClient_ListCloudClusters_Call
- type CloudProviderServiceClient_ListInstances_Call
- func (_c *CloudProviderServiceClient_ListInstances_Call) Return(_a0 *infrapb.ListInstancesResponse, _a1 error) *CloudProviderServiceClient_ListInstances_Call
- func (_c *CloudProviderServiceClient_ListInstances_Call) Run(...) *CloudProviderServiceClient_ListInstances_Call
- func (_c *CloudProviderServiceClient_ListInstances_Call) RunAndReturn(...) *CloudProviderServiceClient_ListInstances_Call
- type CloudProviderServiceClient_ListRouteTables_Call
- func (_c *CloudProviderServiceClient_ListRouteTables_Call) Return(_a0 *infrapb.ListRouteTablesResponse, _a1 error) *CloudProviderServiceClient_ListRouteTables_Call
- func (_c *CloudProviderServiceClient_ListRouteTables_Call) Run(run func(ctx context.Context, in *infrapb.ListRouteTablesRequest, ...)) *CloudProviderServiceClient_ListRouteTables_Call
- func (_c *CloudProviderServiceClient_ListRouteTables_Call) RunAndReturn(...) *CloudProviderServiceClient_ListRouteTables_Call
- type CloudProviderServiceClient_ListSecurityGroups_Call
- func (_c *CloudProviderServiceClient_ListSecurityGroups_Call) Return(_a0 *infrapb.ListSecurityGroupsResponse, _a1 error) *CloudProviderServiceClient_ListSecurityGroups_Call
- func (_c *CloudProviderServiceClient_ListSecurityGroups_Call) Run(run func(ctx context.Context, in *infrapb.ListSecurityGroupsRequest, ...)) *CloudProviderServiceClient_ListSecurityGroups_Call
- func (_c *CloudProviderServiceClient_ListSecurityGroups_Call) RunAndReturn(...) *CloudProviderServiceClient_ListSecurityGroups_Call
- type CloudProviderServiceClient_ListSubnets_Call
- func (_c *CloudProviderServiceClient_ListSubnets_Call) Return(_a0 *infrapb.ListSubnetsResponse, _a1 error) *CloudProviderServiceClient_ListSubnets_Call
- func (_c *CloudProviderServiceClient_ListSubnets_Call) Run(...) *CloudProviderServiceClient_ListSubnets_Call
- func (_c *CloudProviderServiceClient_ListSubnets_Call) RunAndReturn(...) *CloudProviderServiceClient_ListSubnets_Call
- type CloudProviderServiceClient_ListVPC_Call
- func (_c *CloudProviderServiceClient_ListVPC_Call) Return(_a0 *infrapb.ListVPCResponse, _a1 error) *CloudProviderServiceClient_ListVPC_Call
- func (_c *CloudProviderServiceClient_ListVPC_Call) Run(...) *CloudProviderServiceClient_ListVPC_Call
- func (_c *CloudProviderServiceClient_ListVPC_Call) RunAndReturn(...) *CloudProviderServiceClient_ListVPC_Call
- type CloudProviderServiceClient_Summary_Call
- func (_c *CloudProviderServiceClient_Summary_Call) Return(_a0 *infrapb.SummaryResponse, _a1 error) *CloudProviderServiceClient_Summary_Call
- func (_c *CloudProviderServiceClient_Summary_Call) Run(...) *CloudProviderServiceClient_Summary_Call
- func (_c *CloudProviderServiceClient_Summary_Call) RunAndReturn(...) *CloudProviderServiceClient_Summary_Call
- type CloudProviderServiceServer
- func (_m *CloudProviderServiceServer) EXPECT() *CloudProviderServiceServer_Expecter
- func (_m *CloudProviderServiceServer) GetCIDRsForLabels(_a0 context.Context, _a1 *infrapb.GetCIDRsForLabelsRequest) (*infrapb.GetCIDRsForLabelsResponse, error)
- func (_m *CloudProviderServiceServer) GetIPsForLabels(_a0 context.Context, _a1 *infrapb.GetIPsForLabelsRequest) (*infrapb.GetIPsForLabelsResponse, error)
- func (_m *CloudProviderServiceServer) GetInstancesForLabels(_a0 context.Context, _a1 *infrapb.GetInstancesForLabelsRequest) (*infrapb.GetInstancesForLabelsResponse, error)
- func (_m *CloudProviderServiceServer) GetSubnet(_a0 context.Context, _a1 *infrapb.GetSubnetRequest) (*infrapb.GetSubnetResponse, error)
- func (_m *CloudProviderServiceServer) GetVPCIDForCIDR(_a0 context.Context, _a1 *infrapb.GetVPCIDForCIDRRequest) (*infrapb.GetVPCIDForCIDRResponse, error)
- func (_m *CloudProviderServiceServer) GetVPCIDWithTag(_a0 context.Context, _a1 *infrapb.GetVPCIDWithTagRequest) (*infrapb.GetVPCIDWithTagResponse, error)
- func (_m *CloudProviderServiceServer) ListACLs(_a0 context.Context, _a1 *infrapb.ListACLsRequest) (*infrapb.ListACLsResponse, error)
- func (_m *CloudProviderServiceServer) ListAccounts(_a0 context.Context, _a1 *infrapb.ListAccountsRequest) (*infrapb.ListAccountsResponse, error)
- func (_m *CloudProviderServiceServer) ListCloudClusters(_a0 context.Context, _a1 *infrapb.ListCloudClustersRequest) (*infrapb.ListCloudClustersResponse, error)
- func (_m *CloudProviderServiceServer) ListInstances(_a0 context.Context, _a1 *infrapb.ListInstancesRequest) (*infrapb.ListInstancesResponse, error)
- func (_m *CloudProviderServiceServer) ListRouteTables(_a0 context.Context, _a1 *infrapb.ListRouteTablesRequest) (*infrapb.ListRouteTablesResponse, error)
- func (_m *CloudProviderServiceServer) ListSecurityGroups(_a0 context.Context, _a1 *infrapb.ListSecurityGroupsRequest) (*infrapb.ListSecurityGroupsResponse, error)
- func (_m *CloudProviderServiceServer) ListSubnets(_a0 context.Context, _a1 *infrapb.ListSubnetsRequest) (*infrapb.ListSubnetsResponse, error)
- func (_m *CloudProviderServiceServer) ListVPC(_a0 context.Context, _a1 *infrapb.ListVPCRequest) (*infrapb.ListVPCResponse, error)
- func (_m *CloudProviderServiceServer) Summary(_a0 context.Context, _a1 *infrapb.SummaryRequest) (*infrapb.SummaryResponse, error)
- type CloudProviderServiceServer_Expecter
- func (_e *CloudProviderServiceServer_Expecter) GetCIDRsForLabels(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetCIDRsForLabels_Call
- func (_e *CloudProviderServiceServer_Expecter) GetIPsForLabels(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetIPsForLabels_Call
- func (_e *CloudProviderServiceServer_Expecter) GetInstancesForLabels(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetInstancesForLabels_Call
- func (_e *CloudProviderServiceServer_Expecter) GetSubnet(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetSubnet_Call
- func (_e *CloudProviderServiceServer_Expecter) GetVPCIDForCIDR(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
- func (_e *CloudProviderServiceServer_Expecter) GetVPCIDWithTag(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_GetVPCIDWithTag_Call
- func (_e *CloudProviderServiceServer_Expecter) ListACLs(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListACLs_Call
- func (_e *CloudProviderServiceServer_Expecter) ListAccounts(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListAccounts_Call
- func (_e *CloudProviderServiceServer_Expecter) ListCloudClusters(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListCloudClusters_Call
- func (_e *CloudProviderServiceServer_Expecter) ListInstances(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListInstances_Call
- func (_e *CloudProviderServiceServer_Expecter) ListRouteTables(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListRouteTables_Call
- func (_e *CloudProviderServiceServer_Expecter) ListSecurityGroups(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListSecurityGroups_Call
- func (_e *CloudProviderServiceServer_Expecter) ListSubnets(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListSubnets_Call
- func (_e *CloudProviderServiceServer_Expecter) ListVPC(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_ListVPC_Call
- func (_e *CloudProviderServiceServer_Expecter) Summary(_a0 interface{}, _a1 interface{}) *CloudProviderServiceServer_Summary_Call
- type CloudProviderServiceServer_GetCIDRsForLabels_Call
- func (_c *CloudProviderServiceServer_GetCIDRsForLabels_Call) Return(_a0 *infrapb.GetCIDRsForLabelsResponse, _a1 error) *CloudProviderServiceServer_GetCIDRsForLabels_Call
- func (_c *CloudProviderServiceServer_GetCIDRsForLabels_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetCIDRsForLabelsRequest)) *CloudProviderServiceServer_GetCIDRsForLabels_Call
- func (_c *CloudProviderServiceServer_GetCIDRsForLabels_Call) RunAndReturn(...) *CloudProviderServiceServer_GetCIDRsForLabels_Call
- type CloudProviderServiceServer_GetIPsForLabels_Call
- func (_c *CloudProviderServiceServer_GetIPsForLabels_Call) Return(_a0 *infrapb.GetIPsForLabelsResponse, _a1 error) *CloudProviderServiceServer_GetIPsForLabels_Call
- func (_c *CloudProviderServiceServer_GetIPsForLabels_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetIPsForLabelsRequest)) *CloudProviderServiceServer_GetIPsForLabels_Call
- func (_c *CloudProviderServiceServer_GetIPsForLabels_Call) RunAndReturn(...) *CloudProviderServiceServer_GetIPsForLabels_Call
- type CloudProviderServiceServer_GetInstancesForLabels_Call
- func (_c *CloudProviderServiceServer_GetInstancesForLabels_Call) Return(_a0 *infrapb.GetInstancesForLabelsResponse, _a1 error) *CloudProviderServiceServer_GetInstancesForLabels_Call
- func (_c *CloudProviderServiceServer_GetInstancesForLabels_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetInstancesForLabelsRequest)) *CloudProviderServiceServer_GetInstancesForLabels_Call
- func (_c *CloudProviderServiceServer_GetInstancesForLabels_Call) RunAndReturn(...) *CloudProviderServiceServer_GetInstancesForLabels_Call
- type CloudProviderServiceServer_GetSubnet_Call
- func (_c *CloudProviderServiceServer_GetSubnet_Call) Return(_a0 *infrapb.GetSubnetResponse, _a1 error) *CloudProviderServiceServer_GetSubnet_Call
- func (_c *CloudProviderServiceServer_GetSubnet_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetSubnetRequest)) *CloudProviderServiceServer_GetSubnet_Call
- func (_c *CloudProviderServiceServer_GetSubnet_Call) RunAndReturn(...) *CloudProviderServiceServer_GetSubnet_Call
- type CloudProviderServiceServer_GetVPCIDForCIDR_Call
- func (_c *CloudProviderServiceServer_GetVPCIDForCIDR_Call) Return(_a0 *infrapb.GetVPCIDForCIDRResponse, _a1 error) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
- func (_c *CloudProviderServiceServer_GetVPCIDForCIDR_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetVPCIDForCIDRRequest)) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
- func (_c *CloudProviderServiceServer_GetVPCIDForCIDR_Call) RunAndReturn(...) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
- type CloudProviderServiceServer_GetVPCIDWithTag_Call
- func (_c *CloudProviderServiceServer_GetVPCIDWithTag_Call) Return(_a0 *infrapb.GetVPCIDWithTagResponse, _a1 error) *CloudProviderServiceServer_GetVPCIDWithTag_Call
- func (_c *CloudProviderServiceServer_GetVPCIDWithTag_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetVPCIDWithTagRequest)) *CloudProviderServiceServer_GetVPCIDWithTag_Call
- func (_c *CloudProviderServiceServer_GetVPCIDWithTag_Call) RunAndReturn(...) *CloudProviderServiceServer_GetVPCIDWithTag_Call
- type CloudProviderServiceServer_ListACLs_Call
- func (_c *CloudProviderServiceServer_ListACLs_Call) Return(_a0 *infrapb.ListACLsResponse, _a1 error) *CloudProviderServiceServer_ListACLs_Call
- func (_c *CloudProviderServiceServer_ListACLs_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListACLsRequest)) *CloudProviderServiceServer_ListACLs_Call
- func (_c *CloudProviderServiceServer_ListACLs_Call) RunAndReturn(...) *CloudProviderServiceServer_ListACLs_Call
- type CloudProviderServiceServer_ListAccounts_Call
- func (_c *CloudProviderServiceServer_ListAccounts_Call) Return(_a0 *infrapb.ListAccountsResponse, _a1 error) *CloudProviderServiceServer_ListAccounts_Call
- func (_c *CloudProviderServiceServer_ListAccounts_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListAccountsRequest)) *CloudProviderServiceServer_ListAccounts_Call
- func (_c *CloudProviderServiceServer_ListAccounts_Call) RunAndReturn(...) *CloudProviderServiceServer_ListAccounts_Call
- type CloudProviderServiceServer_ListCloudClusters_Call
- func (_c *CloudProviderServiceServer_ListCloudClusters_Call) Return(_a0 *infrapb.ListCloudClustersResponse, _a1 error) *CloudProviderServiceServer_ListCloudClusters_Call
- func (_c *CloudProviderServiceServer_ListCloudClusters_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListCloudClustersRequest)) *CloudProviderServiceServer_ListCloudClusters_Call
- func (_c *CloudProviderServiceServer_ListCloudClusters_Call) RunAndReturn(...) *CloudProviderServiceServer_ListCloudClusters_Call
- type CloudProviderServiceServer_ListInstances_Call
- func (_c *CloudProviderServiceServer_ListInstances_Call) Return(_a0 *infrapb.ListInstancesResponse, _a1 error) *CloudProviderServiceServer_ListInstances_Call
- func (_c *CloudProviderServiceServer_ListInstances_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListInstancesRequest)) *CloudProviderServiceServer_ListInstances_Call
- func (_c *CloudProviderServiceServer_ListInstances_Call) RunAndReturn(...) *CloudProviderServiceServer_ListInstances_Call
- type CloudProviderServiceServer_ListRouteTables_Call
- func (_c *CloudProviderServiceServer_ListRouteTables_Call) Return(_a0 *infrapb.ListRouteTablesResponse, _a1 error) *CloudProviderServiceServer_ListRouteTables_Call
- func (_c *CloudProviderServiceServer_ListRouteTables_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListRouteTablesRequest)) *CloudProviderServiceServer_ListRouteTables_Call
- func (_c *CloudProviderServiceServer_ListRouteTables_Call) RunAndReturn(...) *CloudProviderServiceServer_ListRouteTables_Call
- type CloudProviderServiceServer_ListSecurityGroups_Call
- func (_c *CloudProviderServiceServer_ListSecurityGroups_Call) Return(_a0 *infrapb.ListSecurityGroupsResponse, _a1 error) *CloudProviderServiceServer_ListSecurityGroups_Call
- func (_c *CloudProviderServiceServer_ListSecurityGroups_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListSecurityGroupsRequest)) *CloudProviderServiceServer_ListSecurityGroups_Call
- func (_c *CloudProviderServiceServer_ListSecurityGroups_Call) RunAndReturn(...) *CloudProviderServiceServer_ListSecurityGroups_Call
- type CloudProviderServiceServer_ListSubnets_Call
- func (_c *CloudProviderServiceServer_ListSubnets_Call) Return(_a0 *infrapb.ListSubnetsResponse, _a1 error) *CloudProviderServiceServer_ListSubnets_Call
- func (_c *CloudProviderServiceServer_ListSubnets_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListSubnetsRequest)) *CloudProviderServiceServer_ListSubnets_Call
- func (_c *CloudProviderServiceServer_ListSubnets_Call) RunAndReturn(...) *CloudProviderServiceServer_ListSubnets_Call
- type CloudProviderServiceServer_ListVPC_Call
- func (_c *CloudProviderServiceServer_ListVPC_Call) Return(_a0 *infrapb.ListVPCResponse, _a1 error) *CloudProviderServiceServer_ListVPC_Call
- func (_c *CloudProviderServiceServer_ListVPC_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListVPCRequest)) *CloudProviderServiceServer_ListVPC_Call
- func (_c *CloudProviderServiceServer_ListVPC_Call) RunAndReturn(...) *CloudProviderServiceServer_ListVPC_Call
- type CloudProviderServiceServer_Summary_Call
- func (_c *CloudProviderServiceServer_Summary_Call) Return(_a0 *infrapb.SummaryResponse, _a1 error) *CloudProviderServiceServer_Summary_Call
- func (_c *CloudProviderServiceServer_Summary_Call) Run(run func(_a0 context.Context, _a1 *infrapb.SummaryRequest)) *CloudProviderServiceServer_Summary_Call
- func (_c *CloudProviderServiceServer_Summary_Call) RunAndReturn(...) *CloudProviderServiceServer_Summary_Call
- type CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call
- func (_c *CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Return() ...
- func (_c *CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Run(run func()) ...
- func (_c *CloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) RunAndReturn(run func()) ...
- type CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) Return(ruleId string, instances []types.Instance, err error) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) Run(...) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn(...) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call
- type CloudProvider_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) Return(ruleId string, instances []types.Instance, err error) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) Run(...) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn(...) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call
- type CloudProvider_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) Return(ruleId string, instances []types.Instance, subnets []types.Subnet, err error) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) Run(...) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call
- func (_c *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn(...) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call
- type CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return(loadBalancerId string, ruleId string, err error) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) Run(...) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_c *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(...) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
- type CloudProvider_AddInboundAllowRuleInVPC_Call
- func (_c *CloudProvider_AddInboundAllowRuleInVPC_Call) Return(_a0 error) *CloudProvider_AddInboundAllowRuleInVPC_Call
- func (_c *CloudProvider_AddInboundAllowRuleInVPC_Call) Run(...) *CloudProvider_AddInboundAllowRuleInVPC_Call
- func (_c *CloudProvider_AddInboundAllowRuleInVPC_Call) RunAndReturn(...) *CloudProvider_AddInboundAllowRuleInVPC_Call
- type CloudProvider_ConnectVPCs_Call
- func (_c *CloudProvider_ConnectVPCs_Call) Return(_a0 types.VPCConnectionOutput, _a1 error) *CloudProvider_ConnectVPCs_Call
- func (_c *CloudProvider_ConnectVPCs_Call) Run(run func(ctx context.Context, input types.VPCConnectionParams)) *CloudProvider_ConnectVPCs_Call
- func (_c *CloudProvider_ConnectVPCs_Call) RunAndReturn(...) *CloudProvider_ConnectVPCs_Call
- type CloudProvider_DisconnectVPCs_Call
- func (_c *CloudProvider_DisconnectVPCs_Call) Return(_a0 types.VPCDisconnectionOutput, _a1 error) *CloudProvider_DisconnectVPCs_Call
- func (_c *CloudProvider_DisconnectVPCs_Call) Run(run func(ctx context.Context, input types.VPCDisconnectionParams)) *CloudProvider_DisconnectVPCs_Call
- func (_c *CloudProvider_DisconnectVPCs_Call) RunAndReturn(...) *CloudProvider_DisconnectVPCs_Call
- type CloudProvider_Expecter
- func (_e *CloudProvider_Expecter) AddInboundAllowRuleByInstanceIPMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call
- func (_e *CloudProvider_Expecter) AddInboundAllowRuleByLabelsMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call
- func (_e *CloudProvider_Expecter) AddInboundAllowRuleBySubnetMatch(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call
- func (_e *CloudProvider_Expecter) AddInboundAllowRuleForLoadBalancerByDNS(ctx interface{}, account interface{}, region interface{}, ...) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
- func (_e *CloudProvider_Expecter) AddInboundAllowRuleInVPC(ctx interface{}, account interface{}, region interface{}, ...) *CloudProvider_AddInboundAllowRuleInVPC_Call
- func (_e *CloudProvider_Expecter) ConnectVPCs(ctx interface{}, input interface{}) *CloudProvider_ConnectVPCs_Call
- func (_e *CloudProvider_Expecter) DisconnectVPCs(ctx interface{}, input interface{}) *CloudProvider_DisconnectVPCs_Call
- func (_e *CloudProvider_Expecter) GetCIDRsForLabels(ctx interface{}, input interface{}) *CloudProvider_GetCIDRsForLabels_Call
- func (_e *CloudProvider_Expecter) GetIPsForLabels(ctx interface{}, input interface{}) *CloudProvider_GetIPsForLabels_Call
- func (_e *CloudProvider_Expecter) GetInstancesForLabels(ctx interface{}, input interface{}) *CloudProvider_GetInstancesForLabels_Call
- func (_e *CloudProvider_Expecter) GetName() *CloudProvider_GetName_Call
- func (_e *CloudProvider_Expecter) GetSubnet(ctx interface{}, input interface{}) *CloudProvider_GetSubnet_Call
- func (_e *CloudProvider_Expecter) GetSyncTime(id interface{}) *CloudProvider_GetSyncTime_Call
- func (_e *CloudProvider_Expecter) GetVPCIDForCIDR(ctx interface{}, input interface{}) *CloudProvider_GetVPCIDForCIDR_Call
- func (_e *CloudProvider_Expecter) GetVPCIDWithTag(ctx interface{}, input interface{}) *CloudProvider_GetVPCIDWithTag_Call
- func (_e *CloudProvider_Expecter) ListACLs(ctx interface{}, input interface{}) *CloudProvider_ListACLs_Call
- func (_e *CloudProvider_Expecter) ListAccounts() *CloudProvider_ListAccounts_Call
- func (_e *CloudProvider_Expecter) ListClusters(ctx interface{}, input interface{}) *CloudProvider_ListClusters_Call
- func (_e *CloudProvider_Expecter) ListInstances(ctx interface{}, input interface{}) *CloudProvider_ListInstances_Call
- func (_e *CloudProvider_Expecter) ListRouteTables(ctx interface{}, input interface{}) *CloudProvider_ListRouteTables_Call
- func (_e *CloudProvider_Expecter) ListSecurityGroups(ctx interface{}, input interface{}) *CloudProvider_ListSecurityGroups_Call
- func (_e *CloudProvider_Expecter) ListSubnets(ctx interface{}, input interface{}) *CloudProvider_ListSubnets_Call
- func (_e *CloudProvider_Expecter) ListVPC(ctx interface{}, input interface{}) *CloudProvider_ListVPC_Call
- func (_e *CloudProvider_Expecter) RefreshInboundAllowRule(ctx interface{}, account interface{}, region interface{}, ruleId interface{}, ...) *CloudProvider_RefreshInboundAllowRule_Call
- func (_e *CloudProvider_Expecter) RemoveInboundAllowRuleFromVPCByName(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
- func (_e *CloudProvider_Expecter) RemoveInboundAllowRuleRulesByTags(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call
- func (_e *CloudProvider_Expecter) RemoveInboundAllowRulesFromVPCById(ctx interface{}, account interface{}, region interface{}, vpcID interface{}, ...) *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call
- func (_e *CloudProvider_Expecter) RetrieveClustersData(ctx interface{}) *CloudProvider_RetrieveClustersData_Call
- type CloudProvider_GetCIDRsForLabels_Call
- func (_c *CloudProvider_GetCIDRsForLabels_Call) Return(_a0 []string, _a1 error) *CloudProvider_GetCIDRsForLabels_Call
- func (_c *CloudProvider_GetCIDRsForLabels_Call) Run(run func(ctx context.Context, input *infrapb.GetCIDRsForLabelsRequest)) *CloudProvider_GetCIDRsForLabels_Call
- func (_c *CloudProvider_GetCIDRsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetCIDRsForLabelsRequest) ([]string, error)) *CloudProvider_GetCIDRsForLabels_Call
- type CloudProvider_GetIPsForLabels_Call
- func (_c *CloudProvider_GetIPsForLabels_Call) Return(_a0 []string, _a1 error) *CloudProvider_GetIPsForLabels_Call
- func (_c *CloudProvider_GetIPsForLabels_Call) Run(run func(ctx context.Context, input *infrapb.GetIPsForLabelsRequest)) *CloudProvider_GetIPsForLabels_Call
- func (_c *CloudProvider_GetIPsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetIPsForLabelsRequest) ([]string, error)) *CloudProvider_GetIPsForLabels_Call
- type CloudProvider_GetInstancesForLabels_Call
- func (_c *CloudProvider_GetInstancesForLabels_Call) Return(_a0 []types.Instance, _a1 error) *CloudProvider_GetInstancesForLabels_Call
- func (_c *CloudProvider_GetInstancesForLabels_Call) Run(run func(ctx context.Context, input *infrapb.GetInstancesForLabelsRequest)) *CloudProvider_GetInstancesForLabels_Call
- func (_c *CloudProvider_GetInstancesForLabels_Call) RunAndReturn(...) *CloudProvider_GetInstancesForLabels_Call
- type CloudProvider_GetName_Call
- type CloudProvider_GetSubnet_Call
- func (_c *CloudProvider_GetSubnet_Call) Return(_a0 types.Subnet, _a1 error) *CloudProvider_GetSubnet_Call
- func (_c *CloudProvider_GetSubnet_Call) Run(run func(ctx context.Context, input *infrapb.GetSubnetRequest)) *CloudProvider_GetSubnet_Call
- func (_c *CloudProvider_GetSubnet_Call) RunAndReturn(run func(context.Context, *infrapb.GetSubnetRequest) (types.Subnet, error)) *CloudProvider_GetSubnet_Call
- type CloudProvider_GetSyncTime_Call
- func (_c *CloudProvider_GetSyncTime_Call) Return(_a0 types.SyncTime, _a1 error) *CloudProvider_GetSyncTime_Call
- func (_c *CloudProvider_GetSyncTime_Call) Run(run func(id string)) *CloudProvider_GetSyncTime_Call
- func (_c *CloudProvider_GetSyncTime_Call) RunAndReturn(run func(string) (types.SyncTime, error)) *CloudProvider_GetSyncTime_Call
- type CloudProvider_GetVPCIDForCIDR_Call
- func (_c *CloudProvider_GetVPCIDForCIDR_Call) Return(_a0 string, _a1 error) *CloudProvider_GetVPCIDForCIDR_Call
- func (_c *CloudProvider_GetVPCIDForCIDR_Call) Run(run func(ctx context.Context, input *infrapb.GetVPCIDForCIDRRequest)) *CloudProvider_GetVPCIDForCIDR_Call
- func (_c *CloudProvider_GetVPCIDForCIDR_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDForCIDRRequest) (string, error)) *CloudProvider_GetVPCIDForCIDR_Call
- type CloudProvider_GetVPCIDWithTag_Call
- func (_c *CloudProvider_GetVPCIDWithTag_Call) Return(_a0 string, _a1 error) *CloudProvider_GetVPCIDWithTag_Call
- func (_c *CloudProvider_GetVPCIDWithTag_Call) Run(run func(ctx context.Context, input *infrapb.GetVPCIDWithTagRequest)) *CloudProvider_GetVPCIDWithTag_Call
- func (_c *CloudProvider_GetVPCIDWithTag_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDWithTagRequest) (string, error)) *CloudProvider_GetVPCIDWithTag_Call
- type CloudProvider_ListACLs_Call
- func (_c *CloudProvider_ListACLs_Call) Return(_a0 []types.ACL, _a1 error) *CloudProvider_ListACLs_Call
- func (_c *CloudProvider_ListACLs_Call) Run(run func(ctx context.Context, input *infrapb.ListACLsRequest)) *CloudProvider_ListACLs_Call
- func (_c *CloudProvider_ListACLs_Call) RunAndReturn(run func(context.Context, *infrapb.ListACLsRequest) ([]types.ACL, error)) *CloudProvider_ListACLs_Call
- type CloudProvider_ListAccounts_Call
- func (_c *CloudProvider_ListAccounts_Call) Return(_a0 []types.Account) *CloudProvider_ListAccounts_Call
- func (_c *CloudProvider_ListAccounts_Call) Run(run func()) *CloudProvider_ListAccounts_Call
- func (_c *CloudProvider_ListAccounts_Call) RunAndReturn(run func() []types.Account) *CloudProvider_ListAccounts_Call
- type CloudProvider_ListClusters_Call
- func (_c *CloudProvider_ListClusters_Call) Return(_a0 []types.Cluster, _a1 error) *CloudProvider_ListClusters_Call
- func (_c *CloudProvider_ListClusters_Call) Run(run func(ctx context.Context, input *infrapb.ListCloudClustersRequest)) *CloudProvider_ListClusters_Call
- func (_c *CloudProvider_ListClusters_Call) RunAndReturn(...) *CloudProvider_ListClusters_Call
- type CloudProvider_ListInstances_Call
- func (_c *CloudProvider_ListInstances_Call) Return(_a0 []types.Instance, _a1 error) *CloudProvider_ListInstances_Call
- func (_c *CloudProvider_ListInstances_Call) Run(run func(ctx context.Context, input *infrapb.ListInstancesRequest)) *CloudProvider_ListInstances_Call
- func (_c *CloudProvider_ListInstances_Call) RunAndReturn(...) *CloudProvider_ListInstances_Call
- type CloudProvider_ListRouteTables_Call
- func (_c *CloudProvider_ListRouteTables_Call) Return(_a0 []types.RouteTable, _a1 error) *CloudProvider_ListRouteTables_Call
- func (_c *CloudProvider_ListRouteTables_Call) Run(run func(ctx context.Context, input *infrapb.ListRouteTablesRequest)) *CloudProvider_ListRouteTables_Call
- func (_c *CloudProvider_ListRouteTables_Call) RunAndReturn(...) *CloudProvider_ListRouteTables_Call
- type CloudProvider_ListSecurityGroups_Call
- func (_c *CloudProvider_ListSecurityGroups_Call) Return(_a0 []types.SecurityGroup, _a1 error) *CloudProvider_ListSecurityGroups_Call
- func (_c *CloudProvider_ListSecurityGroups_Call) Run(run func(ctx context.Context, input *infrapb.ListSecurityGroupsRequest)) *CloudProvider_ListSecurityGroups_Call
- func (_c *CloudProvider_ListSecurityGroups_Call) RunAndReturn(...) *CloudProvider_ListSecurityGroups_Call
- type CloudProvider_ListSubnets_Call
- func (_c *CloudProvider_ListSubnets_Call) Return(_a0 []types.Subnet, _a1 error) *CloudProvider_ListSubnets_Call
- func (_c *CloudProvider_ListSubnets_Call) Run(run func(ctx context.Context, input *infrapb.ListSubnetsRequest)) *CloudProvider_ListSubnets_Call
- func (_c *CloudProvider_ListSubnets_Call) RunAndReturn(run func(context.Context, *infrapb.ListSubnetsRequest) ([]types.Subnet, error)) *CloudProvider_ListSubnets_Call
- type CloudProvider_ListVPC_Call
- func (_c *CloudProvider_ListVPC_Call) Return(_a0 []types.VPC, _a1 error) *CloudProvider_ListVPC_Call
- func (_c *CloudProvider_ListVPC_Call) Run(run func(ctx context.Context, input *infrapb.ListVPCRequest)) *CloudProvider_ListVPC_Call
- func (_c *CloudProvider_ListVPC_Call) RunAndReturn(run func(context.Context, *infrapb.ListVPCRequest) ([]types.VPC, error)) *CloudProvider_ListVPC_Call
- type CloudProvider_RefreshInboundAllowRule_Call
- func (_c *CloudProvider_RefreshInboundAllowRule_Call) Return(instances []types.Instance, subnets []types.Subnet, err error) *CloudProvider_RefreshInboundAllowRule_Call
- func (_c *CloudProvider_RefreshInboundAllowRule_Call) Run(...) *CloudProvider_RefreshInboundAllowRule_Call
- func (_c *CloudProvider_RefreshInboundAllowRule_Call) RunAndReturn(...) *CloudProvider_RefreshInboundAllowRule_Call
- type CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) Return(_a0 error) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) Run(...) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
- func (_c *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(run func(context.Context, string, string, string, string) error) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
- type CloudProvider_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) Return(_a0 error) *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) Run(...) *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call
- func (_c *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn(...) *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call
- type CloudProvider_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) Return(_a0 error) *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) Run(...) *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call
- func (_c *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn(...) *CloudProvider_RemoveInboundAllowRulesFromVPCById_Call
- type CloudProvider_RetrieveClustersData_Call
- func (_c *CloudProvider_RetrieveClustersData_Call) Return(_a0 []cluster.DiscoveredCluster, _a1 error) *CloudProvider_RetrieveClustersData_Call
- func (_c *CloudProvider_RetrieveClustersData_Call) Run(run func(ctx context.Context)) *CloudProvider_RetrieveClustersData_Call
- func (_c *CloudProvider_RetrieveClustersData_Call) RunAndReturn(run func(context.Context) ([]cluster.DiscoveredCluster, error)) *CloudProvider_RetrieveClustersData_Call
- type DBMetadata
- type DBMetadata_Expecter
- type DBMetadata_GetSyncTime_Call
- func (_c *DBMetadata_GetSyncTime_Call) Return(_a0 types.SyncTime, _a1 error) *DBMetadata_GetSyncTime_Call
- func (_c *DBMetadata_GetSyncTime_Call) Run(run func(id string)) *DBMetadata_GetSyncTime_Call
- func (_c *DBMetadata_GetSyncTime_Call) RunAndReturn(run func(string) (types.SyncTime, error)) *DBMetadata_GetSyncTime_Call
- type DbObject
- type DbObject_DbId_Call
- type DbObject_Expecter
- type DbObject_GetProvider_Call
- type DbObject_SetSyncTime_Call
- type Kubernetes
- func (_m *Kubernetes) EXPECT() *Kubernetes_Expecter
- func (_m *Kubernetes) GetSyncTime(id string) (types.SyncTime, error)
- func (_m *Kubernetes) ListClusters(ctx context.Context) ([]types.Cluster, error)
- func (_m *Kubernetes) ListNamespaces(ctx context.Context, clusterName string, labels map[string]string) ([]types.Namespace, error)
- func (_m *Kubernetes) ListNodes(ctx context.Context, clusterName string, labels map[string]string) ([]types.K8sNode, error)
- func (_m *Kubernetes) ListPods(ctx context.Context, clusterName string, labels map[string]string) ([]types.Pod, error)
- func (_m *Kubernetes) ListPodsCIDRs(ctx context.Context, clusterName string) ([]string, error)
- func (_m *Kubernetes) ListServices(ctx context.Context, clusterName string, labels map[string]string) ([]types.K8SService, error)
- func (_m *Kubernetes) ListServicesCIDRs(ctx context.Context, clusterName string) (string, error)
- func (_m *Kubernetes) UpdateServiceSourceRanges(ctx context.Context, clusterName string, namespace string, name string, ...) error
- type KubernetesServiceClient
- func (_m *KubernetesServiceClient) EXPECT() *KubernetesServiceClient_Expecter
- func (_m *KubernetesServiceClient) ListClusters(ctx context.Context, in *infrapb.ListClustersRequest, opts ...grpc.CallOption) (*infrapb.ListClustersResponse, error)
- func (_m *KubernetesServiceClient) ListNamespaces(ctx context.Context, in *infrapb.ListNamespacesRequest, ...) (*infrapb.ListNamespacesResponse, error)
- func (_m *KubernetesServiceClient) ListNodes(ctx context.Context, in *infrapb.ListNodesRequest, opts ...grpc.CallOption) (*infrapb.ListNodesResponse, error)
- func (_m *KubernetesServiceClient) ListPods(ctx context.Context, in *infrapb.ListPodsRequest, opts ...grpc.CallOption) (*infrapb.ListPodsResponse, error)
- func (_m *KubernetesServiceClient) ListPodsCIDRs(ctx context.Context, in *infrapb.ListPodsCIDRsRequest, opts ...grpc.CallOption) (*infrapb.ListPodsCIDRsResponse, error)
- func (_m *KubernetesServiceClient) ListServices(ctx context.Context, in *infrapb.ListServicesRequest, opts ...grpc.CallOption) (*infrapb.ListServicesResponse, error)
- func (_m *KubernetesServiceClient) ListServicesCIDRs(ctx context.Context, in *infrapb.ListServicesCIDRsRequest, ...) (*infrapb.ListServicesCIDRsResponse, error)
- type KubernetesServiceClient_Expecter
- func (_e *KubernetesServiceClient_Expecter) ListClusters(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListClusters_Call
- func (_e *KubernetesServiceClient_Expecter) ListNamespaces(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListNamespaces_Call
- func (_e *KubernetesServiceClient_Expecter) ListNodes(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListNodes_Call
- func (_e *KubernetesServiceClient_Expecter) ListPods(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListPods_Call
- func (_e *KubernetesServiceClient_Expecter) ListPodsCIDRs(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListPodsCIDRs_Call
- func (_e *KubernetesServiceClient_Expecter) ListServices(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListServices_Call
- func (_e *KubernetesServiceClient_Expecter) ListServicesCIDRs(ctx interface{}, in interface{}, opts ...interface{}) *KubernetesServiceClient_ListServicesCIDRs_Call
- type KubernetesServiceClient_ListClusters_Call
- func (_c *KubernetesServiceClient_ListClusters_Call) Return(_a0 *infrapb.ListClustersResponse, _a1 error) *KubernetesServiceClient_ListClusters_Call
- func (_c *KubernetesServiceClient_ListClusters_Call) Run(...) *KubernetesServiceClient_ListClusters_Call
- func (_c *KubernetesServiceClient_ListClusters_Call) RunAndReturn(...) *KubernetesServiceClient_ListClusters_Call
- type KubernetesServiceClient_ListNamespaces_Call
- func (_c *KubernetesServiceClient_ListNamespaces_Call) Return(_a0 *infrapb.ListNamespacesResponse, _a1 error) *KubernetesServiceClient_ListNamespaces_Call
- func (_c *KubernetesServiceClient_ListNamespaces_Call) Run(run func(ctx context.Context, in *infrapb.ListNamespacesRequest, ...)) *KubernetesServiceClient_ListNamespaces_Call
- func (_c *KubernetesServiceClient_ListNamespaces_Call) RunAndReturn(...) *KubernetesServiceClient_ListNamespaces_Call
- type KubernetesServiceClient_ListNodes_Call
- func (_c *KubernetesServiceClient_ListNodes_Call) Return(_a0 *infrapb.ListNodesResponse, _a1 error) *KubernetesServiceClient_ListNodes_Call
- func (_c *KubernetesServiceClient_ListNodes_Call) Run(...) *KubernetesServiceClient_ListNodes_Call
- func (_c *KubernetesServiceClient_ListNodes_Call) RunAndReturn(...) *KubernetesServiceClient_ListNodes_Call
- type KubernetesServiceClient_ListPodsCIDRs_Call
- func (_c *KubernetesServiceClient_ListPodsCIDRs_Call) Return(_a0 *infrapb.ListPodsCIDRsResponse, _a1 error) *KubernetesServiceClient_ListPodsCIDRs_Call
- func (_c *KubernetesServiceClient_ListPodsCIDRs_Call) Run(...) *KubernetesServiceClient_ListPodsCIDRs_Call
- func (_c *KubernetesServiceClient_ListPodsCIDRs_Call) RunAndReturn(...) *KubernetesServiceClient_ListPodsCIDRs_Call
- type KubernetesServiceClient_ListPods_Call
- func (_c *KubernetesServiceClient_ListPods_Call) Return(_a0 *infrapb.ListPodsResponse, _a1 error) *KubernetesServiceClient_ListPods_Call
- func (_c *KubernetesServiceClient_ListPods_Call) Run(...) *KubernetesServiceClient_ListPods_Call
- func (_c *KubernetesServiceClient_ListPods_Call) RunAndReturn(...) *KubernetesServiceClient_ListPods_Call
- type KubernetesServiceClient_ListServicesCIDRs_Call
- func (_c *KubernetesServiceClient_ListServicesCIDRs_Call) Return(_a0 *infrapb.ListServicesCIDRsResponse, _a1 error) *KubernetesServiceClient_ListServicesCIDRs_Call
- func (_c *KubernetesServiceClient_ListServicesCIDRs_Call) Run(run func(ctx context.Context, in *infrapb.ListServicesCIDRsRequest, ...)) *KubernetesServiceClient_ListServicesCIDRs_Call
- func (_c *KubernetesServiceClient_ListServicesCIDRs_Call) RunAndReturn(...) *KubernetesServiceClient_ListServicesCIDRs_Call
- type KubernetesServiceClient_ListServices_Call
- func (_c *KubernetesServiceClient_ListServices_Call) Return(_a0 *infrapb.ListServicesResponse, _a1 error) *KubernetesServiceClient_ListServices_Call
- func (_c *KubernetesServiceClient_ListServices_Call) Run(...) *KubernetesServiceClient_ListServices_Call
- func (_c *KubernetesServiceClient_ListServices_Call) RunAndReturn(...) *KubernetesServiceClient_ListServices_Call
- type KubernetesServiceServer
- func (_m *KubernetesServiceServer) EXPECT() *KubernetesServiceServer_Expecter
- func (_m *KubernetesServiceServer) ListClusters(_a0 context.Context, _a1 *infrapb.ListClustersRequest) (*infrapb.ListClustersResponse, error)
- func (_m *KubernetesServiceServer) ListNamespaces(_a0 context.Context, _a1 *infrapb.ListNamespacesRequest) (*infrapb.ListNamespacesResponse, error)
- func (_m *KubernetesServiceServer) ListNodes(_a0 context.Context, _a1 *infrapb.ListNodesRequest) (*infrapb.ListNodesResponse, error)
- func (_m *KubernetesServiceServer) ListPods(_a0 context.Context, _a1 *infrapb.ListPodsRequest) (*infrapb.ListPodsResponse, error)
- func (_m *KubernetesServiceServer) ListPodsCIDRs(_a0 context.Context, _a1 *infrapb.ListPodsCIDRsRequest) (*infrapb.ListPodsCIDRsResponse, error)
- func (_m *KubernetesServiceServer) ListServices(_a0 context.Context, _a1 *infrapb.ListServicesRequest) (*infrapb.ListServicesResponse, error)
- func (_m *KubernetesServiceServer) ListServicesCIDRs(_a0 context.Context, _a1 *infrapb.ListServicesCIDRsRequest) (*infrapb.ListServicesCIDRsResponse, error)
- type KubernetesServiceServer_Expecter
- func (_e *KubernetesServiceServer_Expecter) ListClusters(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListClusters_Call
- func (_e *KubernetesServiceServer_Expecter) ListNamespaces(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListNamespaces_Call
- func (_e *KubernetesServiceServer_Expecter) ListNodes(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListNodes_Call
- func (_e *KubernetesServiceServer_Expecter) ListPods(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListPods_Call
- func (_e *KubernetesServiceServer_Expecter) ListPodsCIDRs(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListPodsCIDRs_Call
- func (_e *KubernetesServiceServer_Expecter) ListServices(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListServices_Call
- func (_e *KubernetesServiceServer_Expecter) ListServicesCIDRs(_a0 interface{}, _a1 interface{}) *KubernetesServiceServer_ListServicesCIDRs_Call
- type KubernetesServiceServer_ListClusters_Call
- func (_c *KubernetesServiceServer_ListClusters_Call) Return(_a0 *infrapb.ListClustersResponse, _a1 error) *KubernetesServiceServer_ListClusters_Call
- func (_c *KubernetesServiceServer_ListClusters_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListClustersRequest)) *KubernetesServiceServer_ListClusters_Call
- func (_c *KubernetesServiceServer_ListClusters_Call) RunAndReturn(...) *KubernetesServiceServer_ListClusters_Call
- type KubernetesServiceServer_ListNamespaces_Call
- func (_c *KubernetesServiceServer_ListNamespaces_Call) Return(_a0 *infrapb.ListNamespacesResponse, _a1 error) *KubernetesServiceServer_ListNamespaces_Call
- func (_c *KubernetesServiceServer_ListNamespaces_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListNamespacesRequest)) *KubernetesServiceServer_ListNamespaces_Call
- func (_c *KubernetesServiceServer_ListNamespaces_Call) RunAndReturn(...) *KubernetesServiceServer_ListNamespaces_Call
- type KubernetesServiceServer_ListNodes_Call
- func (_c *KubernetesServiceServer_ListNodes_Call) Return(_a0 *infrapb.ListNodesResponse, _a1 error) *KubernetesServiceServer_ListNodes_Call
- func (_c *KubernetesServiceServer_ListNodes_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListNodesRequest)) *KubernetesServiceServer_ListNodes_Call
- func (_c *KubernetesServiceServer_ListNodes_Call) RunAndReturn(...) *KubernetesServiceServer_ListNodes_Call
- type KubernetesServiceServer_ListPodsCIDRs_Call
- func (_c *KubernetesServiceServer_ListPodsCIDRs_Call) Return(_a0 *infrapb.ListPodsCIDRsResponse, _a1 error) *KubernetesServiceServer_ListPodsCIDRs_Call
- func (_c *KubernetesServiceServer_ListPodsCIDRs_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListPodsCIDRsRequest)) *KubernetesServiceServer_ListPodsCIDRs_Call
- func (_c *KubernetesServiceServer_ListPodsCIDRs_Call) RunAndReturn(...) *KubernetesServiceServer_ListPodsCIDRs_Call
- type KubernetesServiceServer_ListPods_Call
- func (_c *KubernetesServiceServer_ListPods_Call) Return(_a0 *infrapb.ListPodsResponse, _a1 error) *KubernetesServiceServer_ListPods_Call
- func (_c *KubernetesServiceServer_ListPods_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListPodsRequest)) *KubernetesServiceServer_ListPods_Call
- func (_c *KubernetesServiceServer_ListPods_Call) RunAndReturn(...) *KubernetesServiceServer_ListPods_Call
- type KubernetesServiceServer_ListServicesCIDRs_Call
- func (_c *KubernetesServiceServer_ListServicesCIDRs_Call) Return(_a0 *infrapb.ListServicesCIDRsResponse, _a1 error) *KubernetesServiceServer_ListServicesCIDRs_Call
- func (_c *KubernetesServiceServer_ListServicesCIDRs_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListServicesCIDRsRequest)) *KubernetesServiceServer_ListServicesCIDRs_Call
- func (_c *KubernetesServiceServer_ListServicesCIDRs_Call) RunAndReturn(...) *KubernetesServiceServer_ListServicesCIDRs_Call
- type KubernetesServiceServer_ListServices_Call
- func (_c *KubernetesServiceServer_ListServices_Call) Return(_a0 *infrapb.ListServicesResponse, _a1 error) *KubernetesServiceServer_ListServices_Call
- func (_c *KubernetesServiceServer_ListServices_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListServicesRequest)) *KubernetesServiceServer_ListServices_Call
- func (_c *KubernetesServiceServer_ListServices_Call) RunAndReturn(...) *KubernetesServiceServer_ListServices_Call
- type KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call
- func (_c *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Return() *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call
- func (_c *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Run(run func()) *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call
- func (_c *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) RunAndReturn(run func()) *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call
- type Kubernetes_Expecter
- func (_e *Kubernetes_Expecter) GetSyncTime(id interface{}) *Kubernetes_GetSyncTime_Call
- func (_e *Kubernetes_Expecter) ListClusters(ctx interface{}) *Kubernetes_ListClusters_Call
- func (_e *Kubernetes_Expecter) ListNamespaces(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListNamespaces_Call
- func (_e *Kubernetes_Expecter) ListNodes(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListNodes_Call
- func (_e *Kubernetes_Expecter) ListPods(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListPods_Call
- func (_e *Kubernetes_Expecter) ListPodsCIDRs(ctx interface{}, clusterName interface{}) *Kubernetes_ListPodsCIDRs_Call
- func (_e *Kubernetes_Expecter) ListServices(ctx interface{}, clusterName interface{}, labels interface{}) *Kubernetes_ListServices_Call
- func (_e *Kubernetes_Expecter) ListServicesCIDRs(ctx interface{}, clusterName interface{}) *Kubernetes_ListServicesCIDRs_Call
- func (_e *Kubernetes_Expecter) UpdateServiceSourceRanges(ctx interface{}, clusterName interface{}, namespace interface{}, ...) *Kubernetes_UpdateServiceSourceRanges_Call
- type Kubernetes_GetSyncTime_Call
- func (_c *Kubernetes_GetSyncTime_Call) Return(_a0 types.SyncTime, _a1 error) *Kubernetes_GetSyncTime_Call
- func (_c *Kubernetes_GetSyncTime_Call) Run(run func(id string)) *Kubernetes_GetSyncTime_Call
- func (_c *Kubernetes_GetSyncTime_Call) RunAndReturn(run func(string) (types.SyncTime, error)) *Kubernetes_GetSyncTime_Call
- type Kubernetes_ListClusters_Call
- func (_c *Kubernetes_ListClusters_Call) Return(clusters []types.Cluster, err error) *Kubernetes_ListClusters_Call
- func (_c *Kubernetes_ListClusters_Call) Run(run func(ctx context.Context)) *Kubernetes_ListClusters_Call
- func (_c *Kubernetes_ListClusters_Call) RunAndReturn(run func(context.Context) ([]types.Cluster, error)) *Kubernetes_ListClusters_Call
- type Kubernetes_ListNamespaces_Call
- func (_c *Kubernetes_ListNamespaces_Call) Return(namespaces []types.Namespace, err error) *Kubernetes_ListNamespaces_Call
- func (_c *Kubernetes_ListNamespaces_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListNamespaces_Call
- func (_c *Kubernetes_ListNamespaces_Call) RunAndReturn(...) *Kubernetes_ListNamespaces_Call
- type Kubernetes_ListNodes_Call
- func (_c *Kubernetes_ListNodes_Call) Return(nodes []types.K8sNode, err error) *Kubernetes_ListNodes_Call
- func (_c *Kubernetes_ListNodes_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListNodes_Call
- func (_c *Kubernetes_ListNodes_Call) RunAndReturn(run func(context.Context, string, map[string]string) ([]types.K8sNode, error)) *Kubernetes_ListNodes_Call
- type Kubernetes_ListPodsCIDRs_Call
- func (_c *Kubernetes_ListPodsCIDRs_Call) Return(_a0 []string, _a1 error) *Kubernetes_ListPodsCIDRs_Call
- func (_c *Kubernetes_ListPodsCIDRs_Call) Run(run func(ctx context.Context, clusterName string)) *Kubernetes_ListPodsCIDRs_Call
- func (_c *Kubernetes_ListPodsCIDRs_Call) RunAndReturn(run func(context.Context, string) ([]string, error)) *Kubernetes_ListPodsCIDRs_Call
- type Kubernetes_ListPods_Call
- func (_c *Kubernetes_ListPods_Call) Return(pods []types.Pod, err error) *Kubernetes_ListPods_Call
- func (_c *Kubernetes_ListPods_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListPods_Call
- func (_c *Kubernetes_ListPods_Call) RunAndReturn(run func(context.Context, string, map[string]string) ([]types.Pod, error)) *Kubernetes_ListPods_Call
- type Kubernetes_ListServicesCIDRs_Call
- func (_c *Kubernetes_ListServicesCIDRs_Call) Return(_a0 string, _a1 error) *Kubernetes_ListServicesCIDRs_Call
- func (_c *Kubernetes_ListServicesCIDRs_Call) Run(run func(ctx context.Context, clusterName string)) *Kubernetes_ListServicesCIDRs_Call
- func (_c *Kubernetes_ListServicesCIDRs_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Kubernetes_ListServicesCIDRs_Call
- type Kubernetes_ListServices_Call
- func (_c *Kubernetes_ListServices_Call) Return(services []types.K8SService, err error) *Kubernetes_ListServices_Call
- func (_c *Kubernetes_ListServices_Call) Run(run func(ctx context.Context, clusterName string, labels map[string]string)) *Kubernetes_ListServices_Call
- func (_c *Kubernetes_ListServices_Call) RunAndReturn(...) *Kubernetes_ListServices_Call
- type Kubernetes_UpdateServiceSourceRanges_Call
- func (_c *Kubernetes_UpdateServiceSourceRanges_Call) Return(_a0 error) *Kubernetes_UpdateServiceSourceRanges_Call
- func (_c *Kubernetes_UpdateServiceSourceRanges_Call) Run(...) *Kubernetes_UpdateServiceSourceRanges_Call
- func (_c *Kubernetes_UpdateServiceSourceRanges_Call) RunAndReturn(run func(context.Context, string, string, string, []string, []string) error) *Kubernetes_UpdateServiceSourceRanges_Call
- type Strategy
- func (_m *Strategy) EXPECT() *Strategy_Expecter
- func (_m *Strategy) GetAllProviders() []provider.CloudProvider
- func (_m *Strategy) GetKubernetesProvider() (provider.Kubernetes, error)
- func (_m *Strategy) GetProvider(ctx context.Context, cloud string) (provider.CloudProvider, error)
- func (_m *Strategy) RefreshState(ctx context.Context) error
- type Strategy_Expecter
- func (_e *Strategy_Expecter) GetAllProviders() *Strategy_GetAllProviders_Call
- func (_e *Strategy_Expecter) GetKubernetesProvider() *Strategy_GetKubernetesProvider_Call
- func (_e *Strategy_Expecter) GetProvider(ctx interface{}, cloud interface{}) *Strategy_GetProvider_Call
- func (_e *Strategy_Expecter) RefreshState(ctx interface{}) *Strategy_RefreshState_Call
- type Strategy_GetAllProviders_Call
- func (_c *Strategy_GetAllProviders_Call) Return(_a0 []provider.CloudProvider) *Strategy_GetAllProviders_Call
- func (_c *Strategy_GetAllProviders_Call) Run(run func()) *Strategy_GetAllProviders_Call
- func (_c *Strategy_GetAllProviders_Call) RunAndReturn(run func() []provider.CloudProvider) *Strategy_GetAllProviders_Call
- type Strategy_GetKubernetesProvider_Call
- func (_c *Strategy_GetKubernetesProvider_Call) Return(_a0 provider.Kubernetes, _a1 error) *Strategy_GetKubernetesProvider_Call
- func (_c *Strategy_GetKubernetesProvider_Call) Run(run func()) *Strategy_GetKubernetesProvider_Call
- func (_c *Strategy_GetKubernetesProvider_Call) RunAndReturn(run func() (provider.Kubernetes, error)) *Strategy_GetKubernetesProvider_Call
- type Strategy_GetProvider_Call
- func (_c *Strategy_GetProvider_Call) Return(_a0 provider.CloudProvider, _a1 error) *Strategy_GetProvider_Call
- func (_c *Strategy_GetProvider_Call) Run(run func(ctx context.Context, cloud string)) *Strategy_GetProvider_Call
- func (_c *Strategy_GetProvider_Call) RunAndReturn(run func(context.Context, string) (provider.CloudProvider, error)) *Strategy_GetProvider_Call
- type Strategy_RefreshState_Call
- type UnsafeAccessControlServiceServer
- type UnsafeAccessControlServiceServer_Expecter
- type UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call
- func (_c *UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Return() ...
- func (_c *UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) Run(run func()) ...
- func (_c *UnsafeAccessControlServiceServer_mustEmbedUnimplementedAccessControlServiceServer_Call) RunAndReturn(run func()) ...
- type UnsafeCloudProviderServiceServer
- type UnsafeCloudProviderServiceServer_Expecter
- type UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call
- func (_c *UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Return() ...
- func (_c *UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) Run(run func()) ...
- func (_c *UnsafeCloudProviderServiceServer_mustEmbedUnimplementedCloudProviderServiceServer_Call) RunAndReturn(run func()) ...
- type UnsafeKubernetesServiceServer
- type UnsafeKubernetesServiceServer_Expecter
- type UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call
- func (_c *UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Return() ...
- func (_c *UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) Run(run func()) ...
- func (_c *UnsafeKubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) RunAndReturn(run func()) ...
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessControl ¶
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 ¶
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 ¶
func (_m *AccessControlServiceClient) AddInboundAllowRuleByInstanceIPMatch(ctx context.Context, in *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest, opts ...grpc.CallOption) (*infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, error)
AddInboundAllowRuleByInstanceIPMatch provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) AddInboundAllowRuleByLabelsMatch ¶
func (_m *AccessControlServiceClient) AddInboundAllowRuleByLabelsMatch(ctx context.Context, in *infrapb.AddInboundAllowRuleByLabelsMatchRequest, opts ...grpc.CallOption) (*infrapb.AddInboundAllowRuleByLabelsMatchResponse, error)
AddInboundAllowRuleByLabelsMatch provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) AddInboundAllowRuleBySubnetMatch ¶
func (_m *AccessControlServiceClient) AddInboundAllowRuleBySubnetMatch(ctx context.Context, in *infrapb.AddInboundAllowRuleBySubnetMatchRequest, opts ...grpc.CallOption) (*infrapb.AddInboundAllowRuleBySubnetMatchResponse, error)
AddInboundAllowRuleBySubnetMatch provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) AddInboundAllowRuleForLoadBalancerByDNS ¶
func (_m *AccessControlServiceClient) AddInboundAllowRuleForLoadBalancerByDNS(ctx context.Context, in *infrapb.AddInboundAllowRuleForLoadBalancerByDNSRequest, opts ...grpc.CallOption) (*infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, error)
AddInboundAllowRuleForLoadBalancerByDNS provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) AddInboundAllowRuleInVPC ¶
func (_m *AccessControlServiceClient) AddInboundAllowRuleInVPC(ctx context.Context, in *infrapb.AddInboundAllowRuleInVPCRequest, opts ...grpc.CallOption) (*infrapb.AddInboundAllowRuleInVPCResponse, error)
AddInboundAllowRuleInVPC provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) EXPECT ¶
func (_m *AccessControlServiceClient) EXPECT() *AccessControlServiceClient_Expecter
func (*AccessControlServiceClient) RefreshInboundAllowRule ¶
func (_m *AccessControlServiceClient) RefreshInboundAllowRule(ctx context.Context, in *infrapb.RefreshInboundAllowRuleRequest, opts ...grpc.CallOption) (*infrapb.RefreshInboundAllowRuleResponse, error)
RefreshInboundAllowRule provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) RemoveInboundAllowRuleFromVPCByName ¶
func (_m *AccessControlServiceClient) RemoveInboundAllowRuleFromVPCByName(ctx context.Context, in *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest, opts ...grpc.CallOption) (*infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, error)
RemoveInboundAllowRuleFromVPCByName provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) RemoveInboundAllowRuleRulesByTags ¶
func (_m *AccessControlServiceClient) RemoveInboundAllowRuleRulesByTags(ctx context.Context, in *infrapb.RemoveInboundAllowRuleRulesByTagsRequest, opts ...grpc.CallOption) (*infrapb.RemoveInboundAllowRuleRulesByTagsResponse, error)
RemoveInboundAllowRuleRulesByTags provides a mock function with given fields: ctx, in, opts
func (*AccessControlServiceClient) RemoveInboundAllowRulesFromVPCById ¶
func (_m *AccessControlServiceClient) RemoveInboundAllowRulesFromVPCById(ctx context.Context, in *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest, opts ...grpc.CallOption) (*infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, error)
RemoveInboundAllowRulesFromVPCById provides a mock function with given fields: ctx, in, opts
type AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call ¶
AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByInstanceIPMatch'
func (*AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest, ...grpc.CallOption) (*infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, error)) *AccessControlServiceClient_AddInboundAllowRuleByInstanceIPMatch_Call
type AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call ¶
AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByLabelsMatch'
func (*AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) Run ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) Run(run func(ctx context.Context, in *infrapb.AddInboundAllowRuleByLabelsMatchRequest, opts ...grpc.CallOption)) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
func (*AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleByLabelsMatchRequest, ...grpc.CallOption) (*infrapb.AddInboundAllowRuleByLabelsMatchResponse, error)) *AccessControlServiceClient_AddInboundAllowRuleByLabelsMatch_Call
type AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call ¶
AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleBySubnetMatch'
func (*AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) Run ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) Run(run func(ctx context.Context, in *infrapb.AddInboundAllowRuleBySubnetMatchRequest, opts ...grpc.CallOption)) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
func (*AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleBySubnetMatchRequest, ...grpc.CallOption) (*infrapb.AddInboundAllowRuleBySubnetMatchResponse, error)) *AccessControlServiceClient_AddInboundAllowRuleBySubnetMatch_Call
type AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call ¶
AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleForLoadBalancerByDNS'
func (*AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleForLoadBalancerByDNSRequest, ...grpc.CallOption) (*infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, error)) *AccessControlServiceClient_AddInboundAllowRuleForLoadBalancerByDNS_Call
type AccessControlServiceClient_AddInboundAllowRuleInVPC_Call ¶
AccessControlServiceClient_AddInboundAllowRuleInVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleInVPC'
func (*AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) Run ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) Run(run func(ctx context.Context, in *infrapb.AddInboundAllowRuleInVPCRequest, opts ...grpc.CallOption)) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
func (*AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleInVPCRequest, ...grpc.CallOption) (*infrapb.AddInboundAllowRuleInVPCResponse, error)) *AccessControlServiceClient_AddInboundAllowRuleInVPC_Call
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 ¶
AccessControlServiceClient_RefreshInboundAllowRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshInboundAllowRule'
func (*AccessControlServiceClient_RefreshInboundAllowRule_Call) Run ¶
func (_c *AccessControlServiceClient_RefreshInboundAllowRule_Call) Run(run func(ctx context.Context, in *infrapb.RefreshInboundAllowRuleRequest, opts ...grpc.CallOption)) *AccessControlServiceClient_RefreshInboundAllowRule_Call
func (*AccessControlServiceClient_RefreshInboundAllowRule_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_RefreshInboundAllowRule_Call) RunAndReturn(run func(context.Context, *infrapb.RefreshInboundAllowRuleRequest, ...grpc.CallOption) (*infrapb.RefreshInboundAllowRuleResponse, error)) *AccessControlServiceClient_RefreshInboundAllowRule_Call
type AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call ¶
AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'
func (*AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(run func(context.Context, *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest, ...grpc.CallOption) (*infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, error)) *AccessControlServiceClient_RemoveInboundAllowRuleFromVPCByName_Call
type AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call ¶
AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'
func (*AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) Run ¶
func (_c *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) Run(run func(ctx context.Context, in *infrapb.RemoveInboundAllowRuleRulesByTagsRequest, opts ...grpc.CallOption)) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
func (*AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn(run func(context.Context, *infrapb.RemoveInboundAllowRuleRulesByTagsRequest, ...grpc.CallOption) (*infrapb.RemoveInboundAllowRuleRulesByTagsResponse, error)) *AccessControlServiceClient_RemoveInboundAllowRuleRulesByTags_Call
type AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call ¶
AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'
func (*AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) Run ¶
func (_c *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) Run(run func(ctx context.Context, in *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest, opts ...grpc.CallOption)) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
func (*AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn ¶
func (_c *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn(run func(context.Context, *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest, ...grpc.CallOption) (*infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, error)) *AccessControlServiceClient_RemoveInboundAllowRulesFromVPCById_Call
type AccessControlServiceServer ¶
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 ¶
func (_m *AccessControlServiceServer) AddInboundAllowRuleByInstanceIPMatch(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest) (*infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, error)
AddInboundAllowRuleByInstanceIPMatch provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) AddInboundAllowRuleByLabelsMatch ¶
func (_m *AccessControlServiceServer) AddInboundAllowRuleByLabelsMatch(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleByLabelsMatchRequest) (*infrapb.AddInboundAllowRuleByLabelsMatchResponse, error)
AddInboundAllowRuleByLabelsMatch provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) AddInboundAllowRuleBySubnetMatch ¶
func (_m *AccessControlServiceServer) AddInboundAllowRuleBySubnetMatch(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleBySubnetMatchRequest) (*infrapb.AddInboundAllowRuleBySubnetMatchResponse, error)
AddInboundAllowRuleBySubnetMatch provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) AddInboundAllowRuleForLoadBalancerByDNS ¶
func (_m *AccessControlServiceServer) AddInboundAllowRuleForLoadBalancerByDNS(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleForLoadBalancerByDNSRequest) (*infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, error)
AddInboundAllowRuleForLoadBalancerByDNS provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) AddInboundAllowRuleInVPC ¶
func (_m *AccessControlServiceServer) AddInboundAllowRuleInVPC(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleInVPCRequest) (*infrapb.AddInboundAllowRuleInVPCResponse, error)
AddInboundAllowRuleInVPC provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) EXPECT ¶
func (_m *AccessControlServiceServer) EXPECT() *AccessControlServiceServer_Expecter
func (*AccessControlServiceServer) RefreshInboundAllowRule ¶
func (_m *AccessControlServiceServer) RefreshInboundAllowRule(_a0 context.Context, _a1 *infrapb.RefreshInboundAllowRuleRequest) (*infrapb.RefreshInboundAllowRuleResponse, error)
RefreshInboundAllowRule provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) RemoveInboundAllowRuleFromVPCByName ¶
func (_m *AccessControlServiceServer) RemoveInboundAllowRuleFromVPCByName(_a0 context.Context, _a1 *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest) (*infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, error)
RemoveInboundAllowRuleFromVPCByName provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) RemoveInboundAllowRuleRulesByTags ¶
func (_m *AccessControlServiceServer) RemoveInboundAllowRuleRulesByTags(_a0 context.Context, _a1 *infrapb.RemoveInboundAllowRuleRulesByTagsRequest) (*infrapb.RemoveInboundAllowRuleRulesByTagsResponse, error)
RemoveInboundAllowRuleRulesByTags provides a mock function with given fields: _a0, _a1
func (*AccessControlServiceServer) RemoveInboundAllowRulesFromVPCById ¶
func (_m *AccessControlServiceServer) RemoveInboundAllowRulesFromVPCById(_a0 context.Context, _a1 *infrapb.RemoveInboundAllowRulesFromVPCByIdRequest) (*infrapb.RemoveInboundAllowRulesFromVPCByIdResponse, error)
RemoveInboundAllowRulesFromVPCById provides a mock function with given fields: _a0, _a1
type AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call ¶
AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByInstanceIPMatch'
func (*AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn ¶
func (_c *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleByInstanceIPMatchRequest) (*infrapb.AddInboundAllowRuleByInstanceIPMatchResponse, error)) *AccessControlServiceServer_AddInboundAllowRuleByInstanceIPMatch_Call
type AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call ¶
AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleByLabelsMatch'
func (*AccessControlServiceServer_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn ¶
type AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call ¶
AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleBySubnetMatch'
func (*AccessControlServiceServer_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn ¶
type AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call ¶
AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleForLoadBalancerByDNS'
func (*AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn ¶
func (_c *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(run func(context.Context, *infrapb.AddInboundAllowRuleForLoadBalancerByDNSRequest) (*infrapb.AddInboundAllowRuleForLoadBalancerByDNSResponse, error)) *AccessControlServiceServer_AddInboundAllowRuleForLoadBalancerByDNS_Call
type AccessControlServiceServer_AddInboundAllowRuleInVPC_Call ¶
AccessControlServiceServer_AddInboundAllowRuleInVPC_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddInboundAllowRuleInVPC'
func (*AccessControlServiceServer_AddInboundAllowRuleInVPC_Call) Run ¶
func (_c *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call) Run(run func(_a0 context.Context, _a1 *infrapb.AddInboundAllowRuleInVPCRequest)) *AccessControlServiceServer_AddInboundAllowRuleInVPC_Call
func (*AccessControlServiceServer_AddInboundAllowRuleInVPC_Call) RunAndReturn ¶
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 ¶
AccessControlServiceServer_RefreshInboundAllowRule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshInboundAllowRule'
func (*AccessControlServiceServer_RefreshInboundAllowRule_Call) Run ¶
func (_c *AccessControlServiceServer_RefreshInboundAllowRule_Call) Run(run func(_a0 context.Context, _a1 *infrapb.RefreshInboundAllowRuleRequest)) *AccessControlServiceServer_RefreshInboundAllowRule_Call
func (*AccessControlServiceServer_RefreshInboundAllowRule_Call) RunAndReturn ¶
type AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call ¶
AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'
func (*AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn ¶
func (_c *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(run func(context.Context, *infrapb.RemoveInboundAllowRuleFromVPCByNameRequest) (*infrapb.RemoveInboundAllowRuleFromVPCByNameResponse, error)) *AccessControlServiceServer_RemoveInboundAllowRuleFromVPCByName_Call
type AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call ¶
AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'
func (*AccessControlServiceServer_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn ¶
type AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call ¶
AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'
func (*AccessControlServiceServer_RemoveInboundAllowRulesFromVPCById_Call) RunAndReturn ¶
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) RunAndReturn ¶
type AccessControl_AddInboundAllowRuleByInstanceIPMatch_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 (_c *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) Return(ruleId string, instances []types.Instance, err error) *AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call
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
func (*AccessControl_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn ¶
type AccessControl_AddInboundAllowRuleByLabelsMatch_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 (_c *AccessControl_AddInboundAllowRuleByLabelsMatch_Call) Return(ruleId string, instances []types.Instance, err error) *AccessControl_AddInboundAllowRuleByLabelsMatch_Call
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
func (*AccessControl_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn ¶
type AccessControl_AddInboundAllowRuleBySubnetMatch_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 (_c *AccessControl_AddInboundAllowRuleBySubnetMatch_Call) Return(ruleId string, instances []types.Instance, subnets []types.Subnet, err error) *AccessControl_AddInboundAllowRuleBySubnetMatch_Call
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
func (*AccessControl_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn ¶
type AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_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 (_c *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return(loadBalancerId string, ruleId string, err error) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
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
func (*AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn ¶
func (_c *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(run func(context.Context, string, string, string, string, string, []string, types.ProtocolsAndPorts) (string, string, error)) *AccessControl_AddInboundAllowRuleForLoadBalancerByDNS_Call
type AccessControl_AddInboundAllowRuleInVPC_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 (_c *AccessControl_AddInboundAllowRuleInVPC_Call) Return(_a0 error) *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 ¶
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 (_c *AccessControl_RefreshInboundAllowRule_Call) Return(instances []types.Instance, subnets []types.Subnet, err error) *AccessControl_RefreshInboundAllowRule_Call
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
func (*AccessControl_RefreshInboundAllowRule_Call) RunAndReturn ¶
type AccessControl_RemoveInboundAllowRuleFromVPCByName_Call ¶
AccessControl_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'
func (*AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) Run ¶
func (_c *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string)) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
func (*AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn ¶
func (_c *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(run func(context.Context, string, string, string, string) error) *AccessControl_RemoveInboundAllowRuleFromVPCByName_Call
type AccessControl_RemoveInboundAllowRuleRulesByTags_Call ¶
AccessControl_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'
func (*AccessControl_RemoveInboundAllowRuleRulesByTags_Call) Run ¶
func (_c *AccessControl_RemoveInboundAllowRuleRulesByTags_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, tags map[string]string)) *AccessControl_RemoveInboundAllowRuleRulesByTags_Call
func (*AccessControl_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn ¶
type AccessControl_RemoveInboundAllowRulesFromVPCById_Call ¶
AccessControl_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'
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 ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
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) DeleteCluster ¶
DeleteCluster provides a mock function with given fields: id
func (*Client) DeleteInstance ¶
DeleteInstance provides a mock function with given fields: id
func (*Client) DeleteKubernetesNode ¶
DeleteKubernetesNode provides a mock function with given fields: id
func (*Client) DeleteKubernetesService ¶
DeleteKubernetesService provides a mock function with given fields: id
func (*Client) DeleteNamespace ¶
DeleteNamespace provides a mock function with given fields: id
func (*Client) DeleteRouteTable ¶
DeleteRouteTable provides a mock function with given fields: id
func (*Client) DeleteSecurityGroup ¶
DeleteSecurityGroup provides a mock function with given fields: id
func (*Client) DeleteSubnet ¶
DeleteSubnet provides a mock function with given fields: id
func (*Client) DeleteSyncTime ¶
DeleteSyncTime provides a mock function with given fields: id
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetCluster ¶
GetCluster provides a mock function with given fields: id
func (*Client) GetInstance ¶
GetInstance provides a mock function with given fields: id
func (*Client) GetKubernetesNode ¶
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 ¶
GetNamespace 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) GetSyncTime ¶
GetSyncTime provides a mock function with given fields: id
func (*Client) ListClusters ¶
ListClusters provides a mock function with given fields:
func (*Client) ListInstances ¶
ListInstances provides a mock function with given fields:
func (*Client) ListKubernetesNodes ¶
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 ¶
ListNamespaces 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 ¶
ListSubnets provides a mock function with given fields:
func (*Client) ListSyncTimes ¶
ListSyncTimes provides a mock function with given fields:
func (*Client) PutCluster ¶
PutCluster provides a mock function with given fields: cluster
func (*Client) PutInstance ¶
PutInstance provides a mock function with given fields: instance
func (*Client) PutKubernetesNode ¶
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 ¶
PutNamespace provides a mock function with given fields: namespace
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) PutSyncTime ¶
PutSyncTime provides a mock function with given fields: time
type Client_Close_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 ¶
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 (_c *Client_DeleteACL_Call) Return(_a0 error) *Client_DeleteACL_Call
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 ¶
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 (_c *Client_DeleteCluster_Call) Return(_a0 error) *Client_DeleteCluster_Call
func (*Client_DeleteCluster_Call) Run ¶
func (_c *Client_DeleteCluster_Call) Run(run func(id string)) *Client_DeleteCluster_Call
func (*Client_DeleteCluster_Call) RunAndReturn ¶
func (_c *Client_DeleteCluster_Call) RunAndReturn(run func(string) error) *Client_DeleteCluster_Call
type Client_DeleteInstance_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 (_c *Client_DeleteInstance_Call) Return(_a0 error) *Client_DeleteInstance_Call
func (*Client_DeleteInstance_Call) Run ¶
func (_c *Client_DeleteInstance_Call) Run(run func(id string)) *Client_DeleteInstance_Call
func (*Client_DeleteInstance_Call) RunAndReturn ¶
func (_c *Client_DeleteInstance_Call) RunAndReturn(run func(string) error) *Client_DeleteInstance_Call
type Client_DeleteKubernetesNode_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 (_c *Client_DeleteKubernetesNode_Call) Return(_a0 error) *Client_DeleteKubernetesNode_Call
func (*Client_DeleteKubernetesNode_Call) Run ¶
func (_c *Client_DeleteKubernetesNode_Call) Run(run func(id string)) *Client_DeleteKubernetesNode_Call
func (*Client_DeleteKubernetesNode_Call) RunAndReturn ¶
func (_c *Client_DeleteKubernetesNode_Call) RunAndReturn(run func(string) error) *Client_DeleteKubernetesNode_Call
type Client_DeleteKubernetesService_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 (_c *Client_DeleteKubernetesService_Call) Return(_a0 error) *Client_DeleteKubernetesService_Call
func (*Client_DeleteKubernetesService_Call) Run ¶
func (_c *Client_DeleteKubernetesService_Call) Run(run func(id string)) *Client_DeleteKubernetesService_Call
func (*Client_DeleteKubernetesService_Call) RunAndReturn ¶
func (_c *Client_DeleteKubernetesService_Call) RunAndReturn(run func(string) error) *Client_DeleteKubernetesService_Call
type Client_DeleteNamespace_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 (_c *Client_DeleteNamespace_Call) Return(_a0 error) *Client_DeleteNamespace_Call
func (*Client_DeleteNamespace_Call) Run ¶
func (_c *Client_DeleteNamespace_Call) Run(run func(id string)) *Client_DeleteNamespace_Call
func (*Client_DeleteNamespace_Call) RunAndReturn ¶
func (_c *Client_DeleteNamespace_Call) RunAndReturn(run func(string) error) *Client_DeleteNamespace_Call
type Client_DeletePod_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 (_c *Client_DeletePod_Call) Return(_a0 error) *Client_DeletePod_Call
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 ¶
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 (_c *Client_DeleteRouteTable_Call) Return(_a0 error) *Client_DeleteRouteTable_Call
func (*Client_DeleteRouteTable_Call) Run ¶
func (_c *Client_DeleteRouteTable_Call) Run(run func(id string)) *Client_DeleteRouteTable_Call
func (*Client_DeleteRouteTable_Call) RunAndReturn ¶
func (_c *Client_DeleteRouteTable_Call) RunAndReturn(run func(string) error) *Client_DeleteRouteTable_Call
type Client_DeleteSecurityGroup_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 (_c *Client_DeleteSecurityGroup_Call) Return(_a0 error) *Client_DeleteSecurityGroup_Call
func (*Client_DeleteSecurityGroup_Call) Run ¶
func (_c *Client_DeleteSecurityGroup_Call) Run(run func(id string)) *Client_DeleteSecurityGroup_Call
func (*Client_DeleteSecurityGroup_Call) RunAndReturn ¶
func (_c *Client_DeleteSecurityGroup_Call) RunAndReturn(run func(string) error) *Client_DeleteSecurityGroup_Call
type Client_DeleteSubnet_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 (_c *Client_DeleteSubnet_Call) Return(_a0 error) *Client_DeleteSubnet_Call
func (*Client_DeleteSubnet_Call) Run ¶
func (_c *Client_DeleteSubnet_Call) Run(run func(id string)) *Client_DeleteSubnet_Call
func (*Client_DeleteSubnet_Call) RunAndReturn ¶
func (_c *Client_DeleteSubnet_Call) RunAndReturn(run func(string) error) *Client_DeleteSubnet_Call
type Client_DeleteSyncTime_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 (_c *Client_DeleteSyncTime_Call) Return(_a0 error) *Client_DeleteSyncTime_Call
func (*Client_DeleteSyncTime_Call) Run ¶
func (_c *Client_DeleteSyncTime_Call) Run(run func(id string)) *Client_DeleteSyncTime_Call
func (*Client_DeleteSyncTime_Call) RunAndReturn ¶
func (_c *Client_DeleteSyncTime_Call) RunAndReturn(run func(string) error) *Client_DeleteSyncTime_Call
type Client_DeleteVPC_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 (_c *Client_DeleteVPC_Call) Return(_a0 error) *Client_DeleteVPC_Call
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 ¶
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 ¶
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 ¶
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 (_c *Client_GetCluster_Call) Return(_a0 *types.Cluster, _a1 error) *Client_GetCluster_Call
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 ¶
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 (_c *Client_GetInstance_Call) Return(_a0 *types.Instance, _a1 error) *Client_GetInstance_Call
func (*Client_GetInstance_Call) Run ¶
func (_c *Client_GetInstance_Call) Run(run func(id string)) *Client_GetInstance_Call
func (*Client_GetInstance_Call) RunAndReturn ¶
func (_c *Client_GetInstance_Call) RunAndReturn(run func(string) (*types.Instance, error)) *Client_GetInstance_Call
type Client_GetKubernetesNode_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 (_c *Client_GetKubernetesNode_Call) Return(_a0 *types.K8sNode, _a1 error) *Client_GetKubernetesNode_Call
func (*Client_GetKubernetesNode_Call) Run ¶
func (_c *Client_GetKubernetesNode_Call) Run(run func(id string)) *Client_GetKubernetesNode_Call
func (*Client_GetKubernetesNode_Call) RunAndReturn ¶
func (_c *Client_GetKubernetesNode_Call) RunAndReturn(run func(string) (*types.K8sNode, error)) *Client_GetKubernetesNode_Call
type Client_GetKubernetesService_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 (_c *Client_GetKubernetesService_Call) Return(_a0 *types.K8SService, _a1 error) *Client_GetKubernetesService_Call
func (*Client_GetKubernetesService_Call) Run ¶
func (_c *Client_GetKubernetesService_Call) Run(run func(id string)) *Client_GetKubernetesService_Call
func (*Client_GetKubernetesService_Call) RunAndReturn ¶
func (_c *Client_GetKubernetesService_Call) RunAndReturn(run func(string) (*types.K8SService, error)) *Client_GetKubernetesService_Call
type Client_GetNamespace_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 (_c *Client_GetNamespace_Call) Return(_a0 *types.Namespace, _a1 error) *Client_GetNamespace_Call
func (*Client_GetNamespace_Call) Run ¶
func (_c *Client_GetNamespace_Call) Run(run func(id string)) *Client_GetNamespace_Call
func (*Client_GetNamespace_Call) RunAndReturn ¶
func (_c *Client_GetNamespace_Call) RunAndReturn(run func(string) (*types.Namespace, error)) *Client_GetNamespace_Call
type Client_GetPod_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 ¶
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 (_c *Client_GetRouteTable_Call) Return(_a0 *types.RouteTable, _a1 error) *Client_GetRouteTable_Call
func (*Client_GetRouteTable_Call) Run ¶
func (_c *Client_GetRouteTable_Call) Run(run func(id string)) *Client_GetRouteTable_Call
func (*Client_GetRouteTable_Call) RunAndReturn ¶
func (_c *Client_GetRouteTable_Call) RunAndReturn(run func(string) (*types.RouteTable, error)) *Client_GetRouteTable_Call
type Client_GetSecurityGroup_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 (_c *Client_GetSecurityGroup_Call) Return(_a0 *types.SecurityGroup, _a1 error) *Client_GetSecurityGroup_Call
func (*Client_GetSecurityGroup_Call) Run ¶
func (_c *Client_GetSecurityGroup_Call) Run(run func(id string)) *Client_GetSecurityGroup_Call
func (*Client_GetSecurityGroup_Call) RunAndReturn ¶
func (_c *Client_GetSecurityGroup_Call) RunAndReturn(run func(string) (*types.SecurityGroup, error)) *Client_GetSecurityGroup_Call
type Client_GetSubnet_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 (_c *Client_GetSubnet_Call) Return(_a0 *types.Subnet, _a1 error) *Client_GetSubnet_Call
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 ¶
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 (_c *Client_GetSyncTime_Call) Return(_a0 *types.SyncTime, _a1 error) *Client_GetSyncTime_Call
func (*Client_GetSyncTime_Call) Run ¶
func (_c *Client_GetSyncTime_Call) Run(run func(id string)) *Client_GetSyncTime_Call
func (*Client_GetSyncTime_Call) RunAndReturn ¶
func (_c *Client_GetSyncTime_Call) RunAndReturn(run func(string) (*types.SyncTime, error)) *Client_GetSyncTime_Call
type Client_GetVPC_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 ¶
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 ¶
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 (_c *Client_ListClusters_Call) Return(_a0 []*types.Cluster, _a1 error) *Client_ListClusters_Call
func (*Client_ListClusters_Call) Run ¶
func (_c *Client_ListClusters_Call) Run(run func()) *Client_ListClusters_Call
func (*Client_ListClusters_Call) RunAndReturn ¶
func (_c *Client_ListClusters_Call) RunAndReturn(run func() ([]*types.Cluster, error)) *Client_ListClusters_Call
type Client_ListInstances_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 (_c *Client_ListInstances_Call) Return(_a0 []*types.Instance, _a1 error) *Client_ListInstances_Call
func (*Client_ListInstances_Call) Run ¶
func (_c *Client_ListInstances_Call) Run(run func()) *Client_ListInstances_Call
func (*Client_ListInstances_Call) RunAndReturn ¶
func (_c *Client_ListInstances_Call) RunAndReturn(run func() ([]*types.Instance, error)) *Client_ListInstances_Call
type Client_ListKubernetesNodes_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 (_c *Client_ListKubernetesNodes_Call) Return(_a0 []*types.K8sNode, _a1 error) *Client_ListKubernetesNodes_Call
func (*Client_ListKubernetesNodes_Call) Run ¶
func (_c *Client_ListKubernetesNodes_Call) Run(run func()) *Client_ListKubernetesNodes_Call
func (*Client_ListKubernetesNodes_Call) RunAndReturn ¶
func (_c *Client_ListKubernetesNodes_Call) RunAndReturn(run func() ([]*types.K8sNode, error)) *Client_ListKubernetesNodes_Call
type Client_ListKubernetesServices_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 (_c *Client_ListKubernetesServices_Call) Return(_a0 []*types.K8SService, _a1 error) *Client_ListKubernetesServices_Call
func (*Client_ListKubernetesServices_Call) Run ¶
func (_c *Client_ListKubernetesServices_Call) Run(run func()) *Client_ListKubernetesServices_Call
func (*Client_ListKubernetesServices_Call) RunAndReturn ¶
func (_c *Client_ListKubernetesServices_Call) RunAndReturn(run func() ([]*types.K8SService, error)) *Client_ListKubernetesServices_Call
type Client_ListNamespaces_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 (_c *Client_ListNamespaces_Call) Return(_a0 []*types.Namespace, _a1 error) *Client_ListNamespaces_Call
func (*Client_ListNamespaces_Call) Run ¶
func (_c *Client_ListNamespaces_Call) Run(run func()) *Client_ListNamespaces_Call
func (*Client_ListNamespaces_Call) RunAndReturn ¶
func (_c *Client_ListNamespaces_Call) RunAndReturn(run func() ([]*types.Namespace, error)) *Client_ListNamespaces_Call
type Client_ListPods_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 ¶
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 (_c *Client_ListRouteTables_Call) Return(_a0 []*types.RouteTable, _a1 error) *Client_ListRouteTables_Call
func (*Client_ListRouteTables_Call) Run ¶
func (_c *Client_ListRouteTables_Call) Run(run func()) *Client_ListRouteTables_Call
func (*Client_ListRouteTables_Call) RunAndReturn ¶
func (_c *Client_ListRouteTables_Call) RunAndReturn(run func() ([]*types.RouteTable, error)) *Client_ListRouteTables_Call
type Client_ListSecurityGroups_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 (_c *Client_ListSecurityGroups_Call) Return(_a0 []*types.SecurityGroup, _a1 error) *Client_ListSecurityGroups_Call
func (*Client_ListSecurityGroups_Call) Run ¶
func (_c *Client_ListSecurityGroups_Call) Run(run func()) *Client_ListSecurityGroups_Call
func (*Client_ListSecurityGroups_Call) RunAndReturn ¶
func (_c *Client_ListSecurityGroups_Call) RunAndReturn(run func() ([]*types.SecurityGroup, error)) *Client_ListSecurityGroups_Call
type Client_ListSubnets_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 (_c *Client_ListSubnets_Call) Return(_a0 []*types.Subnet, _a1 error) *Client_ListSubnets_Call
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 ¶
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 (_c *Client_ListSyncTimes_Call) Return(_a0 []*types.SyncTime, _a1 error) *Client_ListSyncTimes_Call
func (*Client_ListSyncTimes_Call) Run ¶
func (_c *Client_ListSyncTimes_Call) Run(run func()) *Client_ListSyncTimes_Call
func (*Client_ListSyncTimes_Call) RunAndReturn ¶
func (_c *Client_ListSyncTimes_Call) RunAndReturn(run func() ([]*types.SyncTime, error)) *Client_ListSyncTimes_Call
type Client_ListVPCs_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 ¶
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 ¶
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 ¶
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 (_c *Client_PutCluster_Call) Return(_a0 error) *Client_PutCluster_Call
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 ¶
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 (_c *Client_PutInstance_Call) Return(_a0 error) *Client_PutInstance_Call
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 ¶
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 (_c *Client_PutKubernetesNode_Call) Return(_a0 error) *Client_PutKubernetesNode_Call
func (*Client_PutKubernetesNode_Call) Run ¶
func (_c *Client_PutKubernetesNode_Call) Run(run func(node *types.K8sNode)) *Client_PutKubernetesNode_Call
func (*Client_PutKubernetesNode_Call) RunAndReturn ¶
func (_c *Client_PutKubernetesNode_Call) RunAndReturn(run func(*types.K8sNode) error) *Client_PutKubernetesNode_Call
type Client_PutKubernetesService_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 (_c *Client_PutKubernetesService_Call) Return(_a0 error) *Client_PutKubernetesService_Call
func (*Client_PutKubernetesService_Call) Run ¶
func (_c *Client_PutKubernetesService_Call) Run(run func(service *types.K8SService)) *Client_PutKubernetesService_Call
func (*Client_PutKubernetesService_Call) RunAndReturn ¶
func (_c *Client_PutKubernetesService_Call) RunAndReturn(run func(*types.K8SService) error) *Client_PutKubernetesService_Call
type Client_PutNamespace_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 (_c *Client_PutNamespace_Call) Return(_a0 error) *Client_PutNamespace_Call
func (*Client_PutNamespace_Call) Run ¶
func (_c *Client_PutNamespace_Call) Run(run func(namespace *types.Namespace)) *Client_PutNamespace_Call
func (*Client_PutNamespace_Call) RunAndReturn ¶
func (_c *Client_PutNamespace_Call) RunAndReturn(run func(*types.Namespace) error) *Client_PutNamespace_Call
type Client_PutPod_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 ¶
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 (_c *Client_PutRouteTable_Call) Return(_a0 error) *Client_PutRouteTable_Call
func (*Client_PutRouteTable_Call) Run ¶
func (_c *Client_PutRouteTable_Call) Run(run func(routeTable *types.RouteTable)) *Client_PutRouteTable_Call
func (*Client_PutRouteTable_Call) RunAndReturn ¶
func (_c *Client_PutRouteTable_Call) RunAndReturn(run func(*types.RouteTable) error) *Client_PutRouteTable_Call
type Client_PutSecurityGroup_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 (_c *Client_PutSecurityGroup_Call) Return(_a0 error) *Client_PutSecurityGroup_Call
func (*Client_PutSecurityGroup_Call) Run ¶
func (_c *Client_PutSecurityGroup_Call) Run(run func(securityGroup *types.SecurityGroup)) *Client_PutSecurityGroup_Call
func (*Client_PutSecurityGroup_Call) RunAndReturn ¶
func (_c *Client_PutSecurityGroup_Call) RunAndReturn(run func(*types.SecurityGroup) error) *Client_PutSecurityGroup_Call
type Client_PutSubnet_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 (_c *Client_PutSubnet_Call) Return(_a0 error) *Client_PutSubnet_Call
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 ¶
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 (_c *Client_PutSyncTime_Call) Return(_a0 error) *Client_PutSyncTime_Call
func (*Client_PutSyncTime_Call) Run ¶
func (_c *Client_PutSyncTime_Call) Run(run func(time *types.SyncTime)) *Client_PutSyncTime_Call
func (*Client_PutSyncTime_Call) RunAndReturn ¶
func (_c *Client_PutSyncTime_Call) RunAndReturn(run func(*types.SyncTime) error) *Client_PutSyncTime_Call
type Client_PutVPC_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 ¶
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 ¶
func (_m *CloudProvider) ConnectVPCs(ctx context.Context, input types.VPCConnectionParams) (types.VPCConnectionOutput, error)
ConnectVPCs provides a mock function with given fields: ctx, input
func (*CloudProvider) DisconnectVPCs ¶
func (_m *CloudProvider) DisconnectVPCs(ctx context.Context, input types.VPCDisconnectionParams) (types.VPCDisconnectionOutput, error)
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 ¶
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 (_m *CloudProviderServiceClient) EXPECT() *CloudProviderServiceClient_Expecter
func (*CloudProviderServiceClient) GetCIDRsForLabels ¶
func (_m *CloudProviderServiceClient) GetCIDRsForLabels(ctx context.Context, in *infrapb.GetCIDRsForLabelsRequest, opts ...grpc.CallOption) (*infrapb.GetCIDRsForLabelsResponse, error)
GetCIDRsForLabels provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) GetIPsForLabels ¶
func (_m *CloudProviderServiceClient) GetIPsForLabels(ctx context.Context, in *infrapb.GetIPsForLabelsRequest, opts ...grpc.CallOption) (*infrapb.GetIPsForLabelsResponse, error)
GetIPsForLabels provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) GetInstancesForLabels ¶
func (_m *CloudProviderServiceClient) GetInstancesForLabels(ctx context.Context, in *infrapb.GetInstancesForLabelsRequest, opts ...grpc.CallOption) (*infrapb.GetInstancesForLabelsResponse, error)
GetInstancesForLabels provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) GetSubnet ¶
func (_m *CloudProviderServiceClient) GetSubnet(ctx context.Context, in *infrapb.GetSubnetRequest, opts ...grpc.CallOption) (*infrapb.GetSubnetResponse, error)
GetSubnet provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) GetVPCIDForCIDR ¶
func (_m *CloudProviderServiceClient) GetVPCIDForCIDR(ctx context.Context, in *infrapb.GetVPCIDForCIDRRequest, opts ...grpc.CallOption) (*infrapb.GetVPCIDForCIDRResponse, error)
GetVPCIDForCIDR provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) GetVPCIDWithTag ¶
func (_m *CloudProviderServiceClient) GetVPCIDWithTag(ctx context.Context, in *infrapb.GetVPCIDWithTagRequest, opts ...grpc.CallOption) (*infrapb.GetVPCIDWithTagResponse, error)
GetVPCIDWithTag provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListACLs ¶
func (_m *CloudProviderServiceClient) ListACLs(ctx context.Context, in *infrapb.ListACLsRequest, opts ...grpc.CallOption) (*infrapb.ListACLsResponse, error)
ListACLs provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListAccounts ¶
func (_m *CloudProviderServiceClient) ListAccounts(ctx context.Context, in *infrapb.ListAccountsRequest, opts ...grpc.CallOption) (*infrapb.ListAccountsResponse, error)
ListAccounts provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListCloudClusters ¶
func (_m *CloudProviderServiceClient) ListCloudClusters(ctx context.Context, in *infrapb.ListCloudClustersRequest, opts ...grpc.CallOption) (*infrapb.ListCloudClustersResponse, error)
ListCloudClusters provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListInstances ¶
func (_m *CloudProviderServiceClient) ListInstances(ctx context.Context, in *infrapb.ListInstancesRequest, opts ...grpc.CallOption) (*infrapb.ListInstancesResponse, error)
ListInstances provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListRouteTables ¶
func (_m *CloudProviderServiceClient) ListRouteTables(ctx context.Context, in *infrapb.ListRouteTablesRequest, opts ...grpc.CallOption) (*infrapb.ListRouteTablesResponse, error)
ListRouteTables provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListSecurityGroups ¶
func (_m *CloudProviderServiceClient) ListSecurityGroups(ctx context.Context, in *infrapb.ListSecurityGroupsRequest, opts ...grpc.CallOption) (*infrapb.ListSecurityGroupsResponse, error)
ListSecurityGroups provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListSubnets ¶
func (_m *CloudProviderServiceClient) ListSubnets(ctx context.Context, in *infrapb.ListSubnetsRequest, opts ...grpc.CallOption) (*infrapb.ListSubnetsResponse, error)
ListSubnets provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) ListVPC ¶
func (_m *CloudProviderServiceClient) ListVPC(ctx context.Context, in *infrapb.ListVPCRequest, opts ...grpc.CallOption) (*infrapb.ListVPCResponse, error)
ListVPC provides a mock function with given fields: ctx, in, opts
func (*CloudProviderServiceClient) Summary ¶
func (_m *CloudProviderServiceClient) Summary(ctx context.Context, in *infrapb.SummaryRequest, opts ...grpc.CallOption) (*infrapb.SummaryResponse, error)
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 ¶
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 (_c *CloudProviderServiceClient_GetCIDRsForLabels_Call) Return(_a0 *infrapb.GetCIDRsForLabelsResponse, _a1 error) *CloudProviderServiceClient_GetCIDRsForLabels_Call
func (*CloudProviderServiceClient_GetCIDRsForLabels_Call) Run ¶
func (_c *CloudProviderServiceClient_GetCIDRsForLabels_Call) Run(run func(ctx context.Context, in *infrapb.GetCIDRsForLabelsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_GetCIDRsForLabels_Call
func (*CloudProviderServiceClient_GetCIDRsForLabels_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_GetCIDRsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetCIDRsForLabelsRequest, ...grpc.CallOption) (*infrapb.GetCIDRsForLabelsResponse, error)) *CloudProviderServiceClient_GetCIDRsForLabels_Call
type CloudProviderServiceClient_GetIPsForLabels_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 (_c *CloudProviderServiceClient_GetIPsForLabels_Call) Return(_a0 *infrapb.GetIPsForLabelsResponse, _a1 error) *CloudProviderServiceClient_GetIPsForLabels_Call
func (*CloudProviderServiceClient_GetIPsForLabels_Call) Run ¶
func (_c *CloudProviderServiceClient_GetIPsForLabels_Call) Run(run func(ctx context.Context, in *infrapb.GetIPsForLabelsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_GetIPsForLabels_Call
func (*CloudProviderServiceClient_GetIPsForLabels_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_GetIPsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetIPsForLabelsRequest, ...grpc.CallOption) (*infrapb.GetIPsForLabelsResponse, error)) *CloudProviderServiceClient_GetIPsForLabels_Call
type CloudProviderServiceClient_GetInstancesForLabels_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 ¶
func (_c *CloudProviderServiceClient_GetInstancesForLabels_Call) Run(run func(ctx context.Context, in *infrapb.GetInstancesForLabelsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_GetInstancesForLabels_Call
func (*CloudProviderServiceClient_GetInstancesForLabels_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_GetInstancesForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetInstancesForLabelsRequest, ...grpc.CallOption) (*infrapb.GetInstancesForLabelsResponse, error)) *CloudProviderServiceClient_GetInstancesForLabels_Call
type CloudProviderServiceClient_GetSubnet_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 (_c *CloudProviderServiceClient_GetSubnet_Call) Return(_a0 *infrapb.GetSubnetResponse, _a1 error) *CloudProviderServiceClient_GetSubnet_Call
func (*CloudProviderServiceClient_GetSubnet_Call) Run ¶
func (_c *CloudProviderServiceClient_GetSubnet_Call) Run(run func(ctx context.Context, in *infrapb.GetSubnetRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_GetSubnet_Call
func (*CloudProviderServiceClient_GetSubnet_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_GetSubnet_Call) RunAndReturn(run func(context.Context, *infrapb.GetSubnetRequest, ...grpc.CallOption) (*infrapb.GetSubnetResponse, error)) *CloudProviderServiceClient_GetSubnet_Call
type CloudProviderServiceClient_GetVPCIDForCIDR_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 (_c *CloudProviderServiceClient_GetVPCIDForCIDR_Call) Return(_a0 *infrapb.GetVPCIDForCIDRResponse, _a1 error) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
func (*CloudProviderServiceClient_GetVPCIDForCIDR_Call) Run ¶
func (_c *CloudProviderServiceClient_GetVPCIDForCIDR_Call) Run(run func(ctx context.Context, in *infrapb.GetVPCIDForCIDRRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
func (*CloudProviderServiceClient_GetVPCIDForCIDR_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_GetVPCIDForCIDR_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDForCIDRRequest, ...grpc.CallOption) (*infrapb.GetVPCIDForCIDRResponse, error)) *CloudProviderServiceClient_GetVPCIDForCIDR_Call
type CloudProviderServiceClient_GetVPCIDWithTag_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 (_c *CloudProviderServiceClient_GetVPCIDWithTag_Call) Return(_a0 *infrapb.GetVPCIDWithTagResponse, _a1 error) *CloudProviderServiceClient_GetVPCIDWithTag_Call
func (*CloudProviderServiceClient_GetVPCIDWithTag_Call) Run ¶
func (_c *CloudProviderServiceClient_GetVPCIDWithTag_Call) Run(run func(ctx context.Context, in *infrapb.GetVPCIDWithTagRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_GetVPCIDWithTag_Call
func (*CloudProviderServiceClient_GetVPCIDWithTag_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_GetVPCIDWithTag_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDWithTagRequest, ...grpc.CallOption) (*infrapb.GetVPCIDWithTagResponse, error)) *CloudProviderServiceClient_GetVPCIDWithTag_Call
type CloudProviderServiceClient_ListACLs_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 (_c *CloudProviderServiceClient_ListACLs_Call) Return(_a0 *infrapb.ListACLsResponse, _a1 error) *CloudProviderServiceClient_ListACLs_Call
func (*CloudProviderServiceClient_ListACLs_Call) Run ¶
func (_c *CloudProviderServiceClient_ListACLs_Call) Run(run func(ctx context.Context, in *infrapb.ListACLsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListACLs_Call
func (*CloudProviderServiceClient_ListACLs_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListACLs_Call) RunAndReturn(run func(context.Context, *infrapb.ListACLsRequest, ...grpc.CallOption) (*infrapb.ListACLsResponse, error)) *CloudProviderServiceClient_ListACLs_Call
type CloudProviderServiceClient_ListAccounts_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 (_c *CloudProviderServiceClient_ListAccounts_Call) Return(_a0 *infrapb.ListAccountsResponse, _a1 error) *CloudProviderServiceClient_ListAccounts_Call
func (*CloudProviderServiceClient_ListAccounts_Call) Run ¶
func (_c *CloudProviderServiceClient_ListAccounts_Call) Run(run func(ctx context.Context, in *infrapb.ListAccountsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListAccounts_Call
func (*CloudProviderServiceClient_ListAccounts_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListAccounts_Call) RunAndReturn(run func(context.Context, *infrapb.ListAccountsRequest, ...grpc.CallOption) (*infrapb.ListAccountsResponse, error)) *CloudProviderServiceClient_ListAccounts_Call
type CloudProviderServiceClient_ListCloudClusters_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 (_c *CloudProviderServiceClient_ListCloudClusters_Call) Return(_a0 *infrapb.ListCloudClustersResponse, _a1 error) *CloudProviderServiceClient_ListCloudClusters_Call
func (*CloudProviderServiceClient_ListCloudClusters_Call) Run ¶
func (_c *CloudProviderServiceClient_ListCloudClusters_Call) Run(run func(ctx context.Context, in *infrapb.ListCloudClustersRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListCloudClusters_Call
func (*CloudProviderServiceClient_ListCloudClusters_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListCloudClusters_Call) RunAndReturn(run func(context.Context, *infrapb.ListCloudClustersRequest, ...grpc.CallOption) (*infrapb.ListCloudClustersResponse, error)) *CloudProviderServiceClient_ListCloudClusters_Call
type CloudProviderServiceClient_ListInstances_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 (_c *CloudProviderServiceClient_ListInstances_Call) Return(_a0 *infrapb.ListInstancesResponse, _a1 error) *CloudProviderServiceClient_ListInstances_Call
func (*CloudProviderServiceClient_ListInstances_Call) Run ¶
func (_c *CloudProviderServiceClient_ListInstances_Call) Run(run func(ctx context.Context, in *infrapb.ListInstancesRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListInstances_Call
func (*CloudProviderServiceClient_ListInstances_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListInstances_Call) RunAndReturn(run func(context.Context, *infrapb.ListInstancesRequest, ...grpc.CallOption) (*infrapb.ListInstancesResponse, error)) *CloudProviderServiceClient_ListInstances_Call
type CloudProviderServiceClient_ListRouteTables_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 (_c *CloudProviderServiceClient_ListRouteTables_Call) Return(_a0 *infrapb.ListRouteTablesResponse, _a1 error) *CloudProviderServiceClient_ListRouteTables_Call
func (*CloudProviderServiceClient_ListRouteTables_Call) Run ¶
func (_c *CloudProviderServiceClient_ListRouteTables_Call) Run(run func(ctx context.Context, in *infrapb.ListRouteTablesRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListRouteTables_Call
func (*CloudProviderServiceClient_ListRouteTables_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListRouteTables_Call) RunAndReturn(run func(context.Context, *infrapb.ListRouteTablesRequest, ...grpc.CallOption) (*infrapb.ListRouteTablesResponse, error)) *CloudProviderServiceClient_ListRouteTables_Call
type CloudProviderServiceClient_ListSecurityGroups_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 ¶
func (_c *CloudProviderServiceClient_ListSecurityGroups_Call) Run(run func(ctx context.Context, in *infrapb.ListSecurityGroupsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListSecurityGroups_Call
func (*CloudProviderServiceClient_ListSecurityGroups_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListSecurityGroups_Call) RunAndReturn(run func(context.Context, *infrapb.ListSecurityGroupsRequest, ...grpc.CallOption) (*infrapb.ListSecurityGroupsResponse, error)) *CloudProviderServiceClient_ListSecurityGroups_Call
type CloudProviderServiceClient_ListSubnets_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 (_c *CloudProviderServiceClient_ListSubnets_Call) Return(_a0 *infrapb.ListSubnetsResponse, _a1 error) *CloudProviderServiceClient_ListSubnets_Call
func (*CloudProviderServiceClient_ListSubnets_Call) Run ¶
func (_c *CloudProviderServiceClient_ListSubnets_Call) Run(run func(ctx context.Context, in *infrapb.ListSubnetsRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListSubnets_Call
func (*CloudProviderServiceClient_ListSubnets_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListSubnets_Call) RunAndReturn(run func(context.Context, *infrapb.ListSubnetsRequest, ...grpc.CallOption) (*infrapb.ListSubnetsResponse, error)) *CloudProviderServiceClient_ListSubnets_Call
type CloudProviderServiceClient_ListVPC_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 (_c *CloudProviderServiceClient_ListVPC_Call) Return(_a0 *infrapb.ListVPCResponse, _a1 error) *CloudProviderServiceClient_ListVPC_Call
func (*CloudProviderServiceClient_ListVPC_Call) Run ¶
func (_c *CloudProviderServiceClient_ListVPC_Call) Run(run func(ctx context.Context, in *infrapb.ListVPCRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_ListVPC_Call
func (*CloudProviderServiceClient_ListVPC_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_ListVPC_Call) RunAndReturn(run func(context.Context, *infrapb.ListVPCRequest, ...grpc.CallOption) (*infrapb.ListVPCResponse, error)) *CloudProviderServiceClient_ListVPC_Call
type CloudProviderServiceClient_Summary_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 (_c *CloudProviderServiceClient_Summary_Call) Return(_a0 *infrapb.SummaryResponse, _a1 error) *CloudProviderServiceClient_Summary_Call
func (*CloudProviderServiceClient_Summary_Call) Run ¶
func (_c *CloudProviderServiceClient_Summary_Call) Run(run func(ctx context.Context, in *infrapb.SummaryRequest, opts ...grpc.CallOption)) *CloudProviderServiceClient_Summary_Call
func (*CloudProviderServiceClient_Summary_Call) RunAndReturn ¶
func (_c *CloudProviderServiceClient_Summary_Call) RunAndReturn(run func(context.Context, *infrapb.SummaryRequest, ...grpc.CallOption) (*infrapb.SummaryResponse, error)) *CloudProviderServiceClient_Summary_Call
type CloudProviderServiceServer ¶
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 (_m *CloudProviderServiceServer) EXPECT() *CloudProviderServiceServer_Expecter
func (*CloudProviderServiceServer) GetCIDRsForLabels ¶
func (_m *CloudProviderServiceServer) GetCIDRsForLabels(_a0 context.Context, _a1 *infrapb.GetCIDRsForLabelsRequest) (*infrapb.GetCIDRsForLabelsResponse, error)
GetCIDRsForLabels provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) GetIPsForLabels ¶
func (_m *CloudProviderServiceServer) GetIPsForLabels(_a0 context.Context, _a1 *infrapb.GetIPsForLabelsRequest) (*infrapb.GetIPsForLabelsResponse, error)
GetIPsForLabels provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) GetInstancesForLabels ¶
func (_m *CloudProviderServiceServer) GetInstancesForLabels(_a0 context.Context, _a1 *infrapb.GetInstancesForLabelsRequest) (*infrapb.GetInstancesForLabelsResponse, error)
GetInstancesForLabels provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) GetSubnet ¶
func (_m *CloudProviderServiceServer) GetSubnet(_a0 context.Context, _a1 *infrapb.GetSubnetRequest) (*infrapb.GetSubnetResponse, error)
GetSubnet provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) GetVPCIDForCIDR ¶
func (_m *CloudProviderServiceServer) GetVPCIDForCIDR(_a0 context.Context, _a1 *infrapb.GetVPCIDForCIDRRequest) (*infrapb.GetVPCIDForCIDRResponse, error)
GetVPCIDForCIDR provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) GetVPCIDWithTag ¶
func (_m *CloudProviderServiceServer) GetVPCIDWithTag(_a0 context.Context, _a1 *infrapb.GetVPCIDWithTagRequest) (*infrapb.GetVPCIDWithTagResponse, error)
GetVPCIDWithTag provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListACLs ¶
func (_m *CloudProviderServiceServer) ListACLs(_a0 context.Context, _a1 *infrapb.ListACLsRequest) (*infrapb.ListACLsResponse, error)
ListACLs provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListAccounts ¶
func (_m *CloudProviderServiceServer) ListAccounts(_a0 context.Context, _a1 *infrapb.ListAccountsRequest) (*infrapb.ListAccountsResponse, error)
ListAccounts provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListCloudClusters ¶
func (_m *CloudProviderServiceServer) ListCloudClusters(_a0 context.Context, _a1 *infrapb.ListCloudClustersRequest) (*infrapb.ListCloudClustersResponse, error)
ListCloudClusters provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListInstances ¶
func (_m *CloudProviderServiceServer) ListInstances(_a0 context.Context, _a1 *infrapb.ListInstancesRequest) (*infrapb.ListInstancesResponse, error)
ListInstances provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListRouteTables ¶
func (_m *CloudProviderServiceServer) ListRouteTables(_a0 context.Context, _a1 *infrapb.ListRouteTablesRequest) (*infrapb.ListRouteTablesResponse, error)
ListRouteTables provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListSecurityGroups ¶
func (_m *CloudProviderServiceServer) ListSecurityGroups(_a0 context.Context, _a1 *infrapb.ListSecurityGroupsRequest) (*infrapb.ListSecurityGroupsResponse, error)
ListSecurityGroups provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListSubnets ¶
func (_m *CloudProviderServiceServer) ListSubnets(_a0 context.Context, _a1 *infrapb.ListSubnetsRequest) (*infrapb.ListSubnetsResponse, error)
ListSubnets provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) ListVPC ¶
func (_m *CloudProviderServiceServer) ListVPC(_a0 context.Context, _a1 *infrapb.ListVPCRequest) (*infrapb.ListVPCResponse, error)
ListVPC provides a mock function with given fields: _a0, _a1
func (*CloudProviderServiceServer) Summary ¶
func (_m *CloudProviderServiceServer) Summary(_a0 context.Context, _a1 *infrapb.SummaryRequest) (*infrapb.SummaryResponse, error)
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 ¶
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 (_c *CloudProviderServiceServer_GetCIDRsForLabels_Call) Return(_a0 *infrapb.GetCIDRsForLabelsResponse, _a1 error) *CloudProviderServiceServer_GetCIDRsForLabels_Call
func (*CloudProviderServiceServer_GetCIDRsForLabels_Call) Run ¶
func (_c *CloudProviderServiceServer_GetCIDRsForLabels_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetCIDRsForLabelsRequest)) *CloudProviderServiceServer_GetCIDRsForLabels_Call
func (*CloudProviderServiceServer_GetCIDRsForLabels_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_GetCIDRsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetCIDRsForLabelsRequest) (*infrapb.GetCIDRsForLabelsResponse, error)) *CloudProviderServiceServer_GetCIDRsForLabels_Call
type CloudProviderServiceServer_GetIPsForLabels_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 (_c *CloudProviderServiceServer_GetIPsForLabels_Call) Return(_a0 *infrapb.GetIPsForLabelsResponse, _a1 error) *CloudProviderServiceServer_GetIPsForLabels_Call
func (*CloudProviderServiceServer_GetIPsForLabels_Call) Run ¶
func (_c *CloudProviderServiceServer_GetIPsForLabels_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetIPsForLabelsRequest)) *CloudProviderServiceServer_GetIPsForLabels_Call
func (*CloudProviderServiceServer_GetIPsForLabels_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_GetIPsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetIPsForLabelsRequest) (*infrapb.GetIPsForLabelsResponse, error)) *CloudProviderServiceServer_GetIPsForLabels_Call
type CloudProviderServiceServer_GetInstancesForLabels_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 ¶
func (_c *CloudProviderServiceServer_GetInstancesForLabels_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetInstancesForLabelsRequest)) *CloudProviderServiceServer_GetInstancesForLabels_Call
func (*CloudProviderServiceServer_GetInstancesForLabels_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_GetInstancesForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetInstancesForLabelsRequest) (*infrapb.GetInstancesForLabelsResponse, error)) *CloudProviderServiceServer_GetInstancesForLabels_Call
type CloudProviderServiceServer_GetSubnet_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 (_c *CloudProviderServiceServer_GetSubnet_Call) Return(_a0 *infrapb.GetSubnetResponse, _a1 error) *CloudProviderServiceServer_GetSubnet_Call
func (*CloudProviderServiceServer_GetSubnet_Call) Run ¶
func (_c *CloudProviderServiceServer_GetSubnet_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetSubnetRequest)) *CloudProviderServiceServer_GetSubnet_Call
func (*CloudProviderServiceServer_GetSubnet_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_GetSubnet_Call) RunAndReturn(run func(context.Context, *infrapb.GetSubnetRequest) (*infrapb.GetSubnetResponse, error)) *CloudProviderServiceServer_GetSubnet_Call
type CloudProviderServiceServer_GetVPCIDForCIDR_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 (_c *CloudProviderServiceServer_GetVPCIDForCIDR_Call) Return(_a0 *infrapb.GetVPCIDForCIDRResponse, _a1 error) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
func (*CloudProviderServiceServer_GetVPCIDForCIDR_Call) Run ¶
func (_c *CloudProviderServiceServer_GetVPCIDForCIDR_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetVPCIDForCIDRRequest)) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
func (*CloudProviderServiceServer_GetVPCIDForCIDR_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_GetVPCIDForCIDR_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDForCIDRRequest) (*infrapb.GetVPCIDForCIDRResponse, error)) *CloudProviderServiceServer_GetVPCIDForCIDR_Call
type CloudProviderServiceServer_GetVPCIDWithTag_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 (_c *CloudProviderServiceServer_GetVPCIDWithTag_Call) Return(_a0 *infrapb.GetVPCIDWithTagResponse, _a1 error) *CloudProviderServiceServer_GetVPCIDWithTag_Call
func (*CloudProviderServiceServer_GetVPCIDWithTag_Call) Run ¶
func (_c *CloudProviderServiceServer_GetVPCIDWithTag_Call) Run(run func(_a0 context.Context, _a1 *infrapb.GetVPCIDWithTagRequest)) *CloudProviderServiceServer_GetVPCIDWithTag_Call
func (*CloudProviderServiceServer_GetVPCIDWithTag_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_GetVPCIDWithTag_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDWithTagRequest) (*infrapb.GetVPCIDWithTagResponse, error)) *CloudProviderServiceServer_GetVPCIDWithTag_Call
type CloudProviderServiceServer_ListACLs_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 (_c *CloudProviderServiceServer_ListACLs_Call) Return(_a0 *infrapb.ListACLsResponse, _a1 error) *CloudProviderServiceServer_ListACLs_Call
func (*CloudProviderServiceServer_ListACLs_Call) Run ¶
func (_c *CloudProviderServiceServer_ListACLs_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListACLsRequest)) *CloudProviderServiceServer_ListACLs_Call
func (*CloudProviderServiceServer_ListACLs_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListACLs_Call) RunAndReturn(run func(context.Context, *infrapb.ListACLsRequest) (*infrapb.ListACLsResponse, error)) *CloudProviderServiceServer_ListACLs_Call
type CloudProviderServiceServer_ListAccounts_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 (_c *CloudProviderServiceServer_ListAccounts_Call) Return(_a0 *infrapb.ListAccountsResponse, _a1 error) *CloudProviderServiceServer_ListAccounts_Call
func (*CloudProviderServiceServer_ListAccounts_Call) Run ¶
func (_c *CloudProviderServiceServer_ListAccounts_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListAccountsRequest)) *CloudProviderServiceServer_ListAccounts_Call
func (*CloudProviderServiceServer_ListAccounts_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListAccounts_Call) RunAndReturn(run func(context.Context, *infrapb.ListAccountsRequest) (*infrapb.ListAccountsResponse, error)) *CloudProviderServiceServer_ListAccounts_Call
type CloudProviderServiceServer_ListCloudClusters_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 (_c *CloudProviderServiceServer_ListCloudClusters_Call) Return(_a0 *infrapb.ListCloudClustersResponse, _a1 error) *CloudProviderServiceServer_ListCloudClusters_Call
func (*CloudProviderServiceServer_ListCloudClusters_Call) Run ¶
func (_c *CloudProviderServiceServer_ListCloudClusters_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListCloudClustersRequest)) *CloudProviderServiceServer_ListCloudClusters_Call
func (*CloudProviderServiceServer_ListCloudClusters_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListCloudClusters_Call) RunAndReturn(run func(context.Context, *infrapb.ListCloudClustersRequest) (*infrapb.ListCloudClustersResponse, error)) *CloudProviderServiceServer_ListCloudClusters_Call
type CloudProviderServiceServer_ListInstances_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 (_c *CloudProviderServiceServer_ListInstances_Call) Return(_a0 *infrapb.ListInstancesResponse, _a1 error) *CloudProviderServiceServer_ListInstances_Call
func (*CloudProviderServiceServer_ListInstances_Call) Run ¶
func (_c *CloudProviderServiceServer_ListInstances_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListInstancesRequest)) *CloudProviderServiceServer_ListInstances_Call
func (*CloudProviderServiceServer_ListInstances_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListInstances_Call) RunAndReturn(run func(context.Context, *infrapb.ListInstancesRequest) (*infrapb.ListInstancesResponse, error)) *CloudProviderServiceServer_ListInstances_Call
type CloudProviderServiceServer_ListRouteTables_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 (_c *CloudProviderServiceServer_ListRouteTables_Call) Return(_a0 *infrapb.ListRouteTablesResponse, _a1 error) *CloudProviderServiceServer_ListRouteTables_Call
func (*CloudProviderServiceServer_ListRouteTables_Call) Run ¶
func (_c *CloudProviderServiceServer_ListRouteTables_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListRouteTablesRequest)) *CloudProviderServiceServer_ListRouteTables_Call
func (*CloudProviderServiceServer_ListRouteTables_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListRouteTables_Call) RunAndReturn(run func(context.Context, *infrapb.ListRouteTablesRequest) (*infrapb.ListRouteTablesResponse, error)) *CloudProviderServiceServer_ListRouteTables_Call
type CloudProviderServiceServer_ListSecurityGroups_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 ¶
func (_c *CloudProviderServiceServer_ListSecurityGroups_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListSecurityGroupsRequest)) *CloudProviderServiceServer_ListSecurityGroups_Call
func (*CloudProviderServiceServer_ListSecurityGroups_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListSecurityGroups_Call) RunAndReturn(run func(context.Context, *infrapb.ListSecurityGroupsRequest) (*infrapb.ListSecurityGroupsResponse, error)) *CloudProviderServiceServer_ListSecurityGroups_Call
type CloudProviderServiceServer_ListSubnets_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 (_c *CloudProviderServiceServer_ListSubnets_Call) Return(_a0 *infrapb.ListSubnetsResponse, _a1 error) *CloudProviderServiceServer_ListSubnets_Call
func (*CloudProviderServiceServer_ListSubnets_Call) Run ¶
func (_c *CloudProviderServiceServer_ListSubnets_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListSubnetsRequest)) *CloudProviderServiceServer_ListSubnets_Call
func (*CloudProviderServiceServer_ListSubnets_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListSubnets_Call) RunAndReturn(run func(context.Context, *infrapb.ListSubnetsRequest) (*infrapb.ListSubnetsResponse, error)) *CloudProviderServiceServer_ListSubnets_Call
type CloudProviderServiceServer_ListVPC_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 (_c *CloudProviderServiceServer_ListVPC_Call) Return(_a0 *infrapb.ListVPCResponse, _a1 error) *CloudProviderServiceServer_ListVPC_Call
func (*CloudProviderServiceServer_ListVPC_Call) Run ¶
func (_c *CloudProviderServiceServer_ListVPC_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListVPCRequest)) *CloudProviderServiceServer_ListVPC_Call
func (*CloudProviderServiceServer_ListVPC_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_ListVPC_Call) RunAndReturn(run func(context.Context, *infrapb.ListVPCRequest) (*infrapb.ListVPCResponse, error)) *CloudProviderServiceServer_ListVPC_Call
type CloudProviderServiceServer_Summary_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 (_c *CloudProviderServiceServer_Summary_Call) Return(_a0 *infrapb.SummaryResponse, _a1 error) *CloudProviderServiceServer_Summary_Call
func (*CloudProviderServiceServer_Summary_Call) Run ¶
func (_c *CloudProviderServiceServer_Summary_Call) Run(run func(_a0 context.Context, _a1 *infrapb.SummaryRequest)) *CloudProviderServiceServer_Summary_Call
func (*CloudProviderServiceServer_Summary_Call) RunAndReturn ¶
func (_c *CloudProviderServiceServer_Summary_Call) RunAndReturn(run func(context.Context, *infrapb.SummaryRequest) (*infrapb.SummaryResponse, error)) *CloudProviderServiceServer_Summary_Call
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) RunAndReturn ¶
type CloudProvider_AddInboundAllowRuleByInstanceIPMatch_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 (_c *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) Return(ruleId string, instances []types.Instance, err error) *CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call
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
func (*CloudProvider_AddInboundAllowRuleByInstanceIPMatch_Call) RunAndReturn ¶
type CloudProvider_AddInboundAllowRuleByLabelsMatch_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 (_c *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) Return(ruleId string, instances []types.Instance, err error) *CloudProvider_AddInboundAllowRuleByLabelsMatch_Call
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
func (*CloudProvider_AddInboundAllowRuleByLabelsMatch_Call) RunAndReturn ¶
type CloudProvider_AddInboundAllowRuleBySubnetMatch_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 (_c *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) Return(ruleId string, instances []types.Instance, subnets []types.Subnet, err error) *CloudProvider_AddInboundAllowRuleBySubnetMatch_Call
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
func (*CloudProvider_AddInboundAllowRuleBySubnetMatch_Call) RunAndReturn ¶
type CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_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 (_c *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) Return(loadBalancerId string, ruleId string, err error) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
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
func (*CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn ¶
func (_c *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call) RunAndReturn(run func(context.Context, string, string, string, string, string, []string, types.ProtocolsAndPorts) (string, string, error)) *CloudProvider_AddInboundAllowRuleForLoadBalancerByDNS_Call
type CloudProvider_AddInboundAllowRuleInVPC_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 (_c *CloudProvider_AddInboundAllowRuleInVPC_Call) Return(_a0 error) *CloudProvider_AddInboundAllowRuleInVPC_Call
func (*CloudProvider_AddInboundAllowRuleInVPC_Call) RunAndReturn ¶
type CloudProvider_ConnectVPCs_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 (_c *CloudProvider_ConnectVPCs_Call) Return(_a0 types.VPCConnectionOutput, _a1 error) *CloudProvider_ConnectVPCs_Call
func (*CloudProvider_ConnectVPCs_Call) Run ¶
func (_c *CloudProvider_ConnectVPCs_Call) Run(run func(ctx context.Context, input types.VPCConnectionParams)) *CloudProvider_ConnectVPCs_Call
func (*CloudProvider_ConnectVPCs_Call) RunAndReturn ¶
func (_c *CloudProvider_ConnectVPCs_Call) RunAndReturn(run func(context.Context, types.VPCConnectionParams) (types.VPCConnectionOutput, error)) *CloudProvider_ConnectVPCs_Call
type CloudProvider_DisconnectVPCs_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 (_c *CloudProvider_DisconnectVPCs_Call) Return(_a0 types.VPCDisconnectionOutput, _a1 error) *CloudProvider_DisconnectVPCs_Call
func (*CloudProvider_DisconnectVPCs_Call) Run ¶
func (_c *CloudProvider_DisconnectVPCs_Call) Run(run func(ctx context.Context, input types.VPCDisconnectionParams)) *CloudProvider_DisconnectVPCs_Call
func (*CloudProvider_DisconnectVPCs_Call) RunAndReturn ¶
func (_c *CloudProvider_DisconnectVPCs_Call) RunAndReturn(run func(context.Context, types.VPCDisconnectionParams) (types.VPCDisconnectionOutput, error)) *CloudProvider_DisconnectVPCs_Call
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 ¶
func (_e *CloudProvider_Expecter) GetName() *CloudProvider_GetName_Call
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 ¶
func (_e *CloudProvider_Expecter) ListAccounts() *CloudProvider_ListAccounts_Call
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 ¶
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 (_c *CloudProvider_GetCIDRsForLabels_Call) Return(_a0 []string, _a1 error) *CloudProvider_GetCIDRsForLabels_Call
func (*CloudProvider_GetCIDRsForLabels_Call) Run ¶
func (_c *CloudProvider_GetCIDRsForLabels_Call) Run(run func(ctx context.Context, input *infrapb.GetCIDRsForLabelsRequest)) *CloudProvider_GetCIDRsForLabels_Call
func (*CloudProvider_GetCIDRsForLabels_Call) RunAndReturn ¶
func (_c *CloudProvider_GetCIDRsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetCIDRsForLabelsRequest) ([]string, error)) *CloudProvider_GetCIDRsForLabels_Call
type CloudProvider_GetIPsForLabels_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 (_c *CloudProvider_GetIPsForLabels_Call) Return(_a0 []string, _a1 error) *CloudProvider_GetIPsForLabels_Call
func (*CloudProvider_GetIPsForLabels_Call) Run ¶
func (_c *CloudProvider_GetIPsForLabels_Call) Run(run func(ctx context.Context, input *infrapb.GetIPsForLabelsRequest)) *CloudProvider_GetIPsForLabels_Call
func (*CloudProvider_GetIPsForLabels_Call) RunAndReturn ¶
func (_c *CloudProvider_GetIPsForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetIPsForLabelsRequest) ([]string, error)) *CloudProvider_GetIPsForLabels_Call
type CloudProvider_GetInstancesForLabels_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 (_c *CloudProvider_GetInstancesForLabels_Call) Return(_a0 []types.Instance, _a1 error) *CloudProvider_GetInstancesForLabels_Call
func (*CloudProvider_GetInstancesForLabels_Call) Run ¶
func (_c *CloudProvider_GetInstancesForLabels_Call) Run(run func(ctx context.Context, input *infrapb.GetInstancesForLabelsRequest)) *CloudProvider_GetInstancesForLabels_Call
func (*CloudProvider_GetInstancesForLabels_Call) RunAndReturn ¶
func (_c *CloudProvider_GetInstancesForLabels_Call) RunAndReturn(run func(context.Context, *infrapb.GetInstancesForLabelsRequest) ([]types.Instance, error)) *CloudProvider_GetInstancesForLabels_Call
type CloudProvider_GetName_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 (_c *CloudProvider_GetName_Call) Return(_a0 string) *CloudProvider_GetName_Call
func (*CloudProvider_GetName_Call) Run ¶
func (_c *CloudProvider_GetName_Call) Run(run func()) *CloudProvider_GetName_Call
func (*CloudProvider_GetName_Call) RunAndReturn ¶
func (_c *CloudProvider_GetName_Call) RunAndReturn(run func() string) *CloudProvider_GetName_Call
type CloudProvider_GetSubnet_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 (_c *CloudProvider_GetSubnet_Call) Return(_a0 types.Subnet, _a1 error) *CloudProvider_GetSubnet_Call
func (*CloudProvider_GetSubnet_Call) Run ¶
func (_c *CloudProvider_GetSubnet_Call) Run(run func(ctx context.Context, input *infrapb.GetSubnetRequest)) *CloudProvider_GetSubnet_Call
func (*CloudProvider_GetSubnet_Call) RunAndReturn ¶
func (_c *CloudProvider_GetSubnet_Call) RunAndReturn(run func(context.Context, *infrapb.GetSubnetRequest) (types.Subnet, error)) *CloudProvider_GetSubnet_Call
type CloudProvider_GetSyncTime_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 (_c *CloudProvider_GetSyncTime_Call) Return(_a0 types.SyncTime, _a1 error) *CloudProvider_GetSyncTime_Call
func (*CloudProvider_GetSyncTime_Call) Run ¶
func (_c *CloudProvider_GetSyncTime_Call) Run(run func(id string)) *CloudProvider_GetSyncTime_Call
func (*CloudProvider_GetSyncTime_Call) RunAndReturn ¶
func (_c *CloudProvider_GetSyncTime_Call) RunAndReturn(run func(string) (types.SyncTime, error)) *CloudProvider_GetSyncTime_Call
type CloudProvider_GetVPCIDForCIDR_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 (_c *CloudProvider_GetVPCIDForCIDR_Call) Return(_a0 string, _a1 error) *CloudProvider_GetVPCIDForCIDR_Call
func (*CloudProvider_GetVPCIDForCIDR_Call) Run ¶
func (_c *CloudProvider_GetVPCIDForCIDR_Call) Run(run func(ctx context.Context, input *infrapb.GetVPCIDForCIDRRequest)) *CloudProvider_GetVPCIDForCIDR_Call
func (*CloudProvider_GetVPCIDForCIDR_Call) RunAndReturn ¶
func (_c *CloudProvider_GetVPCIDForCIDR_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDForCIDRRequest) (string, error)) *CloudProvider_GetVPCIDForCIDR_Call
type CloudProvider_GetVPCIDWithTag_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 (_c *CloudProvider_GetVPCIDWithTag_Call) Return(_a0 string, _a1 error) *CloudProvider_GetVPCIDWithTag_Call
func (*CloudProvider_GetVPCIDWithTag_Call) Run ¶
func (_c *CloudProvider_GetVPCIDWithTag_Call) Run(run func(ctx context.Context, input *infrapb.GetVPCIDWithTagRequest)) *CloudProvider_GetVPCIDWithTag_Call
func (*CloudProvider_GetVPCIDWithTag_Call) RunAndReturn ¶
func (_c *CloudProvider_GetVPCIDWithTag_Call) RunAndReturn(run func(context.Context, *infrapb.GetVPCIDWithTagRequest) (string, error)) *CloudProvider_GetVPCIDWithTag_Call
type CloudProvider_ListACLs_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 (_c *CloudProvider_ListACLs_Call) Return(_a0 []types.ACL, _a1 error) *CloudProvider_ListACLs_Call
func (*CloudProvider_ListACLs_Call) Run ¶
func (_c *CloudProvider_ListACLs_Call) Run(run func(ctx context.Context, input *infrapb.ListACLsRequest)) *CloudProvider_ListACLs_Call
func (*CloudProvider_ListACLs_Call) RunAndReturn ¶
func (_c *CloudProvider_ListACLs_Call) RunAndReturn(run func(context.Context, *infrapb.ListACLsRequest) ([]types.ACL, error)) *CloudProvider_ListACLs_Call
type CloudProvider_ListAccounts_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 (_c *CloudProvider_ListAccounts_Call) Return(_a0 []types.Account) *CloudProvider_ListAccounts_Call
func (*CloudProvider_ListAccounts_Call) Run ¶
func (_c *CloudProvider_ListAccounts_Call) Run(run func()) *CloudProvider_ListAccounts_Call
func (*CloudProvider_ListAccounts_Call) RunAndReturn ¶
func (_c *CloudProvider_ListAccounts_Call) RunAndReturn(run func() []types.Account) *CloudProvider_ListAccounts_Call
type CloudProvider_ListClusters_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 (_c *CloudProvider_ListClusters_Call) Return(_a0 []types.Cluster, _a1 error) *CloudProvider_ListClusters_Call
func (*CloudProvider_ListClusters_Call) Run ¶
func (_c *CloudProvider_ListClusters_Call) Run(run func(ctx context.Context, input *infrapb.ListCloudClustersRequest)) *CloudProvider_ListClusters_Call
func (*CloudProvider_ListClusters_Call) RunAndReturn ¶
func (_c *CloudProvider_ListClusters_Call) RunAndReturn(run func(context.Context, *infrapb.ListCloudClustersRequest) ([]types.Cluster, error)) *CloudProvider_ListClusters_Call
type CloudProvider_ListInstances_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 (_c *CloudProvider_ListInstances_Call) Return(_a0 []types.Instance, _a1 error) *CloudProvider_ListInstances_Call
func (*CloudProvider_ListInstances_Call) Run ¶
func (_c *CloudProvider_ListInstances_Call) Run(run func(ctx context.Context, input *infrapb.ListInstancesRequest)) *CloudProvider_ListInstances_Call
func (*CloudProvider_ListInstances_Call) RunAndReturn ¶
func (_c *CloudProvider_ListInstances_Call) RunAndReturn(run func(context.Context, *infrapb.ListInstancesRequest) ([]types.Instance, error)) *CloudProvider_ListInstances_Call
type CloudProvider_ListRouteTables_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 (_c *CloudProvider_ListRouteTables_Call) Return(_a0 []types.RouteTable, _a1 error) *CloudProvider_ListRouteTables_Call
func (*CloudProvider_ListRouteTables_Call) Run ¶
func (_c *CloudProvider_ListRouteTables_Call) Run(run func(ctx context.Context, input *infrapb.ListRouteTablesRequest)) *CloudProvider_ListRouteTables_Call
func (*CloudProvider_ListRouteTables_Call) RunAndReturn ¶
func (_c *CloudProvider_ListRouteTables_Call) RunAndReturn(run func(context.Context, *infrapb.ListRouteTablesRequest) ([]types.RouteTable, error)) *CloudProvider_ListRouteTables_Call
type CloudProvider_ListSecurityGroups_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 (_c *CloudProvider_ListSecurityGroups_Call) Return(_a0 []types.SecurityGroup, _a1 error) *CloudProvider_ListSecurityGroups_Call
func (*CloudProvider_ListSecurityGroups_Call) Run ¶
func (_c *CloudProvider_ListSecurityGroups_Call) Run(run func(ctx context.Context, input *infrapb.ListSecurityGroupsRequest)) *CloudProvider_ListSecurityGroups_Call
func (*CloudProvider_ListSecurityGroups_Call) RunAndReturn ¶
func (_c *CloudProvider_ListSecurityGroups_Call) RunAndReturn(run func(context.Context, *infrapb.ListSecurityGroupsRequest) ([]types.SecurityGroup, error)) *CloudProvider_ListSecurityGroups_Call
type CloudProvider_ListSubnets_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 (_c *CloudProvider_ListSubnets_Call) Return(_a0 []types.Subnet, _a1 error) *CloudProvider_ListSubnets_Call
func (*CloudProvider_ListSubnets_Call) Run ¶
func (_c *CloudProvider_ListSubnets_Call) Run(run func(ctx context.Context, input *infrapb.ListSubnetsRequest)) *CloudProvider_ListSubnets_Call
func (*CloudProvider_ListSubnets_Call) RunAndReturn ¶
func (_c *CloudProvider_ListSubnets_Call) RunAndReturn(run func(context.Context, *infrapb.ListSubnetsRequest) ([]types.Subnet, error)) *CloudProvider_ListSubnets_Call
type CloudProvider_ListVPC_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 (_c *CloudProvider_ListVPC_Call) Return(_a0 []types.VPC, _a1 error) *CloudProvider_ListVPC_Call
func (*CloudProvider_ListVPC_Call) Run ¶
func (_c *CloudProvider_ListVPC_Call) Run(run func(ctx context.Context, input *infrapb.ListVPCRequest)) *CloudProvider_ListVPC_Call
func (*CloudProvider_ListVPC_Call) RunAndReturn ¶
func (_c *CloudProvider_ListVPC_Call) RunAndReturn(run func(context.Context, *infrapb.ListVPCRequest) ([]types.VPC, error)) *CloudProvider_ListVPC_Call
type CloudProvider_RefreshInboundAllowRule_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 (_c *CloudProvider_RefreshInboundAllowRule_Call) Return(instances []types.Instance, subnets []types.Subnet, err error) *CloudProvider_RefreshInboundAllowRule_Call
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
func (*CloudProvider_RefreshInboundAllowRule_Call) RunAndReturn ¶
type CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call ¶
CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleFromVPCByName'
func (*CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) Run ¶
func (_c *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string)) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
func (*CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn ¶
func (_c *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call) RunAndReturn(run func(context.Context, string, string, string, string) error) *CloudProvider_RemoveInboundAllowRuleFromVPCByName_Call
type CloudProvider_RemoveInboundAllowRuleRulesByTags_Call ¶
CloudProvider_RemoveInboundAllowRuleRulesByTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRuleRulesByTags'
func (*CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) Run ¶
func (_c *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) Run(run func(ctx context.Context, account string, region string, vpcID string, ruleName string, tags map[string]string)) *CloudProvider_RemoveInboundAllowRuleRulesByTags_Call
func (*CloudProvider_RemoveInboundAllowRuleRulesByTags_Call) RunAndReturn ¶
type CloudProvider_RemoveInboundAllowRulesFromVPCById_Call ¶
CloudProvider_RemoveInboundAllowRulesFromVPCById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveInboundAllowRulesFromVPCById'
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 ¶
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 (_c *CloudProvider_RetrieveClustersData_Call) Return(_a0 []cluster.DiscoveredCluster, _a1 error) *CloudProvider_RetrieveClustersData_Call
func (*CloudProvider_RetrieveClustersData_Call) Run ¶
func (_c *CloudProvider_RetrieveClustersData_Call) Run(run func(ctx context.Context)) *CloudProvider_RetrieveClustersData_Call
func (*CloudProvider_RetrieveClustersData_Call) RunAndReturn ¶
func (_c *CloudProvider_RetrieveClustersData_Call) RunAndReturn(run func(context.Context) ([]cluster.DiscoveredCluster, error)) *CloudProvider_RetrieveClustersData_Call
type DBMetadata ¶
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 ¶
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 (_c *DBMetadata_GetSyncTime_Call) Return(_a0 types.SyncTime, _a1 error) *DBMetadata_GetSyncTime_Call
func (*DBMetadata_GetSyncTime_Call) Run ¶
func (_c *DBMetadata_GetSyncTime_Call) Run(run func(id string)) *DBMetadata_GetSyncTime_Call
func (*DBMetadata_GetSyncTime_Call) RunAndReturn ¶
func (_c *DBMetadata_GetSyncTime_Call) RunAndReturn(run func(string) (types.SyncTime, error)) *DBMetadata_GetSyncTime_Call
type DbObject ¶
DbObject is an autogenerated mock type for the DbObject type
func NewDbObject ¶
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) EXPECT ¶
func (_m *DbObject) EXPECT() *DbObject_Expecter
func (*DbObject) GetProvider ¶
GetProvider provides a mock function with given fields:
func (*DbObject) SetSyncTime ¶
SetSyncTime provides a mock function with given fields: _a0
type DbObject_DbId_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 ¶
func (_e *DbObject_Expecter) DbId() *DbObject_DbId_Call
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 ¶
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 (_c *DbObject_GetProvider_Call) Return(_a0 string) *DbObject_GetProvider_Call
func (*DbObject_GetProvider_Call) Run ¶
func (_c *DbObject_GetProvider_Call) Run(run func()) *DbObject_GetProvider_Call
func (*DbObject_GetProvider_Call) RunAndReturn ¶
func (_c *DbObject_GetProvider_Call) RunAndReturn(run func() string) *DbObject_GetProvider_Call
type DbObject_SetSyncTime_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 (_c *DbObject_SetSyncTime_Call) Return() *DbObject_SetSyncTime_Call
func (*DbObject_SetSyncTime_Call) Run ¶
func (_c *DbObject_SetSyncTime_Call) Run(run func(_a0 string)) *DbObject_SetSyncTime_Call
func (*DbObject_SetSyncTime_Call) RunAndReturn ¶
func (_c *DbObject_SetSyncTime_Call) RunAndReturn(run func(string)) *DbObject_SetSyncTime_Call
type Kubernetes ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 (_m *KubernetesServiceClient) EXPECT() *KubernetesServiceClient_Expecter
func (*KubernetesServiceClient) ListClusters ¶
func (_m *KubernetesServiceClient) ListClusters(ctx context.Context, in *infrapb.ListClustersRequest, opts ...grpc.CallOption) (*infrapb.ListClustersResponse, error)
ListClusters provides a mock function with given fields: ctx, in, opts
func (*KubernetesServiceClient) ListNamespaces ¶
func (_m *KubernetesServiceClient) ListNamespaces(ctx context.Context, in *infrapb.ListNamespacesRequest, opts ...grpc.CallOption) (*infrapb.ListNamespacesResponse, error)
ListNamespaces provides a mock function with given fields: ctx, in, opts
func (*KubernetesServiceClient) ListNodes ¶
func (_m *KubernetesServiceClient) ListNodes(ctx context.Context, in *infrapb.ListNodesRequest, opts ...grpc.CallOption) (*infrapb.ListNodesResponse, error)
ListNodes provides a mock function with given fields: ctx, in, opts
func (*KubernetesServiceClient) ListPods ¶
func (_m *KubernetesServiceClient) ListPods(ctx context.Context, in *infrapb.ListPodsRequest, opts ...grpc.CallOption) (*infrapb.ListPodsResponse, error)
ListPods provides a mock function with given fields: ctx, in, opts
func (*KubernetesServiceClient) ListPodsCIDRs ¶
func (_m *KubernetesServiceClient) ListPodsCIDRs(ctx context.Context, in *infrapb.ListPodsCIDRsRequest, opts ...grpc.CallOption) (*infrapb.ListPodsCIDRsResponse, error)
ListPodsCIDRs provides a mock function with given fields: ctx, in, opts
func (*KubernetesServiceClient) ListServices ¶
func (_m *KubernetesServiceClient) ListServices(ctx context.Context, in *infrapb.ListServicesRequest, opts ...grpc.CallOption) (*infrapb.ListServicesResponse, error)
ListServices provides a mock function with given fields: ctx, in, opts
func (*KubernetesServiceClient) ListServicesCIDRs ¶
func (_m *KubernetesServiceClient) ListServicesCIDRs(ctx context.Context, in *infrapb.ListServicesCIDRsRequest, opts ...grpc.CallOption) (*infrapb.ListServicesCIDRsResponse, error)
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 ¶
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 (_c *KubernetesServiceClient_ListClusters_Call) Return(_a0 *infrapb.ListClustersResponse, _a1 error) *KubernetesServiceClient_ListClusters_Call
func (*KubernetesServiceClient_ListClusters_Call) Run ¶
func (_c *KubernetesServiceClient_ListClusters_Call) Run(run func(ctx context.Context, in *infrapb.ListClustersRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListClusters_Call
func (*KubernetesServiceClient_ListClusters_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListClusters_Call) RunAndReturn(run func(context.Context, *infrapb.ListClustersRequest, ...grpc.CallOption) (*infrapb.ListClustersResponse, error)) *KubernetesServiceClient_ListClusters_Call
type KubernetesServiceClient_ListNamespaces_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 (_c *KubernetesServiceClient_ListNamespaces_Call) Return(_a0 *infrapb.ListNamespacesResponse, _a1 error) *KubernetesServiceClient_ListNamespaces_Call
func (*KubernetesServiceClient_ListNamespaces_Call) Run ¶
func (_c *KubernetesServiceClient_ListNamespaces_Call) Run(run func(ctx context.Context, in *infrapb.ListNamespacesRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListNamespaces_Call
func (*KubernetesServiceClient_ListNamespaces_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListNamespaces_Call) RunAndReturn(run func(context.Context, *infrapb.ListNamespacesRequest, ...grpc.CallOption) (*infrapb.ListNamespacesResponse, error)) *KubernetesServiceClient_ListNamespaces_Call
type KubernetesServiceClient_ListNodes_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 (_c *KubernetesServiceClient_ListNodes_Call) Return(_a0 *infrapb.ListNodesResponse, _a1 error) *KubernetesServiceClient_ListNodes_Call
func (*KubernetesServiceClient_ListNodes_Call) Run ¶
func (_c *KubernetesServiceClient_ListNodes_Call) Run(run func(ctx context.Context, in *infrapb.ListNodesRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListNodes_Call
func (*KubernetesServiceClient_ListNodes_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListNodes_Call) RunAndReturn(run func(context.Context, *infrapb.ListNodesRequest, ...grpc.CallOption) (*infrapb.ListNodesResponse, error)) *KubernetesServiceClient_ListNodes_Call
type KubernetesServiceClient_ListPodsCIDRs_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 (_c *KubernetesServiceClient_ListPodsCIDRs_Call) Return(_a0 *infrapb.ListPodsCIDRsResponse, _a1 error) *KubernetesServiceClient_ListPodsCIDRs_Call
func (*KubernetesServiceClient_ListPodsCIDRs_Call) Run ¶
func (_c *KubernetesServiceClient_ListPodsCIDRs_Call) Run(run func(ctx context.Context, in *infrapb.ListPodsCIDRsRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListPodsCIDRs_Call
func (*KubernetesServiceClient_ListPodsCIDRs_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListPodsCIDRs_Call) RunAndReturn(run func(context.Context, *infrapb.ListPodsCIDRsRequest, ...grpc.CallOption) (*infrapb.ListPodsCIDRsResponse, error)) *KubernetesServiceClient_ListPodsCIDRs_Call
type KubernetesServiceClient_ListPods_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 (_c *KubernetesServiceClient_ListPods_Call) Return(_a0 *infrapb.ListPodsResponse, _a1 error) *KubernetesServiceClient_ListPods_Call
func (*KubernetesServiceClient_ListPods_Call) Run ¶
func (_c *KubernetesServiceClient_ListPods_Call) Run(run func(ctx context.Context, in *infrapb.ListPodsRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListPods_Call
func (*KubernetesServiceClient_ListPods_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListPods_Call) RunAndReturn(run func(context.Context, *infrapb.ListPodsRequest, ...grpc.CallOption) (*infrapb.ListPodsResponse, error)) *KubernetesServiceClient_ListPods_Call
type KubernetesServiceClient_ListServicesCIDRs_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 (_c *KubernetesServiceClient_ListServicesCIDRs_Call) Return(_a0 *infrapb.ListServicesCIDRsResponse, _a1 error) *KubernetesServiceClient_ListServicesCIDRs_Call
func (*KubernetesServiceClient_ListServicesCIDRs_Call) Run ¶
func (_c *KubernetesServiceClient_ListServicesCIDRs_Call) Run(run func(ctx context.Context, in *infrapb.ListServicesCIDRsRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListServicesCIDRs_Call
func (*KubernetesServiceClient_ListServicesCIDRs_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListServicesCIDRs_Call) RunAndReturn(run func(context.Context, *infrapb.ListServicesCIDRsRequest, ...grpc.CallOption) (*infrapb.ListServicesCIDRsResponse, error)) *KubernetesServiceClient_ListServicesCIDRs_Call
type KubernetesServiceClient_ListServices_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 (_c *KubernetesServiceClient_ListServices_Call) Return(_a0 *infrapb.ListServicesResponse, _a1 error) *KubernetesServiceClient_ListServices_Call
func (*KubernetesServiceClient_ListServices_Call) Run ¶
func (_c *KubernetesServiceClient_ListServices_Call) Run(run func(ctx context.Context, in *infrapb.ListServicesRequest, opts ...grpc.CallOption)) *KubernetesServiceClient_ListServices_Call
func (*KubernetesServiceClient_ListServices_Call) RunAndReturn ¶
func (_c *KubernetesServiceClient_ListServices_Call) RunAndReturn(run func(context.Context, *infrapb.ListServicesRequest, ...grpc.CallOption) (*infrapb.ListServicesResponse, error)) *KubernetesServiceClient_ListServices_Call
type KubernetesServiceServer ¶
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 (_m *KubernetesServiceServer) EXPECT() *KubernetesServiceServer_Expecter
func (*KubernetesServiceServer) ListClusters ¶
func (_m *KubernetesServiceServer) ListClusters(_a0 context.Context, _a1 *infrapb.ListClustersRequest) (*infrapb.ListClustersResponse, error)
ListClusters provides a mock function with given fields: _a0, _a1
func (*KubernetesServiceServer) ListNamespaces ¶
func (_m *KubernetesServiceServer) ListNamespaces(_a0 context.Context, _a1 *infrapb.ListNamespacesRequest) (*infrapb.ListNamespacesResponse, error)
ListNamespaces provides a mock function with given fields: _a0, _a1
func (*KubernetesServiceServer) ListNodes ¶
func (_m *KubernetesServiceServer) ListNodes(_a0 context.Context, _a1 *infrapb.ListNodesRequest) (*infrapb.ListNodesResponse, error)
ListNodes provides a mock function with given fields: _a0, _a1
func (*KubernetesServiceServer) ListPods ¶
func (_m *KubernetesServiceServer) ListPods(_a0 context.Context, _a1 *infrapb.ListPodsRequest) (*infrapb.ListPodsResponse, error)
ListPods provides a mock function with given fields: _a0, _a1
func (*KubernetesServiceServer) ListPodsCIDRs ¶
func (_m *KubernetesServiceServer) ListPodsCIDRs(_a0 context.Context, _a1 *infrapb.ListPodsCIDRsRequest) (*infrapb.ListPodsCIDRsResponse, error)
ListPodsCIDRs provides a mock function with given fields: _a0, _a1
func (*KubernetesServiceServer) ListServices ¶
func (_m *KubernetesServiceServer) ListServices(_a0 context.Context, _a1 *infrapb.ListServicesRequest) (*infrapb.ListServicesResponse, error)
ListServices provides a mock function with given fields: _a0, _a1
func (*KubernetesServiceServer) ListServicesCIDRs ¶
func (_m *KubernetesServiceServer) ListServicesCIDRs(_a0 context.Context, _a1 *infrapb.ListServicesCIDRsRequest) (*infrapb.ListServicesCIDRsResponse, error)
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 ¶
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 (_c *KubernetesServiceServer_ListClusters_Call) Return(_a0 *infrapb.ListClustersResponse, _a1 error) *KubernetesServiceServer_ListClusters_Call
func (*KubernetesServiceServer_ListClusters_Call) Run ¶
func (_c *KubernetesServiceServer_ListClusters_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListClustersRequest)) *KubernetesServiceServer_ListClusters_Call
func (*KubernetesServiceServer_ListClusters_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListClusters_Call) RunAndReturn(run func(context.Context, *infrapb.ListClustersRequest) (*infrapb.ListClustersResponse, error)) *KubernetesServiceServer_ListClusters_Call
type KubernetesServiceServer_ListNamespaces_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 (_c *KubernetesServiceServer_ListNamespaces_Call) Return(_a0 *infrapb.ListNamespacesResponse, _a1 error) *KubernetesServiceServer_ListNamespaces_Call
func (*KubernetesServiceServer_ListNamespaces_Call) Run ¶
func (_c *KubernetesServiceServer_ListNamespaces_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListNamespacesRequest)) *KubernetesServiceServer_ListNamespaces_Call
func (*KubernetesServiceServer_ListNamespaces_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListNamespaces_Call) RunAndReturn(run func(context.Context, *infrapb.ListNamespacesRequest) (*infrapb.ListNamespacesResponse, error)) *KubernetesServiceServer_ListNamespaces_Call
type KubernetesServiceServer_ListNodes_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 (_c *KubernetesServiceServer_ListNodes_Call) Return(_a0 *infrapb.ListNodesResponse, _a1 error) *KubernetesServiceServer_ListNodes_Call
func (*KubernetesServiceServer_ListNodes_Call) Run ¶
func (_c *KubernetesServiceServer_ListNodes_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListNodesRequest)) *KubernetesServiceServer_ListNodes_Call
func (*KubernetesServiceServer_ListNodes_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListNodes_Call) RunAndReturn(run func(context.Context, *infrapb.ListNodesRequest) (*infrapb.ListNodesResponse, error)) *KubernetesServiceServer_ListNodes_Call
type KubernetesServiceServer_ListPodsCIDRs_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 (_c *KubernetesServiceServer_ListPodsCIDRs_Call) Return(_a0 *infrapb.ListPodsCIDRsResponse, _a1 error) *KubernetesServiceServer_ListPodsCIDRs_Call
func (*KubernetesServiceServer_ListPodsCIDRs_Call) Run ¶
func (_c *KubernetesServiceServer_ListPodsCIDRs_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListPodsCIDRsRequest)) *KubernetesServiceServer_ListPodsCIDRs_Call
func (*KubernetesServiceServer_ListPodsCIDRs_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListPodsCIDRs_Call) RunAndReturn(run func(context.Context, *infrapb.ListPodsCIDRsRequest) (*infrapb.ListPodsCIDRsResponse, error)) *KubernetesServiceServer_ListPodsCIDRs_Call
type KubernetesServiceServer_ListPods_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 (_c *KubernetesServiceServer_ListPods_Call) Return(_a0 *infrapb.ListPodsResponse, _a1 error) *KubernetesServiceServer_ListPods_Call
func (*KubernetesServiceServer_ListPods_Call) Run ¶
func (_c *KubernetesServiceServer_ListPods_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListPodsRequest)) *KubernetesServiceServer_ListPods_Call
func (*KubernetesServiceServer_ListPods_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListPods_Call) RunAndReturn(run func(context.Context, *infrapb.ListPodsRequest) (*infrapb.ListPodsResponse, error)) *KubernetesServiceServer_ListPods_Call
type KubernetesServiceServer_ListServicesCIDRs_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 (_c *KubernetesServiceServer_ListServicesCIDRs_Call) Return(_a0 *infrapb.ListServicesCIDRsResponse, _a1 error) *KubernetesServiceServer_ListServicesCIDRs_Call
func (*KubernetesServiceServer_ListServicesCIDRs_Call) Run ¶
func (_c *KubernetesServiceServer_ListServicesCIDRs_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListServicesCIDRsRequest)) *KubernetesServiceServer_ListServicesCIDRs_Call
func (*KubernetesServiceServer_ListServicesCIDRs_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListServicesCIDRs_Call) RunAndReturn(run func(context.Context, *infrapb.ListServicesCIDRsRequest) (*infrapb.ListServicesCIDRsResponse, error)) *KubernetesServiceServer_ListServicesCIDRs_Call
type KubernetesServiceServer_ListServices_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 (_c *KubernetesServiceServer_ListServices_Call) Return(_a0 *infrapb.ListServicesResponse, _a1 error) *KubernetesServiceServer_ListServices_Call
func (*KubernetesServiceServer_ListServices_Call) Run ¶
func (_c *KubernetesServiceServer_ListServices_Call) Run(run func(_a0 context.Context, _a1 *infrapb.ListServicesRequest)) *KubernetesServiceServer_ListServices_Call
func (*KubernetesServiceServer_ListServices_Call) RunAndReturn ¶
func (_c *KubernetesServiceServer_ListServices_Call) RunAndReturn(run func(context.Context, *infrapb.ListServicesRequest) (*infrapb.ListServicesResponse, error)) *KubernetesServiceServer_ListServices_Call
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) RunAndReturn ¶
func (_c *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call) RunAndReturn(run func()) *KubernetesServiceServer_mustEmbedUnimplementedKubernetesServiceServer_Call
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 ¶
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 (_c *Kubernetes_GetSyncTime_Call) Return(_a0 types.SyncTime, _a1 error) *Kubernetes_GetSyncTime_Call
func (*Kubernetes_GetSyncTime_Call) Run ¶
func (_c *Kubernetes_GetSyncTime_Call) Run(run func(id string)) *Kubernetes_GetSyncTime_Call
func (*Kubernetes_GetSyncTime_Call) RunAndReturn ¶
func (_c *Kubernetes_GetSyncTime_Call) RunAndReturn(run func(string) (types.SyncTime, error)) *Kubernetes_GetSyncTime_Call
type Kubernetes_ListClusters_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 (_c *Kubernetes_ListClusters_Call) Return(clusters []types.Cluster, err error) *Kubernetes_ListClusters_Call
func (*Kubernetes_ListClusters_Call) Run ¶
func (_c *Kubernetes_ListClusters_Call) Run(run func(ctx context.Context)) *Kubernetes_ListClusters_Call
func (*Kubernetes_ListClusters_Call) RunAndReturn ¶
func (_c *Kubernetes_ListClusters_Call) RunAndReturn(run func(context.Context) ([]types.Cluster, error)) *Kubernetes_ListClusters_Call
type Kubernetes_ListNamespaces_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 (_c *Kubernetes_ListNamespaces_Call) Return(namespaces []types.Namespace, err error) *Kubernetes_ListNamespaces_Call
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 ¶
func (_c *Kubernetes_ListNamespaces_Call) RunAndReturn(run func(context.Context, string, map[string]string) ([]types.Namespace, error)) *Kubernetes_ListNamespaces_Call
type Kubernetes_ListNodes_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 (_c *Kubernetes_ListNodes_Call) Return(nodes []types.K8sNode, err error) *Kubernetes_ListNodes_Call
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 ¶
func (_c *Kubernetes_ListNodes_Call) RunAndReturn(run func(context.Context, string, map[string]string) ([]types.K8sNode, error)) *Kubernetes_ListNodes_Call
type Kubernetes_ListPodsCIDRs_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 (_c *Kubernetes_ListPodsCIDRs_Call) Return(_a0 []string, _a1 error) *Kubernetes_ListPodsCIDRs_Call
func (*Kubernetes_ListPodsCIDRs_Call) Run ¶
func (_c *Kubernetes_ListPodsCIDRs_Call) Run(run func(ctx context.Context, clusterName string)) *Kubernetes_ListPodsCIDRs_Call
func (*Kubernetes_ListPodsCIDRs_Call) RunAndReturn ¶
func (_c *Kubernetes_ListPodsCIDRs_Call) RunAndReturn(run func(context.Context, string) ([]string, error)) *Kubernetes_ListPodsCIDRs_Call
type Kubernetes_ListPods_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 (_c *Kubernetes_ListPods_Call) Return(pods []types.Pod, err error) *Kubernetes_ListPods_Call
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 ¶
func (_c *Kubernetes_ListPods_Call) RunAndReturn(run func(context.Context, string, map[string]string) ([]types.Pod, error)) *Kubernetes_ListPods_Call
type Kubernetes_ListServicesCIDRs_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 (_c *Kubernetes_ListServicesCIDRs_Call) Return(_a0 string, _a1 error) *Kubernetes_ListServicesCIDRs_Call
func (*Kubernetes_ListServicesCIDRs_Call) Run ¶
func (_c *Kubernetes_ListServicesCIDRs_Call) Run(run func(ctx context.Context, clusterName string)) *Kubernetes_ListServicesCIDRs_Call
func (*Kubernetes_ListServicesCIDRs_Call) RunAndReturn ¶
func (_c *Kubernetes_ListServicesCIDRs_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Kubernetes_ListServicesCIDRs_Call
type Kubernetes_ListServices_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 (_c *Kubernetes_ListServices_Call) Return(services []types.K8SService, err error) *Kubernetes_ListServices_Call
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 ¶
func (_c *Kubernetes_ListServices_Call) RunAndReturn(run func(context.Context, string, map[string]string) ([]types.K8SService, error)) *Kubernetes_ListServices_Call
type Kubernetes_UpdateServiceSourceRanges_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 (_c *Kubernetes_UpdateServiceSourceRanges_Call) Return(_a0 error) *Kubernetes_UpdateServiceSourceRanges_Call
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 ¶
func (_c *Kubernetes_UpdateServiceSourceRanges_Call) RunAndReturn(run func(context.Context, string, string, string, []string, []string) error) *Kubernetes_UpdateServiceSourceRanges_Call
type Strategy ¶
Strategy is an autogenerated mock type for the Strategy type
func NewStrategy ¶
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 ¶
GetProvider provides a mock function with given fields: ctx, cloud
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 ¶
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 (_c *Strategy_GetAllProviders_Call) Return(_a0 []provider.CloudProvider) *Strategy_GetAllProviders_Call
func (*Strategy_GetAllProviders_Call) Run ¶
func (_c *Strategy_GetAllProviders_Call) Run(run func()) *Strategy_GetAllProviders_Call
func (*Strategy_GetAllProviders_Call) RunAndReturn ¶
func (_c *Strategy_GetAllProviders_Call) RunAndReturn(run func() []provider.CloudProvider) *Strategy_GetAllProviders_Call
type Strategy_GetKubernetesProvider_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 (_c *Strategy_GetKubernetesProvider_Call) Return(_a0 provider.Kubernetes, _a1 error) *Strategy_GetKubernetesProvider_Call
func (*Strategy_GetKubernetesProvider_Call) Run ¶
func (_c *Strategy_GetKubernetesProvider_Call) Run(run func()) *Strategy_GetKubernetesProvider_Call
func (*Strategy_GetKubernetesProvider_Call) RunAndReturn ¶
func (_c *Strategy_GetKubernetesProvider_Call) RunAndReturn(run func() (provider.Kubernetes, error)) *Strategy_GetKubernetesProvider_Call
type Strategy_GetProvider_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 (_c *Strategy_GetProvider_Call) Return(_a0 provider.CloudProvider, _a1 error) *Strategy_GetProvider_Call
func (*Strategy_GetProvider_Call) Run ¶
func (_c *Strategy_GetProvider_Call) Run(run func(ctx context.Context, cloud string)) *Strategy_GetProvider_Call
func (*Strategy_GetProvider_Call) RunAndReturn ¶
func (_c *Strategy_GetProvider_Call) RunAndReturn(run func(context.Context, string) (provider.CloudProvider, error)) *Strategy_GetProvider_Call
type Strategy_RefreshState_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 (_c *Strategy_RefreshState_Call) Return(_a0 error) *Strategy_RefreshState_Call
func (*Strategy_RefreshState_Call) Run ¶
func (_c *Strategy_RefreshState_Call) Run(run func(ctx context.Context)) *Strategy_RefreshState_Call
func (*Strategy_RefreshState_Call) RunAndReturn ¶
func (_c *Strategy_RefreshState_Call) RunAndReturn(run func(context.Context) error) *Strategy_RefreshState_Call
type UnsafeAccessControlServiceServer ¶
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 ¶
func (_m *UnsafeAccessControlServiceServer) EXPECT() *UnsafeAccessControlServiceServer_Expecter
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 ¶
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 ¶
func (_m *UnsafeCloudProviderServiceServer) EXPECT() *UnsafeCloudProviderServiceServer_Expecter
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 ¶
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 ¶
func (_m *UnsafeKubernetesServiceServer) EXPECT() *UnsafeKubernetesServiceServer_Expecter
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) RunAndReturn ¶
Source Files ¶
- AccessControl.go
- AccessControlServiceClient.go
- AccessControlServiceServer.go
- Client.go
- CloudProvider.go
- CloudProviderServiceClient.go
- CloudProviderServiceServer.go
- DBMetadata.go
- DbObject.go
- Kubernetes.go
- KubernetesServiceClient.go
- KubernetesServiceServer.go
- Strategy.go
- UnsafeAccessControlServiceServer.go
- UnsafeCloudProviderServiceServer.go
- UnsafeKubernetesServiceServer.go