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
Index ¶
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) }
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) }
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) 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 { }
func (*StartRequest) Descriptor ¶
func (*StartRequest) Descriptor() ([]byte, []int)
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.