Documentation
¶
Index ¶
- func CurrentVersion(repoURL string) string
- func GenerateFromStackYaml(stackConfig StackConfig) (map[string]string, error)
- func IsVersionLocked(stackConfig StackConfig) (bool, error)
- func LatestVersion(repoURL string) (string, error)
- func RepoUrlWithoutVersion(repoURL string) string
- func StackDefinitionFromRepo(repoUrl string) (string, error)
- func VersionsSince(repoURL string, sinceString string) ([]string, error)
- type Component
- type StackConfig
- type StackDefinition
- type StackRef
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentVersion ¶ added in v0.3.0
func GenerateFromStackYaml ¶
func GenerateFromStackYaml(stackConfig StackConfig) (map[string]string, error)
func IsVersionLocked ¶ added in v0.3.0
func IsVersionLocked(stackConfig StackConfig) (bool, error)
func LatestVersion ¶ added in v0.3.0
func RepoUrlWithoutVersion ¶ added in v0.3.0
func StackDefinitionFromRepo ¶
Types ¶
type Component ¶
type Component struct { Name string `json:"name,omitempty" yaml:"name"` Description string `json:"description,omitempty" yaml:"description"` Category string `json:"category,omitempty" yaml:"category"` Variable string `json:"variable,omitempty" yaml:"variable"` Logo string `json:"logo,omitempty" yaml:"logo"` OnePager string `json:"onePager,omitempty" yaml:"onePager"` Schema string `json:"schema,omitempty" yaml:"schema"` UISchema string `json:"uiSchema,omitempty" yaml:"uiSchema"` }
type StackConfig ¶
type StackConfig struct { Stack StackRef `yaml:"stack" json:"stack"` Config map[string]interface{} `yaml:"config" json:"config"` }
func Configure ¶
func Configure(stackDefinition StackDefinition, existingStackConfig StackConfig) (StackConfig, bool, error)
type StackDefinition ¶
type StackDefinition struct { Name string `json:"name,omitempty" yaml:"name"` Description string `json:"description,omitempty" yaml:"description"` Intro string `json:"intro,omitempty" yaml:"intro"` Categories []interface{} `json:"categories" yaml:"categories"` Components []*Component `json:"components,omitempty" yaml:"components"` ChangLog string `json:"changeLog,omitempty" yaml:"changeLog"` Message string `json:"message,omitempty" yaml:"message"` }
Click to show internal directories.
Click to hide internal directories.