mock

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 4 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 MockImporter

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

MockImporter is a mock of Importer interface.

func NewMockImporter

func NewMockImporter(ctrl *gomock.Controller) *MockImporter

NewMockImporter creates a new mock instance.

func (*MockImporter) AddEnvVariable

func (m *MockImporter) AddEnvVariable(arg0 context.Context, arg1 *schema.EnvVariableInput, arg2 *schema.EnvKeyValue) error

AddEnvVariable mocks base method.

func (*MockImporter) AddGroup

func (m *MockImporter) AddGroup(arg0 context.Context, arg1 *schema.AddGroupInput, arg2 *schema.Group) error

AddGroup mocks base method.

func (*MockImporter) AddGroupsToProject

func (m *MockImporter) AddGroupsToProject(arg0 context.Context, arg1 *schema.ProjectGroupsInput, arg2 *schema.Project) error

AddGroupsToProject mocks base method.

func (*MockImporter) AddNotificationEmail

func (m *MockImporter) AddNotificationEmail(arg0 context.Context, arg1 *schema.AddNotificationEmailInput, arg2 *schema.NotificationEmail) error

AddNotificationEmail mocks base method.

func (*MockImporter) AddNotificationMicrosoftTeams

func (m *MockImporter) AddNotificationMicrosoftTeams(arg0 context.Context, arg1 *schema.AddNotificationMicrosoftTeamsInput, arg2 *schema.NotificationMicrosoftTeams) error

AddNotificationMicrosoftTeams mocks base method.

func (*MockImporter) AddNotificationRocketChat

func (m *MockImporter) AddNotificationRocketChat(arg0 context.Context, arg1 *schema.AddNotificationRocketChatInput, arg2 *schema.NotificationRocketChat) error

AddNotificationRocketChat mocks base method.

func (*MockImporter) AddNotificationSlack

func (m *MockImporter) AddNotificationSlack(arg0 context.Context, arg1 *schema.AddNotificationSlackInput, arg2 *schema.NotificationSlack) error

AddNotificationSlack mocks base method.

func (*MockImporter) AddNotificationToProject

func (m *MockImporter) AddNotificationToProject(arg0 context.Context, arg1 *schema.AddNotificationToProjectInput, arg2 *schema.Project) error

AddNotificationToProject mocks base method.

func (*MockImporter) AddOrUpdateEnvironment

func (m *MockImporter) AddOrUpdateEnvironment(arg0 context.Context, arg1 *schema.AddEnvironmentInput, arg2 *schema.Environment) error

AddOrUpdateEnvironment mocks base method.

func (*MockImporter) AddProject

func (m *MockImporter) AddProject(arg0 context.Context, arg1 *schema.AddProjectInput, arg2 *schema.Project) error

AddProject mocks base method.

func (*MockImporter) AddSSHKey

func (m *MockImporter) AddSSHKey(arg0 context.Context, arg1 *schema.AddSSHKeyInput, arg2 *schema.SSHKey) error

AddSSHKey mocks base method.

func (*MockImporter) AddUser

func (m *MockImporter) AddUser(arg0 context.Context, arg1 *schema.AddUserInput, arg2 *schema.User) error

AddUser mocks base method.

func (*MockImporter) AddUserToGroup

func (m *MockImporter) AddUserToGroup(arg0 context.Context, arg1 *schema.UserGroupRoleInput, arg2 *schema.Group) error

AddUserToGroup mocks base method.

func (*MockImporter) EXPECT

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

func (*MockImporter) EnvironmentByName

func (m *MockImporter) EnvironmentByName(arg0 context.Context, arg1 string, arg2 uint, arg3 *schema.Environment) error

EnvironmentByName mocks base method.

func (*MockImporter) ProjectByName

func (m *MockImporter) ProjectByName(arg0 context.Context, arg1 string, arg2 *schema.Project) error

ProjectByName mocks base method.

