pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_adapter_proto protoreflect.FileDescriptor

Functions

func InstrumentationLibraryServiceClientType added in v1.3.0

func InstrumentationLibraryServiceClientType() reflect.Type

InstrumentationLibraryServiceClientType .

func InstrumentationLibraryServiceHandlerType added in v1.3.0

func InstrumentationLibraryServiceHandlerType() reflect.Type

InstrumentationLibraryServiceHandlerType .

func InstrumentationLibraryServiceServerType added in v1.3.0

func InstrumentationLibraryServiceServerType() reflect.Type

InstrumentationLibraryServiceServerType .

func RegisterInstrumentationLibraryServiceHandler added in v1.3.0

func RegisterInstrumentationLibraryServiceHandler(r http.Router, srv InstrumentationLibraryServiceHandler, opts ...http.HandleOption)

RegisterInstrumentationLibraryServiceHandler register InstrumentationLibraryServiceHandler to http.Router.

func RegisterInstrumentationLibraryServiceImp added in v1.3.0

func RegisterInstrumentationLibraryServiceImp(regester transport.Register, srv InstrumentationLibraryServiceServer, opts ...transport.ServiceOption)

RegisterInstrumentationLibraryServiceImp adapter.proto

func RegisterInstrumentationLibraryServiceServer added in v1.3.0

func RegisterInstrumentationLibraryServiceServer(s grpc1.ServiceRegistrar, srv InstrumentationLibraryServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type GetInstrumentationLibraryDocsRequest added in v1.3.0

type GetInstrumentationLibraryDocsRequest struct {
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
	Strategy string `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"`
	ScopeId  string `protobuf:"bytes,3,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstrumentationLibraryDocsRequest) Descriptor deprecated added in v1.3.0

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

Deprecated: Use GetInstrumentationLibraryDocsRequest.ProtoReflect.Descriptor instead.

func (*GetInstrumentationLibraryDocsRequest) GetLanguage added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) GetScopeId added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) GetStrategy added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) MarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryDocsRequest) MarshalJSON() ([]byte, error)

GetInstrumentationLibraryDocsRequest implement json.Marshaler.

func (*GetInstrumentationLibraryDocsRequest) ProtoMessage added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) ProtoMessage()

func (*GetInstrumentationLibraryDocsRequest) ProtoReflect added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) Reset added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) String added in v1.3.0

func (*GetInstrumentationLibraryDocsRequest) UnmarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryDocsRequest) UnmarshalJSON(b []byte) error

GetInstrumentationLibraryDocsRequest implement json.Marshaler.

func (*GetInstrumentationLibraryDocsRequest) UnmarshalURLValues added in v1.3.0

func (m *GetInstrumentationLibraryDocsRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetInstrumentationLibraryDocsRequest implement urlenc.URLValuesUnmarshaler.

func (*GetInstrumentationLibraryDocsRequest) Validate added in v1.3.0

type GetInstrumentationLibraryDocsResponse added in v1.3.0

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

func (*GetInstrumentationLibraryDocsResponse) Descriptor deprecated added in v1.3.0

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

Deprecated: Use GetInstrumentationLibraryDocsResponse.ProtoReflect.Descriptor instead.

func (*GetInstrumentationLibraryDocsResponse) GetData added in v1.3.0

func (*GetInstrumentationLibraryDocsResponse) MarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryDocsResponse) MarshalJSON() ([]byte, error)

GetInstrumentationLibraryDocsResponse implement json.Marshaler.

func (*GetInstrumentationLibraryDocsResponse) ProtoMessage added in v1.3.0

func (*GetInstrumentationLibraryDocsResponse) ProtoMessage()

func (*GetInstrumentationLibraryDocsResponse) ProtoReflect added in v1.3.0

func (*GetInstrumentationLibraryDocsResponse) Reset added in v1.3.0

func (*GetInstrumentationLibraryDocsResponse) String added in v1.3.0

func (*GetInstrumentationLibraryDocsResponse) UnmarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryDocsResponse) UnmarshalJSON(b []byte) error

GetInstrumentationLibraryDocsResponse implement json.Marshaler.

func (*GetInstrumentationLibraryDocsResponse) UnmarshalURLValues added in v1.3.0

func (m *GetInstrumentationLibraryDocsResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetInstrumentationLibraryDocsResponse implement urlenc.URLValuesUnmarshaler.

func (*GetInstrumentationLibraryDocsResponse) Validate added in v1.3.0

type GetInstrumentationLibraryRequest added in v1.3.0

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

func (*GetInstrumentationLibraryRequest) Descriptor deprecated added in v1.3.0

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

Deprecated: Use GetInstrumentationLibraryRequest.ProtoReflect.Descriptor instead.

func (*GetInstrumentationLibraryRequest) MarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryRequest) MarshalJSON() ([]byte, error)

GetInstrumentationLibraryRequest implement json.Marshaler.

func (*GetInstrumentationLibraryRequest) ProtoMessage added in v1.3.0

func (*GetInstrumentationLibraryRequest) ProtoMessage()

func (*GetInstrumentationLibraryRequest) ProtoReflect added in v1.3.0

func (*GetInstrumentationLibraryRequest) Reset added in v1.3.0

func (*GetInstrumentationLibraryRequest) String added in v1.3.0

func (*GetInstrumentationLibraryRequest) UnmarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryRequest) UnmarshalJSON(b []byte) error

GetInstrumentationLibraryRequest implement json.Marshaler.

func (*GetInstrumentationLibraryRequest) UnmarshalURLValues added in v1.3.0

func (m *GetInstrumentationLibraryRequest) UnmarshalURLValues(prefix string, values url.Values) error

GetInstrumentationLibraryRequest implement urlenc.URLValuesUnmarshaler.

func (*GetInstrumentationLibraryRequest) Validate added in v1.3.0

func (this *GetInstrumentationLibraryRequest) Validate() error

type GetInstrumentationLibraryResponse added in v1.3.0

type GetInstrumentationLibraryResponse struct {
	Data []*InstrumentationLibrary `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInstrumentationLibraryResponse) Descriptor deprecated added in v1.3.0

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

Deprecated: Use GetInstrumentationLibraryResponse.ProtoReflect.Descriptor instead.

func (*GetInstrumentationLibraryResponse) GetData added in v1.3.0

func (*GetInstrumentationLibraryResponse) MarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryResponse) MarshalJSON() ([]byte, error)

