 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewLocalStorage(logger logger.Logger) bindings.OutputBinding
- type LocalStorage
- func (ls *LocalStorage) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
- func (ls *LocalStorage) Init(_ context.Context, metadata bindings.Metadata) error
- func (ls *LocalStorage) Invoke(_ context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (ls *LocalStorage) Operations() []bindings.OperationKind
 
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocalStorage ¶
func NewLocalStorage(logger logger.Logger) bindings.OutputBinding
NewLocalStorage returns a new LocalStorage instance.
Types ¶
type LocalStorage ¶
type LocalStorage struct {
	// contains filtered or unexported fields
}
    LocalStorage allows saving files to disk.
func (*LocalStorage) GetComponentMetadata ¶ added in v1.11.0
func (ls *LocalStorage) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
GetComponentMetadata returns the metadata of the component.
func (*LocalStorage) Invoke ¶
func (ls *LocalStorage) Invoke(_ context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
Invoke is called for output bindings.
func (*LocalStorage) Operations ¶
func (ls *LocalStorage) Operations() []bindings.OperationKind
Operations enumerates supported binding operations.
 Click to show internal directories. 
   Click to hide internal directories.