rc

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RemoteControllerCleanResult_Success_DEFAULT bool
View Source
var RemoteControllerExitResult_Success_DEFAULT bool
View Source
var RemoteControllerPingResult_Success_DEFAULT bool
View Source
var RemoteControllerResumeMemberResult_Success_DEFAULT bool
View Source
var RemoteControllerShutdownClusterResult_Success_DEFAULT bool
View Source
var RemoteControllerShutdownMemberResult_Success_DEFAULT bool
View Source
var RemoteControllerSuspendMemberResult_Success_DEFAULT bool
View Source
var RemoteControllerTerminateClusterResult_Success_DEFAULT bool
View Source
var RemoteControllerTerminateMemberResult_Success_DEFAULT bool

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	ID string `thrift:"id,1" db:"id" json:"id"`
}

Attributes:

  • ID
var RemoteControllerCreateClusterResult_Success_DEFAULT *Cluster
var RemoteControllerMergeMemberToClusterResult_Success_DEFAULT *Cluster
var RemoteControllerSplitMemberFromClusterResult_Success_DEFAULT *Cluster

func NewCluster

func NewCluster() *Cluster

func (*Cluster) GetID

func (p *Cluster) GetID() string

func (*Cluster) Read

func (p *Cluster) Read(iprot thrift.TProtocol) error

func (*Cluster) ReadField1

func (p *Cluster) ReadField1(iprot thrift.TProtocol) error

func (*Cluster) String

func (p *Cluster) String() string

func (*Cluster) Write

func (p *Cluster) Write(oprot thrift.TProtocol) error

type Lang

type Lang int64
const (
	Lang_JAVASCRIPT Lang = 1
	Lang_GROOVY     Lang = 2
	Lang_PYTHON     Lang = 3
	Lang_RUBY       Lang = 4
)

func LangFromString

func LangFromString(s string) (Lang, error)

func LangPtr

func LangPtr(v Lang) *Lang

func (Lang) MarshalText

func (p Lang) MarshalText() ([]byte, error)

func (*Lang) Scan

func (p *Lang) Scan(value interface{}) error

func (Lang) String

func (p Lang) String() string

func (*Lang) UnmarshalText

func (p *Lang) UnmarshalText(text []byte) error

func (*Lang) Value

func (p *Lang) Value() (driver.Value, error)

type Member

type Member struct {
	UUID string `thrift:"uuid,1" db:"uuid" json:"uuid"`
	Host string `thrift:"host,2" db:"host" json:"host"`
	Port int32  `thrift:"port,3" db:"port" json:"port"`
}

Attributes:

  • UUID
  • Host
  • Port
var RemoteControllerStartMemberResult_Success_DEFAULT *Member

func NewMember

func NewMember() *Member

func (*Member) GetHost

func (p *Member) GetHost() string

func (*Member) GetPort

func (p *Member) GetPort() int32

func (*Member) GetUUID

func (p *Member) GetUUID() string

func (*Member) Read

func (p *Member) Read(iprot thrift.TProtocol) error

func (*Member) ReadField1

func (p *Member) ReadField1(iprot thrift.TProtocol) error

func (*Member) ReadField2

func (p *Member) ReadField2(iprot thrift.TProtocol) error

func (*Member) ReadField3

func (p *Member) ReadField3(iprot thrift.TProtocol) error

func (*Member) String

func (p *Member) String() string

func (*Member) Write

func (p *Member) Write(oprot thrift.TProtocol) error

type RemoteController

