exporter

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Exporter_FindExporters_FullMethodName = "/moby.exporter.v1.Exporter/FindExporters"
)

Variables

View Source
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)

View Source
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 `` /* 151-byte string literal not displayed */
	// 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 deprecated

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 `` /* 157-byte string literal not displayed */
	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 (*FindExportersRequest) Descriptor deprecated

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 (*FindExportersResponse) Descriptor deprecated

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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