testmessages

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_jmalloc_ax_axtest_testmessages_messages_proto protoreflect.FileDescriptor
View Source
var File_github_com_jmalloc_ax_axtest_testmessages_nopackage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Command

type Command struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Command is a protocol buffers message that implements ax.Command.

func (*Command) Descriptor deprecated

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetValue

func (x *Command) GetValue() string

func (*Command) IsCommand

func (*Command) IsCommand()

IsCommand marks the message as a command.

func (*Command) MessageDescription

func (*Command) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect added in v0.4.2

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) String

func (x *Command) String() string

type Event

type Event struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Event is a protocol buffers message that implements ax.Event.

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetValue

func (x *Event) GetValue() string

func (*Event) IsEvent

func (*Event) IsEvent()

IsEvent marks the message as an event.

func (*Event) MessageDescription

func (*Event) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect added in v0.4.2

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type FailedSelfValidatingCommand

type FailedSelfValidatingCommand struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

FailedSelfValidatingCommand is a protocol buffers message that implements both ax.Command and endpoint.SelfValidatingMessage. Its Validate method returns validation error to test failure scenarios in unit tests

func (*FailedSelfValidatingCommand) Descriptor deprecated

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

Deprecated: Use FailedSelfValidatingCommand.ProtoReflect.Descriptor instead.

func (*FailedSelfValidatingCommand) GetValue

func (x *FailedSelfValidatingCommand) GetValue() string

func (*FailedSelfValidatingCommand) IsCommand

func (*FailedSelfValidatingCommand) IsCommand()

IsCommand marks the message as a command.

func (*FailedSelfValidatingCommand) MessageDescription

func (*FailedSelfValidatingCommand) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*FailedSelfValidatingCommand) ProtoMessage

func (*FailedSelfValidatingCommand) ProtoMessage()

func (*FailedSelfValidatingCommand) ProtoReflect added in v0.4.2

func (*FailedSelfValidatingCommand) Reset

func (x *FailedSelfValidatingCommand) Reset()

func (*FailedSelfValidatingCommand) String

func (x *FailedSelfValidatingCommand) String() string

func (*FailedSelfValidatingCommand) Validate

func (*FailedSelfValidatingCommand) Validate() error

Validate implements the endpoint.SelfValidatingMessage interface. It always returns a test validation message.

type FailedSelfValidatingEvent

type FailedSelfValidatingEvent struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

FailedSelfValidatingEvent is a protocol buffers message that implements both ax.Event and endpoint.SelfValidatingMessage. Its Validate method returns validation error to test failure scenarios in unit tests

func (*FailedSelfValidatingEvent) Descriptor deprecated

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

Deprecated: Use FailedSelfValidatingEvent.ProtoReflect.Descriptor instead.

func (*FailedSelfValidatingEvent) GetValue

func (x *FailedSelfValidatingEvent) GetValue() string

func (*FailedSelfValidatingEvent) IsEvent

func (*FailedSelfValidatingEvent) IsEvent()

IsEvent marks the message as an event.

func (*FailedSelfValidatingEvent) MessageDescription

func (*FailedSelfValidatingEvent) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*FailedSelfValidatingEvent) ProtoMessage

func (*FailedSelfValidatingEvent) ProtoMessage()

func (*FailedSelfValidatingEvent) ProtoReflect added in v0.4.2

func (*FailedSelfValidatingEvent) Reset

func (x *FailedSelfValidatingEvent) Reset()

func (*FailedSelfValidatingEvent) String

func (x *FailedSelfValidatingEvent) String() string

func (*FailedSelfValidatingEvent) Validate

func (*FailedSelfValidatingEvent) Validate() error

Validate implements the endpoint.SelfValidatingMessage interface. It always returns a test validation message.

type Message

type Message struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Message is a protocol buffers message that implements ax.Message.

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetValue

func (x *Message) GetValue() string

func (*Message) MessageDescription

func (*Message) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect added in v0.4.2

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageA

type MessageA struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageA is a protocol buffers message that implements ax.Message.

func (*MessageA) Descriptor deprecated

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

Deprecated: Use MessageA.ProtoReflect.Descriptor instead.

func (*MessageA) GetValue

func (x *MessageA) GetValue() string

func (*MessageA) MessageDescription

func (*MessageA) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*MessageA) ProtoMessage

func (*MessageA) ProtoMessage()

func (*MessageA) ProtoReflect added in v0.4.2

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

func (*MessageA) Reset

func (x *MessageA) Reset()

func (*MessageA) String

func (x *MessageA) String() string

type MessageB

type MessageB struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageB is a protocol buffers message that implements ax.Message.

func (*MessageB) Descriptor deprecated

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

Deprecated: Use MessageB.ProtoReflect.Descriptor instead.

func (*MessageB) GetValue

func (x *MessageB) GetValue() string

func (*MessageB) MessageDescription

func (*MessageB) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*MessageB) ProtoMessage

func (*MessageB) ProtoMessage()

func (*MessageB) ProtoReflect added in v0.4.2

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

func (*MessageB) Reset

func (x *MessageB) Reset()

func (*MessageB) String

func (x *MessageB) String() string

type MessageC

type MessageC struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageC is a protocol buffers message that implements ax.Message.

func (*MessageC) Descriptor deprecated

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

Deprecated: Use MessageC.ProtoReflect.Descriptor instead.

func (*MessageC) GetValue

func (x *MessageC) GetValue() string

func (*MessageC) MessageDescription

func (*MessageC) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*MessageC) ProtoMessage

func (*MessageC) ProtoMessage()

func (*MessageC) ProtoReflect added in v0.4.2

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

