Documentation
¶
Index ¶
- func CreateRepo(ctx context.Context, opts CreateRepoOptions) (*github.Repository, error)
- func DeleteRepo(ctx context.Context, repo *github.Repository) error
- func EnsureClient(ctx context.Context) (*github.Client, error)
- func FromContext(ctx context.Context) (*github.Client, error)
- func HasClient(ctx context.Context) bool
- func NewClient(ctx context.Context, token string) *github.Client
- func WithContext(ctx context.Context, c *github.Client) context.Context
- type CreateRepoOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRepo ¶
func CreateRepo(ctx context.Context, opts CreateRepoOptions) (*github.Repository, error)
Create Repo
func FromContext ¶
FromContext returns the client or an error if missing.
Types ¶
Click to show internal directories.
Click to hide internal directories.