mysqlctl

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

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

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)
	ReinitConfig(ctx context.Context, in *ReinitConfigRequest, opts ...grpc.CallOption) (*ReinitConfigResponse, error)
}

func NewMysqlCtlClient

func NewMysqlCtlClient(cc *grpc.ClientConn) MysqlCtlClient

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

Jump to

Keyboard shortcuts

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