fake

package
v0.9.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponse added in v0.7.1

type APIResponse[O any] struct {
	Output   O
	Response *gitlab.Response
	Error    error
}

type GitVariable added in v0.7.1

type GitVariable interface {
	gitlab.ProjectVariable |
		gitlab.GroupVariable
}

type GitlabMockGroupVariablesClient added in v0.7.0

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

func (*GitlabMockGroupVariablesClient) GetVariable added in v0.7.0

func (mc *GitlabMockGroupVariablesClient) GetVariable(gid interface{}, key string, _ ...gitlab.RequestOptionFunc) (*gitlab.GroupVariable, *gitlab.Response, error)

func (*GitlabMockGroupVariablesClient) ListVariables added in v0.7.0

func (mc *GitlabMockGroupVariablesClient) ListVariables(gid interface{}, _ *gitlab.ListGroupVariablesOptions, _ ...gitlab.RequestOptionFunc) ([]*gitlab.GroupVariable, *gitlab.Response, error)

func (*GitlabMockGroupVariablesClient) WithValue added in v0.7.0

func (mc *GitlabMockGroupVariablesClient) WithValue(output *gitlab.GroupVariable, response *gitlab.Response, err error)

func (*GitlabMockGroupVariablesClient) WithValues added in v0.7.1

func (mc *GitlabMockGroupVariablesClient) WithValues(responses []APIResponse[[]*gitlab.GroupVariable])

type GitlabMockProjectVariablesClient added in v0.7.0

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

func (*GitlabMockProjectVariablesClient) GetVariable added in v0.7.0

func (mc *GitlabMockProjectVariablesClient) GetVariable(pid interface{}, key string, _ *gitlab.GetProjectVariableOptions, _ ...gitlab.RequestOptionFunc) (*gitlab.ProjectVariable, *gitlab.Response, error)

func (*GitlabMockProjectVariablesClient) ListVariables added in v0.7.0

func (mc *GitlabMockProjectVariablesClient) ListVariables(pid interface{}, _ *gitlab.ListProjectVariablesOptions, _ ...gitlab.RequestOptionFunc) ([]*gitlab.ProjectVariable, *gitlab.Response, error)

func (*GitlabMockProjectVariablesClient) WithValue added in v0.7.0

func (mc *GitlabMockProjectVariablesClient) WithValue(response APIResponse[[]*gitlab.ProjectVariable])

func (*GitlabMockProjectVariablesClient) WithValues added in v0.7.1

func (mc *GitlabMockProjectVariablesClient) WithValues(responses []APIResponse[[]*gitlab.ProjectVariable])

type GitlabMockProjectsClient added in v0.7.0

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

func (*GitlabMockProjectsClient) ListProjectsGroups added in v0.7.0

func (mc *GitlabMockProjectsClient) ListProjectsGroups(pid interface{}, opt *gitlab.ListProjectGroupOptions, _ ...gitlab.RequestOptionFunc) ([]*gitlab.ProjectGroup, *gitlab.Response, error)

func (*GitlabMockProjectsClient) WithValue added in v0.7.0

func (mc *GitlabMockProjectsClient) WithValue(output []*gitlab.ProjectGroup, response *gitlab.Response, err error)

Jump to

Keyboard shortcuts

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