package exporter
import "github.com/moby/buildkit/session/exporter"
Index ¶
- Constants
- Variables
- func RegisterExporterServer(s grpc.ServiceRegistrar, srv ExporterServer)
- type ExporterClient
- type ExporterRequest
- func (m *ExporterRequest) CloneMessageVT() proto.Message
- func (m *ExporterRequest) CloneVT() *ExporterRequest
- func (*ExporterRequest) Descriptor() ([]byte, []int)
- func (this *ExporterRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *ExporterRequest) EqualVT(that *ExporterRequest) bool
- func (x *ExporterRequest) GetAttrs() map[string]string
- func (x *ExporterRequest) GetType() string
- func (m *ExporterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ExporterRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *ExporterRequest) MarshalVT() (dAtA []byte, err error)
- func (*ExporterRequest) ProtoMessage()
- func (x *ExporterRequest) ProtoReflect() protoreflect.Message
- func (x *ExporterRequest) Reset()
- func (m *ExporterRequest) SizeVT() (n int)
- func (x *ExporterRequest) String() string
- func (m *ExporterRequest) UnmarshalVT(dAtA []byte) error
- type ExporterServer
- type FindExportersRequest
- func (m *FindExportersRequest) CloneMessageVT() proto.Message
- func (m *FindExportersRequest) CloneVT() *FindExportersRequest
- func (*FindExportersRequest) Descriptor() ([]byte, []int)
- func (this *FindExportersRequest) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FindExportersRequest) EqualVT(that *FindExportersRequest) bool
- func (x *FindExportersRequest) GetMetadata() map[string][]byte
- func (x *FindExportersRequest) GetRefs() []string
- func (m *FindExportersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FindExportersRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *FindExportersRequest) MarshalVT() (dAtA []byte, err error)
- func (*FindExportersRequest) ProtoMessage()
- func (x *FindExportersRequest) ProtoReflect() protoreflect.Message
- func (x *FindExportersRequest) Reset()
- func (m *FindExportersRequest) SizeVT() (n int)
- func (x *FindExportersRequest) String() string
- func (m *FindExportersRequest) UnmarshalVT(dAtA []byte) error
- type FindExportersResponse
- func (m *FindExportersResponse) CloneMessageVT() proto.Message
- func (m *FindExportersResponse) CloneVT() *FindExportersResponse
- func (*FindExportersResponse) Descriptor() ([]byte, []int)
- func (this *FindExportersResponse) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FindExportersResponse) EqualVT(that *FindExportersResponse) bool
- func (x *FindExportersResponse) GetExporters() []*ExporterRequest
- func (m *FindExportersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FindExportersResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *FindExportersResponse) MarshalVT() (dAtA []byte, err error)
- func (*FindExportersResponse) ProtoMessage()
- func (x *FindExportersResponse) ProtoReflect() protoreflect.Message
- func (x *FindExportersResponse) Reset()
- func (m *FindExportersResponse) SizeVT() (n int)
- func (x *FindExportersResponse) String() string
- func (m *FindExportersResponse) UnmarshalVT(dAtA []byte) error
- type UnimplementedExporterServer
- type UnsafeExporterServer
Constants ¶
const (
Exporter_FindExporters_FullMethodName = "/moby.exporter.v1.Exporter/FindExporters"
)
Variables ¶
var Exporter_ServiceDesc = grpc.ServiceDesc{ ServiceName: "moby.exporter.v1.Exporter", HandlerType: (*ExporterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindExporters", Handler: _Exporter_FindExporters_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/moby/buildkit/session/exporter/exporter.proto", }
Exporter_ServiceDesc is the grpc.ServiceDesc for Exporter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_moby_buildkit_session_exporter_exporter_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExporterServer ¶
func RegisterExporterServer(s grpc.ServiceRegistrar, srv ExporterServer)
Types ¶
type ExporterClient ¶
type ExporterClient interface { FindExporters(ctx context.Context, in *FindExportersRequest, opts ...grpc.CallOption) (*FindExportersResponse, error) }
ExporterClient is the client API for Exporter 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 NewExporterClient ¶
func NewExporterClient(cc grpc.ClientConnInterface) ExporterClient
type ExporterRequest ¶
type ExporterRequest struct { Type string `protobuf:"bytes,1,opt,name=Type,proto3" json:"Type,omitempty"` Attrs map[string]string `protobuf:"bytes,2,rep,name=Attrs,proto3" json:"Attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*ExporterRequest) CloneMessageVT ¶
func (m *ExporterRequest) CloneMessageVT() proto.Message
func (*ExporterRequest) CloneVT ¶
func (m *ExporterRequest) CloneVT() *ExporterRequest
func (*ExporterRequest) Descriptor ¶
func (*ExporterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExporterRequest.ProtoReflect.Descriptor instead.
func (*ExporterRequest) EqualMessageVT ¶
func (this *ExporterRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*ExporterRequest) EqualVT ¶
func (this *ExporterRequest) EqualVT(that *ExporterRequest) bool
func (*ExporterRequest) GetAttrs ¶
func (x *ExporterRequest) GetAttrs() map[string]string
func (*ExporterRequest) GetType ¶
func (x *ExporterRequest) GetType() string
func (*ExporterRequest) MarshalToSizedBufferVT ¶
func (m *ExporterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ExporterRequest) MarshalToVT ¶
func (m *ExporterRequest) MarshalToVT(dAtA []byte) (int, error)
func (*ExporterRequest) MarshalVT ¶
func (m *ExporterRequest) MarshalVT() (dAtA []byte, err error)
func (*ExporterRequest) ProtoMessage ¶
func (*ExporterRequest) ProtoMessage()
func (*ExporterRequest) ProtoReflect ¶
func (x *ExporterRequest) ProtoReflect() protoreflect.Message
func (*ExporterRequest) Reset ¶
func (x *ExporterRequest) Reset()
func (*ExporterRequest) SizeVT ¶
func (m *ExporterRequest) SizeVT() (n int)
func (*ExporterRequest) String ¶
func (x *ExporterRequest) String() string
func (*ExporterRequest) UnmarshalVT ¶
func (m *ExporterRequest) UnmarshalVT(dAtA []byte) error
type ExporterServer ¶
type ExporterServer interface { FindExporters(context.Context, *FindExportersRequest) (*FindExportersResponse, error) }
ExporterServer is the server API for Exporter service. All implementations should embed UnimplementedExporterServer for forward compatibility.
type FindExportersRequest ¶
type FindExportersRequest struct { Metadata map[string][]byte `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Refs []string `protobuf:"bytes,2,rep,name=refs,proto3" json:"refs,omitempty"` // contains filtered or unexported fields }
func (*FindExportersRequest) CloneMessageVT ¶
func (m *FindExportersRequest) CloneMessageVT() proto.Message
func (*FindExportersRequest) CloneVT ¶
func (m *FindExportersRequest) CloneVT() *FindExportersRequest
func (*FindExportersRequest) Descriptor ¶
func (*FindExportersRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindExportersRequest.ProtoReflect.Descriptor instead.
func (*FindExportersRequest) EqualMessageVT ¶
func (this *FindExportersRequest) EqualMessageVT(thatMsg proto.Message) bool
func (*FindExportersRequest) EqualVT ¶
func (this *FindExportersRequest) EqualVT(that *FindExportersRequest) bool
func (*FindExportersRequest) GetMetadata ¶
func (x *FindExportersRequest) GetMetadata() map[string][]byte
func (*FindExportersRequest) GetRefs ¶
func (x *FindExportersRequest) GetRefs() []string
func (*FindExportersRequest) MarshalToSizedBufferVT ¶
func (m *FindExportersRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FindExportersRequest) MarshalToVT ¶
func (m *FindExportersRequest) MarshalToVT(dAtA []byte) (int, error)
func (*FindExportersRequest) MarshalVT ¶
func (m *FindExportersRequest) MarshalVT() (dAtA []byte, err error)
func (*FindExportersRequest) ProtoMessage ¶
func (*FindExportersRequest) ProtoMessage()
func (*FindExportersRequest) ProtoReflect ¶
func (x *FindExportersRequest) ProtoReflect() protoreflect.Message
func (*FindExportersRequest) Reset ¶
func (x *FindExportersRequest) Reset()
func (*FindExportersRequest) SizeVT ¶
func (m *FindExportersRequest) SizeVT() (n int)
func (*FindExportersRequest) String ¶
func (x *FindExportersRequest) String() string
func (*FindExportersRequest) UnmarshalVT ¶
func (m *FindExportersRequest) UnmarshalVT(dAtA []byte) error
type FindExportersResponse ¶
type FindExportersResponse struct { Exporters []*ExporterRequest `protobuf:"bytes,1,rep,name=exporters,proto3" json:"exporters,omitempty"` // contains filtered or unexported fields }
func (*FindExportersResponse) CloneMessageVT ¶
func (m *FindExportersResponse) CloneMessageVT() proto.Message
func (*FindExportersResponse) CloneVT ¶
func (m *FindExportersResponse) CloneVT() *FindExportersResponse
func (*FindExportersResponse) Descriptor ¶
func (*FindExportersResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindExportersResponse.ProtoReflect.Descriptor instead.
func (*FindExportersResponse) EqualMessageVT ¶
func (this *FindExportersResponse) EqualMessageVT(thatMsg proto.Message) bool
func (*FindExportersResponse) EqualVT ¶
func (this *FindExportersResponse) EqualVT(that *FindExportersResponse) bool
func (*FindExportersResponse) GetExporters ¶
func (x *FindExportersResponse) GetExporters() []*ExporterRequest
func (*FindExportersResponse) MarshalToSizedBufferVT ¶
func (m *FindExportersResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FindExportersResponse) MarshalToVT ¶
func (m *FindExportersResponse) MarshalToVT(dAtA []byte) (int, error)
func (*FindExportersResponse) MarshalVT ¶
func (m *FindExportersResponse) MarshalVT() (dAtA []byte, err error)
func (*FindExportersResponse) ProtoMessage ¶
func (*FindExportersResponse) ProtoMessage()
func (*FindExportersResponse) ProtoReflect ¶
func (x *FindExportersResponse) ProtoReflect() protoreflect.Message
func (*FindExportersResponse) Reset ¶
func (x *FindExportersResponse) Reset()
func (*FindExportersResponse) SizeVT ¶
func (m *FindExportersResponse) SizeVT() (n int)
func (*FindExportersResponse) String ¶
func (x *FindExportersResponse) String() string
func (*FindExportersResponse) UnmarshalVT ¶
func (m *FindExportersResponse) UnmarshalVT(dAtA []byte) error
type UnimplementedExporterServer ¶
type UnimplementedExporterServer struct{}
UnimplementedExporterServer 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 (UnimplementedExporterServer) FindExporters ¶
func (UnimplementedExporterServer) FindExporters(context.Context, *FindExportersRequest) (*FindExportersResponse, error)
type UnsafeExporterServer ¶
type UnsafeExporterServer interface {
// contains filtered or unexported methods
}
UnsafeExporterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExporterServer will result in compilation errors.
Source Files ¶
exporter.pb.go exporter_grpc.pb.go exporter_vtproto.pb.go
Directories ¶
Path | Synopsis |
---|---|
session/exporter/exporterprovider |
- Version
- v0.21.0 (latest)
- Published
- Apr 11, 2025
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 2 days ago –
Tools for package owners.