Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List func(...func(*ListOptions)) (*types.ProjectList, error)
func (*List) SetContext ¶
func (lo *List) SetContext(ctx context.Context) func(*ListOptions)
func (*List) SetOwned ¶
func (lo *List) SetOwned(in bool) func(*ListOptions)
type ListOptions ¶
type ListOptions struct {
Archived bool
IdAfter int
IdBefore int
Imported bool
LastActivityAfter time.Time
LastActivityBefore time.Time
Membership bool
MinAccessLevel int
OrderBy string
Pagnation string
PerPage int
Owned bool
RepositoryChecksumFailed bool
RepositoryStorage string
SearchNamespaces bool
Search string
Simple bool
Sort string
Starred bool
Statistics bool
Topic []string
Visibility *types.ProjectVisibility
WikiChecksumFailed bool
WithCustomAttributes bool
WithIssuesEnabled bool
WithMergeRequestsEnabled bool
WithProgrammingLanguage string
// contains filtered or unexported fields
}
func (*ListOptions) Do ¶
func (lo *ListOptions) Do(ctx context.Context, opts *types.ClientOptions) (*types.ProjectList, error)
type Project ¶
type Project struct {
List List
}
func NewProject ¶
func NewProject(opts *types.ClientOptions) *Project
Click to show internal directories.
Click to hide internal directories.