externalresource

package
v1.120.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalResourceReference

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

func New

func New(serviceBaseURL string, gcpObj GCPResource) *ExternalResourceReference

New builds the External Reference for CloudBuildWorkerPool when the object already exists on the GCP server. Ideally, it expects to use the GCP object's selfLink value as the external reference. However, if the resource does not have `selfLink` (like CloudBuildWorkerPool), it builds the URL from the GCP object.

func (*ExternalResourceReference) Get

type GCPResource

type GCPResource interface {
	GetName() string
}

Jump to

Keyboard shortcuts

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