gcemetadata

package
v1.27.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MetadataKeyClusterName = "cluster-name"

MetadataKeyClusterName is the key used for the metadata that specifies the cluster name.

Variables

This section is empty.

Functions

func InstanceMatchesClusterName

func InstanceMatchesClusterName(findClusterName string, instance *compute.Instance) bool

InstanceMatchesClusterName checks if the instances has the specified cluster-name included.

func MetadataMatchesClusterName

func MetadataMatchesClusterName(findClusterName string, metadata *compute.Metadata) bool

MetadataMatchesClusterName checks if the metadata has the specified cluster-name included.

Types

This section is empty.

Jump to

Keyboard shortcuts

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