patch

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 23 Imported by: 5

Documentation

Index

Constants

View Source
const RegistryV1 = "apigeeregistry/v1"

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, client connection.RegistryClient, path, parent string, recursive bool, taskQueue chan<- core.Task) error

func ExportAPI

func ExportAPI(ctx context.Context, client *gapic.RegistryClient, message *rpc.Api) ([]byte, *models.Header, error)

ExportAPI allows an API to be individually exported as a YAML file.

func ExportArtifact

func ExportArtifact(ctx context.Context, client *gapic.RegistryClient, message *rpc.Artifact) ([]byte, *models.Header, error)

ExportArtifact allows an artifact to be individually exported as a YAML file.

func ExportProject

func ExportProject(ctx context.Context, client *gapic.RegistryClient, projectName names.Project, taskQueue chan<- core.Task) error

ExportProject writes a project into a directory of YAML files.

func MimeTypeForKind added in v0.5.1

func MimeTypeForKind(kind string) string

MimeTypeForKind returns the mime type that corresponds to a kind.

Types

This section is empty.

Jump to

Keyboard shortcuts

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