sftp

package
v1.15.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSftp

func NewSftp(logger logger.Logger) bindings.OutputBinding

Types

type Sftp

type Sftp struct {
	// contains filtered or unexported fields
}

Sftp is a binding for file operations on sftp server.

func (*Sftp) Close

func (sftp *Sftp) Close() error

func (*Sftp) GetComponentMetadata

func (sftp *Sftp) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

GetComponentMetadata returns the metadata of the component.

func (*Sftp) Init

func (sftp *Sftp) Init(_ context.Context, metadata bindings.Metadata) error

func (*Sftp) Invoke

func (sftp *Sftp) Invoke(ctx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)

func (*Sftp) Operations

func (sftp *Sftp) Operations() []bindings.OperationKind

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL