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 CreateImageRequest
- func (*CreateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageRequest) GetImage() *v1.PolicyImage
- func (x *CreateImageRequest) GetOrganization() string
- func (*CreateImageRequest) ProtoMessage()
- func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateImageRequest) Reset()
- func (x *CreateImageRequest) String() string
- type CreateImageResponse
- func (*CreateImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageResponse) GetResult() *emptypb.Empty
- func (*CreateImageResponse) ProtoMessage()
- func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateImageResponse) Reset()
- func (x *CreateImageResponse) String() string
- type GetReadAccessTokenRequest
- func (*GetReadAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReadAccessTokenRequest) GetOrganization() string
- func (*GetReadAccessTokenRequest) ProtoMessage()
- func (x *GetReadAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetReadAccessTokenRequest) Reset()
- func (x *GetReadAccessTokenRequest) String() string
- type GetReadAccessTokenResponse
- func (*GetReadAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetReadAccessTokenResponse) GetToken() string
- func (*GetReadAccessTokenResponse) ProtoMessage()
- func (x *GetReadAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetReadAccessTokenResponse) Reset()
- func (x *GetReadAccessTokenResponse) String() string
- type GetWriteAccessTokenRequest
- func (*GetWriteAccessTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWriteAccessTokenRequest) GetOrganization() string
- func (*GetWriteAccessTokenRequest) ProtoMessage()
- func (x *GetWriteAccessTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetWriteAccessTokenRequest) Reset()
- func (x *GetWriteAccessTokenRequest) String() string
- type GetWriteAccessTokenResponse
- func (*GetWriteAccessTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWriteAccessTokenResponse) GetToken() string
- func (*GetWriteAccessTokenResponse) ProtoMessage()
- func (x *GetWriteAccessTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetWriteAccessTokenResponse) Reset()
- func (x *GetWriteAccessTokenResponse) String() string
- type ListDigestsRequest
- func (*ListDigestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDigestsRequest) GetOrganization() string
- func (x *ListDigestsRequest) GetPage() *v1.PaginationRequest
- func (x *ListDigestsRequest) GetRepo() string
- func (*ListDigestsRequest) ProtoMessage()
- func (x *ListDigestsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDigestsRequest) Reset()
- func (x *ListDigestsRequest) String() string
- type ListDigestsResponse
- func (*ListDigestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDigestsResponse) GetDigests() []*v1.RegistryRepoDigest
- func (x *ListDigestsResponse) GetPage() *v1.PaginationResponse
- func (*ListDigestsResponse) ProtoMessage()
- func (x *ListDigestsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDigestsResponse) Reset()
- func (x *ListDigestsResponse) String() string
- type ListImagesRequest
- type ListImagesResponse
- func (*ListImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesResponse) GetImages() []*v1.PolicyImage
- func (*ListImagesResponse) ProtoMessage()
- func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesResponse) Reset()
- func (x *ListImagesResponse) String() string
- type ListOrgsRequest
- type ListOrgsResponse
- func (*ListOrgsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgsResponse) GetOrgs() []*v1.RegistryOrg
- 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 ListPublicImagesRequest
- func (*ListPublicImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicImagesRequest) GetOrganization() string
- func (x *ListPublicImagesRequest) GetPage() *v1.PaginationRequest
- func (*ListPublicImagesRequest) ProtoMessage()
- func (x *ListPublicImagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicImagesRequest) Reset()
- func (x *ListPublicImagesRequest) String() string
- type ListPublicImagesResponse
- func (*ListPublicImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicImagesResponse) GetImages() []*v1.PolicyImage
- func (x *ListPublicImagesResponse) GetPage() *v1.PaginationResponse
- func (*ListPublicImagesResponse) ProtoMessage()
- func (x *ListPublicImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublicImagesResponse) Reset()
- func (x *ListPublicImagesResponse) String() string
- type ListPublicOrgsRequest
- func (*ListPublicOrgsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicOrgsRequest) GetPage() *v1.PaginationRequest
- func (*ListPublicOrgsRequest) ProtoMessage()
- func (x *ListPublicOrgsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicOrgsRequest) Reset()
- func (x *ListPublicOrgsRequest) String() string
- type ListPublicOrgsResponse
- func (*ListPublicOrgsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicOrgsResponse) GetOrgs() []*v1.RegistryOrg
- func (x *ListPublicOrgsResponse) GetPage() *v1.PaginationResponse
- func (*ListPublicOrgsResponse) ProtoMessage()
- func (x *ListPublicOrgsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublicOrgsResponse) Reset()
- func (x *ListPublicOrgsResponse) String() string
- type ListTagsWithDetailsRequest
- func (*ListTagsWithDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsWithDetailsRequest) GetOrganization() string
- func (x *ListTagsWithDetailsRequest) GetPage() *v1.PaginationRequest
- func (x *ListTagsWithDetailsRequest) GetRepo() string
- func (*ListTagsWithDetailsRequest) ProtoMessage()
- func (x *ListTagsWithDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagsWithDetailsRequest) Reset()
- func (x *ListTagsWithDetailsRequest) String() string
- type ListTagsWithDetailsResponse
- func (*ListTagsWithDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsWithDetailsResponse) GetPage() *v1.PaginationResponse
- func (x *ListTagsWithDetailsResponse) GetTag() []*v1.RegistryRepoTag
- func (*ListTagsWithDetailsResponse) ProtoMessage()
- func (x *ListTagsWithDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagsWithDetailsResponse) Reset()
- func (x *ListTagsWithDetailsResponse) String() string
- type RegistryClient
- type RegistryServer
- type RemoveImageRequest
- func (*RemoveImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveImageRequest) GetImage() string
- func (x *RemoveImageRequest) GetOrganization() string
- func (x *RemoveImageRequest) GetTag() string
- func (*RemoveImageRequest) ProtoMessage()
- func (x *RemoveImageRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveImageRequest) Reset()
- func (x *RemoveImageRequest) String() string
- type RemoveImageResponse
- func (*RemoveImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveImageResponse) GetResult() *emptypb.Empty
- func (*RemoveImageResponse) ProtoMessage()
- func (x *RemoveImageResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveImageResponse) Reset()
- func (x *RemoveImageResponse) String() string
- type RepoAvailableRequest
- func (*RepoAvailableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepoAvailableRequest) GetOrganization() string
- func (x *RepoAvailableRequest) GetRepo() string
- func (*RepoAvailableRequest) ProtoMessage()
- func (x *RepoAvailableRequest) ProtoReflect() protoreflect.Message
- func (x *RepoAvailableRequest) Reset()
- func (x *RepoAvailableRequest) String() string
- type RepoAvailableResponse
- func (*RepoAvailableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepoAvailableResponse) GetAvailability() v1.NameAvailability
- func (x *RepoAvailableResponse) GetReason() string
- func (*RepoAvailableResponse) ProtoMessage()
- func (x *RepoAvailableResponse) ProtoReflect() protoreflect.Message
- func (x *RepoAvailableResponse) Reset()
- func (x *RepoAvailableResponse) String() string
- type SetImageVisibilityRequest
- func (*SetImageVisibilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetImageVisibilityRequest) GetImage() string
- func (x *SetImageVisibilityRequest) GetOrganization() string
- func (x *SetImageVisibilityRequest) GetPublic() bool
- func (*SetImageVisibilityRequest) ProtoMessage()
- func (x *SetImageVisibilityRequest) ProtoReflect() protoreflect.Message
- func (x *SetImageVisibilityRequest) Reset()
- func (x *SetImageVisibilityRequest) String() string
- type SetImageVisibilityResponse
- func (*SetImageVisibilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetImageVisibilityResponse) GetPublic() bool
- func (*SetImageVisibilityResponse) ProtoMessage()
- func (x *SetImageVisibilityResponse) ProtoReflect() protoreflect.Message
- func (x *SetImageVisibilityResponse) Reset()
- func (x *SetImageVisibilityResponse) String() string
- type UnimplementedRegistryServer
- func (UnimplementedRegistryServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
- func (UnimplementedRegistryServer) GetReadAccessToken(context.Context, *GetReadAccessTokenRequest) (*GetReadAccessTokenResponse, error)
- func (UnimplementedRegistryServer) GetWriteAccessToken(context.Context, *GetWriteAccessTokenRequest) (*GetWriteAccessTokenResponse, error)
- func (UnimplementedRegistryServer) ListDigests(context.Context, *ListDigestsRequest) (*ListDigestsResponse, error)
- func (UnimplementedRegistryServer) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
- func (UnimplementedRegistryServer) ListOrgs(context.Context, *ListOrgsRequest) (*ListOrgsResponse, error)
- func (UnimplementedRegistryServer) ListPublicImages(context.Context, *ListPublicImagesRequest) (*ListPublicImagesResponse, error)
- func (UnimplementedRegistryServer) ListPublicOrgs(context.Context, *ListPublicOrgsRequest) (*ListPublicOrgsResponse, error)
- func (UnimplementedRegistryServer) ListTagsWithDetails(context.Context, *ListTagsWithDetailsRequest) (*ListTagsWithDetailsResponse, error)
- func (UnimplementedRegistryServer) RemoveImage(context.Context, *RemoveImageRequest) (*RemoveImageResponse, error)
- func (UnimplementedRegistryServer) RepoAvailable(context.Context, *RepoAvailableRequest) (*RepoAvailableResponse, error)
- func (UnimplementedRegistryServer) SetImageVisibility(context.Context, *SetImageVisibilityRequest) (*SetImageVisibilityResponse, error)
- type UnsafeRegistryServer
Constants ¶
const ( Registry_ListPublicOrgs_FullMethodName = "/aserto.registry.v1.Registry/ListPublicOrgs" Registry_ListPublicImages_FullMethodName = "/aserto.registry.v1.Registry/ListPublicImages" Registry_ListImages_FullMethodName = "/aserto.registry.v1.Registry/ListImages" Registry_ListOrgs_FullMethodName = "/aserto.registry.v1.Registry/ListOrgs" Registry_RemoveImage_FullMethodName = "/aserto.registry.v1.Registry/RemoveImage" Registry_CreateImage_FullMethodName = "/aserto.registry.v1.Registry/CreateImage" Registry_SetImageVisibility_FullMethodName = "/aserto.registry.v1.Registry/SetImageVisibility" Registry_GetReadAccessToken_FullMethodName = "/aserto.registry.v1.Registry/GetReadAccessToken" Registry_GetWriteAccessToken_FullMethodName = "/aserto.registry.v1.Registry/GetWriteAccessToken" Registry_ListTagsWithDetails_FullMethodName = "/aserto.registry.v1.Registry/ListTagsWithDetails" Registry_ListDigests_FullMethodName = "/aserto.registry.v1.Registry/ListDigests" Registry_RepoAvailable_FullMethodName = "/aserto.registry.v1.Registry/RepoAvailable" )
Variables ¶
var File_aserto_registry_v1_registry_proto protoreflect.FileDescriptor
var Registry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aserto.registry.v1.Registry", HandlerType: (*RegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListPublicOrgs", Handler: _Registry_ListPublicOrgs_Handler, }, { MethodName: "ListPublicImages", Handler: _Registry_ListPublicImages_Handler, }, { MethodName: "ListImages", Handler: _Registry_ListImages_Handler, }, { MethodName: "ListOrgs", Handler: _Registry_ListOrgs_Handler, }, { MethodName: "RemoveImage", Handler: _Registry_RemoveImage_Handler, }, { MethodName: "CreateImage", Handler: _Registry_CreateImage_Handler, }, { MethodName: "SetImageVisibility", Handler: _Registry_SetImageVisibility_Handler, }, { MethodName: "GetReadAccessToken", Handler: _Registry_GetReadAccessToken_Handler, }, { MethodName: "GetWriteAccessToken", Handler: _Registry_GetWriteAccessToken_Handler, }, { MethodName: "ListTagsWithDetails", Handler: _Registry_ListTagsWithDetails_Handler, }, { MethodName: "ListDigests", Handler: _Registry_ListDigests_Handler, }, { MethodName: "RepoAvailable", Handler: _Registry_RepoAvailable_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aserto/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. This client ignores the HTTP middlewares.
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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterRegistryServer ¶
func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer)
Types ¶
type CreateImageRequest ¶
type CreateImageRequest struct { Image *v1.PolicyImage `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*CreateImageRequest) Descriptor
deprecated
func (*CreateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageRequest.ProtoReflect.Descriptor instead.
func (*CreateImageRequest) GetImage ¶
func (x *CreateImageRequest) GetImage() *v1.PolicyImage
func (*CreateImageRequest) GetOrganization ¶
func (x *CreateImageRequest) GetOrganization() string
func (*CreateImageRequest) ProtoMessage ¶
func (*CreateImageRequest) ProtoMessage()
func (*CreateImageRequest) ProtoReflect ¶
func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
func (*CreateImageRequest) Reset ¶
func (x *CreateImageRequest) Reset()
func (*CreateImageRequest) String ¶
func (x *CreateImageRequest) String() string
type CreateImageResponse ¶
type CreateImageResponse struct { Result *emptypb.Empty `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CreateImageResponse) Descriptor
deprecated
func (*CreateImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageResponse.ProtoReflect.Descriptor instead.
func (*CreateImageResponse) GetResult ¶
func (x *CreateImageResponse) GetResult() *emptypb.Empty
func (*CreateImageResponse) ProtoMessage ¶
func (*CreateImageResponse) ProtoMessage()
func (*CreateImageResponse) ProtoReflect ¶
func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
func (*CreateImageResponse) Reset ¶
func (x *CreateImageResponse) Reset()
func (*CreateImageResponse) String ¶
func (x *CreateImageResponse) String() string
type GetReadAccessTokenRequest ¶
type GetReadAccessTokenRequest struct { Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*GetReadAccessTokenRequest) Descriptor
deprecated
func (*GetReadAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReadAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*GetReadAccessTokenRequest) GetOrganization ¶
func (x *GetReadAccessTokenRequest) GetOrganization() string
func (*GetReadAccessTokenRequest) ProtoMessage ¶
func (*GetReadAccessTokenRequest) ProtoMessage()
func (*GetReadAccessTokenRequest) ProtoReflect ¶
func (x *GetReadAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*GetReadAccessTokenRequest) Reset ¶
func (x *GetReadAccessTokenRequest) Reset()
func (*GetReadAccessTokenRequest) String ¶
func (x *GetReadAccessTokenRequest) String() string
type GetReadAccessTokenResponse ¶
type GetReadAccessTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetReadAccessTokenResponse) Descriptor
deprecated
func (*GetReadAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetReadAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*GetReadAccessTokenResponse) GetToken ¶
func (x *GetReadAccessTokenResponse) GetToken() string
func (*GetReadAccessTokenResponse) ProtoMessage ¶
func (*GetReadAccessTokenResponse) ProtoMessage()
func (*GetReadAccessTokenResponse) ProtoReflect ¶
func (x *GetReadAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*GetReadAccessTokenResponse) Reset ¶
func (x *GetReadAccessTokenResponse) Reset()
func (*GetReadAccessTokenResponse) String ¶
func (x *GetReadAccessTokenResponse) String() string
type GetWriteAccessTokenRequest ¶
type GetWriteAccessTokenRequest struct { Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*GetWriteAccessTokenRequest) Descriptor
deprecated
func (*GetWriteAccessTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWriteAccessTokenRequest.ProtoReflect.Descriptor instead.
func (*GetWriteAccessTokenRequest) GetOrganization ¶
func (x *GetWriteAccessTokenRequest) GetOrganization() string
func (*GetWriteAccessTokenRequest) ProtoMessage ¶
func (*GetWriteAccessTokenRequest) ProtoMessage()
func (*GetWriteAccessTokenRequest) ProtoReflect ¶
func (x *GetWriteAccessTokenRequest) ProtoReflect() protoreflect.Message
func (*GetWriteAccessTokenRequest) Reset ¶
func (x *GetWriteAccessTokenRequest) Reset()
func (*GetWriteAccessTokenRequest) String ¶
func (x *GetWriteAccessTokenRequest) String() string
type GetWriteAccessTokenResponse ¶
type GetWriteAccessTokenResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GetWriteAccessTokenResponse) Descriptor
deprecated
func (*GetWriteAccessTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWriteAccessTokenResponse.ProtoReflect.Descriptor instead.
func (*GetWriteAccessTokenResponse) GetToken ¶
func (x *GetWriteAccessTokenResponse) GetToken() string
func (*GetWriteAccessTokenResponse) ProtoMessage ¶
func (*GetWriteAccessTokenResponse) ProtoMessage()
func (*GetWriteAccessTokenResponse) ProtoReflect ¶
func (x *GetWriteAccessTokenResponse) ProtoReflect() protoreflect.Message
func (*GetWriteAccessTokenResponse) Reset ¶
func (x *GetWriteAccessTokenResponse) Reset()
func (*GetWriteAccessTokenResponse) String ¶
func (x *GetWriteAccessTokenResponse) String() string
type ListDigestsRequest ¶ added in v0.8.1
type ListDigestsRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` Repo string `protobuf:"bytes,3,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*ListDigestsRequest) Descriptor
deprecated
added in
v0.8.1
func (*ListDigestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDigestsRequest.ProtoReflect.Descriptor instead.
func (*ListDigestsRequest) GetOrganization ¶ added in v0.8.1
func (x *ListDigestsRequest) GetOrganization() string
func (*ListDigestsRequest) GetPage ¶ added in v0.8.1
func (x *ListDigestsRequest) GetPage() *v1.PaginationRequest
func (*ListDigestsRequest) GetRepo ¶ added in v0.8.1
func (x *ListDigestsRequest) GetRepo() string
func (*ListDigestsRequest) ProtoMessage ¶ added in v0.8.1
func (*ListDigestsRequest) ProtoMessage()
func (*ListDigestsRequest) ProtoReflect ¶ added in v0.8.1
func (x *ListDigestsRequest) ProtoReflect() protoreflect.Message
func (*ListDigestsRequest) Reset ¶ added in v0.8.1
func (x *ListDigestsRequest) Reset()
func (*ListDigestsRequest) String ¶ added in v0.8.1
func (x *ListDigestsRequest) String() string
type ListDigestsResponse ¶ added in v0.8.1
type ListDigestsResponse struct { Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Digests []*v1.RegistryRepoDigest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"` // contains filtered or unexported fields }
func (*ListDigestsResponse) Descriptor
deprecated
added in
v0.8.1
func (*ListDigestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDigestsResponse.ProtoReflect.Descriptor instead.
func (*ListDigestsResponse) GetDigests ¶ added in v0.8.1
func (x *ListDigestsResponse) GetDigests() []*v1.RegistryRepoDigest
func (*ListDigestsResponse) GetPage ¶ added in v0.8.1
func (x *ListDigestsResponse) GetPage() *v1.PaginationResponse
func (*ListDigestsResponse) ProtoMessage ¶ added in v0.8.1
func (*ListDigestsResponse) ProtoMessage()
func (*ListDigestsResponse) ProtoReflect ¶ added in v0.8.1
func (x *ListDigestsResponse) ProtoReflect() protoreflect.Message
func (*ListDigestsResponse) Reset ¶ added in v0.8.1
func (x *ListDigestsResponse) Reset()
func (*ListDigestsResponse) String ¶ added in v0.8.1
func (x *ListDigestsResponse) String() string
type ListImagesRequest ¶
type ListImagesRequest struct {
// contains filtered or unexported fields
}
func (*ListImagesRequest) Descriptor
deprecated
func (*ListImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) ProtoReflect ¶
func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
func (*ListImagesRequest) Reset ¶
func (x *ListImagesRequest) Reset()
func (*ListImagesRequest) String ¶
func (x *ListImagesRequest) String() string
type ListImagesResponse ¶
type ListImagesResponse struct { Images []*v1.PolicyImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ListImagesResponse) Descriptor
deprecated
func (*ListImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.
func (*ListImagesResponse) GetImages ¶
func (x *ListImagesResponse) GetImages() []*v1.PolicyImage
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) ProtoReflect ¶
func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
func (*ListImagesResponse) Reset ¶
func (x *ListImagesResponse) Reset()
func (*ListImagesResponse) String ¶
func (x *ListImagesResponse) String() string
type ListOrgsRequest ¶
type ListOrgsRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,1,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) GetPage ¶
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 { Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Orgs []*v1.RegistryOrg `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"` // contains filtered or unexported fields }
func (*ListOrgsResponse) Descriptor
deprecated
func (*ListOrgsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgsResponse.ProtoReflect.Descriptor instead.
func (*ListOrgsResponse) GetOrgs ¶
func (x *ListOrgsResponse) GetOrgs() []*v1.RegistryOrg
func (*ListOrgsResponse) GetPage ¶
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 ListPublicImagesRequest ¶
type ListPublicImagesRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*ListPublicImagesRequest) Descriptor
deprecated
func (*ListPublicImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicImagesRequest.ProtoReflect.Descriptor instead.
func (*ListPublicImagesRequest) GetOrganization ¶
func (x *ListPublicImagesRequest) GetOrganization() string
func (*ListPublicImagesRequest) GetPage ¶
func (x *ListPublicImagesRequest) GetPage() *v1.PaginationRequest
func (*ListPublicImagesRequest) ProtoMessage ¶
func (*ListPublicImagesRequest) ProtoMessage()
func (*ListPublicImagesRequest) ProtoReflect ¶
func (x *ListPublicImagesRequest) ProtoReflect() protoreflect.Message
func (*ListPublicImagesRequest) Reset ¶
func (x *ListPublicImagesRequest) Reset()
func (*ListPublicImagesRequest) String ¶
func (x *ListPublicImagesRequest) String() string
type ListPublicImagesResponse ¶
type ListPublicImagesResponse struct { Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Images []*v1.PolicyImage `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ListPublicImagesResponse) Descriptor
deprecated
func (*ListPublicImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicImagesResponse.ProtoReflect.Descriptor instead.
func (*ListPublicImagesResponse) GetImages ¶
func (x *ListPublicImagesResponse) GetImages() []*v1.PolicyImage
func (*ListPublicImagesResponse) GetPage ¶
func (x *ListPublicImagesResponse) GetPage() *v1.PaginationResponse
func (*ListPublicImagesResponse) ProtoMessage ¶
func (*ListPublicImagesResponse) ProtoMessage()
func (*ListPublicImagesResponse) ProtoReflect ¶
func (x *ListPublicImagesResponse) ProtoReflect() protoreflect.Message
func (*ListPublicImagesResponse) Reset ¶
func (x *ListPublicImagesResponse) Reset()
func (*ListPublicImagesResponse) String ¶
func (x *ListPublicImagesResponse) String() string
type ListPublicOrgsRequest ¶
type ListPublicOrgsRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListPublicOrgsRequest) Descriptor
deprecated
func (*ListPublicOrgsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicOrgsRequest.ProtoReflect.Descriptor instead.
func (*ListPublicOrgsRequest) GetPage ¶
func (x *ListPublicOrgsRequest) GetPage() *v1.PaginationRequest
func (*ListPublicOrgsRequest) ProtoMessage ¶
func (*ListPublicOrgsRequest) ProtoMessage()
func (*ListPublicOrgsRequest) ProtoReflect ¶
func (x *ListPublicOrgsRequest) ProtoReflect() protoreflect.Message
func (*ListPublicOrgsRequest) Reset ¶
func (x *ListPublicOrgsRequest) Reset()
func (*ListPublicOrgsRequest) String ¶
func (x *ListPublicOrgsRequest) String() string
type ListPublicOrgsResponse ¶
type ListPublicOrgsResponse struct { Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Orgs []*v1.RegistryOrg `protobuf:"bytes,1,rep,name=orgs,proto3" json:"orgs,omitempty"` // contains filtered or unexported fields }
func (*ListPublicOrgsResponse) Descriptor
deprecated
func (*ListPublicOrgsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicOrgsResponse.ProtoReflect.Descriptor instead.
func (*ListPublicOrgsResponse) GetOrgs ¶
func (x *ListPublicOrgsResponse) GetOrgs() []*v1.RegistryOrg
func (*ListPublicOrgsResponse) GetPage ¶
func (x *ListPublicOrgsResponse) GetPage() *v1.PaginationResponse
func (*ListPublicOrgsResponse) ProtoMessage ¶
func (*ListPublicOrgsResponse) ProtoMessage()
func (*ListPublicOrgsResponse) ProtoReflect ¶
func (x *ListPublicOrgsResponse) ProtoReflect() protoreflect.Message
func (*ListPublicOrgsResponse) Reset ¶
func (x *ListPublicOrgsResponse) Reset()
func (*ListPublicOrgsResponse) String ¶
func (x *ListPublicOrgsResponse) String() string
type ListTagsWithDetailsRequest ¶ added in v0.8.0
type ListTagsWithDetailsRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` Repo string `protobuf:"bytes,3,opt,name=repo,proto3" json:"repo,omitempty"` // contains filtered or unexported fields }
func (*ListTagsWithDetailsRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListTagsWithDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsWithDetailsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsWithDetailsRequest) GetOrganization ¶ added in v0.8.0
func (x *ListTagsWithDetailsRequest) GetOrganization() string
func (*ListTagsWithDetailsRequest) GetPage ¶ added in v0.8.0
func (x *ListTagsWithDetailsRequest) GetPage() *v1.PaginationRequest
func (*ListTagsWithDetailsRequest) GetRepo ¶ added in v0.8.0
func (x *ListTagsWithDetailsRequest) GetRepo() string
func (*ListTagsWithDetailsRequest) ProtoMessage ¶ added in v0.8.0
func (*ListTagsWithDetailsRequest) ProtoMessage()
func (*ListTagsWithDetailsRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListTagsWithDetailsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsWithDetailsRequest) Reset ¶ added in v0.8.0
func (x *ListTagsWithDetailsRequest) Reset()
func (*ListTagsWithDetailsRequest) String ¶ added in v0.8.0
func (x *ListTagsWithDetailsRequest) String() string
type ListTagsWithDetailsResponse ¶ added in v0.8.0
type ListTagsWithDetailsResponse struct { Tag []*v1.RegistryRepoTag `protobuf:"bytes,1,rep,name=tag,proto3" json:"tag,omitempty"` Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*ListTagsWithDetailsResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListTagsWithDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsWithDetailsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsWithDetailsResponse) GetPage ¶ added in v0.8.0
func (x *ListTagsWithDetailsResponse) GetPage() *v1.PaginationResponse
func (*ListTagsWithDetailsResponse) GetTag ¶ added in v0.8.0
func (x *ListTagsWithDetailsResponse) GetTag() []*v1.RegistryRepoTag
func (*ListTagsWithDetailsResponse) ProtoMessage ¶ added in v0.8.0
func (*ListTagsWithDetailsResponse) ProtoMessage()
func (*ListTagsWithDetailsResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListTagsWithDetailsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsWithDetailsResponse) Reset ¶ added in v0.8.0
func (x *ListTagsWithDetailsResponse) Reset()
func (*ListTagsWithDetailsResponse) String ¶ added in v0.8.0
func (x *ListTagsWithDetailsResponse) String() string
type RegistryClient ¶
type RegistryClient interface { ListPublicOrgs(ctx context.Context, in *ListPublicOrgsRequest, opts ...grpc.CallOption) (*ListPublicOrgsResponse, error) ListPublicImages(ctx context.Context, in *ListPublicImagesRequest, opts ...grpc.CallOption) (*ListPublicImagesResponse, error) ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) ListOrgs(ctx context.Context, in *ListOrgsRequest, opts ...grpc.CallOption) (*ListOrgsResponse, error) RemoveImage(ctx context.Context, in *RemoveImageRequest, opts ...grpc.CallOption) (*RemoveImageResponse, error) CreateImage(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, error) SetImageVisibility(ctx context.Context, in *SetImageVisibilityRequest, opts ...grpc.CallOption) (*SetImageVisibilityResponse, error) GetReadAccessToken(ctx context.Context, in *GetReadAccessTokenRequest, opts ...grpc.CallOption) (*GetReadAccessTokenResponse, error) GetWriteAccessToken(ctx context.Context, in *GetWriteAccessTokenRequest, opts ...grpc.CallOption) (*GetWriteAccessTokenResponse, error) ListTagsWithDetails(ctx context.Context, in *ListTagsWithDetailsRequest, opts ...grpc.CallOption) (*ListTagsWithDetailsResponse, error) ListDigests(ctx context.Context, in *ListDigestsRequest, opts ...grpc.CallOption) (*ListDigestsResponse, error) RepoAvailable(ctx context.Context, in *RepoAvailableRequest, opts ...grpc.CallOption) (*RepoAvailableResponse, 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 { ListPublicOrgs(context.Context, *ListPublicOrgsRequest) (*ListPublicOrgsResponse, error) ListPublicImages(context.Context, *ListPublicImagesRequest) (*ListPublicImagesResponse, error) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error) ListOrgs(context.Context, *ListOrgsRequest) (*ListOrgsResponse, error) RemoveImage(context.Context, *RemoveImageRequest) (*RemoveImageResponse, error) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error) SetImageVisibility(context.Context, *SetImageVisibilityRequest) (*SetImageVisibilityResponse, error) GetReadAccessToken(context.Context, *GetReadAccessTokenRequest) (*GetReadAccessTokenResponse, error) GetWriteAccessToken(context.Context, *GetWriteAccessTokenRequest) (*GetWriteAccessTokenResponse, error) ListTagsWithDetails(context.Context, *ListTagsWithDetailsRequest) (*ListTagsWithDetailsResponse, error) ListDigests(context.Context, *ListDigestsRequest) (*ListDigestsResponse, error) RepoAvailable(context.Context, *RepoAvailableRequest) (*RepoAvailableResponse, error) }
RegistryServer is the server API for Registry service. All implementations should embed UnimplementedRegistryServer for forward compatibility.
type RemoveImageRequest ¶
type RemoveImageRequest struct { Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` Organization string `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*RemoveImageRequest) Descriptor
deprecated
func (*RemoveImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveImageRequest.ProtoReflect.Descriptor instead.
func (*RemoveImageRequest) GetImage ¶
func (x *RemoveImageRequest) GetImage() string
func (*RemoveImageRequest) GetOrganization ¶
func (x *RemoveImageRequest) GetOrganization() string
func (*RemoveImageRequest) GetTag ¶
func (x *RemoveImageRequest) GetTag() string
func (*RemoveImageRequest) ProtoMessage ¶
func (*RemoveImageRequest) ProtoMessage()
func (*RemoveImageRequest) ProtoReflect ¶
func (x *RemoveImageRequest) ProtoReflect() protoreflect.Message
func (*RemoveImageRequest) Reset ¶
func (x *RemoveImageRequest) Reset()
func (*RemoveImageRequest) String ¶
func (x *RemoveImageRequest) String() string
type RemoveImageResponse ¶
type RemoveImageResponse struct { Result *emptypb.Empty `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RemoveImageResponse) Descriptor
deprecated
func (*RemoveImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveImageResponse.ProtoReflect.Descriptor instead.
func (*RemoveImageResponse) GetResult ¶
func (x *RemoveImageResponse) GetResult() *emptypb.Empty
func (*RemoveImageResponse) ProtoMessage ¶
func (*RemoveImageResponse) ProtoMessage()
func (*RemoveImageResponse) ProtoReflect ¶
func (x *RemoveImageResponse) ProtoReflect() protoreflect.Message
func (*RemoveImageResponse) Reset ¶
func (x *RemoveImageResponse) Reset()
func (*RemoveImageResponse) String ¶
func (x *RemoveImageResponse) String() string
type RepoAvailableRequest ¶ added in v0.8.6
type RepoAvailableRequest struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*RepoAvailableRequest) Descriptor
deprecated
added in
v0.8.6
func (*RepoAvailableRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepoAvailableRequest.ProtoReflect.Descriptor instead.
func (*RepoAvailableRequest) GetOrganization ¶ added in v0.8.6
func (x *RepoAvailableRequest) GetOrganization() string
func (*RepoAvailableRequest) GetRepo ¶ added in v0.8.6
func (x *RepoAvailableRequest) GetRepo() string
func (*RepoAvailableRequest) ProtoMessage ¶ added in v0.8.6
func (*RepoAvailableRequest) ProtoMessage()
func (*RepoAvailableRequest) ProtoReflect ¶ added in v0.8.6
func (x *RepoAvailableRequest) ProtoReflect() protoreflect.Message
func (*RepoAvailableRequest) Reset ¶ added in v0.8.6
func (x *RepoAvailableRequest) Reset()
func (*RepoAvailableRequest) String ¶ added in v0.8.6
func (x *RepoAvailableRequest) String() string
type RepoAvailableResponse ¶ added in v0.8.6
type RepoAvailableResponse 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 (*RepoAvailableResponse) Descriptor
deprecated
added in
v0.8.6
func (*RepoAvailableResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepoAvailableResponse.ProtoReflect.Descriptor instead.
func (*RepoAvailableResponse) GetAvailability ¶ added in v0.8.6
func (x *RepoAvailableResponse) GetAvailability() v1.NameAvailability
func (*RepoAvailableResponse) GetReason ¶ added in v0.8.6
func (x *RepoAvailableResponse) GetReason() string
func (*RepoAvailableResponse) ProtoMessage ¶ added in v0.8.6
func (*RepoAvailableResponse) ProtoMessage()
func (*RepoAvailableResponse) ProtoReflect ¶ added in v0.8.6
func (x *RepoAvailableResponse) ProtoReflect() protoreflect.Message
func (*RepoAvailableResponse) Reset ¶ added in v0.8.6
func (x *RepoAvailableResponse) Reset()
func (*RepoAvailableResponse) String ¶ added in v0.8.6
func (x *RepoAvailableResponse) String() string
type SetImageVisibilityRequest ¶
type SetImageVisibilityRequest struct { Public bool `protobuf:"varint,1,opt,name=public,proto3" json:"public,omitempty"` Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Organization string `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
func (*SetImageVisibilityRequest) Descriptor
deprecated
func (*SetImageVisibilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetImageVisibilityRequest.ProtoReflect.Descriptor instead.
func (*SetImageVisibilityRequest) GetImage ¶
func (x *SetImageVisibilityRequest) GetImage() string
func (*SetImageVisibilityRequest) GetOrganization ¶
func (x *SetImageVisibilityRequest) GetOrganization() string
func (*SetImageVisibilityRequest) GetPublic ¶
func (x *SetImageVisibilityRequest) GetPublic() bool
func (*SetImageVisibilityRequest) ProtoMessage ¶
func (*SetImageVisibilityRequest) ProtoMessage()
func (*SetImageVisibilityRequest) ProtoReflect ¶
func (x *SetImageVisibilityRequest) ProtoReflect() protoreflect.Message
func (*SetImageVisibilityRequest) Reset ¶
func (x *SetImageVisibilityRequest) Reset()
func (*SetImageVisibilityRequest) String ¶
func (x *SetImageVisibilityRequest) String() string
type SetImageVisibilityResponse ¶
type SetImageVisibilityResponse struct { Public bool `protobuf:"varint,1,opt,name=public,proto3" json:"public,omitempty"` // contains filtered or unexported fields }
func (*SetImageVisibilityResponse) Descriptor
deprecated
func (*SetImageVisibilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetImageVisibilityResponse.ProtoReflect.Descriptor instead.
func (*SetImageVisibilityResponse) GetPublic ¶
func (x *SetImageVisibilityResponse) GetPublic() bool
func (*SetImageVisibilityResponse) ProtoMessage ¶
func (*SetImageVisibilityResponse) ProtoMessage()
func (*SetImageVisibilityResponse) ProtoReflect ¶
func (x *SetImageVisibilityResponse) ProtoReflect() protoreflect.Message
func (*SetImageVisibilityResponse) Reset ¶
func (x *SetImageVisibilityResponse) Reset()
func (*SetImageVisibilityResponse) String ¶
func (x *SetImageVisibilityResponse) String() string
type UnimplementedRegistryServer ¶
type UnimplementedRegistryServer struct{}
UnimplementedRegistryServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRegistryServer) CreateImage ¶
func (UnimplementedRegistryServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
func (UnimplementedRegistryServer) GetReadAccessToken ¶
func (UnimplementedRegistryServer) GetReadAccessToken(context.Context, *GetReadAccessTokenRequest) (*GetReadAccessTokenResponse, error)
func (UnimplementedRegistryServer) GetWriteAccessToken ¶
func (UnimplementedRegistryServer) GetWriteAccessToken(context.Context, *GetWriteAccessTokenRequest) (*GetWriteAccessTokenResponse, error)
func (UnimplementedRegistryServer) ListDigests ¶ added in v0.8.1
func (UnimplementedRegistryServer) ListDigests(context.Context, *ListDigestsRequest) (*ListDigestsResponse, error)
func (UnimplementedRegistryServer) ListImages ¶
func (UnimplementedRegistryServer) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
func (UnimplementedRegistryServer) ListOrgs ¶
func (UnimplementedRegistryServer) ListOrgs(context.Context, *ListOrgsRequest) (*ListOrgsResponse, error)
func (UnimplementedRegistryServer) ListPublicImages ¶
func (UnimplementedRegistryServer) ListPublicImages(context.Context, *ListPublicImagesRequest) (*ListPublicImagesResponse, error)
func (UnimplementedRegistryServer) ListPublicOrgs ¶
func (UnimplementedRegistryServer) ListPublicOrgs(context.Context, *ListPublicOrgsRequest) (*ListPublicOrgsResponse, error)
func (UnimplementedRegistryServer) ListTagsWithDetails ¶ added in v0.8.0
func (UnimplementedRegistryServer) ListTagsWithDetails(context.Context, *ListTagsWithDetailsRequest) (*ListTagsWithDetailsResponse, error)
func (UnimplementedRegistryServer) RemoveImage ¶
func (UnimplementedRegistryServer) RemoveImage(context.Context, *RemoveImageRequest) (*RemoveImageResponse, error)
func (UnimplementedRegistryServer) RepoAvailable ¶ added in v0.8.6
func (UnimplementedRegistryServer) RepoAvailable(context.Context, *RepoAvailableRequest) (*RepoAvailableResponse, error)
func (UnimplementedRegistryServer) SetImageVisibility ¶
func (UnimplementedRegistryServer) SetImageVisibility(context.Context, *SetImageVisibilityRequest) (*SetImageVisibilityResponse, 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.