Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateRepository(ctx context.Context, organization string, name string, private bool) (*CreateRepoResult, error)
- func (c *Client) GetUser(ctx context.Context) (*provider.User, error)
- func (c *Client) IsOrganization(ctx context.Context, login string) bool
- func (c *Client) ListRepositoryOwners(ctx context.Context) ([]RepositoryOwner, error)
- func (c *Client) SourceRepoURL(owner, repo string) string
- type CreateRepoResult
- type RepositoryOwner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClientWithHTTPClient ¶
func (*Client) CreateRepository ¶
func (*Client) IsOrganization ¶
func (*Client) ListRepositoryOwners ¶
func (c *Client) ListRepositoryOwners(ctx context.Context) ([]RepositoryOwner, error)
func (*Client) SourceRepoURL ¶
type CreateRepoResult ¶
type RepositoryOwner ¶
Click to show internal directories.
Click to hide internal directories.