Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecWithConfig ¶ added in v0.14.1
func ExecWithConfig(c *UploadConfig)
func NewUploadCmd ¶
Types ¶
type ServerConfigPart ¶ added in v0.10.0
type SrcConfigPart ¶ added in v0.10.0
type SrcConfigPart struct { RepoId string `mapstructure:"repoId"` RevHash string `mapstructure:"revHash"` Src string `mapstructure:"src"` Lang []string `mapstructure:"lang"` WithCtx bool `mapstructure:"withCtx"` WithClass bool `mapstructure:"withClass"` IncludeRegex string `mapstructure:"includeRegex"` ExcludeRegex string `mapstructure:"excludeRegex"` }
type UploadConfig ¶ added in v0.14.1
type UploadConfig struct { *SrcConfigPart `mapstructure:"src"` *ServerConfigPart `mapstructure:"server"` }
func DefaultConfig ¶ added in v0.14.1
func DefaultConfig() *UploadConfig
func (*UploadConfig) ToJson ¶ added in v0.14.1
func (config *UploadConfig) ToJson() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.