Documentation ¶
Index ¶
- Constants
- func CacheFolder() string
- func PostRequest(url, authHeader, data string) (*http.Response, error)
- type HealthCheck
- type Image
- type SonarcloudContainer
- func (c *SonarcloudContainer) Analyze(env container.EnvType, token *string, address *network.Address) error
- func (c *SonarcloudContainer) CopyScript() error
- func (c *SonarcloudContainer) Images() []string
- func (c *SonarcloudContainer) IsAsync() bool
- func (c *SonarcloudContainer) Name() string
- func (c *SonarcloudContainer) Pull() error
- func (c *SonarcloudContainer) Run() error
- type SonarqubeContainer
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
Types ¶
type HealthCheck ¶
type HealthCheck string
type Image ¶
type Image struct { Image string Name string HealthCheck HealthCheck }
type SonarcloudContainer ¶
func New ¶
func New() *SonarcloudContainer
func (*SonarcloudContainer) CopyScript ¶
func (c *SonarcloudContainer) CopyScript() error
func (*SonarcloudContainer) Images ¶
func (c *SonarcloudContainer) Images() []string
func (*SonarcloudContainer) IsAsync ¶ added in v0.2.1
func (c *SonarcloudContainer) IsAsync() bool
func (*SonarcloudContainer) Name ¶
func (c *SonarcloudContainer) Name() string
func (*SonarcloudContainer) Pull ¶
func (c *SonarcloudContainer) Pull() error
func (*SonarcloudContainer) Run ¶
func (c *SonarcloudContainer) Run() error
type SonarqubeContainer ¶
func NewSonarQube ¶
func NewSonarQube() *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.