type RemoteController interface {
	Ping() (r bool, err error)
	Clean() (r bool, err error)
	Exit() (r bool, err error)
	// Parameters:
	//  - HzVersion
	//  - Xmlconfig
	CreateCluster(hzVersion string, xmlconfig string) (r *Cluster, err error)
	// Parameters:
	//  - ClusterId
	StartMember(clusterId string) (r *Member, err error)
	// Parameters:
	//  - ClusterId
	//  - MemberId
	ShutdownMember(clusterId string, memberId string) (r bool, err error)
	// Parameters:
	//  - ClusterId
	//  - MemberId
	TerminateMember(clusterId string, memberId string) (r bool, err error)
	// Parameters:
	//  - ClusterId
	//  - MemberId
	SuspendMember(clusterId string, memberId string) (r bool, err error)
	// Parameters:
	//  - ClusterId
	//  - MemberId
	ResumeMember(clusterId string, memberId string) (r bool, err error)
	// Parameters:
	//  - ClusterId
	ShutdownCluster(clusterId string) (r bool, err error)
	// Parameters:
	//  - ClusterId
	TerminateCluster(clusterId string) (r bool, err error)
	// Parameters:
	//  - MemberId
	SplitMemberFromCluster(memberId string) (r *Cluster, err error)
	// Parameters:
	//  - ClusterId
	//  - MemberId
	MergeMemberToCluster(clusterId string, memberId string) (r *Cluster, err error)
	// Parameters:
	//  - ClusterId
	//  - Script
	//  - Lang
	ExecuteOnController(clusterId string, script string, lang Lang) (r *Response, err error)
}

type RemoteControllerCleanArgs

type RemoteControllerCleanArgs struct {
}

func NewRemoteControllerCleanArgs

func NewRemoteControllerCleanArgs() *RemoteControllerCleanArgs

func (*RemoteControllerCleanArgs) Read

func (*RemoteControllerCleanArgs) String

func (p *RemoteControllerCleanArgs) String() string

func (*RemoteControllerCleanArgs) Write

type RemoteControllerCleanResult

type RemoteControllerCleanResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerCleanResult

func NewRemoteControllerCleanResult() *RemoteControllerCleanResult

func (*RemoteControllerCleanResult) GetSuccess

func (p *RemoteControllerCleanResult) GetSuccess() bool

func (*RemoteControllerCleanResult) IsSetSuccess

func (p *RemoteControllerCleanResult) IsSetSuccess() bool

func (*RemoteControllerCleanResult) Read

func (*RemoteControllerCleanResult) ReadField0

func (p *RemoteControllerCleanResult) ReadField0(iprot thrift.TProtocol) error

func (*RemoteControllerCleanResult) String

func (p *RemoteControllerCleanResult) String() string

func (*RemoteControllerCleanResult) Write

type RemoteControllerClient

type RemoteControllerClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}

func NewRemoteControllerClient

func NewRemoteControllerClient(hostPort string) (rc *RemoteControllerClient, err error)

func NewRemoteControllerClientProtocol

func NewRemoteControllerClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *RemoteControllerClient

func (*RemoteControllerClient) Clean

func (p *RemoteControllerClient) Clean() (r bool, err error)

func (*RemoteControllerClient) CreateCluster

func (p *RemoteControllerClient) CreateCluster(hzVersion string, xmlconfig string) (r *Cluster, err error)

Parameters:

  • HzVersion
  • Xmlconfig

func (*RemoteControllerClient) ExecuteOnController

func (p *RemoteControllerClient) ExecuteOnController(clusterId string, script string, lang Lang) (r *Response, err error)

Parameters:

  • ClusterId
  • Script
  • Lang

func (*RemoteControllerClient) Exit

func (p *RemoteControllerClient) Exit() (r bool, err error)

func (*RemoteControllerClient) MergeMemberToCluster

func (p *RemoteControllerClient) MergeMemberToCluster(clusterId string, memberId string) (r *Cluster, err error)

Parameters:

  • ClusterId
  • MemberId

func (*RemoteControllerClient) Ping

func (p *RemoteControllerClient) Ping() (r bool, err error)

func (*RemoteControllerClient) ResumeMember

func (p *RemoteControllerClient) ResumeMember(clusterId string, memberId string) (r bool, err error)

Parameters:

  • ClusterId
  • MemberId

func (*RemoteControllerClient) ShutdownCluster

func (p *RemoteControllerClient) ShutdownCluster(clusterId string) (r bool, err error)

Parameters:

  • ClusterId

func (*RemoteControllerClient) ShutdownMember

func (p *RemoteControllerClient) ShutdownMember(clusterId string, memberId string) (r bool, err error)

Parameters:

  • ClusterId
  • MemberId