func (*MessageC) Reset

func (x *MessageC) Reset()

func (*MessageC) String

func (x *MessageC) String() string

type MessageD

type MessageD struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageD is a protocol buffers message that implements ax.Message.

func (*MessageD) Descriptor deprecated

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

Deprecated: Use MessageD.ProtoReflect.Descriptor instead.

func (*MessageD) GetValue

func (x *MessageD) GetValue() string

func (*MessageD) MessageDescription

func (*MessageD) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*MessageD) ProtoMessage

func (*MessageD) ProtoMessage()

func (*MessageD) ProtoReflect added in v0.4.2

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

func (*MessageD) Reset

func (x *MessageD) Reset()

func (*MessageD) String

func (x *MessageD) String() string

type MessageE

type MessageE struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageE is a protocol buffers message that implements ax.Message.

func (*MessageE) Descriptor deprecated

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

Deprecated: Use MessageE.ProtoReflect.Descriptor instead.

func (*MessageE) GetValue

func (x *MessageE) GetValue() string

func (*MessageE) MessageDescription

func (*MessageE) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*MessageE) ProtoMessage

func (*MessageE) ProtoMessage()

func (*MessageE) ProtoReflect added in v0.4.2

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

func (*MessageE) Reset

func (x *MessageE) Reset()

func (*MessageE) String

func (x *MessageE) String() string

type MessageF

type MessageF struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MessageF is a protocol buffers message that implements ax.Message.

func (*MessageF) Descriptor deprecated

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

Deprecated: Use MessageF.ProtoReflect.Descriptor instead.

func (*MessageF) GetValue

func (x *MessageF) GetValue() string

func (*MessageF) MessageDescription

func (*MessageF) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*MessageF) ProtoMessage

func (*MessageF) ProtoMessage()

func (*MessageF) ProtoReflect added in v0.4.2

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

func (*MessageF) Reset

func (x *MessageF) Reset()

func (*MessageF) String

func (x *MessageF) String() string

type NoPackage

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

func (*NoPackage) Descriptor deprecated

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

Deprecated: Use NoPackage.ProtoReflect.Descriptor instead.

func (*NoPackage) MessageDescription

func (*NoPackage) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*NoPackage) ProtoMessage

func (*NoPackage) ProtoMessage()

func (*NoPackage) ProtoReflect added in v0.4.2

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

func (*NoPackage) Reset

func (x *NoPackage) Reset()

func (*NoPackage) String

func (x *NoPackage) String() string

type NonAxMessage

type NonAxMessage struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

NonAxMessage is a protocol buffers message that does not implement ax.Message.

func (*NonAxMessage) Descriptor deprecated

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

Deprecated: Use NonAxMessage.ProtoReflect.Descriptor instead.

func (*NonAxMessage) GetValue

func (x *NonAxMessage) GetValue() string

func (*NonAxMessage) ProtoMessage

func (*NonAxMessage) ProtoMessage()

func (*NonAxMessage) ProtoReflect added in v0.4.2

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

func (*NonAxMessage) Reset

func (x *NonAxMessage) Reset()

func (*NonAxMessage) String

func (x *NonAxMessage) String() string

type SelfValidatingCommand

type SelfValidatingCommand struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SelfValidatingCommand is a protocol buffers message that implements both ax.Command and endpoint.SelfValidatingMessage.

func (*SelfValidatingCommand) Descriptor deprecated

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

Deprecated: Use SelfValidatingCommand.ProtoReflect.Descriptor instead.

func (*SelfValidatingCommand) GetValue

func (x *SelfValidatingCommand) GetValue() string

func (*SelfValidatingCommand) IsCommand

func (*SelfValidatingCommand) IsCommand()

IsCommand marks the message as a command.

func (*SelfValidatingCommand) MessageDescription

func (*SelfValidatingCommand) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*SelfValidatingCommand) ProtoMessage

func (*SelfValidatingCommand) ProtoMessage()

func (*SelfValidatingCommand) ProtoReflect added in v0.4.2

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

func (*SelfValidatingCommand) Reset

func (x *SelfValidatingCommand) Reset()

func (*SelfValidatingCommand) String

func (x *SelfValidatingCommand) String() string

func (*SelfValidatingCommand) Validate

func (*SelfValidatingCommand) Validate() error

Validate implements the endpoint.SelfValidatingMessage interface

type SelfValidatingEvent

type SelfValidatingEvent struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SelfValidatingEvent is a protocol buffers message that implements both ax.Event and endpoint.SelfValidatingMessage.

func (*SelfValidatingEvent) Descriptor deprecated

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

Deprecated: Use SelfValidatingEvent.ProtoReflect.Descriptor instead.

func (*SelfValidatingEvent) GetValue

func (x *SelfValidatingEvent) GetValue() string

func (*SelfValidatingEvent) IsEvent

func (*SelfValidatingEvent) IsEvent()

IsEvent marks the message as an event.

func (*SelfValidatingEvent) MessageDescription

func (*SelfValidatingEvent) MessageDescription() string

MessageDescription returns a human-readable description of the message.

func (*SelfValidatingEvent) ProtoMessage

func (*SelfValidatingEvent) ProtoMessage()

func (*SelfValidatingEvent) ProtoReflect added in v0.4.2

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

func (*SelfValidatingEvent) Reset

func (x *SelfValidatingEvent) Reset()

func (*SelfValidatingEvent) String

func (x *SelfValidatingEvent) String() string

func (*SelfValidatingEvent) Validate

func (*SelfValidatingEvent) Validate() error

Validate implements the endpoint.SelfValidatingMessage interface

Jump to

Keyboard shortcuts

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