Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
Auth defines a typical VCS authentication mechanism, such as SSH key or username/password.
type Module ¶
type Module interface { Timestamp(ctx context.Context, version Version) (time.Time, error) Zip(ctx context.Context, version Version) (io.ReadCloser, error) }
Module is a source code snapshot for which one can get the commit timestamp or the actual ZIP with the source code in it.
type VCS ¶
VCS is a version control system client. It can list available versions from the remote, as well as fetch module data such as timestamp or zip snapshot.
func NewCommand ¶ added in v0.1.3
Click to show internal directories.
Click to hide internal directories.