mysqlctl

package
Version: v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

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)
	RefreshConfig(ctx context.Context, in *RefreshConfigRequest, opts ...grpc.CallOption) (*RefreshConfigResponse, error)
}

MysqlCtlClient is the client API for MysqlCtl service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMysqlCtlClient

func NewMysqlCtlClient(cc *grpc.ClientConn) MysqlCtlClient

type MysqlCtlServer

MysqlCtlServer is the server API for MysqlCtl service.

type RefreshConfigRequest

type RefreshConfigRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*RefreshConfigRequest) XXX_DiscardUnknown

func (m *RefreshConfigRequest) XXX_DiscardUnknown()

func (*RefreshConfigRequest) XXX_Marshal

func (m *RefreshConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RefreshConfigRequest) XXX_Merge

func (dst *RefreshConfigRequest) XXX_Merge(src proto.Message)

func (*RefreshConfigRequest) XXX_Size

func (m *RefreshConfigRequest) XXX_Size() int

func (*RefreshConfigRequest) XXX_Unmarshal

func (m *RefreshConfigRequest) XXX_Unmarshal(b []byte) error

type RefreshConfigResponse

type RefreshConfigResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*RefreshConfigResponse) XXX_DiscardUnknown

func (m *RefreshConfigResponse) XXX_DiscardUnknown()

func (*RefreshConfigResponse) XXX_Marshal

func (m *RefreshConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RefreshConfigResponse) XXX_Merge

func (dst *RefreshConfigResponse) XXX_Merge(src proto.Message)

func (*RefreshConfigResponse) XXX_Size

func (m *RefreshConfigResponse) XXX_Size() int

func (*RefreshConfigResponse) XXX_Unmarshal

func (m *RefreshConfigResponse) XXX_Unmarshal(b []byte) error

type ReinitConfigRequest

type ReinitConfigRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ReinitConfigRequest) XXX_DiscardUnknown

func (m *ReinitConfigRequest) XXX_DiscardUnknown()

func (*ReinitConfigRequest) XXX_Marshal

func (m *ReinitConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReinitConfigRequest) XXX_Merge

func (dst *ReinitConfigRequest) XXX_Merge(src proto.Message)

func (*ReinitConfigRequest) XXX_Size

func (m *ReinitConfigRequest) XXX_Size() int

func (*ReinitConfigRequest) XXX_Unmarshal

func (m *ReinitConfigRequest) XXX_Unmarshal(b []byte) error

type ReinitConfigResponse

type ReinitConfigResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ReinitConfigResponse) XXX_DiscardUnknown

func (m *ReinitConfigResponse) XXX_DiscardUnknown()

func (*ReinitConfigResponse) XXX_Marshal

func (m *ReinitConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ReinitConfigResponse) XXX_Merge

func (dst *ReinitConfigResponse) XXX_Merge(src proto.Message)

func (*ReinitConfigResponse) XXX_Size

func (m *ReinitConfigResponse) XXX_Size() int

func (*ReinitConfigResponse) XXX_Unmarshal

func (m *ReinitConfigResponse) XXX_Unmarshal(b []byte) error

type RunMysqlUpgradeRequest

type RunMysqlUpgradeRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*RunMysqlUpgradeRequest) XXX_DiscardUnknown

func (m *RunMysqlUpgradeRequest) XXX_DiscardUnknown()

func (*RunMysqlUpgradeRequest) XXX_Marshal

func (m *RunMysqlUpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunMysqlUpgradeRequest) XXX_Merge

func (dst *RunMysqlUpgradeRequest) XXX_Merge(src proto.Message)

func (*RunMysqlUpgradeRequest) XXX_Size

func (m *RunMysqlUpgradeRequest) XXX_Size() int

func (*RunMysqlUpgradeRequest) XXX_Unmarshal

func (m *RunMysqlUpgradeRequest) XXX_Unmarshal(b []byte) error

type RunMysqlUpgradeResponse

type RunMysqlUpgradeResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*RunMysqlUpgradeResponse) XXX_DiscardUnknown

func (m *RunMysqlUpgradeResponse) XXX_DiscardUnknown()

func (*RunMysqlUpgradeResponse) XXX_Marshal

func (m *RunMysqlUpgradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RunMysqlUpgradeResponse) XXX_Merge

func (dst *RunMysqlUpgradeResponse) XXX_Merge(src proto.Message)

func (*RunMysqlUpgradeResponse) XXX_Size

func (m *RunMysqlUpgradeResponse) XXX_Size() int

func (*RunMysqlUpgradeResponse) XXX_Unmarshal

func (m *RunMysqlUpgradeResponse) XXX_Unmarshal(b []byte) error

type ShutdownRequest

type ShutdownRequest struct {
	WaitForMysqld        bool     `protobuf:"varint,1,opt,name=wait_for_mysqld,json=waitForMysqld,proto3" json:"wait_for_mysqld,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ShutdownRequest) XXX_DiscardUnknown

func (m *ShutdownRequest) XXX_DiscardUnknown()

func (*ShutdownRequest) XXX_Marshal

func (m *ShutdownRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShutdownRequest) XXX_Merge

func (dst *ShutdownRequest) XXX_Merge(src proto.Message)

func (*ShutdownRequest) XXX_Size

func (m *ShutdownRequest) XXX_Size() int

func (*ShutdownRequest) XXX_Unmarshal

func (m *ShutdownRequest) XXX_Unmarshal(b []byte) error

type ShutdownResponse

type ShutdownResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ShutdownResponse) XXX_DiscardUnknown

func (m *ShutdownResponse) XXX_DiscardUnknown()

func (*ShutdownResponse) XXX_Marshal

func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShutdownResponse) XXX_Merge

func (dst *ShutdownResponse) XXX_Merge(src proto.Message)

func (*ShutdownResponse) XXX_Size

func (m *ShutdownResponse) XXX_Size() int

func (*ShutdownResponse) XXX_Unmarshal

func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error

type StartRequest

type StartRequest struct {
	MysqldArgs           []string `protobuf:"bytes,1,rep,name=mysqld_args,json=mysqldArgs,proto3" json:"mysqld_args,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*StartRequest) XXX_DiscardUnknown

func (m *StartRequest) XXX_DiscardUnknown()

func (*StartRequest) XXX_Marshal

func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRequest) XXX_Merge

func (dst *StartRequest) XXX_Merge(src proto.Message)

func (*StartRequest) XXX_Size

func (m *StartRequest) XXX_Size() int

func (*StartRequest) XXX_Unmarshal

func (m *StartRequest) XXX_Unmarshal(b []byte) error

type StartResponse

type StartResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*StartResponse) XXX_DiscardUnknown

func (m *StartResponse) XXX_DiscardUnknown()

func (*StartResponse) XXX_Marshal

func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartResponse) XXX_Merge

func (dst *StartResponse) XXX_Merge(src proto.Message)

func (*StartResponse) XXX_Size

func (m *StartResponse) XXX_Size() int

func (*StartResponse) XXX_Unmarshal

func (m *StartResponse) XXX_Unmarshal(b []byte) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL