cloudrun

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parent

func Parent(project string) string

Parent is a function that returns the parent value for the Cloud Run services list method The parent value is a combination of `namespaces/` and the Google Cloud Platform Project ID

Types

type Client

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

Client is a type that represents a Google Cloud Run API service

func NewClient

func NewClient(log logr.Logger) (*Client, error)

NewClient is a function that returns a new Client

func (*Client) List

func (c *Client) List(projectIDs []string) (map[string]*generic.Service, error)

List is a method that queries a list of Google Cloud Platform projects for Cloud Run services It returns a map comprising service ID and generic.Service The ID is a hash of the service's URL|Endpoint

Jump to

Keyboard shortcuts

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