Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) GetOrganizationMembers(ctx context.Context, target _coreapi.Owner) ([]*_coreapi.Owner, error)
- func (c *Client) GetRepositoriesFromOwner(ctx context.Context, target _coreapi.Owner) ([]*_coreapi.Repository, error)
- func (c *Client) GetUserOrganization(ctx context.Context, login string) (*_coreapi.Owner, error)
Constants ¶
View Source
const Address = "https://gitlab.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client holds a gitlab api client instance
func (*Client) GetOrganizationMembers ¶
func (c *Client) GetOrganizationMembers(ctx context.Context, target _coreapi.Owner) ([]*_coreapi.Owner, error)
GetOrganizationMembers will gather all the members of a given organization
func (*Client) GetRepositoriesFromOwner ¶
func (c *Client) GetRepositoriesFromOwner(ctx context.Context, target _coreapi.Owner) ([]*_coreapi.Repository, error)
GetRepositoriesFromOwner is used gather all the repos associated with the org owner or other user
Click to show internal directories.
Click to hide internal directories.