Documentation
¶
Overview ¶
Package transport implements Tend's bounded, versioned deployment stream.
Index ¶
- Constants
- func CopyArtifact(destination io.Writer, reader *bufio.Reader, header Header, maxBytes int64) error
- func Prefix(header Header) ([]byte, error)
- func Push(ctx context.Context, runner SSHRunner, options PushOptions) (json.RawMessage, error)
- func Receive(ctx context.Context, input io.Reader, policy serverpolicy.Policy, ...) (deploy.Report, error)
- type ExecSSHRunner
- type Header
- type PushOptions
- type SSHRunner
Constants ¶
View Source
const ( Protocol = "tend-receive-v1" MaxArtifactBytes = 512 << 20 )
Variables ¶
This section is empty.
Functions ¶
func CopyArtifact ¶
func Push ¶
func Push(ctx context.Context, runner SSHRunner, options PushOptions) (json.RawMessage, error)
Types ¶
type ExecSSHRunner ¶
type ExecSSHRunner struct{}
type Header ¶
type PushOptions ¶
Click to show internal directories.
Click to hide internal directories.