registry

package
v0.8.53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 19 Imported by: 4

Documentation

Overview

Package registry is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_aserto_registry_v1_registry_proto protoreflect.FileDescriptor
View Source
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.

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 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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*ListTagsWithDetailsResponse) GetTag added in v0.8.0

func (*ListTagsWithDetailsResponse) ProtoMessage added in v0.8.0

func (*ListTagsWithDetailsResponse) ProtoMessage()

func (*ListTagsWithDetailsResponse) ProtoReflect added in v0.8.0

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

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

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 (*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 (*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.

func (UnimplementedRegistryServer) CreateImage

func (UnimplementedRegistryServer) ListDigests added in v0.8.1

func (UnimplementedRegistryServer) ListImages

func (UnimplementedRegistryServer) ListOrgs

func (UnimplementedRegistryServer) ListPublicImages

func (UnimplementedRegistryServer) ListPublicOrgs

func (UnimplementedRegistryServer) ListTagsWithDetails added in v0.8.0

func (UnimplementedRegistryServer) RemoveImage

func (UnimplementedRegistryServer) RepoAvailable added in v0.8.6

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL