Documentation
¶
Index ¶
- func FetchArtifactContents(ctx context.Context, client *gapic.RegistryClient, artifact *rpc.Artifact) error
- func FetchSpecContents(ctx context.Context, client *gapic.RegistryClient, spec *rpc.ApiSpec) error
- func GetAPI(ctx context.Context, client *gapic.RegistryClient, name names.Api, ...) error
- func GetArtifact(ctx context.Context, client *gapic.RegistryClient, name names.Artifact, ...) error
- func GetDeployment(ctx context.Context, client *gapic.RegistryClient, name names.Deployment, ...) error
- func GetDeploymentRevision(ctx context.Context, client *gapic.RegistryClient, ...) error
- func GetProject(ctx context.Context, client *gapic.AdminClient, name names.Project, ...) error
- func GetSpec(ctx context.Context, client *gapic.RegistryClient, name names.Spec, ...) error
- func GetSpecRevision(ctx context.Context, client *gapic.RegistryClient, name names.SpecRevision, ...) error
- func GetVersion(ctx context.Context, client *gapic.RegistryClient, name names.Version, ...) error
- func ListAPIs(ctx context.Context, client *gapic.RegistryClient, name names.Api, ...) error
- func ListArtifacts(ctx context.Context, client *gapic.RegistryClient, name names.Artifact, ...) error
- func ListDeploymentRevisions(ctx context.Context, client *gapic.RegistryClient, ...) error
- func ListDeployments(ctx context.Context, client *gapic.RegistryClient, name names.Deployment, ...) error
- func ListProjects(ctx context.Context, client *gapic.AdminClient, name names.Project, ...) error
- func ListSpecRevisions(ctx context.Context, client *gapic.RegistryClient, name names.SpecRevision, ...) error
- func ListSpecs(ctx context.Context, client *gapic.RegistryClient, name names.Spec, ...) error
- func ListVersions(ctx context.Context, client *gapic.RegistryClient, name names.Version, ...) error
- func Visit(ctx context.Context, v Visitor, options VisitorOptions) error
- type ApiHandler
- type ArtifactHandler
- type DeploymentHandler
- type ProjectHandler
- type SpecHandler
- type VersionHandler
- type Visitor
- type VisitorOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchArtifactContents ¶
func FetchSpecContents ¶
func GetAPI ¶
func GetAPI(ctx context.Context, client *gapic.RegistryClient, name names.Api, handler ApiHandler) error
func GetArtifact ¶
func GetArtifact(ctx context.Context, client *gapic.RegistryClient, name names.Artifact, getContents bool, handler ArtifactHandler) error
func GetDeployment ¶
func GetDeployment(ctx context.Context, client *gapic.RegistryClient, name names.Deployment, handler DeploymentHandler) error
func GetDeploymentRevision ¶
func GetDeploymentRevision(ctx context.Context, client *gapic.RegistryClient, name names.DeploymentRevision, handler DeploymentHandler) error
func GetProject ¶
func GetProject(ctx context.Context, client *gapic.AdminClient, name names.Project, allowUnavailable bool, handler ProjectHandler) error
func GetSpec ¶
func GetSpec(ctx context.Context, client *gapic.RegistryClient, name names.Spec, getContents bool, handler SpecHandler) error
func GetSpecRevision ¶
func GetSpecRevision(ctx context.Context, client *gapic.RegistryClient, name names.SpecRevision, getContents bool, handler SpecHandler) error
func GetVersion ¶
func GetVersion(ctx context.Context, client *gapic.RegistryClient, name names.Version, handler VersionHandler) error
func ListAPIs ¶
func ListAPIs(ctx context.Context, client *gapic.RegistryClient, name names.Api, filter string, handler ApiHandler) error
func ListArtifacts ¶
func ListArtifacts(ctx context.Context, client *gapic.RegistryClient, name names.Artifact, filter string, getContents bool, handler ArtifactHandler) error
func ListDeploymentRevisions ¶
func ListDeploymentRevisions(ctx context.Context, client *gapic.RegistryClient, name names.DeploymentRevision, filter string, handler DeploymentHandler) error
func ListDeployments ¶
func ListDeployments(ctx context.Context, client *gapic.RegistryClient, name names.Deployment, filter string, handler DeploymentHandler) error
func ListProjects ¶
func ListProjects(ctx context.Context, client *gapic.AdminClient, name names.Project, filter string, handler ProjectHandler) error
func ListSpecRevisions ¶
func ListSpecRevisions(ctx context.Context, client *gapic.RegistryClient, name names.SpecRevision, filter string, getContents bool, handler SpecHandler) error
func ListSpecs ¶
func ListSpecs(ctx context.Context, client *gapic.RegistryClient, name names.Spec, filter string, getContents bool, handler SpecHandler) error
func ListVersions ¶
func ListVersions(ctx context.Context, client *gapic.RegistryClient, name names.Version, filter string, handler VersionHandler) error
Types ¶
type ApiHandler ¶
type ArtifactHandler ¶
type DeploymentHandler ¶
type DeploymentHandler func(*rpc.ApiDeployment) error
type ProjectHandler ¶
type SpecHandler ¶
type VersionHandler ¶
type VersionHandler func(*rpc.ApiVersion) error
type Visitor ¶
type Visitor interface { ProjectHandler() ProjectHandler ApiHandler() ApiHandler DeploymentHandler() DeploymentHandler DeploymentRevisionHandler() DeploymentHandler VersionHandler() VersionHandler SpecHandler() SpecHandler SpecRevisionHandler() SpecHandler ArtifactHandler() ArtifactHandler }
type VisitorOptions ¶
type VisitorOptions struct { RegistryClient connection.RegistryClient AdminClient connection.AdminClient Pattern string Filter string }
Click to show internal directories.
Click to hide internal directories.