Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GitHub GitHubConfig `mapstructure:"github"`
Pull PullConfig `mapstructure:"pull"`
}
Config 应用程序配置结构
type GitHubConfig ¶
type GitHubConfig struct {
Token string `mapstructure:"token"`
Owner string `mapstructure:"owner"`
Repo string `mapstructure:"repo"`
Workflow string `mapstructure:"workflow"`
}
GitHubConfig GitHub相关配置
type PullConfig ¶
type PullConfig struct {
SourceRegistry string `mapstructure:"source_registry"`
ContainerRuntime string `mapstructure:"container_runtime"`
}
PullConfig Pull命令配置
Click to show internal directories.
Click to hide internal directories.