Documentation ¶
Index ¶
Constants ¶
View Source
const TYPE = "file"
Variables ¶
This section is empty.
Functions ¶
func ConfigHandler ¶
func ConfigHandler() flagsets.ConfigOptionTypeSetHandler
Types ¶
type FileProcessSpec ¶
type FileProcessSpec struct { cpi.MediaFileSpec Transformer func(ctx inputs.Context, inputDir string, data []byte) ([]byte, error) }
func (*FileProcessSpec) GetBlob ¶
func (s *FileProcessSpec) GetBlob(ctx inputs.Context, info inputs.InputResourceInfo) (blobaccess.BlobAccess, string, error)
type Spec ¶
type Spec struct {
cpi.MediaFileSpec `json:",inline"`
}
func (*Spec) GetBlob ¶
func (s *Spec) GetBlob(ctx inputs.Context, info inputs.InputResourceInfo) (blobaccess.BlobAccess, string, error)
Click to show internal directories.
Click to hide internal directories.