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 ¶
- type APIResponse
- type GitVariable
- type GitlabMockGroupVariablesClient
- func (mc *GitlabMockGroupVariablesClient) GetVariable(gid interface{}, key string, _ ...gitlab.RequestOptionFunc) (*gitlab.GroupVariable, *gitlab.Response, error)
- func (mc *GitlabMockGroupVariablesClient) ListVariables(gid interface{}, _ *gitlab.ListGroupVariablesOptions, ...) ([]*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 interface{}, key string, _ *gitlab.GetProjectVariableOptions, ...) (*gitlab.ProjectVariable, *gitlab.Response, error)
- func (mc *GitlabMockProjectVariablesClient) ListVariables(pid interface{}, _ *gitlab.ListProjectVariablesOptions, ...) ([]*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 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)
Click to show internal directories.
Click to hide internal directories.