domainmapping

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(project, region string) ([]model.DomainMapping, error)

List returns a list of domain mappings for the given project and region.

Types

type Client

type Client interface {
	ListDomainMappings(ctx context.Context, project, region string) ([]*run.DomainMapping, error)
}

Client defines the interface for the DomainMapping API client.

type DomainMappingsClientWrapper

type DomainMappingsClientWrapper interface {
	List(parent string, pageToken string) (*run.ListDomainMappingsResponse, error)
}

DomainMappingsClientWrapper defines the interface for the DomainMappings API interactions.

type GCPClient

type GCPClient struct{}

GCPClient is the Google Cloud Platform implementation of the Client interface.

func (*GCPClient) ListDomainMappings

func (c *GCPClient) ListDomainMappings(ctx context.Context, project, region string) ([]*run.DomainMapping, error)

ListDomainMappings lists domain mappings for a given project and region.

type GCPDomainMappingsClient

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

GCPDomainMappingsClient is the real implementation using the Google Cloud Run API.

func (*GCPDomainMappingsClient) List

Jump to

Keyboard shortcuts

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