pb

package
v4.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_image_proto protoreflect.FileDescriptor
View Source
var File_notif_proto protoreflect.FileDescriptor
View Source
var ImageService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.ImageService",
	HandlerType: (*ImageServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ImageList",
			Handler:    _ImageService_ImageList_Handler,
		},
		{
			MethodName: "ImageInspect",
			Handler:    _ImageService_ImageInspect_Handler,
		},
		{
			MethodName: "ImageRemove",
			Handler:    _ImageService_ImageRemove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "image.proto",
}

ImageService_ServiceDesc is the grpc.ServiceDesc for ImageService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var NotifService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pb.NotifService",
	HandlerType: (*NotifServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NotifTest",
			Handler:    _NotifService_NotifTest_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "notif.proto",
}

NotifService_ServiceDesc is the grpc.ServiceDesc for NotifService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterImageServiceServer

func RegisterImageServiceServer(s grpc.ServiceRegistrar, srv ImageServiceServer)

func RegisterNotifServiceServer

func RegisterNotifServiceServer(s grpc.ServiceRegistrar, srv NotifServiceServer)

Types

type ImageInspectRequest

type ImageInspectRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageInspectRequest) Descriptor deprecated

func (*ImageInspectRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImageInspectRequest.ProtoReflect.Descriptor instead.

func (*ImageInspectRequest) GetName

func (x *ImageInspectRequest) GetName() string

func (*ImageInspectRequest) ProtoMessage

func (*ImageInspectRequest) ProtoMessage()

func (*ImageInspectRequest) ProtoReflect

func (x *ImageInspectRequest) ProtoReflect() protoreflect.Message

func (*ImageInspectRequest) Reset

func (x *ImageInspectRequest) Reset()

func (*ImageInspectRequest) String

func (x *ImageInspectRequest) String() string

type ImageInspectResponse

type ImageInspectResponse struct {
	Image *ImageInspectResponse_Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageInspectResponse) Descriptor deprecated

func (*ImageInspectResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImageInspectResponse.ProtoReflect.Descriptor instead.

func (*ImageInspectResponse) GetImage

func (*ImageInspectResponse) ProtoMessage

func (*ImageInspectResponse) ProtoMessage()

func (*ImageInspectResponse) ProtoReflect

func (x *ImageInspectResponse) ProtoReflect() protoreflect.Message

func (*ImageInspectResponse) Reset

func (x *ImageInspectResponse) Reset()

func (*ImageInspectResponse) String

func (x *ImageInspectResponse) String() string

type ImageInspectResponse_Image

type ImageInspectResponse_Image struct {
	Name      string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Manifests []*Manifest `protobuf:"bytes,2,rep,name=manifests,proto3" json:"manifests,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageInspectResponse_Image) Descriptor deprecated

func (*ImageInspectResponse_Image) Descriptor() ([]byte, []int)

Deprecated: Use ImageInspectResponse_Image.ProtoReflect.Descriptor instead.

func (*ImageInspectResponse_Image) GetManifests

func (x *ImageInspectResponse_Image) GetManifests() []*Manifest

func (*ImageInspectResponse_Image) GetName

func (x *ImageInspectResponse_Image) GetName() string

func (*ImageInspectResponse_Image) ProtoMessage

func (*ImageInspectResponse_Image) ProtoMessage()

func (*ImageInspectResponse_Image) ProtoReflect

func (*ImageInspectResponse_Image) Reset

func (x *ImageInspectResponse_Image) Reset()

func (*ImageInspectResponse_Image) String

func (x *ImageInspectResponse_Image) String() string

type ImageListRequest

type ImageListRequest struct {
	// contains filtered or unexported fields
}

func (*ImageListRequest) Descriptor deprecated

func (*ImageListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImageListRequest.ProtoReflect.Descriptor instead.

func (*ImageListRequest) ProtoMessage

func (*ImageListRequest) ProtoMessage()

func (*ImageListRequest) ProtoReflect

func (x *ImageListRequest) ProtoReflect() protoreflect.Message

func (*ImageListRequest) Reset

func (x *ImageListRequest) Reset()

func (*ImageListRequest) String

func (x *ImageListRequest) String() string

type ImageListResponse

type ImageListResponse struct {
	Images []*ImageListResponse_Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageListResponse) Descriptor deprecated

func (*ImageListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImageListResponse.ProtoReflect.Descriptor instead.

func (*ImageListResponse) GetImages

func (x *ImageListResponse) GetImages() []*ImageListResponse_Image

func (*ImageListResponse) ProtoMessage

func (*ImageListResponse) ProtoMessage()

func (*ImageListResponse) ProtoReflect

func (x *ImageListResponse) ProtoReflect() protoreflect.Message

func (*ImageListResponse) Reset

func (x *ImageListResponse) Reset()

func (*ImageListResponse) String

func (x *ImageListResponse) String() string

type ImageListResponse_Image

type ImageListResponse_Image struct {
	Name           string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ManifestsCount int64     `protobuf:"varint,2,opt,name=manifestsCount,proto3" json:"manifestsCount,omitempty"`
	Latest         *Manifest `protobuf:"bytes,3,opt,name=latest,proto3" json:"latest,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageListResponse_Image) Descriptor deprecated

func (*ImageListResponse_Image) Descriptor() ([]byte, []int)

Deprecated: Use ImageListResponse_Image.ProtoReflect.Descriptor instead.

func (*ImageListResponse_Image) GetLatest

func (x *ImageListResponse_Image) GetLatest() *Manifest

func (*ImageListResponse_Image) GetManifestsCount

func (x *ImageListResponse_Image) GetManifestsCount() int64

func (*ImageListResponse_Image) GetName

func (x *ImageListResponse_Image) GetName() string

func (*ImageListResponse_Image) ProtoMessage

func (*ImageListResponse_Image) ProtoMessage()

func (*ImageListResponse_Image) ProtoReflect

func (x *ImageListResponse_Image) ProtoReflect() protoreflect.Message

func (*ImageListResponse_Image) Reset

func (x *ImageListResponse_Image) Reset()

func (*ImageListResponse_Image) String

func (x *ImageListResponse_Image) String() string

type ImageRemoveRequest

type ImageRemoveRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageRemoveRequest) Descriptor deprecated

func (*ImageRemoveRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImageRemoveRequest.ProtoReflect.Descriptor instead.

func (*ImageRemoveRequest) GetName

func (x *ImageRemoveRequest) GetName() string

func (*ImageRemoveRequest) ProtoMessage

func (*ImageRemoveRequest) ProtoMessage()

func (*ImageRemoveRequest) ProtoReflect

func (x *ImageRemoveRequest) ProtoReflect() protoreflect.Message

func (*ImageRemoveRequest) Reset

func (x *ImageRemoveRequest) Reset()

func (*ImageRemoveRequest) String

func (x *ImageRemoveRequest) String() string

type ImageRemoveResponse

type ImageRemoveResponse struct {
	Manifests []*Manifest `protobuf:"bytes,1,rep,name=manifests,proto3" json:"manifests,omitempty"`
	// contains filtered or unexported fields
}

func (*ImageRemoveResponse) Descriptor deprecated

func (*ImageRemoveResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImageRemoveResponse.ProtoReflect.Descriptor instead.

func (*ImageRemoveResponse) GetManifests

func (x *ImageRemoveResponse) GetManifests() []*Manifest

func (*ImageRemoveResponse) ProtoMessage

func (*ImageRemoveResponse) ProtoMessage()

func (*ImageRemoveResponse) ProtoReflect

func (x *ImageRemoveResponse) ProtoReflect() protoreflect.Message

func (*ImageRemoveResponse) Reset

func (x *ImageRemoveResponse) Reset()

func (*ImageRemoveResponse) String

func (x *ImageRemoveResponse) String() string

type ImageServiceClient

type ImageServiceClient interface {
	ImageList(ctx context.Context, in *ImageListRequest, opts ...grpc.CallOption) (*ImageListResponse, error)
	ImageInspect(ctx context.Context, in *ImageInspectRequest, opts ...grpc.CallOption) (*ImageInspectResponse, error)
	ImageRemove(ctx context.Context, in *ImageRemoveRequest, opts ...grpc.CallOption) (*ImageRemoveResponse, error)
}

ImageServiceClient is the client API for ImageService 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.

type ImageServiceServer

type ImageServiceServer interface {
	ImageList(context.Context, *ImageListRequest) (*ImageListResponse, error)
	ImageInspect(context.Context, *ImageInspectRequest) (*ImageInspectResponse, error)
	ImageRemove(context.Context, *ImageRemoveRequest) (*ImageRemoveResponse, error)
	// contains filtered or unexported methods
}

ImageServiceServer is the server API for ImageService service. All implementations must embed UnimplementedImageServiceServer for forward compatibility

type Manifest

type Manifest struct {
	Tag      string                 `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	MimeType string                 `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	Digest   string                 `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	Created  *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	Labels   map[string]string      `` /* 153-byte string literal not displayed */
	Platform string                 `protobuf:"bytes,6,opt,name=platform,proto3" json:"platform,omitempty"`
	Size     int64                  `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Manifest) Descriptor deprecated

func (*Manifest) Descriptor() ([]byte, []int)

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetCreated

func (x *Manifest) GetCreated() *timestamppb.Timestamp

func (*Manifest) GetDigest

func (x *Manifest) GetDigest() string

func (*Manifest) GetLabels

func (x *Manifest) GetLabels() map[string]string

func (*Manifest) GetMimeType

func (x *Manifest) GetMimeType() string

func (*Manifest) GetPlatform

func (x *Manifest) GetPlatform() string

func (*Manifest) GetSize

func (x *Manifest) GetSize() int64

func (*Manifest) GetTag

func (x *Manifest) GetTag() string

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

func (x *Manifest) ProtoReflect() protoreflect.Message

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

type NotifServiceClient

type NotifServiceClient interface {
	NotifTest(ctx context.Context, in *NotifTestRequest, opts ...grpc.CallOption) (*NotifTestResponse, error)
}

NotifServiceClient is the client API for NotifService 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.

type NotifServiceServer

type NotifServiceServer interface {
	NotifTest(context.Context, *NotifTestRequest) (*NotifTestResponse, error)
	// contains filtered or unexported methods
}

NotifServiceServer is the server API for NotifService service. All implementations must embed UnimplementedNotifServiceServer for forward compatibility

type NotifTestRequest

type NotifTestRequest struct {
	// contains filtered or unexported fields
}

func (*NotifTestRequest) Descriptor deprecated

func (*NotifTestRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotifTestRequest.ProtoReflect.Descriptor instead.

func (*NotifTestRequest) ProtoMessage

func (*NotifTestRequest) ProtoMessage()

func (*NotifTestRequest) ProtoReflect

func (x *NotifTestRequest) ProtoReflect() protoreflect.Message

func (*NotifTestRequest) Reset

func (x *NotifTestRequest) Reset()

func (*NotifTestRequest) String

func (x *NotifTestRequest) String() string

type NotifTestResponse

type NotifTestResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*NotifTestResponse) Descriptor deprecated

func (*NotifTestResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotifTestResponse.ProtoReflect.Descriptor instead.

func (*NotifTestResponse) GetMessage

func (x *NotifTestResponse) GetMessage() string

func (*NotifTestResponse) ProtoMessage

func (*NotifTestResponse) ProtoMessage()

func (*NotifTestResponse) ProtoReflect

func (x *NotifTestResponse) ProtoReflect() protoreflect.Message

func (*NotifTestResponse) Reset

func (x *NotifTestResponse) Reset()

func (*NotifTestResponse) String

func (x *NotifTestResponse) String() string

type UnimplementedImageServiceServer

type UnimplementedImageServiceServer struct {
}

UnimplementedImageServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedImageServiceServer) ImageInspect

func (UnimplementedImageServiceServer) ImageList

func (UnimplementedImageServiceServer) ImageRemove

type UnimplementedNotifServiceServer

type UnimplementedNotifServiceServer struct {
}

UnimplementedNotifServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNotifServiceServer) NotifTest

type UnsafeImageServiceServer

type UnsafeImageServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeImageServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImageServiceServer will result in compilation errors.

type UnsafeNotifServiceServer

type UnsafeNotifServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeNotifServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NotifServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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