proxysql

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProxysqlOperation_SetVariable_FullMethodName = "/proxysql.ProxysqlOperation/SetVariable"
)

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) (*common.Empty, 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) (*common.Empty, error)
	// contains filtered or unexported methods
}

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

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"`
	// 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) 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.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

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