resource

package
v0.0.0-...-88b6b2c Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GcpApiGatewayDetails

type GcpApiGatewayDetails struct {
	Url string
}

type GcpResourceResolver

type GcpResourceResolver interface {
	// GetServiceAccountEmail for google cloud projects
	GetServiceAccountEmail() (string, error)
	GetProjectID() (string, error)
	GetApiGatewayDetails(ctx context.Context, name string) (*GcpApiGatewayDetails, error)
}

type GcpResourceService

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

func New

func New() (*GcpResourceService, error)

func (*GcpResourceService) GetApiGatewayDetails

func (g *GcpResourceService) GetApiGatewayDetails(ctx context.Context, name string) (*GcpApiGatewayDetails, error)

func (*GcpResourceService) GetProjectID

func (g *GcpResourceService) GetProjectID() (string, error)

func (*GcpResourceService) GetServiceAccountEmail

func (g *GcpResourceService) GetServiceAccountEmail() (string, error)

type GenericIterator

type GenericIterator[T any] interface {
	Next() (T, error)
}

Jump to

Keyboard shortcuts

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