Documentation ¶
Overview ¶
Package registry is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- 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 CloneRepoRequest
- func (*CloneRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloneRepoRequest) GetConnectionId() string
- func (x *CloneRepoRequest) GetDestinationConnectionId() string
- func (x *CloneRepoRequest) GetDestinationOrg() string
- func (x *CloneRepoRequest) GetDestinationRepo() string
- func (x *CloneRepoRequest) GetDestinationTag() string
- func (x *CloneRepoRequest) GetSourceOrg() string
- func (x *CloneRepoRequest) GetSourceRepo() string
- func (x *CloneRepoRequest) GetSourceTag() string
- func (*CloneRepoRequest) ProtoMessage()
- func (x *CloneRepoRequest) ProtoReflect() protoreflect.Message
- func (x *CloneRepoRequest) Reset()
- func (x *CloneRepoRequest) String() string
- type CloneRepoResponse
- 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 RegistryRepoAvailableRequest
- func (*RegistryRepoAvailableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryRepoAvailableRequest) GetConnectionId() string
- func (x *RegistryRepoAvailableRequest) GetRepo() *v1.RegistryRepo
- func (*RegistryRepoAvailableRequest) ProtoMessage()
- func (x *RegistryRepoAvailableRequest) ProtoReflect() protoreflect.Message
- func (x *RegistryRepoAvailableRequest) Reset()
- func (x *RegistryRepoAvailableRequest) String() string
- type RegistryRepoAvailableResponse
- func (*RegistryRepoAvailableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryRepoAvailableResponse) GetAvailability() v1.NameAvailability
- func (x *RegistryRepoAvailableResponse) GetReason() string
- func (*RegistryRepoAvailableResponse) ProtoMessage()
- func (x *RegistryRepoAvailableResponse) ProtoReflect() protoreflect.Message
- func (x *RegistryRepoAvailableResponse) Reset()
- func (x *RegistryRepoAvailableResponse) String() string
- type RegistryServer
- type UnimplementedRegistryServer
- func (UnimplementedRegistryServer) CloneRepo(context.Context, *CloneRepoRequest) (*CloneRepoResponse, error)
- 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)
- func (UnimplementedRegistryServer) RegistryRepoAvailable(context.Context, *RegistryRepoAvailableRequest) (*RegistryRepoAvailableResponse, error)
- func (UnimplementedRegistryServer) ValidPolicyRegistryRepoTag(context.Context, *ValidPolicyRegistryRepoTagRequest) (*ValidPolicyRegistryRepoTagResponse, error)
- type UnsafeRegistryServer
- type ValidPolicyRegistryRepoTagRequest
- func (*ValidPolicyRegistryRepoTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidPolicyRegistryRepoTagRequest) GetConnectionId() string
- func (x *ValidPolicyRegistryRepoTagRequest) GetRepo() *v1.RegistryRepo
- func (x *ValidPolicyRegistryRepoTagRequest) GetTag() string
- func (*ValidPolicyRegistryRepoTagRequest) ProtoMessage()
- func (x *ValidPolicyRegistryRepoTagRequest) ProtoReflect() protoreflect.Message
- func (x *ValidPolicyRegistryRepoTagRequest) Reset()
- func (x *ValidPolicyRegistryRepoTagRequest) String() string
- type ValidPolicyRegistryRepoTagResponse
- func (*ValidPolicyRegistryRepoTagResponse) Descriptor() ([]byte, []int)deprecated
- func (*ValidPolicyRegistryRepoTagResponse) ProtoMessage()
- func (x *ValidPolicyRegistryRepoTagResponse) ProtoReflect() protoreflect.Message
- func (x *ValidPolicyRegistryRepoTagResponse) Reset()
- func (x *ValidPolicyRegistryRepoTagResponse) String() string
Constants ¶
const ( Registry_ListOrgs_FullMethodName = "/aserto.tenant.registry.v1.Registry/ListOrgs" Registry_ListRegistryRepos_FullMethodName = "/aserto.tenant.registry.v1.Registry/ListRegistryRepos" Registry_DeleteRegistryRepo_FullMethodName = "/aserto.tenant.registry.v1.Registry/DeleteRegistryRepo" Registry_ListRegistryRepoTags_FullMethodName = "/aserto.tenant.registry.v1.Registry/ListRegistryRepoTags" Registry_ListRegistryRepoDigests_FullMethodName = "/aserto.tenant.registry.v1.Registry/ListRegistryRepoDigests" Registry_GetRegistryRepoTag_FullMethodName = "/aserto.tenant.registry.v1.Registry/GetRegistryRepoTag" Registry_CreateRegistryRepo_FullMethodName = "/aserto.tenant.registry.v1.Registry/CreateRegistryRepo" Registry_RegistryRepoAvailable_FullMethodName = "/aserto.tenant.registry.v1.Registry/RegistryRepoAvailable" Registry_ValidPolicyRegistryRepoTag_FullMethodName = "/aserto.tenant.registry.v1.Registry/ValidPolicyRegistryRepoTag" Registry_CloneRepo_FullMethodName = "/aserto.tenant.registry.v1.Registry/CloneRepo" )
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, }, { MethodName: "RegistryRepoAvailable", Handler: _Registry_RegistryRepoAvailable_Handler, }, { MethodName: "ValidPolicyRegistryRepoTag", Handler: _Registry_ValidPolicyRegistryRepoTag_Handler, }, { MethodName: "CloneRepo", Handler: _Registry_CloneRepo_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 CloneRepoRequest ¶ added in v0.8.17
type CloneRepoRequest struct { ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` SourceOrg string `protobuf:"bytes,2,opt,name=source_org,json=sourceOrg,proto3" json:"source_org,omitempty"` SourceRepo string `protobuf:"bytes,3,opt,name=source_repo,json=sourceRepo,proto3" json:"source_repo,omitempty"` SourceTag string `protobuf:"bytes,4,opt,name=source_tag,json=sourceTag,proto3" json:"source_tag,omitempty"` DestinationConnectionId string `` /* 132-byte string literal not displayed */ DestinationOrg string `protobuf:"bytes,6,opt,name=destination_org,json=destinationOrg,proto3" json:"destination_org,omitempty"` DestinationRepo string `protobuf:"bytes,7,opt,name=destination_repo,json=destinationRepo,proto3" json:"destination_repo,omitempty"` DestinationTag string `protobuf:"bytes,8,opt,name=destination_tag,json=destinationTag,proto3" json:"destination_tag,omitempty"` // contains filtered or unexported fields }
func (*CloneRepoRequest) Descriptor
deprecated
added in
v0.8.17
func (*CloneRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloneRepoRequest.ProtoReflect.Descriptor instead.
func (*CloneRepoRequest) GetConnectionId ¶ added in v0.8.17
func (x *CloneRepoRequest) GetConnectionId() string
func (*CloneRepoRequest) GetDestinationConnectionId ¶ added in v0.8.17
func (x *CloneRepoRequest) GetDestinationConnectionId() string
func (*CloneRepoRequest) GetDestinationOrg ¶ added in v0.8.17
func (x *CloneRepoRequest) GetDestinationOrg() string
func (*CloneRepoRequest) GetDestinationRepo ¶ added in v0.8.17
func (x *CloneRepoRequest) GetDestinationRepo() string
func (*CloneRepoRequest) GetDestinationTag ¶ added in v0.8.17
func (x *CloneRepoRequest) GetDestinationTag() string
func (*CloneRepoRequest) GetSourceOrg ¶ added in v0.8.17
func (x *CloneRepoRequest) GetSourceOrg() string
func (*CloneRepoRequest) GetSourceRepo ¶ added in v0.8.17
func (x *CloneRepoRequest) GetSourceRepo() string
func (*CloneRepoRequest) GetSourceTag ¶ added in v0.8.17
func (x *CloneRepoRequest) GetSourceTag() string
func (*CloneRepoRequest) ProtoMessage ¶ added in v0.8.17
func (*CloneRepoRequest) ProtoMessage()
func (*CloneRepoRequest) ProtoReflect ¶ added in v0.8.17
func (x *CloneRepoRequest) ProtoReflect() protoreflect.Message
func (*CloneRepoRequest) Reset ¶ added in v0.8.17
func (x *CloneRepoRequest) Reset()
func (*CloneRepoRequest) String ¶ added in v0.8.17
func (x *CloneRepoRequest) String() string
type CloneRepoResponse ¶ added in v0.8.17
type CloneRepoResponse struct {
// contains filtered or unexported fields
}
func (*CloneRepoResponse) Descriptor
deprecated
added in
v0.8.17
func (*CloneRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloneRepoResponse.ProtoReflect.Descriptor instead.
func (*CloneRepoResponse) ProtoMessage ¶ added in v0.8.17
func (*CloneRepoResponse) ProtoMessage()
func (*CloneRepoResponse) ProtoReflect ¶ added in v0.8.17
func (x *CloneRepoResponse) ProtoReflect() protoreflect.Message
func (*CloneRepoResponse) Reset ¶ added in v0.8.17
func (x *CloneRepoResponse) Reset()
func (*CloneRepoResponse) String ¶ added in v0.8.17
func (x *CloneRepoResponse) String() string
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) RegistryRepoAvailable(ctx context.Context, in *RegistryRepoAvailableRequest, opts ...grpc.CallOption) (*RegistryRepoAvailableResponse, error) ValidPolicyRegistryRepoTag(ctx context.Context, in *ValidPolicyRegistryRepoTagRequest, opts ...grpc.CallOption) (*ValidPolicyRegistryRepoTagResponse, error) CloneRepo(ctx context.Context, in *CloneRepoRequest, opts ...grpc.CallOption) (*CloneRepoResponse, 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 RegistryRepoAvailableRequest ¶ added in v0.8.6
type RegistryRepoAvailableRequest 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 (*RegistryRepoAvailableRequest) Descriptor
deprecated
added in
v0.8.6
func (*RegistryRepoAvailableRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegistryRepoAvailableRequest.ProtoReflect.Descriptor instead.
func (*RegistryRepoAvailableRequest) GetConnectionId ¶ added in v0.8.6
func (x *RegistryRepoAvailableRequest) GetConnectionId() string
func (*RegistryRepoAvailableRequest) GetRepo ¶ added in v0.8.6
func (x *RegistryRepoAvailableRequest) GetRepo() *v1.RegistryRepo
func (*RegistryRepoAvailableRequest) ProtoMessage ¶ added in v0.8.6
func (*RegistryRepoAvailableRequest) ProtoMessage()
func (*RegistryRepoAvailableRequest) ProtoReflect ¶ added in v0.8.6
func (x *RegistryRepoAvailableRequest) ProtoReflect() protoreflect.Message
func (*RegistryRepoAvailableRequest) Reset ¶ added in v0.8.6
func (x *RegistryRepoAvailableRequest) Reset()
func (*RegistryRepoAvailableRequest) String ¶ added in v0.8.6
func (x *RegistryRepoAvailableRequest) String() string
type RegistryRepoAvailableResponse ¶ added in v0.8.6
type RegistryRepoAvailableResponse struct { Availability v1.NameAvailability `protobuf:"varint,1,opt,name=availability,proto3,enum=aserto.api.v1.NameAvailability" json:"availability,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*RegistryRepoAvailableResponse) Descriptor
deprecated
added in
v0.8.6
func (*RegistryRepoAvailableResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegistryRepoAvailableResponse.ProtoReflect.Descriptor instead.
func (*RegistryRepoAvailableResponse) GetAvailability ¶ added in v0.8.6
func (x *RegistryRepoAvailableResponse) GetAvailability() v1.NameAvailability
func (*RegistryRepoAvailableResponse) GetReason ¶ added in v0.8.6
func (x *RegistryRepoAvailableResponse) GetReason() string
func (*RegistryRepoAvailableResponse) ProtoMessage ¶ added in v0.8.6
func (*RegistryRepoAvailableResponse) ProtoMessage()
func (*RegistryRepoAvailableResponse) ProtoReflect ¶ added in v0.8.6
func (x *RegistryRepoAvailableResponse) ProtoReflect() protoreflect.Message
func (*RegistryRepoAvailableResponse) Reset ¶ added in v0.8.6
func (x *RegistryRepoAvailableResponse) Reset()
func (*RegistryRepoAvailableResponse) String ¶ added in v0.8.6
func (x *RegistryRepoAvailableResponse) String() string
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) RegistryRepoAvailable(context.Context, *RegistryRepoAvailableRequest) (*RegistryRepoAvailableResponse, error) ValidPolicyRegistryRepoTag(context.Context, *ValidPolicyRegistryRepoTagRequest) (*ValidPolicyRegistryRepoTagResponse, error) CloneRepo(context.Context, *CloneRepoRequest) (*CloneRepoResponse, 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) CloneRepo ¶ added in v0.8.17
func (UnimplementedRegistryServer) CloneRepo(context.Context, *CloneRepoRequest) (*CloneRepoResponse, error)
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)
func (UnimplementedRegistryServer) RegistryRepoAvailable ¶ added in v0.8.6
func (UnimplementedRegistryServer) RegistryRepoAvailable(context.Context, *RegistryRepoAvailableRequest) (*RegistryRepoAvailableResponse, error)
func (UnimplementedRegistryServer) ValidPolicyRegistryRepoTag ¶ added in v0.8.9
func (UnimplementedRegistryServer) ValidPolicyRegistryRepoTag(context.Context, *ValidPolicyRegistryRepoTagRequest) (*ValidPolicyRegistryRepoTagResponse, 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.
type ValidPolicyRegistryRepoTagRequest ¶ added in v0.8.9
type ValidPolicyRegistryRepoTagRequest 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 (*ValidPolicyRegistryRepoTagRequest) Descriptor
deprecated
added in
v0.8.9
func (*ValidPolicyRegistryRepoTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidPolicyRegistryRepoTagRequest.ProtoReflect.Descriptor instead.
func (*ValidPolicyRegistryRepoTagRequest) GetConnectionId ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagRequest) GetConnectionId() string
func (*ValidPolicyRegistryRepoTagRequest) GetRepo ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagRequest) GetRepo() *v1.RegistryRepo
func (*ValidPolicyRegistryRepoTagRequest) GetTag ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagRequest) GetTag() string
func (*ValidPolicyRegistryRepoTagRequest) ProtoMessage ¶ added in v0.8.9
func (*ValidPolicyRegistryRepoTagRequest) ProtoMessage()
func (*ValidPolicyRegistryRepoTagRequest) ProtoReflect ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagRequest) ProtoReflect() protoreflect.Message
func (*ValidPolicyRegistryRepoTagRequest) Reset ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagRequest) Reset()
func (*ValidPolicyRegistryRepoTagRequest) String ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagRequest) String() string
type ValidPolicyRegistryRepoTagResponse ¶ added in v0.8.9
type ValidPolicyRegistryRepoTagResponse struct {
// contains filtered or unexported fields
}
func (*ValidPolicyRegistryRepoTagResponse) Descriptor
deprecated
added in
v0.8.9
func (*ValidPolicyRegistryRepoTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidPolicyRegistryRepoTagResponse.ProtoReflect.Descriptor instead.
func (*ValidPolicyRegistryRepoTagResponse) ProtoMessage ¶ added in v0.8.9
func (*ValidPolicyRegistryRepoTagResponse) ProtoMessage()
func (*ValidPolicyRegistryRepoTagResponse) ProtoReflect ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagResponse) ProtoReflect() protoreflect.Message
func (*ValidPolicyRegistryRepoTagResponse) Reset ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagResponse) Reset()
func (*ValidPolicyRegistryRepoTagResponse) String ¶ added in v0.8.9
func (x *ValidPolicyRegistryRepoTagResponse) String() string