Documentation ¶
Index ¶
- Variables
- type Proxy
- func (p *Proxy) Close()
- func (p *Proxy) CreateApi(ctx context.Context, req *rpc.CreateApiRequest) (*rpc.Api, error)
- func (p *Proxy) CreateApiDeployment(ctx context.Context, req *rpc.CreateApiDeploymentRequest) (*rpc.ApiDeployment, error)
- func (p *Proxy) CreateApiSpec(ctx context.Context, req *rpc.CreateApiSpecRequest) (*rpc.ApiSpec, error)
- func (p *Proxy) CreateApiVersion(ctx context.Context, req *rpc.CreateApiVersionRequest) (*rpc.ApiVersion, error)
- func (p *Proxy) CreateArtifact(ctx context.Context, req *rpc.CreateArtifactRequest) (*rpc.Artifact, error)
- func (p *Proxy) CreateProject(ctx context.Context, req *rpc.CreateProjectRequest) (*rpc.Project, error)
- func (p *Proxy) DeleteApi(ctx context.Context, req *rpc.DeleteApiRequest) (*emptypb.Empty, error)
- func (p *Proxy) DeleteApiDeployment(ctx context.Context, req *rpc.DeleteApiDeploymentRequest) (*emptypb.Empty, error)
- func (p *Proxy) DeleteApiDeploymentRevision(ctx context.Context, req *rpc.DeleteApiDeploymentRevisionRequest) (*rpc.ApiDeployment, error)
- func (p *Proxy) DeleteApiSpec(ctx context.Context, req *rpc.DeleteApiSpecRequest) (*emptypb.Empty, error)
- func (p *Proxy) DeleteApiSpecRevision(ctx context.Context, req *rpc.DeleteApiSpecRevisionRequest) (*rpc.ApiSpec, error)
- func (p *Proxy) DeleteApiVersion(ctx context.Context, req *rpc.DeleteApiVersionRequest) (*emptypb.Empty, error)
- func (p *Proxy) DeleteArtifact(ctx context.Context, req *rpc.DeleteArtifactRequest) (*emptypb.Empty, error)
- func (p *Proxy) DeleteProject(ctx context.Context, req *rpc.DeleteProjectRequest) (*emptypb.Empty, error)
- func (p *Proxy) GetApi(ctx context.Context, req *rpc.GetApiRequest) (*rpc.Api, error)
- func (p *Proxy) GetApiDeployment(ctx context.Context, req *rpc.GetApiDeploymentRequest) (*rpc.ApiDeployment, error)
- func (p *Proxy) GetApiSpec(ctx context.Context, req *rpc.GetApiSpecRequest) (*rpc.ApiSpec, error)
- func (p *Proxy) GetApiSpecContents(ctx context.Context, req *rpc.GetApiSpecContentsRequest) (*httpbody.HttpBody, error)
- func (p *Proxy) GetApiVersion(ctx context.Context, req *rpc.GetApiVersionRequest) (*rpc.ApiVersion, error)
- func (p *Proxy) GetArtifact(ctx context.Context, req *rpc.GetArtifactRequest) (*rpc.Artifact, error)
- func (p *Proxy) GetArtifactContents(ctx context.Context, req *rpc.GetArtifactContentsRequest) (*httpbody.HttpBody, error)
- func (p *Proxy) GetProject(ctx context.Context, req *rpc.GetProjectRequest) (*rpc.Project, error)
- func (p *Proxy) GetStatus(ctx context.Context, req *emptypb.Empty) (*rpc.Status, error)
- func (p *Proxy) GetStorage(ctx context.Context, req *emptypb.Empty) (*rpc.Storage, error)
- func (p *Proxy) ListApiDeploymentRevisions(ctx context.Context, req *rpc.ListApiDeploymentRevisionsRequest) (*rpc.ListApiDeploymentRevisionsResponse, error)
- func (p *Proxy) ListApiDeployments(ctx context.Context, req *rpc.ListApiDeploymentsRequest) (*rpc.ListApiDeploymentsResponse, error)
- func (p *Proxy) ListApiSpecRevisions(ctx context.Context, req *rpc.ListApiSpecRevisionsRequest) (*rpc.ListApiSpecRevisionsResponse, error)
- func (p *Proxy) ListApiSpecs(ctx context.Context, req *rpc.ListApiSpecsRequest) (*rpc.ListApiSpecsResponse, error)
- func (p *Proxy) ListApiVersions(ctx context.Context, req *rpc.ListApiVersionsRequest) (*rpc.ListApiVersionsResponse, error)
- func (p *Proxy) ListApis(ctx context.Context, req *rpc.ListApisRequest) (*rpc.ListApisResponse, error)
- func (p *Proxy) ListArtifacts(ctx context.Context, req *rpc.ListArtifactsRequest) (*rpc.ListArtifactsResponse, error)
- func (p *Proxy) ListProjects(ctx context.Context, req *rpc.ListProjectsRequest) (*rpc.ListProjectsResponse, error)
- func (p *Proxy) MigrateDatabase(ctx context.Context, req *rpc.MigrateDatabaseRequest) (*longrunning.Operation, error)
- func (p *Proxy) Open(ctx context.Context) error
- func (p *Proxy) ReplaceArtifact(ctx context.Context, req *rpc.ReplaceArtifactRequest) (*rpc.Artifact, error)
- func (p *Proxy) RollbackApiDeployment(ctx context.Context, req *rpc.RollbackApiDeploymentRequest) (*rpc.ApiDeployment, error)
- func (p *Proxy) RollbackApiSpec(ctx context.Context, req *rpc.RollbackApiSpecRequest) (*rpc.ApiSpec, error)
- func (p *Proxy) TagApiDeploymentRevision(ctx context.Context, req *rpc.TagApiDeploymentRevisionRequest) (*rpc.ApiDeployment, error)
- func (p *Proxy) TagApiSpecRevision(ctx context.Context, req *rpc.TagApiSpecRevisionRequest) (*rpc.ApiSpec, error)
- func (p *Proxy) UpdateApi(ctx context.Context, req *rpc.UpdateApiRequest) (*rpc.Api, error)
- func (p *Proxy) UpdateApiDeployment(ctx context.Context, req *rpc.UpdateApiDeploymentRequest) (*rpc.ApiDeployment, error)
- func (p *Proxy) UpdateApiSpec(ctx context.Context, req *rpc.UpdateApiSpecRequest) (*rpc.ApiSpec, error)
- func (p *Proxy) UpdateApiVersion(ctx context.Context, req *rpc.UpdateApiVersionRequest) (*rpc.ApiVersion, error)
- func (p *Proxy) UpdateProject(ctx context.Context, req *rpc.UpdateProjectRequest) (*rpc.Project, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct { rpc.UnimplementedRegistryServer rpc.UnimplementedAdminServer // contains filtered or unexported fields }
Proxy implements a local proxy for a remote Registry server. This allows tests written to the generated "RegistryServer" and "AdminServer" interfaces to be run against remote servers.
func NewProxyForHostedService ¶
NewProxyForHostedService creates a proxy with the default configuration for a connection to a remote server with a single project and no Admin service.
func (*Proxy) CreateApiDeployment ¶
func (p *Proxy) CreateApiDeployment(ctx context.Context, req *rpc.CreateApiDeploymentRequest) (*rpc.ApiDeployment, error)
func (*Proxy) CreateApiSpec ¶
func (*Proxy) CreateApiVersion ¶
func (p *Proxy) CreateApiVersion(ctx context.Context, req *rpc.CreateApiVersionRequest) (*rpc.ApiVersion, error)
func (*Proxy) CreateArtifact ¶
func (*Proxy) CreateProject ¶
func (*Proxy) DeleteApiDeployment ¶
func (*Proxy) DeleteApiDeploymentRevision ¶
func (p *Proxy) DeleteApiDeploymentRevision(ctx context.Context, req *rpc.DeleteApiDeploymentRevisionRequest) (*rpc.ApiDeployment, error)
func (*Proxy) DeleteApiSpec ¶
func (*Proxy) DeleteApiSpecRevision ¶
func (*Proxy) DeleteApiVersion ¶
func (*Proxy) DeleteArtifact ¶
func (*Proxy) DeleteProject ¶
func (*Proxy) GetApiDeployment ¶
func (p *Proxy) GetApiDeployment(ctx context.Context, req *rpc.GetApiDeploymentRequest) (*rpc.ApiDeployment, error)
func (*Proxy) GetApiSpec ¶
func (*Proxy) GetApiSpecContents ¶
func (*Proxy) GetApiVersion ¶
func (p *Proxy) GetApiVersion(ctx context.Context, req *rpc.GetApiVersionRequest) (*rpc.ApiVersion, error)
func (*Proxy) GetArtifact ¶
func (*Proxy) GetArtifactContents ¶
func (*Proxy) GetProject ¶
func (*Proxy) GetStorage ¶
func (*Proxy) ListApiDeploymentRevisions ¶
func (p *Proxy) ListApiDeploymentRevisions(ctx context.Context, req *rpc.ListApiDeploymentRevisionsRequest) (*rpc.ListApiDeploymentRevisionsResponse, error)
func (*Proxy) ListApiDeployments ¶
func (p *Proxy) ListApiDeployments(ctx context.Context, req *rpc.ListApiDeploymentsRequest) (*rpc.ListApiDeploymentsResponse, error)
func (*Proxy) ListApiSpecRevisions ¶
func (p *Proxy) ListApiSpecRevisions(ctx context.Context, req *rpc.ListApiSpecRevisionsRequest) (*rpc.ListApiSpecRevisionsResponse, error)
func (*Proxy) ListApiSpecs ¶
func (p *Proxy) ListApiSpecs(ctx context.Context, req *rpc.ListApiSpecsRequest) (*rpc.ListApiSpecsResponse, error)
func (*Proxy) ListApiVersions ¶
func (p *Proxy) ListApiVersions(ctx context.Context, req *rpc.ListApiVersionsRequest) (*rpc.ListApiVersionsResponse, error)
func (*Proxy) ListApis ¶
func (p *Proxy) ListApis(ctx context.Context, req *rpc.ListApisRequest) (*rpc.ListApisResponse, error)
func (*Proxy) ListArtifacts ¶
func (p *Proxy) ListArtifacts(ctx context.Context, req *rpc.ListArtifactsRequest) (*rpc.ListArtifactsResponse, error)
func (*Proxy) ListProjects ¶
func (p *Proxy) ListProjects(ctx context.Context, req *rpc.ListProjectsRequest) (*rpc.ListProjectsResponse, error)
func (*Proxy) MigrateDatabase ¶
func (p *Proxy) MigrateDatabase(ctx context.Context, req *rpc.MigrateDatabaseRequest) (*longrunning.Operation, error)
func (*Proxy) ReplaceArtifact ¶
func (*Proxy) RollbackApiDeployment ¶
func (p *Proxy) RollbackApiDeployment(ctx context.Context, req *rpc.RollbackApiDeploymentRequest) (*rpc.ApiDeployment, error)
func (*Proxy) RollbackApiSpec ¶
func (*Proxy) TagApiDeploymentRevision ¶
func (p *Proxy) TagApiDeploymentRevision(ctx context.Context, req *rpc.TagApiDeploymentRevisionRequest) (*rpc.ApiDeployment, error)
func (*Proxy) TagApiSpecRevision ¶
func (*Proxy) UpdateApiDeployment ¶
func (p *Proxy) UpdateApiDeployment(ctx context.Context, req *rpc.UpdateApiDeploymentRequest) (*rpc.ApiDeployment, error)
func (*Proxy) UpdateApiSpec ¶
func (*Proxy) UpdateApiVersion ¶
func (p *Proxy) UpdateApiVersion(ctx context.Context, req *rpc.UpdateApiVersionRequest) (*rpc.ApiVersion, error)
func (*Proxy) UpdateProject ¶
Click to show internal directories.
Click to hide internal directories.