import "istio.io/istio/pkg/test/framework/components/gcemetadata"
Package gcemetadata provides basic utilities around configuring the fake GCE Metadata Server component for integration testing.
type Config struct { // Cluster to be used in a multicluster environment Cluster resource.Cluster }
Config defines the options for creating an fake GCE Metadata Server component.
type Instance interface { // Address is the IP Address of the service provided by the fake GCE // Metadata Server. Address() string }
Instance represents a deployed GCE Metadata Server app instance.
New returns a new instance of stackdriver.
NewOrFail returns a new GCE Metadata Server instance or fails test.
Package gcemetadata imports 9 packages (graph). Updated 2020-08-11. Refresh now. Tools for package owners.