Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFileWithName ¶
DownloadFileWithName downloads a file with name
func ProcessTemplate ¶
ProcessTemplate process the .krew.yaml template for the release request
func RenderTemplate ¶
RenderTemplate process the .krew.yaml template for the release request
Types ¶
type InvalidPluginSpecError ¶
type InvalidPluginSpecError struct {
Spec string
// contains filtered or unexported fields
}
InvalidPluginSpecError is invalid plugin spec error
func (InvalidPluginSpecError) Error ¶
func (i InvalidPluginSpecError) Error() string
type ReleaseRequest ¶
type ReleaseRequest struct {
TagName string `json:"tagName"`
PluginName string `json:"pluginName"`
PluginRepo string `json:"pluginRepo"`
PluginOwner string `json:"pluginOwner"`
PluginReleaseActor string `json:"pluginReleaseActor"`
TemplateFile string `json:"templateFile"`
ProcessedTemplate []byte `json:"processedTemplate"`
}
ReleaseRequest is the release request for new plugin
Click to show internal directories.
Click to hide internal directories.