Documentation ¶
Index ¶
- type APIResponse
- type GitVariable
- type GitlabMockGroupVariablesClient
- func (mc *GitlabMockGroupVariablesClient) GetVariable(gid any, key string, _ *gitlab.GetGroupVariableOptions, ...) (*gitlab.GroupVariable, *gitlab.Response, error)
- func (mc *GitlabMockGroupVariablesClient) ListVariables(gid any, _ *gitlab.ListGroupVariablesOptions, _ ...gitlab.RequestOptionFunc) ([]*gitlab.GroupVariable, *gitlab.Response, error)
- func (mc *GitlabMockGroupVariablesClient) WithValue(output *gitlab.GroupVariable, response *gitlab.Response, err error)
- func (mc *GitlabMockGroupVariablesClient) WithValues(responses []APIResponse[[]*gitlab.GroupVariable])
- type GitlabMockProjectVariablesClient
- func (mc *GitlabMockProjectVariablesClient) GetVariable(pid any, key string, _ *gitlab.GetProjectVariableOptions, ...) (*gitlab.ProjectVariable, *gitlab.Response, error)
- func (mc *GitlabMockProjectVariablesClient) ListVariables(pid any, _ *gitlab.ListProjectVariablesOptions, _ ...gitlab.RequestOptionFunc) ([]*gitlab.ProjectVariable, *gitlab.Response, error)
- func (mc *GitlabMockProjectVariablesClient) WithValue(response APIResponse[[]*gitlab.ProjectVariable])
- func (mc *GitlabMockProjectVariablesClient) WithValues(responses []APIResponse[[]*gitlab.ProjectVariable])
- type GitlabMockProjectsClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶ added in v0.7.1
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 any, key string, _ *gitlab.GetGroupVariableOptions, _ ...gitlab.RequestOptionFunc) (*gitlab.GroupVariable, *gitlab.Response, error)
func (*GitlabMockGroupVariablesClient) ListVariables ¶ added in v0.7.0
func (mc *GitlabMockGroupVariablesClient) ListVariables(gid any, _ *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 any, key string, _ *gitlab.GetProjectVariableOptions, _ ...gitlab.RequestOptionFunc) (*gitlab.ProjectVariable, *gitlab.Response, error)
func (*GitlabMockProjectVariablesClient) ListVariables ¶ added in v0.7.0
func (mc *GitlabMockProjectVariablesClient) ListVariables(pid any, _ *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 any, 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)
Click to show internal directories.
Click to hide internal directories.