cloud

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AWSClassic = Platform{
				// contains filtered or unexported fields
	}
	AWSHCP = Platform{
			// contains filtered or unexported fields
	}
	AWSHCPZeroEgress = Platform{
						// contains filtered or unexported fields
	}
	GCPClassic = Platform{
				// contains filtered or unexported fields
	}
)

Functions

This section is empty.

Types

type Platform

type Platform struct {
	// contains filtered or unexported fields
}

Platform type represents specific Platform types and how they map to their respective platforms.

func ByName

func ByName(name string) (Platform, error)

ByName returns a Platform supported by the verifier if the given name matches any known common names for a supported Platform. It returns an empty/invalid platform if the provided name isn't supported

func (Platform) IsAWS added in v1.3.0

func (p Platform) IsAWS() bool

func (Platform) IsValid

func (p Platform) IsValid() bool

IsValid returns true if the Platform is non-empty and supported by the network verifier

func (Platform) String

func (p Platform) String() string

String returns the "preferred name" of the Platform

Jump to

Keyboard shortcuts

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