func (*RemoteControllerClient) SplitMemberFromCluster

func (p *RemoteControllerClient) SplitMemberFromCluster(memberId string) (r *Cluster, err error)

Parameters:

  • MemberId

func (*RemoteControllerClient) StartMember

func (p *RemoteControllerClient) StartMember(clusterId string) (r *Member, err error)

Parameters:

  • ClusterId

func (*RemoteControllerClient) SuspendMember

func (p *RemoteControllerClient) SuspendMember(clusterId string, memberId string) (r bool, err error)

Parameters:

  • ClusterId
  • MemberId

func (*RemoteControllerClient) TerminateCluster

func (p *RemoteControllerClient) TerminateCluster(clusterId string) (r bool, err error)

Parameters:

  • ClusterId

func (*RemoteControllerClient) TerminateMember

func (p *RemoteControllerClient) TerminateMember(clusterId string, memberId string) (r bool, err error)

Parameters:

  • ClusterId
  • MemberId

type RemoteControllerCreateClusterArgs

type RemoteControllerCreateClusterArgs struct {
	HzVersion string `thrift:"hzVersion,1" db:"hzVersion" json:"hzVersion"`
	Xmlconfig string `thrift:"xmlconfig,2" db:"xmlconfig" json:"xmlconfig"`
}

Attributes:

  • HzVersion
  • Xmlconfig

func NewRemoteControllerCreateClusterArgs

func NewRemoteControllerCreateClusterArgs() *RemoteControllerCreateClusterArgs

func (*RemoteControllerCreateClusterArgs) GetHzVersion

func (p *RemoteControllerCreateClusterArgs) GetHzVersion() string

func (*RemoteControllerCreateClusterArgs) GetXmlconfig

func (p *RemoteControllerCreateClusterArgs) GetXmlconfig() string

func (*RemoteControllerCreateClusterArgs) Read

func (*RemoteControllerCreateClusterArgs) ReadField1

func (*RemoteControllerCreateClusterArgs) ReadField2

func (*RemoteControllerCreateClusterArgs) String

func (*RemoteControllerCreateClusterArgs) Write

type RemoteControllerCreateClusterResult

type RemoteControllerCreateClusterResult struct {
	Success         *Cluster         `thrift:"success,0" db:"success" json:"success,omitempty"`
	ServerException *ServerException `thrift:"serverException,1" db:"serverException" json:"serverException,omitempty"`
}

Attributes:

  • Success
  • ServerException

func NewRemoteControllerCreateClusterResult

func NewRemoteControllerCreateClusterResult() *RemoteControllerCreateClusterResult

func (*RemoteControllerCreateClusterResult) GetServerException

func (p *RemoteControllerCreateClusterResult) GetServerException() *ServerException

func (*RemoteControllerCreateClusterResult) GetSuccess

func (*RemoteControllerCreateClusterResult) IsSetServerException

func (p *RemoteControllerCreateClusterResult) IsSetServerException() bool

func (*RemoteControllerCreateClusterResult) IsSetSuccess

func (p *RemoteControllerCreateClusterResult) IsSetSuccess() bool

func (*RemoteControllerCreateClusterResult) Read

func (*RemoteControllerCreateClusterResult) ReadField0

func (*RemoteControllerCreateClusterResult) ReadField1

func (*RemoteControllerCreateClusterResult) String

func (*RemoteControllerCreateClusterResult) Write

type RemoteControllerExecuteOnControllerArgs

type RemoteControllerExecuteOnControllerArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
	Script    string `thrift:"script,2" db:"script" json:"script"`
	Lang      Lang   `thrift:"lang,3" db:"lang" json:"lang"`
}

Attributes:

  • ClusterId
  • Script
  • Lang

func NewRemoteControllerExecuteOnControllerArgs

func NewRemoteControllerExecuteOnControllerArgs() *RemoteControllerExecuteOnControllerArgs

func (*RemoteControllerExecuteOnControllerArgs) GetClusterId

func (*RemoteControllerExecuteOnControllerArgs) GetLang

func (*RemoteControllerExecuteOnControllerArgs) GetScript

