mock

package
v0.90.99 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPI

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

MockAPI is a mock of API interface.

func NewMockAPI

func NewMockAPI(ctrl *gomock.Controller) *MockAPI

NewMockAPI creates a new mock instance.

func (*MockAPI) EXPECT

func (m *MockAPI) EXPECT() *MockAPIMockRecorder

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

func (*MockAPI) GetAPIKey

func (m *MockAPI) GetAPIKey() string

GetAPIKey mocks base method.

func (*MockAPI) GetAuthenticatorAPIKeyDetails

func (m *MockAPI) GetAuthenticatorAPIKeyDetails(ctx context.Context) (*iamidentityv1.APIKey, error)

GetAuthenticatorAPIKeyDetails mocks base method.

func (*MockAPI) GetCISInstance

func (m *MockAPI) GetCISInstance(ctx context.Context, crnstr string) (*resourcecontrollerv2.ResourceInstance, error)

GetCISInstance mocks base method.

func (*MockAPI) GetDNSInstance

func (m *MockAPI) GetDNSInstance(ctx context.Context, crnstr string) (*resourcecontrollerv2.ResourceInstance, error)

GetDNSInstance mocks base method.

func (*MockAPI) GetDNSInstancePermittedNetworks

func (m *MockAPI) GetDNSInstancePermittedNetworks(ctx context.Context, dnsID, dnsZone string) ([]string, error)

GetDNSInstancePermittedNetworks mocks base method.

func (*MockAPI) GetDNSRecordsByName

func (m *MockAPI) GetDNSRecordsByName(ctx context.Context, crnstr, zoneID, recordName string) ([]dnsrecordsv1.DnsrecordDetails, error)

GetDNSRecordsByName mocks base method.

func (*MockAPI) GetDNSZoneIDByName

func (m *MockAPI) GetDNSZoneIDByName(ctx context.Context, name string, publish types.PublishingStrategy) (string, error)

GetDNSZoneIDByName mocks base method.

func (*MockAPI) GetDNSZones

func (m *MockAPI) GetDNSZones(ctx context.Context, publish types.PublishingStrategy) ([]responses.DNSZoneResponse, error)

GetDNSZones mocks base method.

func (*MockAPI) GetDedicatedHostByName

func (m *MockAPI) GetDedicatedHostByName(ctx context.Context, name, region string) (*vpcv1.DedicatedHost, error)

GetDedicatedHostByName mocks base method.

func (*MockAPI) GetDedicatedHostProfiles

func (m *MockAPI) GetDedicatedHostProfiles(ctx context.Context, region string) ([]vpcv1.DedicatedHostProfile, error)

GetDedicatedHostProfiles mocks base method.

func (*MockAPI) GetEncryptionKey

func (m *MockAPI) GetEncryptionKey(ctx context.Context, keyCRN string) (*responses.EncryptionKeyResponse, error)

GetEncryptionKey mocks base method.

func (*MockAPI) GetResourceGroup

func (m *MockAPI) GetResourceGroup(ctx context.Context, nameOrID string) (*resourcemanagerv2.ResourceGroup, error)

GetResourceGroup mocks base method.

func (*MockAPI) GetResourceGroups

func (m *MockAPI) GetResourceGroups(ctx context.Context) ([]resourcemanagerv2.ResourceGroup, error)

GetResourceGroups mocks base method.

func (*MockAPI) GetSubnet

func (m *MockAPI) GetSubnet(ctx context.Context, subnetID string) (*vpcv1.Subnet, error)

GetSubnet mocks base method.

func (*MockAPI) GetSubnetByName

func (m *MockAPI) GetSubnetByName(ctx context.Context, subnetName, region string) (*vpcv1.Subnet, error)

GetSubnetByName mocks base method.

func (*MockAPI) GetVPC

func (m *MockAPI) GetVPC(ctx context.Context, vpcID string) (*vpcv1.VPC, error)

GetVPC mocks base method.

func (*MockAPI) GetVPCByName

func (m *MockAPI) GetVPCByName(ctx context.Context, vpcName string) (*vpcv1.VPC, error)

GetVPCByName mocks base method.

func (*MockAPI) GetVPCZonesForRegion

func (m *MockAPI) GetVPCZonesForRegion(ctx context.Context, region string) ([]string, error)

GetVPCZonesForRegion mocks base method.

func (*MockAPI) GetVPCs

func (m *MockAPI) GetVPCs(ctx context.Context, region string) ([]vpcv1.VPC, error)

GetVPCs mocks base method.

func (*MockAPI) GetVSIProfiles

func (m *MockAPI) GetVSIProfiles(ctx context.Context) ([]vpcv1.InstanceProfile, error)

GetVSIProfiles mocks base method.

func (*MockAPI) SetVPCServiceURLForRegion

func (m *MockAPI) SetVPCServiceURLForRegion(ctx context.Context, region string) error

SetVPCServiceURLForRegion mocks base method.

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI.

func (*MockAPIMockRecorder) GetAPIKey

func (mr *MockAPIMockRecorder) GetAPIKey() *gomock.Call

GetAPIKey indicates an expected call of GetAPIKey.

func (*MockAPIMockRecorder) GetAuthenticatorAPIKeyDetails

