Versions in this module Expand all Collapse all v1 v1.0.1 Aug 10, 2024 v1.0.0 Aug 10, 2024 Changes in this version + type GitLabOptions struct + TokenPath string + func NewGitLabOptions() *GitLabOptions + func (o *GitLabOptions) AddFlags(fs *flag.FlagSet) + func (o *GitLabOptions) AddFlagsWithoutDefaultGitLabTokenPath(fs *flag.FlagSet) + func (o GitLabOptions) Validate() error + type GiteeOptions struct + CacheRepoOnPV bool + RepoCacheDir string + TokenPath string + func NewGiteeOptions() *GiteeOptions + func NewGithubOptions() *GiteeOptions + func (o *GiteeOptions) AddFlags(fs *flag.FlagSet) + func (o *GiteeOptions) AddFlagsWithoutDefaultGiteeTokenPath(fs *flag.FlagSet) + func (o GiteeOptions) Validate() error + type GithubOptions struct + TokenPath string + func (o *GithubOptions) AddFlags(fs *flag.FlagSet) + func (o *GithubOptions) AddFlagsWithoutDefaultGithubTokenPath(fs *flag.FlagSet) + func (o GithubOptions) Validate() error + type ServiceOptions struct + ConfigFile string + GracePeriod time.Duration + Port int + func (o *ServiceOptions) AddFlags(fs *flag.FlagSet) + func (o *ServiceOptions) Validate() error