Documentation ¶
Index ¶
- func IsAdmin(client *gitlab.Client) bool
- type Client
- func (c *Client) Client() *gitlab.Client
- func (c *Client) Group(name string) (*gitlab.Group, error)
- func (c *Client) GroupHooks(gid int) ([]*gitlab.GroupHook, error)
- func (c *Client) GroupMembers(group *gitlab.Group) ([]*gitlab.GroupMember, error)
- func (c *Client) GroupPlan(group *gitlab.Group) (string, error)
- func (c *Client) Groups() ([]*gitlab.Group, error)
- func (c *Client) IsAdmin() bool
- func (c *Client) IsAnalyzable(repo types.RepositoryWithOwner) (bool, error)
- func (c *Client) IsGroupPremium(group *gitlab.Group) bool
- func (c *Client) IsServer() bool
- func (c *Client) Organizations() ([]types.Organization, error)
- func (c *Client) Repositories() ([]types.RepositoryWithOwner, error)
- func (c *Client) Scopes() permissions.TokenScopes
- func (c *Client) ServerUrl() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GroupHooks ¶
func (*Client) GroupMembers ¶
func (*Client) IsAnalyzable ¶
func (c *Client) IsAnalyzable(repo types.RepositoryWithOwner) (bool, error)
func (*Client) IsGroupPremium ¶ added in v0.2.8
func (*Client) Organizations ¶
func (c *Client) Organizations() ([]types.Organization, error)
func (*Client) Repositories ¶
func (c *Client) Repositories() ([]types.RepositoryWithOwner, error)
func (*Client) Scopes ¶
func (c *Client) Scopes() permissions.TokenScopes
Click to show internal directories.
Click to hide internal directories.