gce

package
v0.0.0-...-2045cfa Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Env string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(env string) *Client

func (*Client) GetInstancesForCluster

func (c *Client) GetInstancesForCluster(app, region, variant string) (map[string]*compute.Instance, error)

type InstanceMetadata

type InstanceMetadata struct {
	Clusters []apiconfig.ClusterId `json:"clusters"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