Documentation ¶
Index ¶
- func NewGCPStorage(logger logger.Logger) bindings.OutputBinding
- type GCPStorage
- func (g *GCPStorage) Close() error
- func (g *GCPStorage) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
- func (g *GCPStorage) Init(ctx context.Context, metadata bindings.Metadata) error
- func (g *GCPStorage) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (g *GCPStorage) Operations() []bindings.OperationKind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGCPStorage ¶
func NewGCPStorage(logger logger.Logger) bindings.OutputBinding
NewGCPStorage returns a new GCP storage instance.
Types ¶
type GCPStorage ¶
type GCPStorage struct {
// contains filtered or unexported fields
}
GCPStorage allows saving data to GCP bucket storage.
func (*GCPStorage) Close ¶ added in v1.4.4
func (g *GCPStorage) Close() error
func (*GCPStorage) GetComponentMetadata ¶ added in v1.11.0
func (g *GCPStorage) GetComponentMetadata() (metadataInfo metadata.MetadataMap)
GetComponentMetadata returns the metadata of the component.
func (*GCPStorage) Invoke ¶
func (g *GCPStorage) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*GCPStorage) Operations ¶
func (g *GCPStorage) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.