Documentation
¶
Index ¶
- Variables
- func CatalogCmd(cfg *config.Config) *cobra.Command
- func LoadContractFromArgs(args []string) (*contract.Contract, error)
- func MakeGetRequest(uri string) (*http.Response, error)
- func NewCatalogExternalsCmd(cfg *config.Config) *cobra.Command
- func NewCatalogGenerateCmd(cfg *config.Config) *cobra.Command
- func NewCatalogGenerateFromExternalCmd(cfg *config.Config) *cobra.Command
- func NewReleaseCmd(cfg *config.Config) *cobra.Command
- func NewRenderCmd(cfg *config.Config) *cobra.Command
- func NewRootCmd(stream *tkncli.Stream) *cobra.Command
- func NewSignCmd(cfg *config.Config) *cobra.Command
- func NewVerifyCmd(cfg *config.Config) *cobra.Command
- type GitHubAssets
- type GitHubMatrixObject
- type GitHubRunObject
- type GitHubTags
- type ResourceInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Version is provided at compile-time.
Functions ¶
func NewCatalogExternalsCmd ¶
NewCatalogExternalsCmd instantiates the "externals" subcommand.
func NewCatalogGenerateCmd ¶
NewCatalogGenerateCmd instantiates the "generate" subcommand.
func NewCatalogGenerateFromExternalCmd ¶
NewCatalogGenerateFromExternalCmd instantiates the "generate" subcommand.
func NewReleaseCmd ¶
NewReleaseCmd instantiates the NewReleaseCmd subcommand and flags.
func NewRenderCmd ¶
NewRenderCmd instantiate the "render" subcommand.
func NewSignCmd ¶
NewSignCmd instantiate the SignCmd and flags.
Types ¶
type GitHubAssets ¶ added in v0.3.0
type GitHubAssets struct { Name string `json:"name"` BrowserDownloadURL string `json:"browser_download_url"` URL string `json:"url"` }
GitHubAssets represents the Assets field of the GitHubTags.
type GitHubMatrixObject ¶
type GitHubMatrixObject struct {
Include []GitHubRunObject `json:"include"`
}
type GitHubRunObject ¶
type GitHubTags ¶ added in v0.3.0
type GitHubTags struct { TagName string `json:"tag_name"` URL string `json:"url"` Assets []GitHubAssets `json:"assets"` }
GitHubTags represents the response JSON when fetching various tags/releases of a GitHub repo.
type ResourceInfo ¶ added in v0.3.0
ResourceInfo represents the value field of a map where the key is the name of the resource.
Click to show internal directories.
Click to hide internal directories.