Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct {
SSHCredential ssh.Credential
Token string
}
type Store ¶
type Store interface {
// ReadFile is similar to io/ioutil.ReadFile but it returns error
// matched by IsNotFound if the file does not exist.
ReadFile(path string) ([]byte, error)
// ReadDir is similar to io/ioutil.ReadDir but it returns error matched
// by IsNotFound if the directory does not exist.
ReadDir(dirname string) ([]os.FileInfo, error)
}
Click to show internal directories.
Click to hide internal directories.