model

package
v0.0.0-...-5b72053 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Binary          string   `json:"binary"`
	OutputFile      string   `json:"outputFile"`
	OutputDirectory string   `json:"outputDirectory"`
	IntputFile      string   `json:"inputFile"`
	Params          []string `json:"params"`
}

type Config

type Config struct {
	S3Config   S3Config    `json:"s3Config"`
	IgnoreTag  string      `jons:"ignoreTag"`
	Optimizers []Optimizer `json:"optimizers"`
}

type Optimizer

type Optimizer struct {
	ContentType string    `json:"contentType"`
	Exec        []Command `json:"exec"`
}

type S3Config

type S3Config struct {
	ACL                  string `json:"acl"`
	StorageClass         string `json:"storageClass"`
	ServerSideEncryption string `json:"serverSideEncryption"`
	CacheControl         string `json:"cacheControl"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL