sdhandler

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package sdhandler includes code that connects to Google Cloud Service Directory and performs different operations on its resources, such as creating a namespace, updating a service, deleting and endpoint etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	// GetServices loads services from service directory
	GetServices() map[string]*openapi.Service
}

Handler is in charge of getting data from service directory

func New

func New(ctx context.Context, region, metadataKey, project, credsPath string) (Handler, error)

New returns a handler for gcloud service directory

Jump to

Keyboard shortcuts

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