mysqlx_connection

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mysqlx_connection is a generated protocol buffer package.

It is generated from these files:

mysqlx_connection.proto

It has these top-level messages:

Capability
Capabilities
CapabilitiesGet
CapabilitiesSet
Close

Index

Constants

This section is empty.

Variables

This section is empty.

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) ProtoMessage

func (*Capabilities) ProtoMessage()

func (*Capabilities) Reset

func (m *Capabilities) Reset()

func (*Capabilities) String

func (m *Capabilities) String() string

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) ProtoMessage

func (*CapabilitiesGet) ProtoMessage()

func (*CapabilitiesGet) Reset

func (m *CapabilitiesGet) Reset()

func (*CapabilitiesGet) String

func (m *CapabilitiesGet) String() string

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) ProtoMessage

func (*CapabilitiesSet) ProtoMessage()

func (*CapabilitiesSet) Reset

func (m *CapabilitiesSet) Reset()

func (*CapabilitiesSet) String

func (m *CapabilitiesSet) String() string

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) ProtoMessage

func (*Capability) ProtoMessage()

func (*Capability) Reset

func (m *Capability) Reset()

func (*Capability) String

func (m *Capability) String() string

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) ProtoMessage

func (*Close) ProtoMessage()

func (*Close) Reset

func (m *Close) Reset()

func (*Close) String

func (m *Close) String() string

Jump to

Keyboard shortcuts

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