dummy1

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dummy1ServiceGetJobListResult_Success_DEFAULT []*structs.Job

Functions

This section is empty.

Types

type Dummy1Exception

type Dummy1Exception struct {
}
var Dummy1ServiceGetJobListResult_E_DEFAULT *Dummy1Exception
var Dummy1ServicePingResult_E_DEFAULT *Dummy1Exception

func NewDummy1Exception

func NewDummy1Exception() *Dummy1Exception

func (*Dummy1Exception) Error

func (p *Dummy1Exception) Error() string

func (*Dummy1Exception) Read

func (p *Dummy1Exception) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Dummy1Exception) String

func (p *Dummy1Exception) String() string

func (*Dummy1Exception) Write

func (p *Dummy1Exception) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy1Service

type Dummy1Service interface {
	Ping(ctx context.Context) (err error)

	GetJobList(ctx context.Context) (r []*structs.Job, err error)
}

type Dummy1ServiceClient

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

func NewDummy1ServiceClient

func NewDummy1ServiceClient(c thrift.TClient) *Dummy1ServiceClient

func NewDummy1ServiceClientProtocol

func NewDummy1ServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *Dummy1ServiceClient

func (*Dummy1ServiceClient) Client_

func (p *Dummy1ServiceClient) Client_() thrift.TClient

func (*Dummy1ServiceClient) GetJobList added in v0.1.2

func (p *Dummy1ServiceClient) GetJobList(ctx context.Context) (r []*structs.Job, err error)

func (*Dummy1ServiceClient) Ping

func (p *Dummy1ServiceClient) Ping(ctx context.Context) (err error)

type Dummy1ServiceGetJobListArgs added in v0.1.2

type Dummy1ServiceGetJobListArgs struct {
}

func NewDummy1ServiceGetJobListArgs added in v0.1.2

func NewDummy1ServiceGetJobListArgs() *Dummy1ServiceGetJobListArgs

func (*Dummy1ServiceGetJobListArgs) Read added in v0.1.2

func (*Dummy1ServiceGetJobListArgs) String added in v0.1.2

func (p *Dummy1ServiceGetJobListArgs) String() string

func (*Dummy1ServiceGetJobListArgs) Write added in v0.1.2

func (p *Dummy1ServiceGetJobListArgs) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy1ServiceGetJobListResult added in v0.1.2

type Dummy1ServiceGetJobListResult struct {
	Success []*structs.Job   `thrift:"success,0,optional" json:"success,omitempty"`
	E       *Dummy1Exception `thrift:"e,1,optional" json:"e,omitempty"`
}

func NewDummy1ServiceGetJobListResult added in v0.1.2

func NewDummy1ServiceGetJobListResult() *Dummy1ServiceGetJobListResult

func (*Dummy1ServiceGetJobListResult) GetE added in v0.1.2

func (*Dummy1ServiceGetJobListResult) GetSuccess added in v0.1.2

func (p *Dummy1ServiceGetJobListResult) GetSuccess() (v []*structs.Job)

func (*Dummy1ServiceGetJobListResult) IsSetE added in v0.1.2

func (p *Dummy1ServiceGetJobListResult) IsSetE() bool

func (*Dummy1ServiceGetJobListResult) IsSetSuccess added in v0.1.2

func (p *Dummy1ServiceGetJobListResult) IsSetSuccess() bool

func (*Dummy1ServiceGetJobListResult) Read added in v0.1.2

func (*Dummy1ServiceGetJobListResult) ReadField0 added in v0.1.2

func (*Dummy1ServiceGetJobListResult) ReadField1 added in v0.1.2

func (*Dummy1ServiceGetJobListResult) String added in v0.1.2

func (*Dummy1ServiceGetJobListResult) Write added in v0.1.2

type Dummy1ServicePingArgs

type Dummy1ServicePingArgs struct {
}

func NewDummy1ServicePingArgs

func NewDummy1ServicePingArgs() *Dummy1ServicePingArgs

func (*Dummy1ServicePingArgs) Read

func (p *Dummy1ServicePingArgs) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Dummy1ServicePingArgs) String

func (p *Dummy1ServicePingArgs) String() string

func (*Dummy1ServicePingArgs) Write

func (p *Dummy1ServicePingArgs) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy1ServicePingResult

type Dummy1ServicePingResult struct {
	E *Dummy1Exception `thrift:"e,1,optional" json:"e,omitempty"`
}

func NewDummy1ServicePingResult

func NewDummy1ServicePingResult() *Dummy1ServicePingResult

func (*Dummy1ServicePingResult) GetE

func (*Dummy1ServicePingResult) IsSetE

func (p *Dummy1ServicePingResult) IsSetE() bool

func (*Dummy1ServicePingResult) Read

func (p *Dummy1ServicePingResult) Read(ctx context.Context, iprot thrift.TProtocol) (err error)

func (*Dummy1ServicePingResult) ReadField1

func (p *Dummy1ServicePingResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*Dummy1ServicePingResult) String

func (p *Dummy1ServicePingResult) String() string

func (*Dummy1ServicePingResult) Write

func (p *Dummy1ServicePingResult) Write(ctx context.Context, oprot thrift.TProtocol) (err error)

type Dummy1ServiceProcessor

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

func NewDummy1ServiceProcessor

func NewDummy1ServiceProcessor(handler Dummy1Service) *Dummy1ServiceProcessor

func (*Dummy1ServiceProcessor) AddToProcessorMap

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

func (*Dummy1ServiceProcessor) GetProcessorFunction

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

func (*Dummy1ServiceProcessor) Process

func (p *Dummy1ServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*Dummy1ServiceProcessor) ProcessorMap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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