Documentation ¶
Index ¶
- Variables
- func InitConfig(cmd *cobra.Command) error
- func SetFlags(cmd *cobra.Command)
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetAllowInitialDevelopmentVersions() bool
- func (x *Config) GetAllowMaintainedVersionOnDefaultBranch() bool
- func (x *Config) GetAllowNoChanges() bool
- func (x *Config) GetChangelog() string
- func (x *Config) GetChangelogGeneratorOpts() map[string]string
- func (x *Config) GetChangelogGeneratorPlugin() string
- func (x *Config) GetCiConditionOpts() map[string]string
- func (x *Config) GetCiConditionPlugin() string
- func (x *Config) GetCommitAnalyzerOpts() map[string]string
- func (x *Config) GetCommitAnalyzerPlugin() string
- func (x *Config) GetDownloadPlugins() bool
- func (x *Config) GetDry() bool
- func (x *Config) GetFilesUpdaterOpts() map[string]string
- func (x *Config) GetFilesUpdaterPlugins() []string
- func (x *Config) GetForceBumpPatchVersion() bool
- func (x *Config) GetGhr() bool
- func (x *Config) GetHooksOpts() map[string]string
- func (x *Config) GetHooksPlugins() []string
- func (x *Config) GetMaintainedVersion() string
- func (x *Config) GetMatch() string
- func (x *Config) GetNoCi() bool
- func (x *Config) GetPluginResolver() string
- func (x *Config) GetPluginResolverDisableBatchPrefetch() bool
- func (x *Config) GetPluginResolverEndpoint() string
- func (x *Config) GetPrependChangelog() bool
- func (x *Config) GetPrerelease() bool
- func (x *Config) GetProviderOpts() map[string]string
- func (x *Config) GetProviderPlugin() string
- func (x *Config) GetShowProgress() bool
- func (x *Config) GetToken() string
- func (x *Config) GetUpdateFiles() []string
- func (x *Config) GetVersionFile() bool
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_config_config_proto protoreflect.FileDescriptor
Functions ¶
func InitConfig ¶ added in v2.3.0
Types ¶
type Config ¶
type Config struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ProviderPlugin string `protobuf:"bytes,2,opt,name=provider_plugin,json=providerPlugin,proto3" json:"provider_plugin,omitempty"` ProviderOpts map[string]string `` /* 185-byte string literal not displayed */ CommitAnalyzerPlugin string `protobuf:"bytes,4,opt,name=commit_analyzer_plugin,json=commitAnalyzerPlugin,proto3" json:"commit_analyzer_plugin,omitempty"` CommitAnalyzerOpts map[string]string `` /* 205-byte string literal not displayed */ CiConditionPlugin string `protobuf:"bytes,6,opt,name=ci_condition_plugin,json=ciConditionPlugin,proto3" json:"ci_condition_plugin,omitempty"` CiConditionOpts map[string]string `` /* 196-byte string literal not displayed */ ChangelogGeneratorPlugin string `` /* 135-byte string literal not displayed */ ChangelogGeneratorOpts map[string]string `` /* 217-byte string literal not displayed */ Changelog string `protobuf:"bytes,10,opt,name=changelog,proto3" json:"changelog,omitempty"` FilesUpdaterPlugins []string `protobuf:"bytes,11,rep,name=files_updater_plugins,json=filesUpdaterPlugins,proto3" json:"files_updater_plugins,omitempty"` FilesUpdaterOpts map[string]string `` /* 200-byte string literal not displayed */ HooksPlugins []string `protobuf:"bytes,13,rep,name=hooks_plugins,json=hooksPlugins,proto3" json:"hooks_plugins,omitempty"` HooksOpts map[string]string `` /* 177-byte string literal not displayed */ UpdateFiles []string `protobuf:"bytes,15,rep,name=update_files,json=updateFiles,proto3" json:"update_files,omitempty"` Match string `protobuf:"bytes,16,opt,name=match,proto3" json:"match,omitempty"` VersionFile bool `protobuf:"varint,17,opt,name=version_file,json=versionFile,proto3" json:"version_file,omitempty"` Prerelease bool `protobuf:"varint,18,opt,name=prerelease,proto3" json:"prerelease,omitempty"` Ghr bool `protobuf:"varint,19,opt,name=ghr,proto3" json:"ghr,omitempty"` NoCi bool `protobuf:"varint,20,opt,name=no_ci,json=noCi,proto3" json:"no_ci,omitempty"` Dry bool `protobuf:"varint,21,opt,name=dry,proto3" json:"dry,omitempty"` AllowInitialDevelopmentVersions bool `` /* 160-byte string literal not displayed */ AllowNoChanges bool `protobuf:"varint,23,opt,name=allow_no_changes,json=allowNoChanges,proto3" json:"allow_no_changes,omitempty"` ForceBumpPatchVersion bool `` /* 130-byte string literal not displayed */ MaintainedVersion string `protobuf:"bytes,25,opt,name=maintained_version,json=maintainedVersion,proto3" json:"maintained_version,omitempty"` PrependChangelog bool `protobuf:"varint,26,opt,name=prepend_changelog,json=prependChangelog,proto3" json:"prepend_changelog,omitempty"` DownloadPlugins bool `protobuf:"varint,27,opt,name=download_plugins,json=downloadPlugins,proto3" json:"download_plugins,omitempty"` ShowProgress bool `protobuf:"varint,28,opt,name=show_progress,json=showProgress,proto3" json:"show_progress,omitempty"` AllowMaintainedVersionOnDefaultBranch bool `` /* 182-byte string literal not displayed */ PluginResolver string `protobuf:"bytes,30,opt,name=plugin_resolver,json=pluginResolver,proto3" json:"plugin_resolver,omitempty"` PluginResolverEndpoint string `` /* 130-byte string literal not displayed */ PluginResolverDisableBatchPrefetch bool `` /* 171-byte string literal not displayed */ // contains filtered or unexported fields }
Config is a complete set of app configuration
func (*Config) Descriptor
deprecated
added in
v2.29.0
func (*Config) GetAllowInitialDevelopmentVersions ¶ added in v2.29.0
func (*Config) GetAllowMaintainedVersionOnDefaultBranch ¶ added in v2.29.0
func (*Config) GetAllowNoChanges ¶ added in v2.29.0
func (*Config) GetChangelog ¶ added in v2.29.0
func (*Config) GetChangelogGeneratorOpts ¶ added in v2.29.0
func (*Config) GetChangelogGeneratorPlugin ¶ added in v2.29.0
func (*Config) GetCiConditionOpts ¶ added in v2.29.0
func (*Config) GetCiConditionPlugin ¶ added in v2.29.0
func (*Config) GetCommitAnalyzerOpts ¶ added in v2.29.0
func (*Config) GetCommitAnalyzerPlugin ¶ added in v2.29.0
func (*Config) GetDownloadPlugins ¶ added in v2.29.0
func (*Config) GetFilesUpdaterOpts ¶ added in v2.29.0
func (*Config) GetFilesUpdaterPlugins ¶ added in v2.29.0
func (*Config) GetForceBumpPatchVersion ¶ added in v2.29.0
func (*Config) GetHooksOpts ¶ added in v2.29.0
func (*Config) GetHooksPlugins ¶ added in v2.29.0
func (*Config) GetMaintainedVersion ¶ added in v2.29.0
func (*Config) GetPluginResolver ¶ added in v2.29.0
func (*Config) GetPluginResolverDisableBatchPrefetch ¶ added in v2.29.0
func (*Config) GetPluginResolverEndpoint ¶ added in v2.29.0
func (*Config) GetPrependChangelog ¶ added in v2.29.0
func (*Config) GetPrerelease ¶ added in v2.29.0
func (*Config) GetProviderOpts ¶ added in v2.29.0
func (*Config) GetProviderPlugin ¶ added in v2.29.0
func (*Config) GetShowProgress ¶ added in v2.29.0
func (*Config) GetUpdateFiles ¶ added in v2.29.0
func (*Config) GetVersionFile ¶ added in v2.29.0
func (*Config) ProtoMessage ¶ added in v2.29.0
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v2.29.0
func (x *Config) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.