mock

package
v0.0.0-...-f5bbbf4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 5 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 MockVaults

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

MockVaults is a mock of Vaults interface

func NewMockVaults

func NewMockVaults(ctrl *gomock.Controller) *MockVaults

NewMockVaults creates a new mock instance

func (*MockVaults) CreateAWS

func (m *MockVaults) CreateAWS(ctx context.Context, name string, config *entities0.AWSConfig, allowedTenants []string, userInfo *entities.UserInfo) error

CreateAWS mocks base method

func (*MockVaults) CreateAzure

func (m *MockVaults) CreateAzure(ctx context.Context, name string, config *entities0.AzureConfig, allowedTenants []string, userInfo *entities.UserInfo) error

CreateAzure mocks base method

func (*MockVaults) CreateHashicorp

func (m *MockVaults) CreateHashicorp(ctx context.Context, name string, config *entities0.HashicorpConfig, allowedTenants []string, userInfo *entities.UserInfo) error

CreateHashicorp mocks base method

func (*MockVaults) EXPECT

func (m *MockVaults) EXPECT() *MockVaultsMockRecorder

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

func (*MockVaults) Get

func (m *MockVaults) Get(ctx context.Context, name string, userInfo *entities.UserInfo) (*entities0.Vault, error)

Get mocks base method

type MockVaultsMockRecorder

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

MockVaultsMockRecorder is the mock recorder for MockVaults

func (*MockVaultsMockRecorder) CreateAWS

func (mr *MockVaultsMockRecorder) CreateAWS(ctx, name, config, allowedTenants, userInfo interface{}) *gomock.Call

CreateAWS indicates an expected call of CreateAWS

func (*MockVaultsMockRecorder) CreateAzure

func (mr *MockVaultsMockRecorder) CreateAzure(ctx, name, config, allowedTenants, userInfo interface{}) *gomock.Call

CreateAzure indicates an expected call of CreateAzure

func (*MockVaultsMockRecorder) CreateHashicorp

func (mr *MockVaultsMockRecorder) CreateHashicorp(ctx, name, config, allowedTenants, userInfo interface{}) *gomock.Call

CreateHashicorp indicates an expected call of CreateHashicorp

func (*MockVaultsMockRecorder) Get

func (mr *MockVaultsMockRecorder) Get(ctx, name, userInfo interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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