Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorNotDir = errors.New("source is not a directory")
)
View Source
var (
ErrorTypeNotHandled = errors.New("type is not handled")
)
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { Name string `yaml:"name" json:"name"` Packages []*Package `yaml:"packages" json:"packages"` }
Env represents specific wordpress environment
type KindLocalDirectory ¶
type KindLocalDirectory struct {
// contains filtered or unexported fields
}
func (*KindLocalDirectory) Fetch ¶
func (k *KindLocalDirectory) Fetch(source string) error
func (*KindLocalDirectory) Name ¶
func (k *KindLocalDirectory) Name() string
func (*KindLocalDirectory) New ¶
func (k *KindLocalDirectory) New() Kind
type Package ¶
type Package struct { // Type determines way of fetching the files. Type string `yaml:"kind" json:"kind"` // Source is the location of files. Source string `yaml:"source" json:"source"` // Kind determines interface used to fetch files. Kind Kind }
Package represents a plugin/theme or other kind of files that needs to be installed.
Click to show internal directories.
Click to hide internal directories.