func (*RemoteControllerExecuteOnControllerArgs) Read

func (*RemoteControllerExecuteOnControllerArgs) ReadField1

func (*RemoteControllerExecuteOnControllerArgs) ReadField2

func (*RemoteControllerExecuteOnControllerArgs) ReadField3

func (*RemoteControllerExecuteOnControllerArgs) String

func (*RemoteControllerExecuteOnControllerArgs) Write

type RemoteControllerExecuteOnControllerResult

type RemoteControllerExecuteOnControllerResult struct {
	Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerExecuteOnControllerResult

func NewRemoteControllerExecuteOnControllerResult() *RemoteControllerExecuteOnControllerResult

func (*RemoteControllerExecuteOnControllerResult) GetSuccess

func (*RemoteControllerExecuteOnControllerResult) IsSetSuccess

func (*RemoteControllerExecuteOnControllerResult) Read

func (*RemoteControllerExecuteOnControllerResult) ReadField0

func (*RemoteControllerExecuteOnControllerResult) String

func (*RemoteControllerExecuteOnControllerResult) Write

type RemoteControllerExitArgs

type RemoteControllerExitArgs struct {
}

func NewRemoteControllerExitArgs

func NewRemoteControllerExitArgs() *RemoteControllerExitArgs

func (*RemoteControllerExitArgs) Read

func (*RemoteControllerExitArgs) String

func (p *RemoteControllerExitArgs) String() string

func (*RemoteControllerExitArgs) Write

type RemoteControllerExitResult

type RemoteControllerExitResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerExitResult

func NewRemoteControllerExitResult() *RemoteControllerExitResult

func (*RemoteControllerExitResult) GetSuccess

func (p *RemoteControllerExitResult) GetSuccess() bool

func (*RemoteControllerExitResult) IsSetSuccess

func (p *RemoteControllerExitResult) IsSetSuccess() bool

func (*RemoteControllerExitResult) Read

func (*RemoteControllerExitResult) ReadField0

func (p *RemoteControllerExitResult) ReadField0(iprot thrift.TProtocol) error

func (*RemoteControllerExitResult) String

func (p *RemoteControllerExitResult) String() string

func (*RemoteControllerExitResult) Write

type RemoteControllerMergeMemberToClusterArgs

type RemoteControllerMergeMemberToClusterArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
	MemberId  string `thrift:"memberId,2" db:"memberId" json:"memberId"`
}

Attributes:

  • ClusterId
  • MemberId

func NewRemoteControllerMergeMemberToClusterArgs

func NewRemoteControllerMergeMemberToClusterArgs() *RemoteControllerMergeMemberToClusterArgs

func (*RemoteControllerMergeMemberToClusterArgs) GetClusterId

func (*RemoteControllerMergeMemberToClusterArgs) GetMemberId

func (*RemoteControllerMergeMemberToClusterArgs) Read

func (*RemoteControllerMergeMemberToClusterArgs) ReadField1

func (*RemoteControllerMergeMemberToClusterArgs) ReadField2

func (*RemoteControllerMergeMemberToClusterArgs) String

func (*RemoteControllerMergeMemberToClusterArgs) Write

type RemoteControllerMergeMemberToClusterResult

