Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoxHashFileName ¶
func GenerateKLConfigHash ¶
func GenerateKLConfigHash(kf *fileclient.KLFileType) (string, error)
func SyncBoxHash ¶
func SyncBoxHash(apic apiclient.ApiClient, fc fileclient.FileClient, fpath string) error
Types ¶
type PersistedEnv ¶
type PersistedEnv struct { Packages []string `yaml:"packages" json:"packages"` PackageHashes map[string]string `yaml:"packageHashes" json:"packageHashes"` Env map[string]string `yaml:"env" json:"env"` Mounts map[string]string `yaml:"mounts" json:"mounts"` KLConfHash string `yaml:"klConfHash" json:"klConfHash"` }
func BoxHashFile ¶
func BoxHashFile(workspacePath string) (*PersistedEnv, error)
func (*PersistedEnv) ParseJson ¶
func (k *PersistedEnv) ParseJson(b []byte) error
func (*PersistedEnv) ToJson ¶
func (k *PersistedEnv) ToJson() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.