bootconfig

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bootconfig_bootconfig_proto protoreflect.FileDescriptor

Functions

func RegisterBootConfigServer

func RegisterBootConfigServer(s *grpc.Server, srv BootConfigServer)

Types

type BootConfigClient

type BootConfigClient interface {
	GetBootConfig(ctx context.Context, in *GetBootConfigRequest, opts ...grpc.CallOption) (*GetBootConfigResponse, error)
	SetBootConfig(ctx context.Context, in *SetBootConfigRequest, opts ...grpc.CallOption) (*SetBootConfigResponse, error)
}

BootConfigClient is the client API for BootConfig service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBootConfigClient

func NewBootConfigClient(cc grpc.ClientConnInterface) BootConfigClient

type BootConfigServer

type BootConfigServer interface {
	GetBootConfig(context.Context, *GetBootConfigRequest) (*GetBootConfigResponse, error)
	SetBootConfig(context.Context, *SetBootConfigRequest) (*SetBootConfigResponse, error)
}

BootConfigServer is the server API for BootConfig service.

type GetBootConfigRequest

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

func (*GetBootConfigRequest) Descriptor deprecated

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

Deprecated: Use GetBootConfigRequest.ProtoReflect.Descriptor instead.

func (*GetBootConfigRequest) ProtoMessage

func (*GetBootConfigRequest) ProtoMessage()

func (*GetBootConfigRequest) ProtoReflect

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

func (*GetBootConfigRequest) Reset

func (x *GetBootConfigRequest) Reset()

func (*GetBootConfigRequest) String

func (x *GetBootConfigRequest) String() string

type GetBootConfigResponse

type GetBootConfigResponse struct {
	BootConfig *bootz.BootConfig `protobuf:"bytes,1,opt,name=boot_config,json=bootConfig,proto3" json:"boot_config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBootConfigResponse) Descriptor deprecated

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

Deprecated: Use GetBootConfigResponse.ProtoReflect.Descriptor instead.

func (*GetBootConfigResponse) GetBootConfig

func (x *GetBootConfigResponse) GetBootConfig() *bootz.BootConfig

func (*GetBootConfigResponse) ProtoMessage

func (*GetBootConfigResponse) ProtoMessage()

func (*GetBootConfigResponse) ProtoReflect

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

func (*GetBootConfigResponse) Reset

func (x *GetBootConfigResponse) Reset()

func (*GetBootConfigResponse) String

func (x *GetBootConfigResponse) String() string

type SetBootConfigRequest

type SetBootConfigRequest struct {
	BootConfig *bootz.BootConfig `protobuf:"bytes,1,opt,name=boot_config,json=bootConfig,proto3" json:"boot_config,omitempty"`
	// contains filtered or unexported fields
}

func (*SetBootConfigRequest) Descriptor deprecated

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

Deprecated: Use SetBootConfigRequest.ProtoReflect.Descriptor instead.

func (*SetBootConfigRequest) GetBootConfig

func (x *SetBootConfigRequest) GetBootConfig() *bootz.BootConfig

func (*SetBootConfigRequest) ProtoMessage

func (*SetBootConfigRequest) ProtoMessage()

func (*SetBootConfigRequest) ProtoReflect

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

func (*SetBootConfigRequest) Reset

func (x *SetBootConfigRequest) Reset()

func (*SetBootConfigRequest) String

func (x *SetBootConfigRequest) String() string

type SetBootConfigResponse

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

func (*SetBootConfigResponse) Descriptor deprecated

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

Deprecated: Use SetBootConfigResponse.ProtoReflect.Descriptor instead.

func (*SetBootConfigResponse) ProtoMessage

func (*SetBootConfigResponse) ProtoMessage()

func (*SetBootConfigResponse) ProtoReflect

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

func (*SetBootConfigResponse) Reset

func (x *SetBootConfigResponse) Reset()

func (*SetBootConfigResponse) String

func (x *SetBootConfigResponse) String() string

type UnimplementedBootConfigServer

type UnimplementedBootConfigServer struct {
}

UnimplementedBootConfigServer can be embedded to have forward compatible implementations.

func (*UnimplementedBootConfigServer) GetBootConfig

func (*UnimplementedBootConfigServer) SetBootConfig

Jump to

Keyboard shortcuts

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