platform

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	Os   string
	Arch string
}

Platform is terraform supported combination of OS and processor architecture.

func GetSupportedPlatforms

func GetSupportedPlatforms() []Platform

GetSupportedPlatforms retrieves all platforms binaries can be executed of.

func (*Platform) IsMacOS added in v0.20.0

func (platform *Platform) IsMacOS() bool

IsMacOS answers if platform is a macOS platform.

func (*Platform) IsWindows added in v0.20.0

func (platform *Platform) IsWindows() bool

IsWindows answers if platform is a windows platform.

func (Platform) String

func (platform Platform) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL