Documentation
¶
Index ¶
- Variables
- func NewFileProvider(id string, source, destination, hash string, params map[string]interface{}) (types.FileProvider, error)
- func RegisterProvider(provider types.FileProvider) error
- type File
- func (f File) Apply(ctx context.Context) (types.Result, error)
- func (f File) Methods() (string, []string)
- func (f File) Parse(id, method string, params map[string]interface{}) (types.RecipeCooker, error)
- func (f File) Properties() (map[string]interface{}, error)
- func (f File) PropertiesForMethod(method string) (map[string]string, error)
- func (f File) Test(ctx context.Context) (types.Result, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownProtocol = errors.New("unknown protocol") ErrUnknownMethod = errors.New("unknown method") ErrDuplicateProtocol = errors.New("duplicate protocol") )
View Source
var ErrFileMethodUndefined = errors.New("file method undefined")
Functions ¶
func NewFileProvider ¶ added in v0.0.5
func RegisterProvider ¶ added in v0.0.5
func RegisterProvider(provider types.FileProvider) error
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (File) Properties ¶
func (File) PropertiesForMethod ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.