Versions in this module Expand all Collapse all v0 v0.0.1 Jul 28, 2022 Changes in this version + func New(uri string) (*scm.Client, error) + func NewDefault() *scm.Client + type Error struct + Message string + func (e *Error) Error() string + type RepositoryService struct + func (s *RepositoryService) CreateHook(ctx context.Context, repo string, input *scm.HookInput) (*scm.Hook, *scm.Response, error) + func (s *RepositoryService) CreateStatus(context.Context, string, string, *scm.StatusInput) (*scm.Status, *scm.Response, error) + func (s *RepositoryService) DeleteHook(ctx context.Context, repo, id string) (*scm.Response, error) + func (s *RepositoryService) Find(ctx context.Context, repo string) (*scm.Repository, *scm.Response, error) + func (s *RepositoryService) FindHook(ctx context.Context, repo string, id string) (*scm.Hook, *scm.Response, error) + func (s *RepositoryService) FindPerms(ctx context.Context, repo string) (*scm.Perm, *scm.Response, error) + func (s *RepositoryService) List(ctx context.Context, opts scm.ListOptions) ([]*scm.Repository, *scm.Response, error) + func (s *RepositoryService) ListHooks(ctx context.Context, repo string, opts scm.ListOptions) ([]*scm.Hook, *scm.Response, error) + func (s *RepositoryService) ListStatus(context.Context, string, string, scm.ListOptions) ([]*scm.Status, *scm.Response, error) + func (s *RepositoryService) UpdateHook(ctx context.Context, repo, id string, input *scm.HookInput) (*scm.Hook, *scm.Response, error)