type MockImporterMockRecorder

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

MockImporterMockRecorder is the mock recorder for MockImporter.

func (*MockImporterMockRecorder) AddEnvVariable

func (mr *MockImporterMockRecorder) AddEnvVariable(arg0, arg1, arg2 any) *gomock.Call

AddEnvVariable indicates an expected call of AddEnvVariable.

func (*MockImporterMockRecorder) AddGroup

func (mr *MockImporterMockRecorder) AddGroup(arg0, arg1, arg2 any) *gomock.Call

AddGroup indicates an expected call of AddGroup.

func (*MockImporterMockRecorder) AddGroupsToProject

func (mr *MockImporterMockRecorder) AddGroupsToProject(arg0, arg1, arg2 any) *gomock.Call

AddGroupsToProject indicates an expected call of AddGroupsToProject.

func (*MockImporterMockRecorder) AddNotificationEmail

func (mr *MockImporterMockRecorder) AddNotificationEmail(arg0, arg1, arg2 any) *gomock.Call

AddNotificationEmail indicates an expected call of AddNotificationEmail.

func (*MockImporterMockRecorder) AddNotificationMicrosoftTeams

func (mr *MockImporterMockRecorder) AddNotificationMicrosoftTeams(arg0, arg1, arg2 any) *gomock.Call

AddNotificationMicrosoftTeams indicates an expected call of AddNotificationMicrosoftTeams.

func (*MockImporterMockRecorder) AddNotificationRocketChat

func (mr *MockImporterMockRecorder) AddNotificationRocketChat(arg0, arg1, arg2 any) *gomock.Call

AddNotificationRocketChat indicates an expected call of AddNotificationRocketChat.

func (*MockImporterMockRecorder) AddNotificationSlack

func (mr *MockImporterMockRecorder) AddNotificationSlack(arg0, arg1, arg2 any) *gomock.Call

AddNotificationSlack indicates an expected call of AddNotificationSlack.

func (*MockImporterMockRecorder) AddNotificationToProject

func (mr *MockImporterMockRecorder) AddNotificationToProject(arg0, arg1, arg2 any) *gomock.Call

AddNotificationToProject indicates an expected call of AddNotificationToProject.

func (*MockImporterMockRecorder) AddOrUpdateEnvironment

func (mr *MockImporterMockRecorder) AddOrUpdateEnvironment(arg0, arg1, arg2 any) *gomock.Call

AddOrUpdateEnvironment indicates an expected call of AddOrUpdateEnvironment.

func (*MockImporterMockRecorder) AddProject

func (mr *MockImporterMockRecorder) AddProject(arg0, arg1, arg2 any) *gomock.Call

AddProject indicates an expected call of AddProject.

func (*MockImporterMockRecorder) AddSSHKey

func (mr *MockImporterMockRecorder) AddSSHKey(arg0, arg1, arg2 any) *gomock.Call

AddSSHKey indicates an expected call of AddSSHKey.

func (*MockImporterMockRecorder) AddUser

func (mr *MockImporterMockRecorder) AddUser(arg0, arg1, arg2 any) *gomock.Call

AddUser indicates an expected call of AddUser.

func (*MockImporterMockRecorder) AddUserToGroup

func (mr *MockImporterMockRecorder) AddUserToGroup(arg0, arg1, arg2 any) *gomock.Call

AddUserToGroup indicates an expected call of AddUserToGroup.

func (*MockImporterMockRecorder) EnvironmentByName

func (mr *MockImporterMockRecorder) EnvironmentByName(arg0, arg1, arg2, arg3 any) *gomock.Call

EnvironmentByName indicates an expected call of EnvironmentByName.

func (*MockImporterMockRecorder) ProjectByName

func (mr *MockImporterMockRecorder) ProjectByName(arg0, arg1, arg2 any) *gomock.Call

ProjectByName indicates an expected call of ProjectByName.

Jump to

Keyboard shortcuts

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