systeminformationv1

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Type                = "SystemInformationService"
	GRPCServiceFullName = "plugin.systeminformation.v1.SystemInformationService"
)
View Source
const (
	SystemInformationService_Get_FullMethodName = "/plugin.systeminformation.v1.SystemInformationService/Get"
)

Variables

View Source
var File_plugin_systeminformation_v1_systeminformation_proto protoreflect.FileDescriptor
View Source
var SystemInformationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "plugin.systeminformation.v1.SystemInformationService",
	HandlerType: (*SystemInformationServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _SystemInformationService_Get_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin/systeminformation/v1/systeminformation.proto",
}

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

Functions

func RegisterSystemInformationServiceServer

func RegisterSystemInformationServiceServer(s grpc.ServiceRegistrar, srv SystemInformationServiceServer)

func SystemInformationServicePluginServer

func SystemInformationServicePluginServer(server SystemInformationServiceServer) api.PluginServer

Types

type GetRequest

type GetRequest struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetId

func (x *GetRequest) GetId() string

func (*GetRequest) GetType

func (x *GetRequest) GetType() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {
	Metadata map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetMetadata

func (x *GetResponse) GetMetadata() map[string]string

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type SystemInformationServiceClient

type SystemInformationServiceClient interface {
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
}

SystemInformationServiceClient is the client API for SystemInformationService 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 SystemInformationServicePluginClient

type SystemInformationServicePluginClient struct {
	SystemInformationServiceClient
}

func (*SystemInformationServicePluginClient) GRPCServiceName

func (c *SystemInformationServicePluginClient) GRPCServiceName() string

func (*SystemInformationServicePluginClient) InitClient

func (*SystemInformationServicePluginClient) IsInitialized

func (c *SystemInformationServicePluginClient) IsInitialized() bool

func (SystemInformationServicePluginClient) Type

type SystemInformationServiceServer

type SystemInformationServiceServer interface {
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// contains filtered or unexported methods
}

SystemInformationServiceServer is the server API for SystemInformationService service. All implementations must embed UnimplementedSystemInformationServiceServer for forward compatibility.

type UnimplementedSystemInformationServiceServer

type UnimplementedSystemInformationServiceServer struct{}

UnimplementedSystemInformationServiceServer must 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 (UnimplementedSystemInformationServiceServer) Get

type UnsafeSystemInformationServiceServer

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

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

Jump to

Keyboard shortcuts

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