cloud

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package cloud is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloudInterface

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

MockCloudInterface is a mock of CloudInterface interface.

func NewMockCloudInterface

func NewMockCloudInterface(ctrl *gomock.Controller) *MockCloudInterface

NewMockCloudInterface creates a new mock instance.

func (*MockCloudInterface) AddAccountResourceSelector

func (m *MockCloudInterface) AddAccountResourceSelector(arg0 *types0.NamespacedName, arg1 *v1alpha1.CloudEntitySelector) error

AddAccountResourceSelector mocks base method.

func (*MockCloudInterface) AddProviderAccount

func (m *MockCloudInterface) AddProviderAccount(arg0 client.Client, arg1 *v1alpha1.CloudProviderAccount) error

AddProviderAccount mocks base method.

func (*MockCloudInterface) CreateSecurityGroup

func (m *MockCloudInterface) CreateSecurityGroup(arg0 *cloudresource.CloudResource, arg1 bool) (*string, error)

CreateSecurityGroup mocks base method.

func (*MockCloudInterface) DeleteSecurityGroup

func (m *MockCloudInterface) DeleteSecurityGroup(arg0 *cloudresource.CloudResource, arg1 bool) error

DeleteSecurityGroup mocks base method.

func (*MockCloudInterface) DoInventoryPoll

func (m *MockCloudInterface) DoInventoryPoll(arg0 *types0.NamespacedName) error

DoInventoryPoll mocks base method.

func (*MockCloudInterface) EXPECT

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

func (*MockCloudInterface) GetAccountStatus

GetAccountStatus mocks base method.

func (*MockCloudInterface) GetCloudInventory added in v0.6.0

func (m *MockCloudInterface) GetCloudInventory(arg0 *types0.NamespacedName) (*types.CloudInventory, error)

GetCloudInventory mocks base method.

func (*MockCloudInterface) GetEnforcedSecurity

func (m *MockCloudInterface) GetEnforcedSecurity() []cloudresource.SynchronizationContent

GetEnforcedSecurity mocks base method.

func (*MockCloudInterface) ProviderType

func (m *MockCloudInterface) ProviderType() v1alpha10.CloudProvider

ProviderType mocks base method.

func (*MockCloudInterface) RemoveAccountResourcesSelector

func (m *MockCloudInterface) RemoveAccountResourcesSelector(arg0, arg1 *types0.NamespacedName)

RemoveAccountResourcesSelector mocks base method.

func (*MockCloudInterface) RemoveProviderAccount

func (m *MockCloudInterface) RemoveProviderAccount(arg0 *types0.NamespacedName)

RemoveProviderAccount mocks base method.

func (*MockCloudInterface) ResetInventoryCache

func (m *MockCloudInterface) ResetInventoryCache(arg0 *types0.NamespacedName) error

ResetInventoryCache mocks base method.

func (*MockCloudInterface) UpdateSecurityGroupMembers

func (m *MockCloudInterface) UpdateSecurityGroupMembers(arg0 *cloudresource.CloudResource, arg1 []*cloudresource.CloudResource, arg2 bool) error

UpdateSecurityGroupMembers mocks base method.

func (*MockCloudInterface) UpdateSecurityGroupRules

func (m *MockCloudInterface) UpdateSecurityGroupRules(arg0 *cloudresource.CloudResource, arg1, arg2 []*cloudresource.CloudRule) error

UpdateSecurityGroupRules mocks base method.

type MockCloudInterfaceMockRecorder

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

MockCloudInterfaceMockRecorder is the mock recorder for MockCloudInterface.

func (*MockCloudInterfaceMockRecorder) AddAccountResourceSelector

func (mr *MockCloudInterfaceMockRecorder) AddAccountResourceSelector(arg0, arg1 interface{}) *gomock.Call

AddAccountResourceSelector indicates an expected call of AddAccountResourceSelector.

func (*MockCloudInterfaceMockRecorder) AddProviderAccount

func (mr *MockCloudInterfaceMockRecorder) AddProviderAccount(arg0, arg1 interface{}) *gomock.Call

AddProviderAccount indicates an expected call of AddProviderAccount.

func (*MockCloudInterfaceMockRecorder) CreateSecurityGroup

func (mr *MockCloudInterfaceMockRecorder) CreateSecurityGroup(arg0, arg1 interface{}) *gomock.Call

CreateSecurityGroup indicates an expected call of CreateSecurityGroup.

func (*MockCloudInterfaceMockRecorder) DeleteSecurityGroup

func (mr *MockCloudInterfaceMockRecorder) DeleteSecurityGroup(arg0, arg1 interface{}) *gomock.Call

DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup.

func (*MockCloudInterfaceMockRecorder) DoInventoryPoll

func (mr *MockCloudInterfaceMockRecorder) DoInventoryPoll(arg0 interface{}) *gomock.Call

DoInventoryPoll indicates an expected call of DoInventoryPoll.

func (*MockCloudInterfaceMockRecorder) GetAccountStatus

func (mr *MockCloudInterfaceMockRecorder) GetAccountStatus(arg0 interface{}) *gomock.Call

GetAccountStatus indicates an expected call of GetAccountStatus.

func (*MockCloudInterfaceMockRecorder) GetCloudInventory added in v0.6.0

func (mr *MockCloudInterfaceMockRecorder) GetCloudInventory(arg0 interface{}) *gomock.Call

GetCloudInventory indicates an expected call of GetCloudInventory.

func (*MockCloudInterfaceMockRecorder) GetEnforcedSecurity

func (mr *MockCloudInterfaceMockRecorder) GetEnforcedSecurity() *gomock.Call

GetEnforcedSecurity indicates an expected call of GetEnforcedSecurity.

func (*MockCloudInterfaceMockRecorder) ProviderType

func (mr *MockCloudInterfaceMockRecorder) ProviderType() *gomock.Call

ProviderType indicates an expected call of ProviderType.

func (*MockCloudInterfaceMockRecorder) RemoveAccountResourcesSelector

func (mr *MockCloudInterfaceMockRecorder) RemoveAccountResourcesSelector(arg0, arg1 interface{}) *gomock.Call

RemoveAccountResourcesSelector indicates an expected call of RemoveAccountResourcesSelector.

func (*MockCloudInterfaceMockRecorder) RemoveProviderAccount

func (mr *MockCloudInterfaceMockRecorder) RemoveProviderAccount(arg0 interface{}) *gomock.Call

RemoveProviderAccount indicates an expected call of RemoveProviderAccount.

func (*MockCloudInterfaceMockRecorder) ResetInventoryCache

func (mr *MockCloudInterfaceMockRecorder) ResetInventoryCache(arg0 interface{}) *gomock.Call

ResetInventoryCache indicates an expected call of ResetInventoryCache.

func (*MockCloudInterfaceMockRecorder) UpdateSecurityGroupMembers

func (mr *MockCloudInterfaceMockRecorder) UpdateSecurityGroupMembers(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateSecurityGroupMembers indicates an expected call of UpdateSecurityGroupMembers.

func (*MockCloudInterfaceMockRecorder) UpdateSecurityGroupRules

func (mr *MockCloudInterfaceMockRecorder) UpdateSecurityGroupRules(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateSecurityGroupRules indicates an expected call of UpdateSecurityGroupRules.

Jump to

Keyboard shortcuts

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