func (mr *MockAPIMockRecorder) GetAuthenticatorAPIKeyDetails(ctx interface{}) *gomock.Call

GetAuthenticatorAPIKeyDetails indicates an expected call of GetAuthenticatorAPIKeyDetails.

func (*MockAPIMockRecorder) GetCISInstance

func (mr *MockAPIMockRecorder) GetCISInstance(ctx, crnstr interface{}) *gomock.Call

GetCISInstance indicates an expected call of GetCISInstance.

func (*MockAPIMockRecorder) GetDNSInstance

func (mr *MockAPIMockRecorder) GetDNSInstance(ctx, crnstr interface{}) *gomock.Call

GetDNSInstance indicates an expected call of GetDNSInstance.

func (*MockAPIMockRecorder) GetDNSInstancePermittedNetworks

func (mr *MockAPIMockRecorder) GetDNSInstancePermittedNetworks(ctx, dnsID, dnsZone interface{}) *gomock.Call

GetDNSInstancePermittedNetworks indicates an expected call of GetDNSInstancePermittedNetworks.

func (*MockAPIMockRecorder) GetDNSRecordsByName

func (mr *MockAPIMockRecorder) GetDNSRecordsByName(ctx, crnstr, zoneID, recordName interface{}) *gomock.Call

GetDNSRecordsByName indicates an expected call of GetDNSRecordsByName.

func (*MockAPIMockRecorder) GetDNSZoneIDByName

func (mr *MockAPIMockRecorder) GetDNSZoneIDByName(ctx, name, publish interface{}) *gomock.Call

GetDNSZoneIDByName indicates an expected call of GetDNSZoneIDByName.

func (*MockAPIMockRecorder) GetDNSZones

func (mr *MockAPIMockRecorder) GetDNSZones(ctx, publish interface{}) *gomock.Call

GetDNSZones indicates an expected call of GetDNSZones.

func (*MockAPIMockRecorder) GetDedicatedHostByName

func (mr *MockAPIMockRecorder) GetDedicatedHostByName(ctx, name, region interface{}) *gomock.Call

GetDedicatedHostByName indicates an expected call of GetDedicatedHostByName.

func (*MockAPIMockRecorder) GetDedicatedHostProfiles

func (mr *MockAPIMockRecorder) GetDedicatedHostProfiles(ctx, region interface{}) *gomock.Call

GetDedicatedHostProfiles indicates an expected call of GetDedicatedHostProfiles.

func (*MockAPIMockRecorder) GetEncryptionKey

func (mr *MockAPIMockRecorder) GetEncryptionKey(ctx, keyCRN interface{}) *gomock.Call

GetEncryptionKey indicates an expected call of GetEncryptionKey.

func (*MockAPIMockRecorder) GetResourceGroup

func (mr *MockAPIMockRecorder) GetResourceGroup(ctx, nameOrID interface{}) *gomock.Call

GetResourceGroup indicates an expected call of GetResourceGroup.

func (*MockAPIMockRecorder) GetResourceGroups

func (mr *MockAPIMockRecorder) GetResourceGroups(ctx interface{}) *gomock.Call

GetResourceGroups indicates an expected call of GetResourceGroups.

func (*MockAPIMockRecorder) GetSubnet

func (mr *MockAPIMockRecorder) GetSubnet(ctx, subnetID interface{}) *gomock.Call

GetSubnet indicates an expected call of GetSubnet.

func (*MockAPIMockRecorder) GetSubnetByName

func (mr *MockAPIMockRecorder) GetSubnetByName(ctx, subnetName, region interface{}) *gomock.Call

GetSubnetByName indicates an expected call of GetSubnetByName.

func (*MockAPIMockRecorder) GetVPC

func (mr *MockAPIMockRecorder) GetVPC(ctx, vpcID interface{}) *gomock.Call

GetVPC indicates an expected call of GetVPC.

func (*MockAPIMockRecorder) GetVPCByName

func (mr *MockAPIMockRecorder) GetVPCByName(ctx, vpcName interface{}) *gomock.Call

GetVPCByName indicates an expected call of GetVPCByName.

func (*MockAPIMockRecorder) GetVPCZonesForRegion

func (mr *MockAPIMockRecorder) GetVPCZonesForRegion(ctx, region interface{}) *gomock.Call

GetVPCZonesForRegion indicates an expected call of GetVPCZonesForRegion.

func (*MockAPIMockRecorder) GetVPCs

func (mr *MockAPIMockRecorder) GetVPCs(ctx, region interface{}) *gomock.Call

GetVPCs indicates an expected call of GetVPCs.

func (*MockAPIMockRecorder) GetVSIProfiles

func (mr *MockAPIMockRecorder) GetVSIProfiles(ctx interface{}) *gomock.Call

GetVSIProfiles indicates an expected call of GetVSIProfiles.

func (*MockAPIMockRecorder) SetVPCServiceURLForRegion

func (mr *MockAPIMockRecorder) SetVPCServiceURLForRegion(ctx, region interface{}) *gomock.Call

SetVPCServiceURLForRegion indicates an expected call of SetVPCServiceURLForRegion.

Jump to

Keyboard shortcuts

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