Documentation
¶
Index ¶
- Constants
- func PushUsingLocalGit(ctx context.Context, gitRoot string, addPaths []string, message string) error
- type Gh
- func (g *Gh) DetectCurrentJobID(ctx context.Context, owner, repo string) (int64, error)
- func (g *Gh) GetRawRootURL(ctx context.Context, owner, repo string) (string, error)
- func (g *Gh) GetStepExecutionTimeByTime(ctx context.Context, owner, repo string, jobID int64, t time.Time) (time.Duration, error)
- func (g *Gh) GetStepsByName(ctx context.Context, owner, repo string, name string) ([]Step, error)
- func (g *Gh) PushContent(ctx context.Context, owner, repo, branch, content, cp, message string) error
- type Step
Constants ¶
View Source
const DefaultGithubServerURL = "https://github.com"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gh ¶
type Gh struct {
// contains filtered or unexported fields
}
func (*Gh) DetectCurrentJobID ¶
func (*Gh) GetRawRootURL ¶
func (*Gh) GetStepExecutionTimeByTime ¶
func (*Gh) GetStepsByName ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.