type RemoteControllerMergeMemberToClusterResult struct {
	Success *Cluster `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerMergeMemberToClusterResult

func NewRemoteControllerMergeMemberToClusterResult() *RemoteControllerMergeMemberToClusterResult

func (*RemoteControllerMergeMemberToClusterResult) GetSuccess

func (*RemoteControllerMergeMemberToClusterResult) IsSetSuccess

func (*RemoteControllerMergeMemberToClusterResult) Read

func (*RemoteControllerMergeMemberToClusterResult) ReadField0

func (*RemoteControllerMergeMemberToClusterResult) String

func (*RemoteControllerMergeMemberToClusterResult) Write

type RemoteControllerPingArgs

type RemoteControllerPingArgs struct {
}

func NewRemoteControllerPingArgs

func NewRemoteControllerPingArgs() *RemoteControllerPingArgs

func (*RemoteControllerPingArgs) Read

func (*RemoteControllerPingArgs) String

func (p *RemoteControllerPingArgs) String() string

func (*RemoteControllerPingArgs) Write

type RemoteControllerPingResult

type RemoteControllerPingResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerPingResult

func NewRemoteControllerPingResult() *RemoteControllerPingResult

func (*RemoteControllerPingResult) GetSuccess

func (p *RemoteControllerPingResult) GetSuccess() bool

func (*RemoteControllerPingResult) IsSetSuccess

func (p *RemoteControllerPingResult) IsSetSuccess() bool

func (*RemoteControllerPingResult) Read

func (*RemoteControllerPingResult) ReadField0

func (p *RemoteControllerPingResult) ReadField0(iprot thrift.TProtocol) error

func (*RemoteControllerPingResult) String

func (p *RemoteControllerPingResult) String() string

func (*RemoteControllerPingResult) Write

type RemoteControllerProcessor

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

func NewRemoteControllerProcessor

func NewRemoteControllerProcessor(handler RemoteController) *RemoteControllerProcessor

func (*RemoteControllerProcessor) AddToProcessorMap

func (p *RemoteControllerProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*RemoteControllerProcessor) GetProcessorFunction

func (p *RemoteControllerProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*RemoteControllerProcessor) Process

func (p *RemoteControllerProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*RemoteControllerProcessor) ProcessorMap

type RemoteControllerResumeMemberArgs

type RemoteControllerResumeMemberArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
	MemberId  string `thrift:"memberId,2" db:"memberId" json:"memberId"`
}

Attributes:

  • ClusterId
  • MemberId

func NewRemoteControllerResumeMemberArgs

func NewRemoteControllerResumeMemberArgs() *RemoteControllerResumeMemberArgs

func (*RemoteControllerResumeMemberArgs) GetClusterId

func (p *RemoteControllerResumeMemberArgs) GetClusterId() string

func (*RemoteControllerResumeMemberArgs) GetMemberId

func (p *RemoteControllerResumeMemberArgs) GetMemberId() string

func (*RemoteControllerResumeMemberArgs) Read

func (*RemoteControllerResumeMemberArgs) ReadField1

func (*RemoteControllerResumeMemberArgs) ReadField2

func (*RemoteControllerResumeMemberArgs) String

func (*RemoteControllerResumeMemberArgs) Write

type RemoteControllerResumeMemberResult

type RemoteControllerResumeMemberResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerResumeMemberResult

func NewRemoteControllerResumeMemberResult() *RemoteControllerResumeMemberResult

func (*RemoteControllerResumeMemberResult) GetSuccess

func (p *RemoteControllerResumeMemberResult) GetSuccess() bool

func (*RemoteControllerResumeMemberResult) IsSetSuccess

func (p *RemoteControllerResumeMemberResult) IsSetSuccess() bool

func (*RemoteControllerResumeMemberResult) Read

func (*RemoteControllerResumeMemberResult) ReadField0

func (*RemoteControllerResumeMemberResult) String

func (*RemoteControllerResumeMemberResult) Write

type RemoteControllerShutdownClusterArgs

type RemoteControllerShutdownClusterArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
}

Attributes:

  • ClusterId

func NewRemoteControllerShutdownClusterArgs

func NewRemoteControllerShutdownClusterArgs() *RemoteControllerShutdownClusterArgs

func (*RemoteControllerShutdownClusterArgs) GetClusterId

func (p *RemoteControllerShutdownClusterArgs) GetClusterId() string

func (*RemoteControllerShutdownClusterArgs) Read

func (*RemoteControllerShutdownClusterArgs) ReadField1

func (*RemoteControllerShutdownClusterArgs) String

func (*RemoteControllerShutdownClusterArgs) Write

type RemoteControllerShutdownClusterResult

type RemoteControllerShutdownClusterResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerShutdownClusterResult

func NewRemoteControllerShutdownClusterResult() *RemoteControllerShutdownClusterResult

func (*RemoteControllerShutdownClusterResult) GetSuccess

func (*RemoteControllerShutdownClusterResult) IsSetSuccess

func (p *RemoteControllerShutdownClusterResult) IsSetSuccess() bool

func (*RemoteControllerShutdownClusterResult) Read

func (*RemoteControllerShutdownClusterResult) ReadField0

func (*RemoteControllerShutdownClusterResult) String

func (*RemoteControllerShutdownClusterResult) Write

type RemoteControllerShutdownMemberArgs

type RemoteControllerShutdownMemberArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
	MemberId  string `thrift:"memberId,2" db:"memberId" json:"memberId"`
}

Attributes:

  • ClusterId
  • MemberId

func NewRemoteControllerShutdownMemberArgs

func NewRemoteControllerShutdownMemberArgs() *RemoteControllerShutdownMemberArgs

func (*RemoteControllerShutdownMemberArgs) GetClusterId

func (p *RemoteControllerShutdownMemberArgs) GetClusterId() string

func (*RemoteControllerShutdownMemberArgs) GetMemberId

func (p *RemoteControllerShutdownMemberArgs) GetMemberId() string

func (*RemoteControllerShutdownMemberArgs) Read

func (*RemoteControllerShutdownMemberArgs) ReadField1

func (*RemoteControllerShutdownMemberArgs) ReadField2

func (*RemoteControllerShutdownMemberArgs) String

func (*RemoteControllerShutdownMemberArgs) Write

type RemoteControllerShutdownMemberResult

type RemoteControllerShutdownMemberResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerShutdownMemberResult

func NewRemoteControllerShutdownMemberResult() *RemoteControllerShutdownMemberResult

func (*RemoteControllerShutdownMemberResult) GetSuccess

func (*RemoteControllerShutdownMemberResult) IsSetSuccess

func (p *RemoteControllerShutdownMemberResult) IsSetSuccess() bool

func (*RemoteControllerShutdownMemberResult) Read

func (*RemoteControllerShutdownMemberResult) ReadField0

func (*RemoteControllerShutdownMemberResult) String

func (*RemoteControllerShutdownMemberResult) Write

type RemoteControllerSplitMemberFromClusterArgs

type RemoteControllerSplitMemberFromClusterArgs struct {
	MemberId string `thrift:"memberId,1" db:"memberId" json:"memberId"`
}

Attributes:

  • MemberId

func NewRemoteControllerSplitMemberFromClusterArgs

func NewRemoteControllerSplitMemberFromClusterArgs() *RemoteControllerSplitMemberFromClusterArgs

func (*RemoteControllerSplitMemberFromClusterArgs) GetMemberId

func (*RemoteControllerSplitMemberFromClusterArgs) Read

func (*RemoteControllerSplitMemberFromClusterArgs) ReadField1

func (*RemoteControllerSplitMemberFromClusterArgs) String

func (*RemoteControllerSplitMemberFromClusterArgs) Write

type RemoteControllerSplitMemberFromClusterResult

type RemoteControllerSplitMemberFromClusterResult struct {
	Success *Cluster `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerSplitMemberFromClusterResult

func NewRemoteControllerSplitMemberFromClusterResult() *RemoteControllerSplitMemberFromClusterResult

func (*RemoteControllerSplitMemberFromClusterResult) GetSuccess

func (*RemoteControllerSplitMemberFromClusterResult) IsSetSuccess

func (*RemoteControllerSplitMemberFromClusterResult) Read

func (*RemoteControllerSplitMemberFromClusterResult) ReadField0

func (*RemoteControllerSplitMemberFromClusterResult) String

func (*RemoteControllerSplitMemberFromClusterResult) Write

type RemoteControllerStartMemberArgs

type RemoteControllerStartMemberArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
}

