Documentation
¶
Index ¶
Constants ¶
View Source
const ( SONARQUBE_PASSWORD = "password" SONARQUBE_PATH = "/.containifyci/metadata.txt" )
View Source
const ( // IMAGE = "sonarsource/sonar-scanner-cli" // IMAGE = "sonar:latest" IMAGE = "containifyci/sonar" )
Variables ¶
This section is empty.
Functions ¶
func CacheFolder ¶
func CacheFolder() string
func Matches ¶ added in v0.31.0
Matches implements the Build interface - SonarCloud runs for all builds
func New ¶
func New() build.BuildStepv3
Types ¶
type HealthCheck ¶
type HealthCheck string
type Image ¶
type Image struct {
Image string
Name string
HealthCheck HealthCheck
}
type SonarcloudContainer ¶
func (*SonarcloudContainer) CopyScript ¶
func (c *SonarcloudContainer) CopyScript() error
func (*SonarcloudContainer) Pull ¶
func (c *SonarcloudContainer) Pull() error
func (*SonarcloudContainer) Run ¶
func (c *SonarcloudContainer) Run() error
type SonarqubeContainer ¶
func NewSonarQube ¶
func NewSonarQube(build container.Build) *SonarqubeContainer
func (*SonarqubeContainer) Address ¶
func (c *SonarqubeContainer) Address() *network.Address
func (*SonarqubeContainer) Images ¶
func (c *SonarqubeContainer) Images() []string
func (*SonarqubeContainer) Pull ¶
func (c *SonarqubeContainer) Pull() error
func (*SonarqubeContainer) Setup ¶
func (c *SonarqubeContainer) Setup() (*string, error)
func (*SonarqubeContainer) Start ¶
func (c *SonarqubeContainer) Start() error
func (*SonarqubeContainer) Token ¶
func (c *SonarqubeContainer) Token() *string
Click to show internal directories.
Click to hide internal directories.