Mysqlx_Connection

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2017 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package Mysqlx_Connection is a generated protocol buffer package.

It is generated from these files:

github.com/pingcap/tipb/go-mysqlx/Connection/mysqlx_connection.proto

It has these top-level messages:

Capability
Capabilities
CapabilitiesGet
CapabilitiesSet
Close

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMysqlxConnection = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMysqlxConnection   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	Capabilities     []*Capability `protobuf:"bytes,1,rep,name=capabilities" json:"capabilities,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

Capabilities

func (*Capabilities) Descriptor

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

func (*Capabilities) GetCapabilities

func (m *Capabilities) GetCapabilities() []*Capability

func (*Capabilities) Marshal

func (m *Capabilities) Marshal() (dAtA []byte, err error)

func (*Capabilities) MarshalTo

func (m *Capabilities) MarshalTo(dAtA []byte) (int, error)

func (*Capabilities) ProtoMessage

func (*Capabilities) ProtoMessage()

func (*Capabilities) Reset

func (m *Capabilities) Reset()

func (*Capabilities) Size

func (m *Capabilities) Size() (n int)

func (*Capabilities) String

func (m *Capabilities) String() string

func (*Capabilities) Unmarshal

func (m *Capabilities) Unmarshal(dAtA []byte) error

type CapabilitiesGet

type CapabilitiesGet struct {
	XXX_unrecognized []byte `json:"-"`
}

get supported connection capabilities and their current state

:returns: :protobuf:msg:`Mysqlx.Connection::Capabilities` or :protobuf:msg:`Mysqlx::Error`

func (*CapabilitiesGet) Descriptor

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

func (*CapabilitiesGet) Marshal

func (m *CapabilitiesGet) Marshal() (dAtA []byte, err error)

func (*CapabilitiesGet) MarshalTo

func (m *CapabilitiesGet) MarshalTo(dAtA []byte) (int, error)

func (*CapabilitiesGet) ProtoMessage

func (*CapabilitiesGet) ProtoMessage()

func (*CapabilitiesGet) Reset

func (m *CapabilitiesGet) Reset()

func (*CapabilitiesGet) Size

func (m *CapabilitiesGet) Size() (n int)

func (*CapabilitiesGet) String

func (m *CapabilitiesGet) String() string

func (*CapabilitiesGet) Unmarshal

func (m *CapabilitiesGet) Unmarshal(dAtA []byte) error

type CapabilitiesSet

type CapabilitiesSet struct {
	Capabilities     *Capabilities `protobuf:"bytes,1,req,name=capabilities" json:"capabilities,omitempty"`
	XXX_unrecognized []byte        `json:"-"`
}

sets connection capabilities atomically

only provided values are changed, other values are left unchanged. If any of the changes fails, all changes are discarded.

:precond: active sessions == 0 :returns: :protobuf:msg:`Mysqlx::Ok` or :protobuf:msg:`Mysqlx::Error`

func (*CapabilitiesSet) Descriptor

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

func (*CapabilitiesSet) GetCapabilities

func (m *CapabilitiesSet) GetCapabilities() *Capabilities

func (*CapabilitiesSet) Marshal

func (m *CapabilitiesSet) Marshal() (dAtA []byte, err error)

func (*CapabilitiesSet) MarshalTo

func (m *CapabilitiesSet) MarshalTo(dAtA []byte) (int, error)

func (*CapabilitiesSet) ProtoMessage

func (*CapabilitiesSet) ProtoMessage()

func (*CapabilitiesSet) Reset

func (m *CapabilitiesSet) Reset()

func (*CapabilitiesSet) Size

func (m *CapabilitiesSet) Size() (n int)

func (*CapabilitiesSet) String

func (m *CapabilitiesSet) String() string

func (*CapabilitiesSet) Unmarshal

func (m *CapabilitiesSet) Unmarshal(dAtA []byte) error

type Capability

type Capability struct {
	Name             *string               `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value            *Mysqlx_Datatypes.Any `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_unrecognized []byte                `json:"-"`
}

a Capability

a tuple of a “name“ and a :protobuf:msg:`Mysqlx.Datatypes::Any`

func (*Capability) Descriptor

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

func (*Capability) GetName

func (m *Capability) GetName() string

func (*Capability) GetValue

func (m *Capability) GetValue() *Mysqlx_Datatypes.Any

func (*Capability) Marshal

func (m *Capability) Marshal() (dAtA []byte, err error)

func (*Capability) MarshalTo

func (m *Capability) MarshalTo(dAtA []byte) (int, error)

func (*Capability) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) Reset

func (m *Capability) Reset()

func (*Capability) Size

func (m *Capability) Size() (n int)

func (*Capability) String

func (m *Capability) String() string

func (*Capability) Unmarshal

func (m *Capability) Unmarshal(dAtA []byte) error

type Close

type Close struct {
	XXX_unrecognized []byte `json:"-"`
}

announce to the server that the client wants to close the connection

it discards any session state of the server

:Returns: :protobuf:msg:`Mysqlx::Ok`

func (*Close) Descriptor

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

func (*Close) Marshal

func (m *Close) Marshal() (dAtA []byte, err error)

func (*Close) MarshalTo

func (m *Close) MarshalTo(dAtA []byte) (int, error)

func (*Close) ProtoMessage

func (*Close) ProtoMessage()

func (*Close) Reset

func (m *Close) Reset()

func (*Close) Size

func (m *Close) Size() (n int)

func (*Close) String

func (m *Close) String() string

func (*Close) Unmarshal

func (m *Close) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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