Documentation
¶
Overview ¶
Package bootstrap provides workflow steps for initializing a new project.
Index ¶
Constants ¶
View Source
const (
// FilePermReadWrite is 0o644.
FilePermReadWrite = 0o644
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloneRepoStep ¶
type CloneRepoStep struct {
ExecClient *exec.ExecutorClient
Presenter workflow.PresenterInterface
CloneURL string
LocalPath string
}
CloneRepoStep clones a remote repository to a local path.
func (*CloneRepoStep) Description ¶
func (s *CloneRepoStep) Description() string
Description returns a description of the step.
type CreateRemoteRepoStep ¶
type CreateRemoteRepoStep struct {
GHClient *gh.Client
Presenter workflow.PresenterInterface
Owner string // ADDED Owner field
RepoName string
RepoDescription string
IsPrivate bool
// Outputs of this step to be used by subsequent steps
CreatedRepoURL string
CloneURL string
}
CreateRemoteRepoStep creates a new remote repository on GitHub.
func (*CreateRemoteRepoStep) Description ¶
func (s *CreateRemoteRepoStep) Description() string
Description returns a description of the step.
type InitialCommitAndPushStep ¶
type InitialCommitAndPushStep struct {
ExecClient *exec.ExecutorClient
Presenter workflow.PresenterInterface
LocalPath string
}
InitialCommitAndPushStep creates and pushes the initial commit.
func (*InitialCommitAndPushStep) Description ¶
func (s *InitialCommitAndPushStep) Description() string
Description returns a description of the step.
type ScaffoldProjectStep ¶
type ScaffoldProjectStep struct {
Presenter workflow.PresenterInterface
LocalPath string
GoModulePath string
AppName string
}
ScaffoldProjectStep scaffolds the project structure and template files.
func (*ScaffoldProjectStep) Description ¶
func (s *ScaffoldProjectStep) Description() string
Description returns a description of the step.
Click to show internal directories.
Click to hide internal directories.