Attributes:

  • ClusterId

func NewRemoteControllerStartMemberArgs

func NewRemoteControllerStartMemberArgs() *RemoteControllerStartMemberArgs

func (*RemoteControllerStartMemberArgs) GetClusterId

func (p *RemoteControllerStartMemberArgs) GetClusterId() string

func (*RemoteControllerStartMemberArgs) Read

func (*RemoteControllerStartMemberArgs) ReadField1

func (*RemoteControllerStartMemberArgs) String

func (*RemoteControllerStartMemberArgs) Write

type RemoteControllerStartMemberResult

type RemoteControllerStartMemberResult struct {
	Success         *Member          `thrift:"success,0" db:"success" json:"success,omitempty"`
	ServerException *ServerException `thrift:"serverException,1" db:"serverException" json:"serverException,omitempty"`
}

Attributes:

  • Success
  • ServerException

func NewRemoteControllerStartMemberResult

func NewRemoteControllerStartMemberResult() *RemoteControllerStartMemberResult

func (*RemoteControllerStartMemberResult) GetServerException

func (p *RemoteControllerStartMemberResult) GetServerException() *ServerException

func (*RemoteControllerStartMemberResult) GetSuccess

func (p *RemoteControllerStartMemberResult) GetSuccess() *Member

func (*RemoteControllerStartMemberResult) IsSetServerException

