proxysql

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_agent_app_proxysql_pb_proxysql_proto protoreflect.FileDescriptor
View Source
var ProxysqlOperation_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proxysql.ProxysqlOperation",
	HandlerType: (*ProxysqlOperationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetVariable",
			Handler:    _ProxysqlOperation_SetVariable_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/agent/app/proxysql/pb/proxysql.proto",
}

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

Functions

func RegisterProxysqlOperationServer

func RegisterProxysqlOperationServer(s grpc.ServiceRegistrar, srv ProxysqlOperationServer)

func RegistryGrpcApp

func RegistryGrpcApp()

Types

type ProxysqlOperationClient

type ProxysqlOperationClient interface {
	SetVariable(ctx context.Context, in *SetVariableRequest, opts ...grpc.CallOption) (*Response, error)
}

ProxysqlOperationClient is the client API for ProxysqlOperation 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 ProxysqlOperationServer

type ProxysqlOperationServer interface {
	SetVariable(context.Context, *SetVariableRequest) (*Response, error)
	// contains filtered or unexported methods
}

ProxysqlOperationServer is the server API for ProxysqlOperation service. All implementations must embed UnimplementedProxysqlOperationServer for forward compatibility

type Response

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

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type SetVariableRequest

type SetVariableRequest struct {
	Key      string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Section  string `protobuf:"bytes,3,opt,name=section,proto3" json:"section,omitempty"`
	Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SetVariableRequest) Descriptor deprecated

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

Deprecated: Use SetVariableRequest.ProtoReflect.Descriptor instead.

func (*SetVariableRequest) GetKey

func (x *SetVariableRequest) GetKey() string

func (*SetVariableRequest) GetPassword

func (x *SetVariableRequest) GetPassword() string

func (*SetVariableRequest) GetSection

func (x *SetVariableRequest) GetSection() string

func (*SetVariableRequest) GetUsername

func (x *SetVariableRequest) GetUsername() string

func (*SetVariableRequest) GetValue

func (x *SetVariableRequest) GetValue() string

func (*SetVariableRequest) ProtoMessage

func (*SetVariableRequest) ProtoMessage()

func (*SetVariableRequest) ProtoReflect

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

func (*SetVariableRequest) Reset

func (x *SetVariableRequest) Reset()

func (*SetVariableRequest) String

func (x *SetVariableRequest) String() string

type UnimplementedProxysqlOperationServer

type UnimplementedProxysqlOperationServer struct {
}

UnimplementedProxysqlOperationServer must be embedded to have forward compatible implementations.

func (UnimplementedProxysqlOperationServer) SetVariable

type UnsafeProxysqlOperationServer

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

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

Jump to

Keyboard shortcuts

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