GetInstrumentationLibraryResponse implement json.Marshaler.

func (*GetInstrumentationLibraryResponse) ProtoMessage added in v1.3.0

func (*GetInstrumentationLibraryResponse) ProtoMessage()

func (*GetInstrumentationLibraryResponse) ProtoReflect added in v1.3.0

func (*GetInstrumentationLibraryResponse) Reset added in v1.3.0

func (*GetInstrumentationLibraryResponse) String added in v1.3.0

func (*GetInstrumentationLibraryResponse) UnmarshalJSON added in v1.3.0

func (m *GetInstrumentationLibraryResponse) UnmarshalJSON(b []byte) error

GetInstrumentationLibraryResponse implement json.Marshaler.

func (*GetInstrumentationLibraryResponse) UnmarshalURLValues added in v1.3.0

func (m *GetInstrumentationLibraryResponse) UnmarshalURLValues(prefix string, values url.Values) error

GetInstrumentationLibraryResponse implement urlenc.URLValuesUnmarshaler.

func (*GetInstrumentationLibraryResponse) Validate added in v1.3.0

func (this *GetInstrumentationLibraryResponse) Validate() error

type InstrumentationLibrary added in v1.3.0

type InstrumentationLibrary struct {
	Strategy  string      `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Languages []*Language `protobuf:"bytes,4,rep,name=languages,proto3" json:"languages,omitempty"`
	// contains filtered or unexported fields
}

func (*InstrumentationLibrary) Descriptor deprecated added in v1.3.0

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

Deprecated: Use InstrumentationLibrary.ProtoReflect.Descriptor instead.

func (*InstrumentationLibrary) GetLanguages added in v1.3.0

func (x *InstrumentationLibrary) GetLanguages() []*Language

func (*InstrumentationLibrary) GetStrategy added in v1.3.0

func (x *InstrumentationLibrary) GetStrategy() string

func (*InstrumentationLibrary) MarshalJSON added in v1.3.0

func (m *InstrumentationLibrary) MarshalJSON() ([]byte, error)

InstrumentationLibrary implement json.Marshaler.

func (*InstrumentationLibrary) ProtoMessage added in v1.3.0

func (*InstrumentationLibrary) ProtoMessage()

func (*InstrumentationLibrary) ProtoReflect added in v1.3.0

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

func (*InstrumentationLibrary) Reset added in v1.3.0

func (x *InstrumentationLibrary) Reset()

func (*InstrumentationLibrary) String added in v1.3.0

func (x *InstrumentationLibrary) String() string

func (*InstrumentationLibrary) UnmarshalJSON added in v1.3.0

func (m *InstrumentationLibrary) UnmarshalJSON(b []byte) error

InstrumentationLibrary implement json.Marshaler.

func (*InstrumentationLibrary) UnmarshalURLValues added in v1.3.0

func (m *InstrumentationLibrary) UnmarshalURLValues(prefix string, values url.Values) error

InstrumentationLibrary implement urlenc.URLValuesUnmarshaler.

func (*InstrumentationLibrary) Validate added in v1.3.0

func (this *InstrumentationLibrary) Validate() error

type InstrumentationLibraryServiceClient added in v1.3.0

type InstrumentationLibraryServiceClient interface {
	GetInstrumentationLibrary(ctx context.Context, in *GetInstrumentationLibraryRequest, opts ...grpc.CallOption) (*GetInstrumentationLibraryResponse, error)
	GetInstrumentationLibraryDocs(ctx context.Context, in *GetInstrumentationLibraryDocsRequest, opts ...grpc.CallOption) (*GetInstrumentationLibraryDocsResponse, error)
}

InstrumentationLibraryServiceClient is the client API for InstrumentationLibraryService 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 NewInstrumentationLibraryServiceClient added in v1.3.0

func NewInstrumentationLibraryServiceClient(cc grpc1.ClientConnInterface) InstrumentationLibraryServiceClient

type InstrumentationLibraryServiceHandler added in v1.3.0

type InstrumentationLibraryServiceHandler interface {
	// GET /api/msp/apm/instrumentation-library
	GetInstrumentationLibrary(context.Context, *GetInstrumentationLibraryRequest) (*GetInstrumentationLibraryResponse, error)
	// GET /api/msp/apm/instrumentation-library/config-docs
	GetInstrumentationLibraryDocs(context.Context, *GetInstrumentationLibraryDocsRequest) (*GetInstrumentationLibraryDocsResponse, error)
}

InstrumentationLibraryServiceHandler is the server API for InstrumentationLibraryService service.

type InstrumentationLibraryServiceServer added in v1.3.0

type InstrumentationLibraryServiceServer interface {
	GetInstrumentationLibrary(context.Context, *GetInstrumentationLibraryRequest) (*GetInstrumentationLibraryResponse, error)
	GetInstrumentationLibraryDocs(context.Context, *GetInstrumentationLibraryDocsRequest) (*GetInstrumentationLibraryDocsResponse, error)
}

InstrumentationLibraryServiceServer is the server API for InstrumentationLibraryService service. All implementations should embed UnimplementedInstrumentationLibraryServiceServer for forward compatibility

type Language added in v1.3.0

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

func (*Language) Descriptor deprecated added in v1.3.0

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

Deprecated: Use Language.ProtoReflect.Descriptor instead.

func (*Language) GetLanguage added in v1.3.0

func (x *Language) GetLanguage() string

func (*Language) MarshalJSON added in v1.3.0

func (m *Language) MarshalJSON() ([]byte, error)

Language implement json.Marshaler.

func (*Language) ProtoMessage added in v1.3.0

func (*Language) ProtoMessage()

func (*Language) ProtoReflect added in v1.3.0

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

func (*Language) Reset added in v1.3.0

func (x *Language) Reset()

func (*Language) String added in v1.3.0

func (x *Language) String() string

func (*Language) UnmarshalJSON added in v1.3.0

func (m *Language) UnmarshalJSON(b []byte) error

Language implement json.Marshaler.

func (*Language) UnmarshalURLValues added in v1.3.0

func (m *Language) UnmarshalURLValues(prefix string, values url.Values) error

Language implement urlenc.URLValuesUnmarshaler.

func (*Language) Validate added in v1.3.0

func (this *Language) Validate() error

type UnimplementedInstrumentationLibraryServiceServer added in v1.3.0

type UnimplementedInstrumentationLibraryServiceServer struct {
}

UnimplementedInstrumentationLibraryServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedInstrumentationLibraryServiceServer) GetInstrumentationLibrary added in v1.3.0

func (*UnimplementedInstrumentationLibraryServiceServer) GetInstrumentationLibraryDocs added in v1.3.0

Jump to

Keyboard shortcuts

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