proto

package
v0.7.0-beta.13 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_reconfigure_proto protoreflect.FileDescriptor
View Source
var Reconfigure_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.Reconfigure",
	HandlerType: (*ReconfigureServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "StopContainer",
			Handler:    _Reconfigure_StopContainer_Handler,
		},
		{
			MethodName: "OnlineUpgradeParams",
			Handler:    _Reconfigure_OnlineUpgradeParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "reconfigure.proto",
}

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

Functions

func RegisterReconfigureServer

func RegisterReconfigureServer(s grpc.ServiceRegistrar, srv ReconfigureServer)

Types

type OnlineUpgradeParamsRequest

type OnlineUpgradeParamsRequest struct {
	ConfigSpec string            `protobuf:"bytes,1,opt,name=configSpec,proto3" json:"configSpec,omitempty"`
	Params     map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OnlineUpgradeParamsRequest) Descriptor deprecated

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

Deprecated: Use OnlineUpgradeParamsRequest.ProtoReflect.Descriptor instead.

func (*OnlineUpgradeParamsRequest) GetConfigSpec

func (x *OnlineUpgradeParamsRequest) GetConfigSpec() string

func (*OnlineUpgradeParamsRequest) GetParams

func (x *OnlineUpgradeParamsRequest) GetParams() map[string]string

func (*OnlineUpgradeParamsRequest) ProtoMessage

func (*OnlineUpgradeParamsRequest) ProtoMessage()

func (*OnlineUpgradeParamsRequest) ProtoReflect

func (*OnlineUpgradeParamsRequest) Reset

func (x *OnlineUpgradeParamsRequest) Reset()

func (*OnlineUpgradeParamsRequest) String

func (x *OnlineUpgradeParamsRequest) String() string

type OnlineUpgradeParamsResponse

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

func (*OnlineUpgradeParamsResponse) Descriptor deprecated

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

Deprecated: Use OnlineUpgradeParamsResponse.ProtoReflect.Descriptor instead.

func (*OnlineUpgradeParamsResponse) GetErrMessage

func (x *OnlineUpgradeParamsResponse) GetErrMessage() string

func (*OnlineUpgradeParamsResponse) ProtoMessage

func (*OnlineUpgradeParamsResponse) ProtoMessage()

func (*OnlineUpgradeParamsResponse) ProtoReflect

func (*OnlineUpgradeParamsResponse) Reset

func (x *OnlineUpgradeParamsResponse) Reset()

func (*OnlineUpgradeParamsResponse) String

func (x *OnlineUpgradeParamsResponse) String() string

type ReconfigureClient

type ReconfigureClient interface {
	StopContainer(ctx context.Context, in *StopContainerRequest, opts ...grpc.CallOption) (*StopContainerResponse, error)
	OnlineUpgradeParams(ctx context.Context, in *OnlineUpgradeParamsRequest, opts ...grpc.CallOption) (*OnlineUpgradeParamsResponse, error)
}

ReconfigureClient is the client API for Reconfigure 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 ReconfigureServer

type ReconfigureServer interface {
	StopContainer(context.Context, *StopContainerRequest) (*StopContainerResponse, error)
	OnlineUpgradeParams(context.Context, *OnlineUpgradeParamsRequest) (*OnlineUpgradeParamsResponse, error)
	// contains filtered or unexported methods
}

ReconfigureServer is the server API for Reconfigure service. All implementations must embed UnimplementedReconfigureServer for forward compatibility

type StopContainerRequest

type StopContainerRequest struct {
	ContainerIDs []string `protobuf:"bytes,1,rep,name=containerIDs,proto3" json:"containerIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*StopContainerRequest) Descriptor deprecated

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

Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.

func (*StopContainerRequest) GetContainerIDs

func (x *StopContainerRequest) GetContainerIDs() []string

func (*StopContainerRequest) ProtoMessage

func (*StopContainerRequest) ProtoMessage()

func (*StopContainerRequest) ProtoReflect

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

func (*StopContainerRequest) Reset

func (x *StopContainerRequest) Reset()

func (*StopContainerRequest) String

func (x *StopContainerRequest) String() string

type StopContainerResponse

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

func (*StopContainerResponse) Descriptor deprecated

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

Deprecated: Use StopContainerResponse.ProtoReflect.Descriptor instead.

func (*StopContainerResponse) GetErrMessage

func (x *StopContainerResponse) GetErrMessage() string

func (*StopContainerResponse) ProtoMessage

func (*StopContainerResponse) ProtoMessage()

func (*StopContainerResponse) ProtoReflect

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

func (*StopContainerResponse) Reset

func (x *StopContainerResponse) Reset()

func (*StopContainerResponse) String

func (x *StopContainerResponse) String() string

type UnimplementedReconfigureServer

type UnimplementedReconfigureServer struct {
}

UnimplementedReconfigureServer must be embedded to have forward compatible implementations.

func (UnimplementedReconfigureServer) StopContainer

type UnsafeReconfigureServer

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

UnsafeReconfigureServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ReconfigureServer 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