cloud

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 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) IsValid

func (plat Platform) IsValid() bool

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

func (Platform) String

func (plat 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