gcpverifier

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcpVerifier

type GcpVerifier struct {
	GcpClient gcp.Client
	Logger    ocmlog.Logger
	Output    output.Output
}

func NewGcpVerifier

func NewGcpVerifier(creds *google.Credentials, debug bool) (*GcpVerifier, error)

func (*GcpVerifier) ValidateEgress

func (g *GcpVerifier) ValidateEgress(vei verifier.ValidateEgressInput) *output.Output

validateEgress performs validation process for egress Basic workflow is: - prepare for ComputeService instance creation - create instance and wait till it gets ready, wait for gcpUserData script execution - find unreachable endpoints & parse output, then terminate instance - return `g.output` which stores the execution results

func (*GcpVerifier) VerifyDns

func (g *GcpVerifier) VerifyDns(vdi verifier.VerifyDnsInput) *output.Output

TODO():

Jump to

Keyboard shortcuts

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