v1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

pkg/vsock/system/v1/system.proto

It has these top-level messages:

Bundle
EmptyRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSystemServer

func RegisterSystemServer(s *grpc.Server, srv SystemServer)

Types

type Bundle

type Bundle struct {
	Raw []byte `protobuf:"bytes,1,opt,name=Raw,proto3" json:"Raw,omitempty"`
}

func (*Bundle) Descriptor

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

func (*Bundle) GetRaw

func (m *Bundle) GetRaw() []byte

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) Reset

func (m *Bundle) Reset()

func (*Bundle) String

func (m *Bundle) String() string

type EmptyRequest

type EmptyRequest struct {
}

func (*EmptyRequest) Descriptor

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

func (*EmptyRequest) ProtoMessage

func (*EmptyRequest) ProtoMessage()

func (*EmptyRequest) Reset

func (m *EmptyRequest) Reset()

func (*EmptyRequest) String

func (m *EmptyRequest) String() string

type SystemClient

type SystemClient interface {
	CABundle(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*Bundle, error)
}

func NewSystemClient

func NewSystemClient(cc *grpc.ClientConn) SystemClient

type SystemServer

type SystemServer interface {
	CABundle(context.Context, *EmptyRequest) (*Bundle, error)
}

Jump to

Keyboard shortcuts

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