Documentation ¶
Index ¶
- type Metadata
- func (cfg *Metadata) ExtractGoVersionFromGoModFile(fs afero.Fs) (*string, error)
- func (cfg *Metadata) ExtractProjectNameFromGoModFile(fs afero.Fs) (*string, error)
- func (cfg *Metadata) SetCICDPlatform(n string)
- func (cfg *Metadata) SetGitBranch(n string)
- func (cfg *Metadata) SetGoVersion(n string, fs afero.Fs) error
- func (cfg *Metadata) SetLocalTasks(n []string)
- func (cfg *Metadata) SetPipelineTasks(n []string)
- func (cfg *Metadata) SetProjectName(n string, fs afero.Fs) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
type Metadata struct { ProjectName string GoVersion string GitBranch string CICDPlatform string PipelineTasks map[string]bool LocalTasks map[string]bool }
func (*Metadata) ExtractGoVersionFromGoModFile ¶
func (*Metadata) ExtractProjectNameFromGoModFile ¶
func (*Metadata) SetCICDPlatform ¶
func (*Metadata) SetGitBranch ¶
func (*Metadata) SetLocalTasks ¶
func (*Metadata) SetPipelineTasks ¶
Click to show internal directories.
Click to hide internal directories.