Documentation ¶
Index ¶
- Constants
- func Apply(ctx context.Context, client connection.RegistryClient, path, parent string, ...) error
- func ExportAPI(ctx context.Context, client *gapic.RegistryClient, message *rpc.Api) ([]byte, *models.Header, error)
- func ExportArtifact(ctx context.Context, client *gapic.RegistryClient, message *rpc.Artifact) ([]byte, *models.Header, error)
- func ExportProject(ctx context.Context, client *gapic.RegistryClient, projectName names.Project, ...) error
- func MimeTypeForKind(kind string) string
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
MimeTypeForKind returns the mime type that corresponds to a kind.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.