Documentation ¶
Index ¶
- Constants
- type CopyCommand
- type Platform
- type UnixPlatform
- func (platform *UnixPlatform) CirrusDir() string
- func (platform *UnixPlatform) ContainerAgentImage(version string) string
- func (platform *UnixPlatform) ContainerAgentVolumeDir() string
- func (platform *UnixPlatform) ContainerCLIPath() 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) ContainerAgentVolumeDir() string
- func (platform *WindowsPlatform) ContainerCLIPath() 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 = "0.119.0"
)
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 ContainerCLIPath() 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) ContainerAgentVolumeDir ¶ added in v0.38.1
func (platform *UnixPlatform) ContainerAgentVolumeDir() string
func (*UnixPlatform) ContainerCLIPath ¶ added in v0.118.0
func (platform *UnixPlatform) ContainerCLIPath() 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) ContainerAgentVolumeDir ¶ added in v0.38.1
func (platform *WindowsPlatform) ContainerAgentVolumeDir() string
func (*WindowsPlatform) ContainerCLIPath ¶ added in v0.118.0
func (platform *WindowsPlatform) ContainerCLIPath() 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.