Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changelog ¶
type Changelog struct { Content *string `json:"content,omitempty"` HasBreakingChange *bool `json:"hasBreakingChange,omitempty"` }
Changelog ...
type GenerateInput ¶
type GenerateInput struct { DryRun bool `json:"dryRun,omitempty,omitempty"` SpecFolder string `json:"specFolder,omitempty"` HeadSha string `json:"headSha,omitempty"` HeadRef string `json:"headRef,omitempty"` RepoHTTPSURL string `json:"repoHttpsUrl,omitempty"` Trigger string `json:"trigger,omitempty"` ChangedFiles []string `json:"changedFiles,omitempty"` RelatedReadmeMdFiles []string `json:"relatedReadmeMdFiles,omitempty"` InstallInstructionInput InstallInstructionScriptInput `json:"installInstructionInput,omitempty"` }
GenerateInput ...
func NewGenerateInputFrom ¶
func NewGenerateInputFrom(reader io.Reader) (*GenerateInput, error)
NewGenerateInputFrom ...
type GenerateOutput ¶
type GenerateOutput struct {
Packages []PackageResult `json:"packages"`
}
GenerateOutput ...
type InstallInstructionScriptInput ¶
type InstallInstructionScriptInput struct { PackageName string `json:"packageName,omitempty"` Artifacts []string `json:"artifacts,omitempty"` IsPublic bool `json:"isPublic,omitempty"` DownloadURLPrefix string `json:"downloadUrlPrefix,omitempty"` DownloadCommandTemplate string `json:"downloadCommandTemplate,omitempty"` Trigger string `json:"trigger,omitempty"` }
InstallInstructionScriptInput ...
type InstallInstructionScriptOutput ¶
type InstallInstructionScriptOutput struct { Full string `json:"full,omitempty"` Lite string `json:"lite,omitempty"` }
InstallInstructionScriptOutput ...
type PackageResult ¶
type PackageResult struct { PackageName string `json:"packageName,omitempty"` Path []string `json:"path,omitempty"` ReadmeMd []string `json:"readmeMd,omitempty"` Changelog *Changelog `json:"changelog,omitempty"` Artifacts []string `json:"artifacts,omitempty"` InstallInstructions *InstallInstructionScriptOutput `json:"installInstructions,omitempty"` }
PackageResult ...
Click to show internal directories.
Click to hide internal directories.