Documentation ¶
Index ¶
- func NewGCPStorage(logger logger.Logger) bindings.OutputBinding
- type GCPStorage
- func (g *GCPStorage) Close() error
- func (g *GCPStorage) GetComponentMetadata() map[string]string
- 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 ¶
func (g *GCPStorage) Close() error
func (*GCPStorage) GetComponentMetadata ¶
func (g *GCPStorage) GetComponentMetadata() map[string]string
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.