fake

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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 (*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 (*GitlabMockProjectVariablesClient) ListVariables added in v0.7.0

func (*GitlabMockProjectVariablesClient) WithValue added in v0.7.0

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