Documentation
¶
Index ¶
- func GetCert(statedir string, uri string) (string, error)
- func GetEncodedBundleName(url string, name string) string
- func GetFormat() (string, error)
- func GetLock(statedir string)
- func GetVersion(uri string, statedir string) (string, error)
- func PostProcess(statedir string, contentdir string) error
- func ReleaseLock(statedir string)
- func WriteConfig(outPath string, config TomlConfig, overwrite bool) error
- type BundleConfig
- type TomlConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEncodedBundleName ¶
func GetLock ¶
func GetLock(statedir string)
Take lock for a given statedir, causes program to exit if it would fail to get the lock.
func PostProcess ¶
func ReleaseLock ¶
func ReleaseLock(statedir string)
func WriteConfig ¶
func WriteConfig(outPath string, config TomlConfig, overwrite bool) error
Types ¶
type BundleConfig ¶
type TomlConfig ¶
type TomlConfig struct {
Bundle BundleConfig
}
func GetConfig ¶
func GetConfig(uri string) (TomlConfig, error)
func ReadConfig ¶
func ReadConfig(buffer io.Reader) (TomlConfig, error)
Click to show internal directories.
Click to hide internal directories.