mysqlctlv16

package
v1.33.0-20231211191728... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BackupInfo_Status_name = map[int32]string{
		0: "UNKNOWN",
		1: "INCOMPLETE",
		2: "COMPLETE",
		3: "INVALID",
		4: "VALID",
	}
	BackupInfo_Status_value = map[string]int32{
		"UNKNOWN":    0,
		"INCOMPLETE": 1,
		"COMPLETE":   2,
		"INVALID":    3,
		"VALID":      4,
	}
)

Enum value maps for BackupInfo_Status.

View Source
var File_vitess_mysqlctl_v16_mysqlctl_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BackupInfo

type BackupInfo struct {
	Name        string           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Directory   string           `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"`
	Keyspace    string           `protobuf:"bytes,3,opt,name=keyspace,proto3" json:"keyspace,omitempty"`
	Shard       string           `protobuf:"bytes,4,opt,name=shard,proto3" json:"shard,omitempty"`
	TabletAlias *v16.TabletAlias `protobuf:"bytes,5,opt,name=tablet_alias,json=tabletAlias,proto3" json:"tablet_alias,omitempty"`
	Time        *v161.Time       `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`
	// Engine is the name of the backupengine implementation used to create
	// this backup.
	Engine string            `protobuf:"bytes,7,opt,name=engine,proto3" json:"engine,omitempty"`
	Status BackupInfo_Status `protobuf:"varint,8,opt,name=status,proto3,enum=vitess.mysqlctl.v16.BackupInfo_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

BackupInfo is the read-only attributes of a mysqlctl/backupstorage.BackupHandle.

func (*BackupInfo) Descriptor deprecated

func (*BackupInfo) Descriptor() ([]byte, []int)

Deprecated: Use BackupInfo.ProtoReflect.Descriptor instead.

func (*BackupInfo) GetDirectory

func (x *BackupInfo) GetDirectory() string

func (*BackupInfo) GetEngine

func (x *BackupInfo) GetEngine() string

func (*BackupInfo) GetKeyspace

func (x *BackupInfo) GetKeyspace() string

func (*BackupInfo) GetName

func (x *BackupInfo) GetName() string

func (*BackupInfo) GetShard

func (x *BackupInfo) GetShard() string

func (*BackupInfo) GetStatus

func (x *BackupInfo) GetStatus() BackupInfo_Status

func (*BackupInfo) GetTabletAlias

func (x *BackupInfo) GetTabletAlias() *v16.TabletAlias

func (*BackupInfo) GetTime

func (x *BackupInfo) GetTime() *v161.Time

func (*BackupInfo) ProtoMessage

func (*BackupInfo) ProtoMessage()

func (*BackupInfo) ProtoReflect

func (x *BackupInfo) ProtoReflect() protoreflect.Message

func (*BackupInfo) Reset

func (x *BackupInfo) Reset()

func (*BackupInfo) String

func (x *BackupInfo) String() string

type BackupInfo_Status

type BackupInfo_Status int32

Status is an enum representing the possible status of a backup.

const (
	BackupInfo_UNKNOWN    BackupInfo_Status = 0
	BackupInfo_INCOMPLETE BackupInfo_Status = 1
	BackupInfo_COMPLETE   BackupInfo_Status = 2
	// A backup status of INVALID should be set if the backup is complete
	// but unusable in some way (partial upload, corrupt file, etc).
	BackupInfo_INVALID BackupInfo_Status = 3
	// A backup status of VALID should be set if the backup is both
	// complete and usuable.
	BackupInfo_VALID BackupInfo_Status = 4
)

func (BackupInfo_Status) Descriptor

func (BackupInfo_Status) Enum

func (BackupInfo_Status) EnumDescriptor deprecated

func (BackupInfo_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackupInfo_Status.Descriptor instead.

func (BackupInfo_Status) Number

func (BackupInfo_Status) String

func (x BackupInfo_Status) String() string

func (BackupInfo_Status) Type

type RefreshConfigRequest

type RefreshConfigRequest struct {
	// contains filtered or unexported fields
}

func (*RefreshConfigRequest) Descriptor deprecated

func (*RefreshConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshConfigRequest.ProtoReflect.Descriptor instead.

func (*RefreshConfigRequest) ProtoMessage

func (*RefreshConfigRequest) ProtoMessage()

func (*RefreshConfigRequest) ProtoReflect

func (x *RefreshConfigRequest) ProtoReflect() protoreflect.Message

func (*RefreshConfigRequest) Reset

func (x *RefreshConfigRequest) Reset()

func (*RefreshConfigRequest) String

func (x *RefreshConfigRequest) String() string

type RefreshConfigResponse

type RefreshConfigResponse struct {
	// contains filtered or unexported fields
}

func (*RefreshConfigResponse) Descriptor deprecated

func (*RefreshConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use RefreshConfigResponse.ProtoReflect.Descriptor instead.

func (*RefreshConfigResponse) ProtoMessage

func (*RefreshConfigResponse) ProtoMessage()

func (*RefreshConfigResponse) ProtoReflect

func (x *RefreshConfigResponse) ProtoReflect() protoreflect.Message

func (*RefreshConfigResponse) Reset

func (x *RefreshConfigResponse) Reset()

func (*RefreshConfigResponse) String

func (x *RefreshConfigResponse) String() string

type ReinitConfigRequest

type ReinitConfigRequest struct {
	// contains filtered or unexported fields
}

func (*ReinitConfigRequest) Descriptor deprecated

func (*ReinitConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReinitConfigRequest.ProtoReflect.Descriptor instead.

func (*ReinitConfigRequest) ProtoMessage

func (*ReinitConfigRequest) ProtoMessage()

func (*ReinitConfigRequest) ProtoReflect

func (x *ReinitConfigRequest) ProtoReflect() protoreflect.Message

func (*ReinitConfigRequest) Reset

func (x *ReinitConfigRequest) Reset()

func (*ReinitConfigRequest) String

func (x *ReinitConfigRequest) String() string

type ReinitConfigResponse

type ReinitConfigResponse struct {
	// contains filtered or unexported fields
}

func (*ReinitConfigResponse) Descriptor deprecated

func (*ReinitConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReinitConfigResponse.ProtoReflect.Descriptor instead.

func (*ReinitConfigResponse) ProtoMessage

func (*ReinitConfigResponse) ProtoMessage()

func (*ReinitConfigResponse) ProtoReflect

func (x *ReinitConfigResponse) ProtoReflect() protoreflect.Message

func (*ReinitConfigResponse) Reset

func (x *ReinitConfigResponse) Reset()

func (*ReinitConfigResponse) String

func (x *ReinitConfigResponse) String() string

type RunMysqlUpgradeRequest

type RunMysqlUpgradeRequest struct {
	// contains filtered or unexported fields
}

func (*RunMysqlUpgradeRequest) Descriptor deprecated

func (*RunMysqlUpgradeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RunMysqlUpgradeRequest.ProtoReflect.Descriptor instead.

func (*RunMysqlUpgradeRequest) ProtoMessage

func (*RunMysqlUpgradeRequest) ProtoMessage()

func (*RunMysqlUpgradeRequest) ProtoReflect

func (x *RunMysqlUpgradeRequest) ProtoReflect() protoreflect.Message

func (*RunMysqlUpgradeRequest) Reset

func (x *RunMysqlUpgradeRequest) Reset()

func (*RunMysqlUpgradeRequest) String

func (x *RunMysqlUpgradeRequest) String() string

type RunMysqlUpgradeResponse

type RunMysqlUpgradeResponse struct {
	// contains filtered or unexported fields
}

func (*RunMysqlUpgradeResponse) Descriptor deprecated

func (*RunMysqlUpgradeResponse) Descriptor() ([]byte, []int)

Deprecated: Use RunMysqlUpgradeResponse.ProtoReflect.Descriptor instead.

func (*RunMysqlUpgradeResponse) ProtoMessage

func (*RunMysqlUpgradeResponse) ProtoMessage()

func (*RunMysqlUpgradeResponse) ProtoReflect

func (x *RunMysqlUpgradeResponse) ProtoReflect() protoreflect.Message

func (*RunMysqlUpgradeResponse) Reset

func (x *RunMysqlUpgradeResponse) Reset()

func (*RunMysqlUpgradeResponse) String

func (x *RunMysqlUpgradeResponse) String() string

type ShutdownRequest

type ShutdownRequest struct {
	WaitForMysqld bool `protobuf:"varint,1,opt,name=wait_for_mysqld,json=waitForMysqld,proto3" json:"wait_for_mysqld,omitempty"`
	// contains filtered or unexported fields
}

func (*ShutdownRequest) Descriptor deprecated

func (*ShutdownRequest) Descriptor() ([]byte, []int)

Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.

func (*ShutdownRequest) GetWaitForMysqld

func (x *ShutdownRequest) GetWaitForMysqld() bool

func (*ShutdownRequest) ProtoMessage

func (*ShutdownRequest) ProtoMessage()

func (*ShutdownRequest) ProtoReflect

func (x *ShutdownRequest) ProtoReflect() protoreflect.Message

func (*ShutdownRequest) Reset

func (x *ShutdownRequest) Reset()

func (*ShutdownRequest) String

func (x *ShutdownRequest) String() string

type ShutdownResponse

type ShutdownResponse struct {
	// contains filtered or unexported fields
}

func (*ShutdownResponse) Descriptor deprecated

func (*ShutdownResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShutdownResponse.ProtoReflect.Descriptor instead.

func (*ShutdownResponse) ProtoMessage

func (*ShutdownResponse) ProtoMessage()

func (*ShutdownResponse) ProtoReflect

func (x *ShutdownResponse) ProtoReflect() protoreflect.Message

func (*ShutdownResponse) Reset

func (x *ShutdownResponse) Reset()

func (*ShutdownResponse) String

func (x *ShutdownResponse) String() string

type StartRequest

type StartRequest struct {
	MysqldArgs []string `protobuf:"bytes,1,rep,name=mysqld_args,json=mysqldArgs,proto3" json:"mysqld_args,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRequest) Descriptor deprecated

func (*StartRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.

func (*StartRequest) GetMysqldArgs

func (x *StartRequest) GetMysqldArgs() []string

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) ProtoReflect

func (x *StartRequest) ProtoReflect() protoreflect.Message

func (*StartRequest) Reset

func (x *StartRequest) Reset()

func (*StartRequest) String

func (x *StartRequest) String() string

type StartResponse

type StartResponse struct {
	// contains filtered or unexported fields
}

func (*StartResponse) Descriptor deprecated

func (*StartResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) ProtoReflect

func (x *StartResponse) ProtoReflect() protoreflect.Message

func (*StartResponse) Reset

func (x *StartResponse) Reset()

func (*StartResponse) String

func (x *StartResponse) String() string

Jump to

Keyboard shortcuts

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