src/server/pkg/deploy/assets/assets.go
func WriteLocalAssets(encoder Encoder, opts *AssetOpts, hostPath string) error {
	if err := WriteAssets(encoder, opts, localBackend, localBackend, 1 /* = volume size (gb) */, hostPath); err != nil {
		return err
	}
	if secretErr := WriteSecret(encoder, LocalSecret(), opts); secretErr != nil {
		return secretErr
	}
	return nil
}
func WriteLocalAssets(encoder Encoder, opts *AssetOpts, hostPath string) error {
	if err := WriteAssets(encoder, opts, localBackend, localBackend, 1 /* = volume size (gb) */, hostPath); err != nil {
		return err
	}
	if secretErr := WriteSecret(encoder, LocalSecret(), opts); secretErr != nil {
		return secretErr
	}
	return nil
}
func WriteLocalAssets ( encoder Encoder , opts * AssetOpts , hostPath string ) error { if err := WriteAssets ( encoder , opts , localBackend , localBackend , 1 /* = volume size (gb) */ , hostPath ) ; err != nil { return err } if secretErr := WriteSecret ( encoder , LocalSecret ( ) , opts ) ; secretErr != nil { return secretErr } return nil }
// WriteLocalAssets writes assets to a local backend.
WriteLocalAssets writes assets to a local backend .