Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubActionYAML ¶
type GithubActionYAML struct { On GithubActionYAMLOnPush `yaml:"on,omitempty"` Name string `yaml:"name,omitempty"` Jobs map[string]GithubActionYAMLJob `yaml:"jobs,omitempty"` }
type GithubActionYAMLJob ¶
type GithubActionYAMLJob struct { RunsOn string `yaml:"runs-on,omitempty"` Steps []GithubActionYAMLStep `yaml:"steps,omitempty"` }
type GithubActionYAMLOnPush ¶
type GithubActionYAMLOnPush struct {
Push GithubActionYAMLOnPushBranches `yaml:"push,omitempty"`
}
type GithubActionYAMLOnPushBranches ¶
type GithubActionYAMLOnPushBranches struct {
Branches []string `yaml:"branches,omitempty"`
}
type GithubActionYAMLStep ¶
type GithubActions ¶
type GithubActions struct { GitIntegration *models.GitRepo GitRepoName string GitRepoOwner string Repo repository.Repository GithubConf *oauth2.Config WebhookToken string PorterToken string ProjectID uint ReleaseName string DockerFilePath string ImageRepoURL string // contains filtered or unexported fields }
func (*GithubActions) GetGithubActionYAML ¶
func (g *GithubActions) GetGithubActionYAML() ([]byte, error)
func (*GithubActions) Setup ¶
func (g *GithubActions) Setup() (string, error)
Click to show internal directories.
Click to hide internal directories.