Documentation ¶
Overview ¶
Package mysqlctl is a generated protocol buffer package.
It is generated from these files:
mysqlctl.proto
It has these top-level messages:
StartRequest StartResponse ShutdownRequest ShutdownResponse RunMysqlUpgradeRequest RunMysqlUpgradeResponse ReinitConfigRequest ReinitConfigResponse RefreshConfigRequest RefreshConfigResponse
Index ¶
- func RegisterMysqlCtlServer(s *grpc.Server, srv MysqlCtlServer)
- type MysqlCtlClient
- type MysqlCtlServer
- type RefreshConfigRequest
- type RefreshConfigResponse
- type ReinitConfigRequest
- type ReinitConfigResponse
- type RunMysqlUpgradeRequest
- type RunMysqlUpgradeResponse
- type ShutdownRequest
- type ShutdownResponse
- type StartRequest
- type StartResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMysqlCtlServer ¶
func RegisterMysqlCtlServer(s *grpc.Server, srv MysqlCtlServer)
Types ¶
type MysqlCtlClient ¶
type MysqlCtlClient interface { Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*ShutdownResponse, error) RunMysqlUpgrade(ctx context.Context, in *RunMysqlUpgradeRequest, opts ...grpc.CallOption) (*RunMysqlUpgradeResponse, error) ReinitConfig(ctx context.Context, in *ReinitConfigRequest, opts ...grpc.CallOption) (*ReinitConfigResponse, error) RefreshConfig(ctx context.Context, in *RefreshConfigRequest, opts ...grpc.CallOption) (*RefreshConfigResponse, error) }
func NewMysqlCtlClient ¶
func NewMysqlCtlClient(cc *grpc.ClientConn) MysqlCtlClient
type MysqlCtlServer ¶
type MysqlCtlServer interface { Start(context.Context, *StartRequest) (*StartResponse, error) Shutdown(context.Context, *ShutdownRequest) (*ShutdownResponse, error) RunMysqlUpgrade(context.Context, *RunMysqlUpgradeRequest) (*RunMysqlUpgradeResponse, error) ReinitConfig(context.Context, *ReinitConfigRequest) (*ReinitConfigResponse, error) RefreshConfig(context.Context, *RefreshConfigRequest) (*RefreshConfigResponse, error) }
type RefreshConfigRequest ¶
type RefreshConfigRequest struct { }
func (*RefreshConfigRequest) Descriptor ¶
func (*RefreshConfigRequest) Descriptor() ([]byte, []int)
func (*RefreshConfigRequest) ProtoMessage ¶
func (*RefreshConfigRequest) ProtoMessage()
func (*RefreshConfigRequest) Reset ¶
func (m *RefreshConfigRequest) Reset()
func (*RefreshConfigRequest) String ¶
func (m *RefreshConfigRequest) String() string
type RefreshConfigResponse ¶
type RefreshConfigResponse struct { }
func (*RefreshConfigResponse) Descriptor ¶
func (*RefreshConfigResponse) Descriptor() ([]byte, []int)
func (*RefreshConfigResponse) ProtoMessage ¶
func (*RefreshConfigResponse) ProtoMessage()
func (*RefreshConfigResponse) Reset ¶
func (m *RefreshConfigResponse) Reset()
func (*RefreshConfigResponse) String ¶
func (m *RefreshConfigResponse) String() string
type ReinitConfigRequest ¶
type ReinitConfigRequest struct { }
func (*ReinitConfigRequest) Descriptor ¶
func (*ReinitConfigRequest) Descriptor() ([]byte, []int)
func (*ReinitConfigRequest) ProtoMessage ¶
func (*ReinitConfigRequest) ProtoMessage()
func (*ReinitConfigRequest) Reset ¶
func (m *ReinitConfigRequest) Reset()
func (*ReinitConfigRequest) String ¶
func (m *ReinitConfigRequest) String() string
type ReinitConfigResponse ¶
type ReinitConfigResponse struct { }
func (*ReinitConfigResponse) Descriptor ¶
func (*ReinitConfigResponse) Descriptor() ([]byte, []int)
func (*ReinitConfigResponse) ProtoMessage ¶
func (*ReinitConfigResponse) ProtoMessage()
func (*ReinitConfigResponse) Reset ¶
func (m *ReinitConfigResponse) Reset()
func (*ReinitConfigResponse) String ¶
func (m *ReinitConfigResponse) String() string
type RunMysqlUpgradeRequest ¶
type RunMysqlUpgradeRequest struct { }
func (*RunMysqlUpgradeRequest) Descriptor ¶
func (*RunMysqlUpgradeRequest) Descriptor() ([]byte, []int)
func (*RunMysqlUpgradeRequest) ProtoMessage ¶
func (*RunMysqlUpgradeRequest) ProtoMessage()
func (*RunMysqlUpgradeRequest) Reset ¶
func (m *RunMysqlUpgradeRequest) Reset()
func (*RunMysqlUpgradeRequest) String ¶
func (m *RunMysqlUpgradeRequest) String() string
type RunMysqlUpgradeResponse ¶
type RunMysqlUpgradeResponse struct { }
func (*RunMysqlUpgradeResponse) Descriptor ¶
func (*RunMysqlUpgradeResponse) Descriptor() ([]byte, []int)
func (*RunMysqlUpgradeResponse) ProtoMessage ¶
func (*RunMysqlUpgradeResponse) ProtoMessage()
func (*RunMysqlUpgradeResponse) Reset ¶
func (m *RunMysqlUpgradeResponse) Reset()
func (*RunMysqlUpgradeResponse) String ¶
func (m *RunMysqlUpgradeResponse) String() string
type ShutdownRequest ¶
type ShutdownRequest struct {
WaitForMysqld bool `protobuf:"varint,1,opt,name=wait_for_mysqld,json=waitForMysqld" json:"wait_for_mysqld,omitempty"`
}
func (*ShutdownRequest) Descriptor ¶
func (*ShutdownRequest) Descriptor() ([]byte, []int)
func (*ShutdownRequest) GetWaitForMysqld ¶
func (m *ShutdownRequest) GetWaitForMysqld() bool
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) Reset ¶
func (m *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (m *ShutdownRequest) String() string
type ShutdownResponse ¶
type ShutdownResponse struct { }
func (*ShutdownResponse) Descriptor ¶
func (*ShutdownResponse) Descriptor() ([]byte, []int)
func (*ShutdownResponse) ProtoMessage ¶
func (*ShutdownResponse) ProtoMessage()
func (*ShutdownResponse) Reset ¶
func (m *ShutdownResponse) Reset()
func (*ShutdownResponse) String ¶
func (m *ShutdownResponse) String() string
type StartRequest ¶
type StartRequest struct {
MysqldArgs []string `protobuf:"bytes,1,rep,name=mysqld_args,json=mysqldArgs" json:"mysqld_args,omitempty"`
}
func (*StartRequest) Descriptor ¶
func (*StartRequest) Descriptor() ([]byte, []int)
func (*StartRequest) GetMysqldArgs ¶
func (m *StartRequest) GetMysqldArgs() []string
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) Reset ¶
func (m *StartRequest) Reset()
func (*StartRequest) String ¶
func (m *StartRequest) String() string
type StartResponse ¶
type StartResponse struct { }
func (*StartResponse) Descriptor ¶
func (*StartResponse) Descriptor() ([]byte, []int)
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) Reset ¶
func (m *StartResponse) Reset()
func (*StartResponse) String ¶
func (m *StartResponse) String() string
Click to show internal directories.
Click to hide internal directories.