Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateGroupRunnerOptions ¶ added in v0.13.0
func GenerateGroupRunnerOptions(p *groupsv1alpha1.RunnerParameters) *gitlab.CreateUserRunnerOptions
GenerateGroupRunnerOptions generates user runner creation options for a runner linked to a group
func GenerateProjectRunnerOptions ¶ added in v0.13.0
func GenerateProjectRunnerOptions(p *projectsv1alpha1.RunnerParameters) *gitlab.CreateUserRunnerOptions
GenerateProjectRunnerOptions generates user runner creation options for a runner linked to a project
Types ¶
type RunnerClient ¶ added in v0.13.0
type RunnerClient interface {
CreateUserRunner(opts *gitlab.CreateUserRunnerOptions, options ...gitlab.RequestOptionFunc) (*gitlab.UserRunner, *gitlab.Response, error)
}
UserClient defines Gitlab User service operations
func NewRunnerClient ¶ added in v0.13.0
func NewRunnerClient(cfg clients.Config) RunnerClient
NewRunnerClient returns a new Gitlab User service
type UserClient ¶
type UserClient interface {
ListUsers(opt *gitlab.ListUsersOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.User, *gitlab.Response, error)
}
UserClient defines Gitlab User service operations
func NewUserClient ¶
func NewUserClient(cfg clients.Config) UserClient
NewUserClient returns a new Gitlab User service
Click to show internal directories.
Click to hide internal directories.