Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalid = errors.New("invalid GitHub App definition")
)
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct {
Name string
// GitHub Appのホームページ
URL string
// GitHub Appのmanifestのdefault_permissions
Permissions map[string]string
Destination Destination
}
func Parse ¶
func Parse(content []byte) (Definition, error)
type Destination ¶
type Destination interface {
// contains filtered or unexported methods
}
type EnvironmentDestination ¶
type PrivateKeyFileDestination ¶
type PrivateKeyFileDestination struct {
// 作業ディレクトリを起点としたファイルのパス
Path string
}
Click to show internal directories.
Click to hide internal directories.