func (p *RemoteControllerStartMemberResult) IsSetServerException() bool

func (*RemoteControllerStartMemberResult) IsSetSuccess

func (p *RemoteControllerStartMemberResult) IsSetSuccess() bool

func (*RemoteControllerStartMemberResult) Read

func (*RemoteControllerStartMemberResult) ReadField0

func (*RemoteControllerStartMemberResult) ReadField1

func (*RemoteControllerStartMemberResult) String

func (*RemoteControllerStartMemberResult) Write

type RemoteControllerSuspendMemberArgs

type RemoteControllerSuspendMemberArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
	MemberId  string `thrift:"memberId,2" db:"memberId" json:"memberId"`
}

Attributes:

  • ClusterId
  • MemberId

func NewRemoteControllerSuspendMemberArgs

func NewRemoteControllerSuspendMemberArgs() *RemoteControllerSuspendMemberArgs

func (*RemoteControllerSuspendMemberArgs) GetClusterId

func (p *RemoteControllerSuspendMemberArgs) GetClusterId() string

func (*RemoteControllerSuspendMemberArgs) GetMemberId

func (p *RemoteControllerSuspendMemberArgs) GetMemberId() string

func (*RemoteControllerSuspendMemberArgs) Read

func (*RemoteControllerSuspendMemberArgs) ReadField1

func (*RemoteControllerSuspendMemberArgs) ReadField2

func (*RemoteControllerSuspendMemberArgs) String

func (*RemoteControllerSuspendMemberArgs) Write

type RemoteControllerSuspendMemberResult

type RemoteControllerSuspendMemberResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerSuspendMemberResult

func NewRemoteControllerSuspendMemberResult() *RemoteControllerSuspendMemberResult

func (*RemoteControllerSuspendMemberResult) GetSuccess

func (p *RemoteControllerSuspendMemberResult) GetSuccess() bool

func (*RemoteControllerSuspendMemberResult) IsSetSuccess

func (p *RemoteControllerSuspendMemberResult) IsSetSuccess() bool

func (*RemoteControllerSuspendMemberResult) Read

func (*RemoteControllerSuspendMemberResult) ReadField0

func (*RemoteControllerSuspendMemberResult) String

func (*RemoteControllerSuspendMemberResult) Write

type RemoteControllerTerminateClusterArgs

type RemoteControllerTerminateClusterArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
}

Attributes:

  • ClusterId

func NewRemoteControllerTerminateClusterArgs

func NewRemoteControllerTerminateClusterArgs() *RemoteControllerTerminateClusterArgs

func (*RemoteControllerTerminateClusterArgs) GetClusterId

func (p *RemoteControllerTerminateClusterArgs) GetClusterId() string

func (*RemoteControllerTerminateClusterArgs) Read

func (*RemoteControllerTerminateClusterArgs) ReadField1

func (*RemoteControllerTerminateClusterArgs) String

func (*RemoteControllerTerminateClusterArgs) Write

type RemoteControllerTerminateClusterResult

type RemoteControllerTerminateClusterResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerTerminateClusterResult

func NewRemoteControllerTerminateClusterResult() *RemoteControllerTerminateClusterResult

func (*RemoteControllerTerminateClusterResult) GetSuccess

func (*RemoteControllerTerminateClusterResult) IsSetSuccess

