mock

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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 MockGhClient

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

MockGhClient is a mock of GhClient interface.

func NewMockGhClient

func NewMockGhClient(ctrl *gomock.Controller) *MockGhClient

NewMockGhClient creates a new mock instance.

func (*MockGhClient) AddComment

func (m *MockGhClient) AddComment(ctx context.Context, n int, comment string) error

AddComment mocks base method.

func (*MockGhClient) CloseIssue

func (m *MockGhClient) CloseIssue(ctx context.Context, n int) error

CloseIssue mocks base method.

func (*MockGhClient) EXPECT

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

func (*MockGhClient) FetchTarget

func (m *MockGhClient) FetchTarget(ctx context.Context, n int) (*target.Target, error)

FetchTarget mocks base method.

func (*MockGhClient) FetchTargets

func (m *MockGhClient) FetchTargets(ctx context.Context) (target.Targets, error)

FetchTargets mocks base method.

func (*MockGhClient) MergePullRequest

func (m *MockGhClient) MergePullRequest(ctx context.Context, n int) error

MergePullRequest mocks base method.

func (*MockGhClient) ResolveUsers

func (m *MockGhClient) ResolveUsers(ctx context.Context, in []string) ([]string, error)

ResolveUsers mocks base method.

func (*MockGhClient) SetAssignees

func (m *MockGhClient) SetAssignees(ctx context.Context, n int, assignees []string) error

SetAssignees mocks base method.

func (*MockGhClient) SetLabels

func (m *MockGhClient) SetLabels(ctx context.Context, n int, labels []string) error

SetLabels mocks base method.

func (*MockGhClient) SetReviewers

func (m *MockGhClient) SetReviewers(ctx context.Context, n int, reviewers []string) error

SetReviewers mocks base method.

type MockGhClientMockRecorder

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

MockGhClientMockRecorder is the mock recorder for MockGhClient.

func (*MockGhClientMockRecorder) AddComment

func (mr *MockGhClientMockRecorder) AddComment(ctx, n, comment interface{}) *gomock.Call

AddComment indicates an expected call of AddComment.

func (*MockGhClientMockRecorder) CloseIssue

func (mr *MockGhClientMockRecorder) CloseIssue(ctx, n interface{}) *gomock.Call

CloseIssue indicates an expected call of CloseIssue.

func (*MockGhClientMockRecorder) FetchTarget

func (mr *MockGhClientMockRecorder) FetchTarget(ctx, n interface{}) *gomock.Call

FetchTarget indicates an expected call of FetchTarget.

func (*MockGhClientMockRecorder) FetchTargets

func (mr *MockGhClientMockRecorder) FetchTargets(ctx interface{}) *gomock.Call

FetchTargets indicates an expected call of FetchTargets.

func (*MockGhClientMockRecorder) MergePullRequest

func (mr *MockGhClientMockRecorder) MergePullRequest(ctx, n interface{}) *gomock.Call

MergePullRequest indicates an expected call of MergePullRequest.

func (*MockGhClientMockRecorder) ResolveUsers

func (mr *MockGhClientMockRecorder) ResolveUsers(ctx, in interface{}) *gomock.Call

ResolveUsers indicates an expected call of ResolveUsers.

func (*MockGhClientMockRecorder) SetAssignees

func (mr *MockGhClientMockRecorder) SetAssignees(ctx, n, assignees interface{}) *gomock.Call

SetAssignees indicates an expected call of SetAssignees.

func (*MockGhClientMockRecorder) SetLabels

func (mr *MockGhClientMockRecorder) SetLabels(ctx, n, labels interface{}) *gomock.Call

SetLabels indicates an expected call of SetLabels.

func (*MockGhClientMockRecorder) SetReviewers

func (mr *MockGhClientMockRecorder) SetReviewers(ctx, n, reviewers interface{}) *gomock.Call

SetReviewers indicates an expected call of SetReviewers.

type MockSlkClient

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

MockSlkClient is a mock of SlkClient interface.

func NewMockSlkClient

func NewMockSlkClient(ctrl *gomock.Controller) *MockSlkClient

NewMockSlkClient creates a new mock instance.

func (*MockSlkClient) EXPECT

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

func (*MockSlkClient) GetMentionLinkByName added in v0.6.0

func (m *MockSlkClient) GetMentionLinkByName(ctx context.Context, name string) (string, error)

GetMentionLinkByName mocks base method.

func (*MockSlkClient) PostMessage

func (m_2 *MockSlkClient) PostMessage(ctx context.Context, m string) error

PostMessage mocks base method.

type MockSlkClientMockRecorder

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

MockSlkClientMockRecorder is the mock recorder for MockSlkClient.

func (*MockSlkClientMockRecorder) GetMentionLinkByName added in v0.6.0

func (mr *MockSlkClientMockRecorder) GetMentionLinkByName(ctx, name interface{}) *gomock.Call

GetMentionLinkByName indicates an expected call of GetMentionLinkByName.

func (*MockSlkClientMockRecorder) PostMessage

func (mr *MockSlkClientMockRecorder) PostMessage(ctx, m interface{}) *gomock.Call

PostMessage indicates an expected call of PostMessage.

Jump to

Keyboard shortcuts

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