Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionManager ¶
type ActionManager struct {
// contains filtered or unexported fields
}
func NewActionManager ¶
func NewActionManager( ctx context.Context, logger log.Logger, organisation string, dryRun bool, workflowFile *WorkflowFile, workerPool *worker.WorkerPool, repositories RepositoriesService, ) *ActionManager
func (*ActionManager) CreateFile ¶
func (*ActionManager) Distribute ¶
func (*ActionManager) ListRepositories ¶
func (am *ActionManager) ListRepositories(ctx context.Context, private bool) ([]*github.Repository, error)
type RepositoriesService ¶
type RepositoriesService interface { ListByOrg(ctx context.Context, org string, opts *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error) CreateFile(ctx context.Context, owner, repo, path string, opts *github.RepositoryContentFileOptions) (*github.RepositoryContentResponse, *github.Response, error) }
type WorkflowFile ¶
func NewWorkflowFile ¶
func NewWorkflowFile(file, version string) (*WorkflowFile, error)
Click to show internal directories.
Click to hide internal directories.