func (p *RemoteControllerTerminateClusterResult) IsSetSuccess() bool

func (*RemoteControllerTerminateClusterResult) Read

func (*RemoteControllerTerminateClusterResult) ReadField0

func (*RemoteControllerTerminateClusterResult) String

func (*RemoteControllerTerminateClusterResult) Write

type RemoteControllerTerminateMemberArgs

type RemoteControllerTerminateMemberArgs struct {
	ClusterId string `thrift:"clusterId,1" db:"clusterId" json:"clusterId"`
	MemberId  string `thrift:"memberId,2" db:"memberId" json:"memberId"`
}

Attributes:

  • ClusterId
  • MemberId

func NewRemoteControllerTerminateMemberArgs

func NewRemoteControllerTerminateMemberArgs() *RemoteControllerTerminateMemberArgs

func (*RemoteControllerTerminateMemberArgs) GetClusterId

func (p *RemoteControllerTerminateMemberArgs) GetClusterId() string

func (*RemoteControllerTerminateMemberArgs) GetMemberId

func (*RemoteControllerTerminateMemberArgs) Read

func (*RemoteControllerTerminateMemberArgs) ReadField1

func (*RemoteControllerTerminateMemberArgs) ReadField2

func (*RemoteControllerTerminateMemberArgs) String

func (*RemoteControllerTerminateMemberArgs) Write

type RemoteControllerTerminateMemberResult

type RemoteControllerTerminateMemberResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewRemoteControllerTerminateMemberResult

func NewRemoteControllerTerminateMemberResult() *RemoteControllerTerminateMemberResult

func (*RemoteControllerTerminateMemberResult) GetSuccess

func (*RemoteControllerTerminateMemberResult) IsSetSuccess

func (p *RemoteControllerTerminateMemberResult) IsSetSuccess() bool

func (*RemoteControllerTerminateMemberResult) Read

func (*RemoteControllerTerminateMemberResult) ReadField0

func (*RemoteControllerTerminateMemberResult) String

func (*RemoteControllerTerminateMemberResult) Write

type Response

type Response struct {
	Success bool   `thrift:"success,1" db:"success" json:"success"`
	Message string `thrift:"message,2" db:"message" json:"message"`
	Result_ []byte `thrift:"result,3" db:"result" json:"result"`
}

Attributes:

  • Success
  • Message
  • Result_
var RemoteControllerExecuteOnControllerResult_Success_DEFAULT *Response

func NewResponse

func NewResponse() *Response

func (*Response) GetMessage

func (p *Response) GetMessage() string

func (*Response) GetResult_

func (p *Response) GetResult_() []byte

func (*Response) GetSuccess

func (p *Response) GetSuccess() bool

func (*Response) Read

func (p *Response) Read(iprot thrift.TProtocol) error

func (*Response) ReadField1

func (p *Response) ReadField1(iprot thrift.TProtocol) error

func (*Response) ReadField2

func (p *Response) ReadField2(iprot thrift.TProtocol) error

func (*Response) ReadField3

func (p *Response) ReadField3(iprot thrift.TProtocol) error

func (*Response) String

func (p *Response) String() string

func (*Response) Write

func (p *Response) Write(oprot thrift.TProtocol) error

type ServerException

type ServerException struct {
	Message string `thrift:"message,1" db:"message" json:"message"`
}

Attributes:

  • Message
var RemoteControllerCreateClusterResult_ServerException_DEFAULT *ServerException
var RemoteControllerStartMemberResult_ServerException_DEFAULT *ServerException

func NewServerException

func NewServerException() *ServerException

func (*ServerException) Error

func (p *ServerException) Error() string

func (*ServerException) GetMessage

func (p *ServerException) GetMessage() string

func (*ServerException) Read

func (p *ServerException) Read(iprot thrift.TProtocol) error

func (*ServerException) ReadField1

func (p *ServerException) ReadField1(iprot thrift.TProtocol) error

func (*ServerException) String

func (p *ServerException) String() string

func (*ServerException) Write

func (p *ServerException) Write(oprot thrift.TProtocol) error

Jump to

Keyboard shortcuts

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