Documentation ¶
Overview ¶
Package registry is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
- func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error
- func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
- type CreateRegistryRepoRequest
- func (*CreateRegistryRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegistryRepoRequest) GetConnectionId() string
- func (x *CreateRegistryRepoRequest) GetRepo() *v1.RegistryRepo
- func (*CreateRegistryRepoRequest) ProtoMessage()
- func (x *CreateRegistryRepoRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRegistryRepoRequest) Reset()
- func (x *CreateRegistryRepoRequest) String() string
- type CreateRegistryRepoResponse
- type DeleteRegistryRepoRequest
- func (*DeleteRegistryRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRegistryRepoRequest) GetConnectionId() string
- func (x *DeleteRegistryRepoRequest) GetRepo() *v1.RegistryRepo
- func (x *DeleteRegistryRepoRequest) GetTag() string
- func (*DeleteRegistryRepoRequest) ProtoMessage()
- func (x *DeleteRegistryRepoRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRegistryRepoRequest) Reset()
- func (x *DeleteRegistryRepoRequest) String() string
- type DeleteRegistryRepoResponse
- type GetRegistryRepoTagRequest
- func (*GetRegistryRepoTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegistryRepoTagRequest) GetConnectionId() string
- func (x *GetRegistryRepoTagRequest) GetRepo() *v1.RegistryRepo
- func (x *GetRegistryRepoTagRequest) GetTag() string
- func (*GetRegistryRepoTagRequest) ProtoMessage()
- func (x *GetRegistryRepoTagRequest) ProtoReflect() protoreflect.Message
- func (x *GetRegistryRepoTagRequest) Reset()
- func (x *GetRegistryRepoTagRequest) String() string
- type GetRegistryRepoTagResponse
- func (*GetRegistryRepoTagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRegistryRepoTagResponse) GetTag() *v1.RegistryRepoTag
- func (*GetRegistryRepoTagResponse) ProtoMessage()
- func (x *GetRegistryRepoTagResponse) ProtoReflect() protoreflect.Message
- func (x *GetRegistryRepoTagResponse) Reset()
- func (x *GetRegistryRepoTagResponse) String() string
- type ListOrgsRequest
- func (*ListOrgsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgsRequest) GetConnectionId() string
- func (x *ListOrgsRequest) GetPage() *v1.PaginationRequest
- func (*ListOrgsRequest) ProtoMessage()
- func (x *ListOrgsRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrgsRequest) Reset()
- func (x *ListOrgsRequest) String() string
- type ListOrgsResponse
- func (*ListOrgsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgsResponse) GetOrgs() []string
- func (x *ListOrgsResponse) GetPage() *v1.PaginationResponse
- func (*ListOrgsResponse) ProtoMessage()
- func (x *ListOrgsResponse) ProtoReflect() protoreflect.Message
- func (x *ListOrgsResponse) Reset()
- func (x *ListOrgsResponse) String() string
- type ListRegistryRepoDigestsRequest
- func (*ListRegistryRepoDigestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryRepoDigestsRequest) GetConnectionId() string
- func (x *ListRegistryRepoDigestsRequest) GetDeep() bool
- func (x *ListRegistryRepoDigestsRequest) GetPage() *v1.PaginationRequest
- func (x *ListRegistryRepoDigestsRequest) GetRepo() *v1.RegistryRepo
- func (*ListRegistryRepoDigestsRequest) ProtoMessage()
- func (x *ListRegistryRepoDigestsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistryRepoDigestsRequest) Reset()
- func (x *ListRegistryRepoDigestsRequest) String() string
- type ListRegistryRepoDigestsResponse
- func (*ListRegistryRepoDigestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryRepoDigestsResponse) GetDigests() []*v1.RegistryRepoDigest
- func (x *ListRegistryRepoDigestsResponse) GetPage() *v1.PaginationResponse
- func (*ListRegistryRepoDigestsResponse) ProtoMessage()
- func (x *ListRegistryRepoDigestsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistryRepoDigestsResponse) Reset()
- func (x *ListRegistryRepoDigestsResponse) String() string
- type ListRegistryRepoTagsRequest
- func (*ListRegistryRepoTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryRepoTagsRequest) GetConnectionId() string
- func (x *ListRegistryRepoTagsRequest) GetDeep() bool
- func (x *ListRegistryRepoTagsRequest) GetPage() *v1.PaginationRequest
- func (x *ListRegistryRepoTagsRequest) GetRepo() *v1.RegistryRepo
- func (*ListRegistryRepoTagsRequest) ProtoMessage()
- func (x *ListRegistryRepoTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistryRepoTagsRequest) Reset()
- func (x *ListRegistryRepoTagsRequest) String() string
- type ListRegistryRepoTagsResponse
- func (*ListRegistryRepoTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryRepoTagsResponse) GetPage() *v1.PaginationResponse
- func (x *ListRegistryRepoTagsResponse) GetTags() []*v1.RegistryRepoTag
- func (*ListRegistryRepoTagsResponse) ProtoMessage()
- func (x *ListRegistryRepoTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistryRepoTagsResponse) Reset()
- func (x *ListRegistryRepoTagsResponse) String() string
- type ListRegistryReposRequest
- func (*ListRegistryReposRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryReposRequest) GetConnectionId() string
- func (x *ListRegistryReposRequest) GetOrg() string
- func (x *ListRegistryReposRequest) GetPage() *v1.PaginationRequest
- func (*ListRegistryReposRequest) ProtoMessage()
- func (x *ListRegistryReposRequest) ProtoReflect() protoreflect.Message
- func (x *ListRegistryReposRequest) Reset()
- func (x *ListRegistryReposRequest) String() string
- type ListRegistryReposResponse
- func (*ListRegistryReposResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegistryReposResponse) GetPage() *v1.PaginationResponse
- func (x *ListRegistryReposResponse) GetRegistryRepos() []*v1.RegistryRepo
- func (*ListRegistryReposResponse) ProtoMessage()
- func (x *ListRegistryReposResponse) ProtoReflect() protoreflect.Message
- func (x *ListRegistryReposResponse) Reset()
- func (x *ListRegistryReposResponse) String() string
- type RegistryClient
- type RegistryServer
- type UnimplementedRegistryServer
- func (UnimplementedRegistryServer) CreateRegistryRepo(context.Context, *CreateRegistryRepoRequest) (*CreateRegistryRepoResponse, error)
- func (UnimplementedRegistryServer) DeleteRegistryRepo(context.Context, *DeleteRegistryRepoRequest) (*DeleteRegistryRepoResponse, error)
- func (UnimplementedRegistryServer) GetRegistryRepoTag(context.Context, *GetRegistryRepoTagRequest) (*GetRegistryRepoTagResponse, error)
- func (UnimplementedRegistryServer) ListOrgs(context.Context, *ListOrgsRequest) (*ListOrgsResponse, error)
- func (UnimplementedRegistryServer) ListRegistryRepoDigests(context.Context, *ListRegistryRepoDigestsRequest) (*ListRegistryRepoDigestsResponse, error)
- func (UnimplementedRegistryServer) ListRegistryRepoTags(context.Context, *ListRegistryRepoTagsRequest) (*ListRegistryRepoTagsResponse, error)
- func (UnimplementedRegistryServer) ListRegistryRepos(context.Context, *ListRegistryReposRequest) (*ListRegistryReposResponse, error)
- type UnsafeRegistryServer
Constants ¶
This section is empty.
Variables ¶
var File_aserto_tenant_registry_v1_registry_proto protoreflect.FileDescriptor
var Registry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aserto.tenant.registry.v1.Registry", HandlerType: (*RegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListOrgs", Handler: _Registry_ListOrgs_Handler, }, { MethodName: "ListRegistryRepos", Handler: _Registry_ListRegistryRepos_Handler, }, { MethodName: "DeleteRegistryRepo", Handler: _Registry_DeleteRegistryRepo_Handler, }, { MethodName: "ListRegistryRepoTags", Handler: _Registry_ListRegistryRepoTags_Handler, }, { MethodName: "ListRegistryRepoDigests", Handler: _Registry_ListRegistryRepoDigests_Handler, }, { MethodName: "GetRegistryRepoTag", Handler: _Registry_GetRegistryRepoTag_Handler, }, { MethodName: "CreateRegistryRepo", Handler: _Registry_CreateRegistryRepo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aserto/tenant/registry/v1/registry.proto", }
Registry_ServiceDesc is the grpc.ServiceDesc for Registry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegistryHandler ¶
func RegisterRegistryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRegistryHandler registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRegistryHandlerClient ¶
func RegisterRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RegistryClient) error
RegisterRegistryHandlerClient registers the http handlers for service Registry to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RegistryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RegistryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RegistryClient" to call the correct interceptors.
func RegisterRegistryHandlerFromEndpoint ¶
func RegisterRegistryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRegistryHandlerFromEndpoint is same as RegisterRegistryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRegistryHandlerServer ¶
func RegisterRegistryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RegistryServer) error
RegisterRegistryHandlerServer registers the http handlers for service Registry to "mux". UnaryRPC :call RegistryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRegistryHandlerFromEndpoint instead.
func RegisterRegistryServer ¶
func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
Types ¶
type CreateRegistryRepoRequest ¶ added in v0.8.0
type CreateRegistryRepoRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Repo *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*CreateRegistryRepoRequest) Descriptor
deprecated
added in
v0.8.0
func (*CreateRegistryRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryRepoRequest.ProtoReflect.Descriptor instead.
func (*CreateRegistryRepoRequest) GetConnectionId ¶ added in v0.8.0
func (x *CreateRegistryRepoRequest) GetConnectionId() string
func (*CreateRegistryRepoRequest) GetRepo ¶ added in v0.8.0
func (x *CreateRegistryRepoRequest) GetRepo() *v1.RegistryRepo
func (*CreateRegistryRepoRequest) ProtoMessage ¶ added in v0.8.0
func (*CreateRegistryRepoRequest) ProtoMessage()
func (*CreateRegistryRepoRequest) ProtoReflect ¶ added in v0.8.0
func (x *CreateRegistryRepoRequest) ProtoReflect() protoreflect.Message
func (*CreateRegistryRepoRequest) Reset ¶ added in v0.8.0
func (x *CreateRegistryRepoRequest) Reset()
func (*CreateRegistryRepoRequest) String ¶ added in v0.8.0
func (x *CreateRegistryRepoRequest) String() string
type CreateRegistryRepoResponse ¶ added in v0.8.0
type CreateRegistryRepoResponse struct {
// contains filtered or unexported fields
}
func (*CreateRegistryRepoResponse) Descriptor
deprecated
added in
v0.8.0
func (*CreateRegistryRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegistryRepoResponse.ProtoReflect.Descriptor instead.
func (*CreateRegistryRepoResponse) ProtoMessage ¶ added in v0.8.0
func (*CreateRegistryRepoResponse) ProtoMessage()
func (*CreateRegistryRepoResponse) ProtoReflect ¶ added in v0.8.0
func (x *CreateRegistryRepoResponse) ProtoReflect() protoreflect.Message
func (*CreateRegistryRepoResponse) Reset ¶ added in v0.8.0
func (x *CreateRegistryRepoResponse) Reset()
func (*CreateRegistryRepoResponse) String ¶ added in v0.8.0
func (x *CreateRegistryRepoResponse) String() string
type DeleteRegistryRepoRequest ¶ added in v0.8.0
type DeleteRegistryRepoRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Repo *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*DeleteRegistryRepoRequest) Descriptor
deprecated
added in
v0.8.0
func (*DeleteRegistryRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryRepoRequest.ProtoReflect.Descriptor instead.
func (*DeleteRegistryRepoRequest) GetConnectionId ¶ added in v0.8.0
func (x *DeleteRegistryRepoRequest) GetConnectionId() string
func (*DeleteRegistryRepoRequest) GetRepo ¶ added in v0.8.0
func (x *DeleteRegistryRepoRequest) GetRepo() *v1.RegistryRepo
func (*DeleteRegistryRepoRequest) GetTag ¶ added in v0.8.0
func (x *DeleteRegistryRepoRequest) GetTag() string
func (*DeleteRegistryRepoRequest) ProtoMessage ¶ added in v0.8.0
func (*DeleteRegistryRepoRequest) ProtoMessage()
func (*DeleteRegistryRepoRequest) ProtoReflect ¶ added in v0.8.0
func (x *DeleteRegistryRepoRequest) ProtoReflect() protoreflect.Message
func (*DeleteRegistryRepoRequest) Reset ¶ added in v0.8.0
func (x *DeleteRegistryRepoRequest) Reset()
func (*DeleteRegistryRepoRequest) String ¶ added in v0.8.0
func (x *DeleteRegistryRepoRequest) String() string
type DeleteRegistryRepoResponse ¶ added in v0.8.0
type DeleteRegistryRepoResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRegistryRepoResponse) Descriptor
deprecated
added in
v0.8.0
func (*DeleteRegistryRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRegistryRepoResponse.ProtoReflect.Descriptor instead.
func (*DeleteRegistryRepoResponse) ProtoMessage ¶ added in v0.8.0
func (*DeleteRegistryRepoResponse) ProtoMessage()
func (*DeleteRegistryRepoResponse) ProtoReflect ¶ added in v0.8.0
func (x *DeleteRegistryRepoResponse) ProtoReflect() protoreflect.Message
func (*DeleteRegistryRepoResponse) Reset ¶ added in v0.8.0
func (x *DeleteRegistryRepoResponse) Reset()
func (*DeleteRegistryRepoResponse) String ¶ added in v0.8.0
func (x *DeleteRegistryRepoResponse) String() string
type GetRegistryRepoTagRequest ¶ added in v0.8.0
type GetRegistryRepoTagRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Repo *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*GetRegistryRepoTagRequest) Descriptor
deprecated
added in
v0.8.0
func (*GetRegistryRepoTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRegistryRepoTagRequest.ProtoReflect.Descriptor instead.
func (*GetRegistryRepoTagRequest) GetConnectionId ¶ added in v0.8.0
func (x *GetRegistryRepoTagRequest) GetConnectionId() string
func (*GetRegistryRepoTagRequest) GetRepo ¶ added in v0.8.0
func (x *GetRegistryRepoTagRequest) GetRepo() *v1.RegistryRepo
func (*GetRegistryRepoTagRequest) GetTag ¶ added in v0.8.0
func (x *GetRegistryRepoTagRequest) GetTag() string
func (*GetRegistryRepoTagRequest) ProtoMessage ¶ added in v0.8.0
func (*GetRegistryRepoTagRequest) ProtoMessage()
func (*GetRegistryRepoTagRequest) ProtoReflect ¶ added in v0.8.0
func (x *GetRegistryRepoTagRequest) ProtoReflect() protoreflect.Message
func (*GetRegistryRepoTagRequest) Reset ¶ added in v0.8.0
func (x *GetRegistryRepoTagRequest) Reset()
func (*GetRegistryRepoTagRequest) String ¶ added in v0.8.0
func (x *GetRegistryRepoTagRequest) String() string
type GetRegistryRepoTagResponse ¶ added in v0.8.0
type GetRegistryRepoTagResponse struct { Tag *v1.RegistryRepoTag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
func (*GetRegistryRepoTagResponse) Descriptor
deprecated
added in
v0.8.0
func (*GetRegistryRepoTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRegistryRepoTagResponse.ProtoReflect.Descriptor instead.
func (*GetRegistryRepoTagResponse) GetTag ¶ added in v0.8.0
func (x *GetRegistryRepoTagResponse) GetTag() *v1.RegistryRepoTag
func (*GetRegistryRepoTagResponse) ProtoMessage ¶ added in v0.8.0
func (*GetRegistryRepoTagResponse) ProtoMessage()
func (*GetRegistryRepoTagResponse) ProtoReflect ¶ added in v0.8.0
func (x *GetRegistryRepoTagResponse) ProtoReflect() protoreflect.Message
func (*GetRegistryRepoTagResponse) Reset ¶ added in v0.8.0
func (x *GetRegistryRepoTagResponse) Reset()
func (*GetRegistryRepoTagResponse) String ¶ added in v0.8.0
func (x *GetRegistryRepoTagResponse) String() string
type ListOrgsRequest ¶
type ListOrgsRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Page *v1.PaginationRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListOrgsRequest) Descriptor
deprecated
func (*ListOrgsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgsRequest.ProtoReflect.Descriptor instead.
func (*ListOrgsRequest) GetConnectionId ¶
func (x *ListOrgsRequest) GetConnectionId() string
func (*ListOrgsRequest) GetPage ¶ added in v0.0.41
func (x *ListOrgsRequest) GetPage() *v1.PaginationRequest
func (*ListOrgsRequest) ProtoMessage ¶
func (*ListOrgsRequest) ProtoMessage()
func (*ListOrgsRequest) ProtoReflect ¶
func (x *ListOrgsRequest) ProtoReflect() protoreflect.Message
func (*ListOrgsRequest) Reset ¶
func (x *ListOrgsRequest) Reset()
func (*ListOrgsRequest) String ¶
func (x *ListOrgsRequest) String() string
type ListOrgsResponse ¶
type ListOrgsResponse struct { Orgs []string `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"` Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListOrgsResponse) Descriptor
deprecated
func (*ListOrgsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgsResponse.ProtoReflect.Descriptor instead.
func (*ListOrgsResponse) GetOrgs ¶ added in v0.0.40
func (x *ListOrgsResponse) GetOrgs() []string
func (*ListOrgsResponse) GetPage ¶ added in v0.0.41
func (x *ListOrgsResponse) GetPage() *v1.PaginationResponse
func (*ListOrgsResponse) ProtoMessage ¶
func (*ListOrgsResponse) ProtoMessage()
func (*ListOrgsResponse) ProtoReflect ¶
func (x *ListOrgsResponse) ProtoReflect() protoreflect.Message
func (*ListOrgsResponse) Reset ¶
func (x *ListOrgsResponse) Reset()
func (*ListOrgsResponse) String ¶
func (x *ListOrgsResponse) String() string
type ListRegistryRepoDigestsRequest ¶ added in v0.8.2
type ListRegistryRepoDigestsRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Repo *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` Page *v1.PaginationRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` Deep bool `protobuf:"varint,4,opt,name=deep,proto3" json:"deep,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryRepoDigestsRequest) Descriptor
deprecated
added in
v0.8.2
func (*ListRegistryRepoDigestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryRepoDigestsRequest.ProtoReflect.Descriptor instead.
func (*ListRegistryRepoDigestsRequest) GetConnectionId ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) GetConnectionId() string
func (*ListRegistryRepoDigestsRequest) GetDeep ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) GetDeep() bool
func (*ListRegistryRepoDigestsRequest) GetPage ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) GetPage() *v1.PaginationRequest
func (*ListRegistryRepoDigestsRequest) GetRepo ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) GetRepo() *v1.RegistryRepo
func (*ListRegistryRepoDigestsRequest) ProtoMessage ¶ added in v0.8.2
func (*ListRegistryRepoDigestsRequest) ProtoMessage()
func (*ListRegistryRepoDigestsRequest) ProtoReflect ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) ProtoReflect() protoreflect.Message
func (*ListRegistryRepoDigestsRequest) Reset ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) Reset()
func (*ListRegistryRepoDigestsRequest) String ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsRequest) String() string
type ListRegistryRepoDigestsResponse ¶ added in v0.8.2
type ListRegistryRepoDigestsResponse struct { Digests []*v1.RegistryRepoDigest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"` Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryRepoDigestsResponse) Descriptor
deprecated
added in
v0.8.2
func (*ListRegistryRepoDigestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryRepoDigestsResponse.ProtoReflect.Descriptor instead.
func (*ListRegistryRepoDigestsResponse) GetDigests ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsResponse) GetDigests() []*v1.RegistryRepoDigest
func (*ListRegistryRepoDigestsResponse) GetPage ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsResponse) GetPage() *v1.PaginationResponse
func (*ListRegistryRepoDigestsResponse) ProtoMessage ¶ added in v0.8.2
func (*ListRegistryRepoDigestsResponse) ProtoMessage()
func (*ListRegistryRepoDigestsResponse) ProtoReflect ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsResponse) ProtoReflect() protoreflect.Message
func (*ListRegistryRepoDigestsResponse) Reset ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsResponse) Reset()
func (*ListRegistryRepoDigestsResponse) String ¶ added in v0.8.2
func (x *ListRegistryRepoDigestsResponse) String() string
type ListRegistryRepoTagsRequest ¶ added in v0.8.0
type ListRegistryRepoTagsRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Repo *v1.RegistryRepo `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` Page *v1.PaginationRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` Deep bool `protobuf:"varint,4,opt,name=deep,proto3" json:"deep,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryRepoTagsRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListRegistryRepoTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryRepoTagsRequest.ProtoReflect.Descriptor instead.
func (*ListRegistryRepoTagsRequest) GetConnectionId ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) GetConnectionId() string
func (*ListRegistryRepoTagsRequest) GetDeep ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) GetDeep() bool
func (*ListRegistryRepoTagsRequest) GetPage ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) GetPage() *v1.PaginationRequest
func (*ListRegistryRepoTagsRequest) GetRepo ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) GetRepo() *v1.RegistryRepo
func (*ListRegistryRepoTagsRequest) ProtoMessage ¶ added in v0.8.0
func (*ListRegistryRepoTagsRequest) ProtoMessage()
func (*ListRegistryRepoTagsRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) ProtoReflect() protoreflect.Message
func (*ListRegistryRepoTagsRequest) Reset ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) Reset()
func (*ListRegistryRepoTagsRequest) String ¶ added in v0.8.0
func (x *ListRegistryRepoTagsRequest) String() string
type ListRegistryRepoTagsResponse ¶ added in v0.8.0
type ListRegistryRepoTagsResponse struct { Tags []*v1.RegistryRepoTag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryRepoTagsResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListRegistryRepoTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryRepoTagsResponse.ProtoReflect.Descriptor instead.
func (*ListRegistryRepoTagsResponse) GetPage ¶ added in v0.8.0
func (x *ListRegistryRepoTagsResponse) GetPage() *v1.PaginationResponse
func (*ListRegistryRepoTagsResponse) GetTags ¶ added in v0.8.0
func (x *ListRegistryRepoTagsResponse) GetTags() []*v1.RegistryRepoTag
func (*ListRegistryRepoTagsResponse) ProtoMessage ¶ added in v0.8.0
func (*ListRegistryRepoTagsResponse) ProtoMessage()
func (*ListRegistryRepoTagsResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListRegistryRepoTagsResponse) ProtoReflect() protoreflect.Message
func (*ListRegistryRepoTagsResponse) Reset ¶ added in v0.8.0
func (x *ListRegistryRepoTagsResponse) Reset()
func (*ListRegistryRepoTagsResponse) String ¶ added in v0.8.0
func (x *ListRegistryRepoTagsResponse) String() string
type ListRegistryReposRequest ¶ added in v0.8.0
type ListRegistryReposRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` Page *v1.PaginationRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryReposRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListRegistryReposRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryReposRequest.ProtoReflect.Descriptor instead.
func (*ListRegistryReposRequest) GetConnectionId ¶ added in v0.8.0
func (x *ListRegistryReposRequest) GetConnectionId() string
func (*ListRegistryReposRequest) GetOrg ¶ added in v0.8.0
func (x *ListRegistryReposRequest) GetOrg() string
func (*ListRegistryReposRequest) GetPage ¶ added in v0.8.0
func (x *ListRegistryReposRequest) GetPage() *v1.PaginationRequest
func (*ListRegistryReposRequest) ProtoMessage ¶ added in v0.8.0
func (*ListRegistryReposRequest) ProtoMessage()
func (*ListRegistryReposRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListRegistryReposRequest) ProtoReflect() protoreflect.Message
func (*ListRegistryReposRequest) Reset ¶ added in v0.8.0
func (x *ListRegistryReposRequest) Reset()
func (*ListRegistryReposRequest) String ¶ added in v0.8.0
func (x *ListRegistryReposRequest) String() string
type ListRegistryReposResponse ¶ added in v0.8.0
type ListRegistryReposResponse struct { RegistryRepos []*v1.RegistryRepo `protobuf:"bytes,1,rep,name=registry_repos,json=registryRepos,proto3" json:"registry_repos,omitempty"` Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListRegistryReposResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListRegistryReposResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRegistryReposResponse.ProtoReflect.Descriptor instead.
func (*ListRegistryReposResponse) GetPage ¶ added in v0.8.0
func (x *ListRegistryReposResponse) GetPage() *v1.PaginationResponse
func (*ListRegistryReposResponse) GetRegistryRepos ¶ added in v0.8.0
func (x *ListRegistryReposResponse) GetRegistryRepos() []*v1.RegistryRepo
func (*ListRegistryReposResponse) ProtoMessage ¶ added in v0.8.0
func (*ListRegistryReposResponse) ProtoMessage()
func (*ListRegistryReposResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListRegistryReposResponse) ProtoReflect() protoreflect.Message
func (*ListRegistryReposResponse) Reset ¶ added in v0.8.0
func (x *ListRegistryReposResponse) Reset()
func (*ListRegistryReposResponse) String ¶ added in v0.8.0
func (x *ListRegistryReposResponse) String() string
type RegistryClient ¶
type RegistryClient interface { ListOrgs(ctx context.Context, in *ListOrgsRequest, opts ...grpc.CallOption) (*ListOrgsResponse, error) ListRegistryRepos(ctx context.Context, in *ListRegistryReposRequest, opts ...grpc.CallOption) (*ListRegistryReposResponse, error) DeleteRegistryRepo(ctx context.Context, in *DeleteRegistryRepoRequest, opts ...grpc.CallOption) (*DeleteRegistryRepoResponse, error) ListRegistryRepoTags(ctx context.Context, in *ListRegistryRepoTagsRequest, opts ...grpc.CallOption) (*ListRegistryRepoTagsResponse, error) ListRegistryRepoDigests(ctx context.Context, in *ListRegistryRepoDigestsRequest, opts ...grpc.CallOption) (*ListRegistryRepoDigestsResponse, error) GetRegistryRepoTag(ctx context.Context, in *GetRegistryRepoTagRequest, opts ...grpc.CallOption) (*GetRegistryRepoTagResponse, error) CreateRegistryRepo(ctx context.Context, in *CreateRegistryRepoRequest, opts ...grpc.CallOption) (*CreateRegistryRepoResponse, error) }
RegistryClient is the client API for Registry service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegistryClient ¶
func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient
type RegistryServer ¶
type RegistryServer interface { ListOrgs(context.Context, *ListOrgsRequest) (*ListOrgsResponse, error) ListRegistryRepos(context.Context, *ListRegistryReposRequest) (*ListRegistryReposResponse, error) DeleteRegistryRepo(context.Context, *DeleteRegistryRepoRequest) (*DeleteRegistryRepoResponse, error) ListRegistryRepoTags(context.Context, *ListRegistryRepoTagsRequest) (*ListRegistryRepoTagsResponse, error) ListRegistryRepoDigests(context.Context, *ListRegistryRepoDigestsRequest) (*ListRegistryRepoDigestsResponse, error) GetRegistryRepoTag(context.Context, *GetRegistryRepoTagRequest) (*GetRegistryRepoTagResponse, error) CreateRegistryRepo(context.Context, *CreateRegistryRepoRequest) (*CreateRegistryRepoResponse, error) }
RegistryServer is the server API for Registry service. All implementations should embed UnimplementedRegistryServer for forward compatibility
type UnimplementedRegistryServer ¶
type UnimplementedRegistryServer struct { }
UnimplementedRegistryServer should be embedded to have forward compatible implementations.
func (UnimplementedRegistryServer) CreateRegistryRepo ¶ added in v0.8.0
func (UnimplementedRegistryServer) CreateRegistryRepo(context.Context, *CreateRegistryRepoRequest) (*CreateRegistryRepoResponse, error)
func (UnimplementedRegistryServer) DeleteRegistryRepo ¶ added in v0.8.0
func (UnimplementedRegistryServer) DeleteRegistryRepo(context.Context, *DeleteRegistryRepoRequest) (*DeleteRegistryRepoResponse, error)
func (UnimplementedRegistryServer) GetRegistryRepoTag ¶ added in v0.8.0
func (UnimplementedRegistryServer) GetRegistryRepoTag(context.Context, *GetRegistryRepoTagRequest) (*GetRegistryRepoTagResponse, error)
func (UnimplementedRegistryServer) ListOrgs ¶
func (UnimplementedRegistryServer) ListOrgs(context.Context, *ListOrgsRequest) (*ListOrgsResponse, error)
func (UnimplementedRegistryServer) ListRegistryRepoDigests ¶ added in v0.8.2
func (UnimplementedRegistryServer) ListRegistryRepoDigests(context.Context, *ListRegistryRepoDigestsRequest) (*ListRegistryRepoDigestsResponse, error)
func (UnimplementedRegistryServer) ListRegistryRepoTags ¶ added in v0.8.0
func (UnimplementedRegistryServer) ListRegistryRepoTags(context.Context, *ListRegistryRepoTagsRequest) (*ListRegistryRepoTagsResponse, error)
func (UnimplementedRegistryServer) ListRegistryRepos ¶ added in v0.8.0
func (UnimplementedRegistryServer) ListRegistryRepos(context.Context, *ListRegistryReposRequest) (*ListRegistryReposResponse, error)
type UnsafeRegistryServer ¶
type UnsafeRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegistryServer will result in compilation errors.