contracts

package
v0.0.0-...-80e6674 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzionApplicationConfig

type AzionApplicationConfig struct {
	InitData    InitConf    `json:"init"`
	BuildData   BuildConf   `json:"build"`
	PublishData PublishConf `json:"publish"`
}

type AzionApplicationOptions

type AzionApplicationOptions struct {
	Test        func(path string) error  `json:"-"`
	Name        string                   `json:"name"`
	Template    string                   `json:"template"`
	Mode        string                   `json:"mode"`
	Env         string                   `json:"env"`
	VersionID   string                   `json:"version-id"`
	ProjectRoot string                   `json:"project-root"`
	Function    AzionJsonDataFunction    `json:"function"`
	Application AzionJsonDataApplication `json:"application"`
	Domain      AzionJsonDataDomain      `json:"domain"`
	RtPurge     AzionJsonDataPurge       `json:"rt-purge"`
	Origin      AzionJsonDataOrigin      `json:"origin"`
}

type AzionApplicationSimple

type AzionApplicationSimple struct {
	Name        string                   `json:"name"`
	Type        string                   `json:"type"`
	Domain      AzionJsonDataDomain      `json:"domain"`
	Application AzionJsonDataApplication `json:"application"`
}

type AzionJsonDataApplication

type AzionJsonDataApplication struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

type AzionJsonDataDomain

type AzionJsonDataDomain struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

type AzionJsonDataFunction

type AzionJsonDataFunction struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
	File string `json:"file"`
	Args string `json:"args"`
}

type AzionJsonDataOrigin

type AzionJsonDataOrigin struct {
	Id      int64    `json:"id"`
	Name    string   `json:"name"`
	Address []string `json:"address"`
}

type AzionJsonDataPurge

type AzionJsonDataPurge struct {
	PurgeOnPublish bool `json:"purge_on_publish"`
}

type BuildConf

type BuildConf struct {
	Cmd        string `json:"cmd"`
	Env        string `json:"env"`
	OutputCtrl string `json:"output-ctrl"`
	Default    string `json:"default"`
}

type CacheConf

type CacheConf struct {
	PurgeOnPublish bool `json:"purge_on_publish"`
}

type DescribeOptions

type DescribeOptions struct {
	OutPath string
	Format  string
}

type FileOps

type FileOps struct {
	Path        string
	MimeType    string
	FileContent *os.File
	VersionID   string
}

type InitConf

type InitConf struct {
	Cmd        string `json:"cmd"`
	Env        string `json:"env"`
	OutputCtrl string `json:"output-ctrl"`
	Default    string `json:"default"`
}

type ListOptions

type ListOptions struct {
	Details  bool
	OrderBy  string
	Sort     string
	Page     int64
	PageSize int64
	Filter   string
}

type PublishConf

type PublishConf struct {
	Cmd        string `json:"pre_cmd"`
	Env        string `json:"env"`
	OutputCtrl string `json:"output-ctrl"`
	Default    string `json:"default"`
}

Jump to

Keyboard shortcuts

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