Documentation ¶
Index ¶
- Constants
- type CopyCommand
- type Platform
- type UnixPlatform
- func (platform *UnixPlatform) CirrusDir() string
- func (platform *UnixPlatform) ContainerAgentImage(version string) string
- func (platform *UnixPlatform) ContainerAgentPath() string
- func (platform *UnixPlatform) ContainerAgentVolumeDir() string
- func (platform *UnixPlatform) ContainerCopyCommand(populate bool) *CopyCommand
- func (platform *UnixPlatform) GenericWorkingDir() string
- type WindowsPlatform
- func (platform *WindowsPlatform) CirrusDir() string
- func (platform *WindowsPlatform) ContainerAgentImage(version string) string
- func (platform *WindowsPlatform) ContainerAgentPath() string
- func (platform *WindowsPlatform) ContainerAgentVolumeDir() string
- func (platform *WindowsPlatform) ContainerCopyCommand(populate bool) *CopyCommand
- func (platform *WindowsPlatform) GenericWorkingDir() string
Constants ¶
View Source
const (
// DefaultAgentVersion represents the default version of the https://github.com/cirruslabs/cirrus-ci-agent to use.
DefaultAgentVersion = "1.31.2"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyCommand ¶ added in v0.38.1
type Platform ¶
type Platform interface { ContainerAgentImage(version string) string ContainerCopyCommand(populate bool) *CopyCommand ContainerAgentPath() string ContainerAgentVolumeDir() string CirrusDir() string GenericWorkingDir() string }
func NewWindows ¶
type UnixPlatform ¶
type UnixPlatform struct{}
func (*UnixPlatform) CirrusDir ¶ added in v0.38.1
func (platform *UnixPlatform) CirrusDir() string
func (*UnixPlatform) ContainerAgentImage ¶ added in v0.38.1
func (platform *UnixPlatform) ContainerAgentImage(version string) string
func (*UnixPlatform) ContainerAgentPath ¶ added in v0.38.1
func (platform *UnixPlatform) ContainerAgentPath() string
func (*UnixPlatform) ContainerAgentVolumeDir ¶ added in v0.38.1
func (platform *UnixPlatform) ContainerAgentVolumeDir() string
func (*UnixPlatform) ContainerCopyCommand ¶ added in v0.38.1
func (platform *UnixPlatform) ContainerCopyCommand(populate bool) *CopyCommand
func (*UnixPlatform) GenericWorkingDir ¶ added in v0.38.1
func (platform *UnixPlatform) GenericWorkingDir() string
type WindowsPlatform ¶
type WindowsPlatform struct {
// contains filtered or unexported fields
}
func (*WindowsPlatform) CirrusDir ¶ added in v0.38.1
func (platform *WindowsPlatform) CirrusDir() string
func (*WindowsPlatform) ContainerAgentImage ¶ added in v0.38.1
func (platform *WindowsPlatform) ContainerAgentImage(version string) string
func (*WindowsPlatform) ContainerAgentPath ¶ added in v0.38.1
func (platform *WindowsPlatform) ContainerAgentPath() string
func (*WindowsPlatform) ContainerAgentVolumeDir ¶ added in v0.38.1
func (platform *WindowsPlatform) ContainerAgentVolumeDir() string
func (*WindowsPlatform) ContainerCopyCommand ¶ added in v0.38.1
func (platform *WindowsPlatform) ContainerCopyCommand(populate bool) *CopyCommand
func (*WindowsPlatform) GenericWorkingDir ¶ added in v0.38.1
func (platform *WindowsPlatform) GenericWorkingDir() string
Click to show internal directories.
Click to hide internal directories.