Documentation
¶
Index ¶
- Constants
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalFloatList(list []float64, writer io.Writer) error
- func MarshalIntegerList(list []int, writer io.Writer) error
- func MarshalInterfaceList(list []interface{}, writer io.Writer) error
- func MarshalJob(object *Job, writer io.Writer) error
- func MarshalJobList(list []*Job, writer io.Writer) error
- func MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalQueue(object *Queue, writer io.Writer) error
- func MarshalQueueList(list []*Queue, writer io.Writer) error
- func MarshalStringList(list []string, writer io.Writer) error
- func ReadBooleanList(iterator *jsoniter.Iterator) []bool
- func ReadDateList(iterator *jsoniter.Iterator) []time.Time
- func ReadFloatList(iterator *jsoniter.Iterator) []float64
- func ReadIntegerList(iterator *jsoniter.Iterator) []int
- func ReadInterfaceList(iterator *jsoniter.Iterator) []interface{}
- func ReadLongList(iterator *jsoniter.Iterator) []int64
- func ReadStringList(iterator *jsoniter.Iterator) []string
- func UnmarshalBooleanList(source interface{}) (items []bool, err error)
- func UnmarshalDateList(source interface{}) (items []time.Time, err error)
- func UnmarshalFloatList(source interface{}) (items []float64, err error)
- func UnmarshalIntegerList(source interface{}) (items []int, err error)
- func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
- func UnmarshalLongList(source interface{}) (items []int64, err error)
- func UnmarshalStringList(source interface{}) (items []string, err error)
- func WriteBooleanList(list []bool, stream *jsoniter.Stream)
- func WriteDateList(list []time.Time, stream *jsoniter.Stream)
- func WriteFloatList(list []float64, stream *jsoniter.Stream)
- func WriteIntegerList(list []int, stream *jsoniter.Stream)
- func WriteInterfaceList(list []interface{}, stream *jsoniter.Stream)
- func WriteJob(object *Job, stream *jsoniter.Stream)
- func WriteJobList(list []*Job, stream *jsoniter.Stream)
- func WriteLongList(list []int64, stream *jsoniter.Stream)
- func WriteQueue(object *Queue, stream *jsoniter.Stream)
- func WriteQueueList(list []*Queue, stream *jsoniter.Stream)
- func WriteStringList(list []string, stream *jsoniter.Stream)
- type Job
- func (o *Job) AbandonedAt() time.Time
- func (o *Job) Arguments() string
- func (o *Job) Attempts() int
- func (o *Job) CreatedAt() time.Time
- func (o *Job) Empty() bool
- func (o *Job) GetAbandonedAt() (value time.Time, ok bool)
- func (o *Job) GetArguments() (value string, ok bool)
- func (o *Job) GetAttempts() (value int, ok bool)
- func (o *Job) GetCreatedAt() (value time.Time, ok bool)
- func (o *Job) GetHREF() (value string, ok bool)
- func (o *Job) GetID() (value string, ok bool)
- func (o *Job) GetReceiptId() (value string, ok bool)
- func (o *Job) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Job) HREF() string
- func (o *Job) ID() string
- func (o *Job) Kind() string
- func (o *Job) Link() bool
- func (o *Job) ReceiptId() string
- func (o *Job) UpdatedAt() time.Time
- type JobBuilder
- func (b *JobBuilder) AbandonedAt(value time.Time) *JobBuilder
- func (b *JobBuilder) Arguments(value string) *JobBuilder
- func (b *JobBuilder) Attempts(value int) *JobBuilder
- func (b *JobBuilder) Build() (object *Job, err error)
- func (b *JobBuilder) Copy(object *Job) *JobBuilder
- func (b *JobBuilder) CreatedAt(value time.Time) *JobBuilder
- func (b *JobBuilder) Empty() bool
- func (b *JobBuilder) HREF(value string) *JobBuilder
- func (b *JobBuilder) ID(value string) *JobBuilder
- func (b *JobBuilder) Link(value bool) *JobBuilder
- func (b *JobBuilder) ReceiptId(value string) *JobBuilder
- func (b *JobBuilder) UpdatedAt(value time.Time) *JobBuilder
- type JobList
- func (l *JobList) Each(f func(item *Job) bool)
- func (l *JobList) Empty() bool
- func (l *JobList) Get(i int) *Job
- func (l *JobList) GetHREF() (value string, ok bool)
- func (l *JobList) HREF() string
- func (l *JobList) Items() []*Job
- func (l *JobList) Kind() string
- func (l *JobList) Len() int
- func (l *JobList) Link() bool
- func (l *JobList) Range(f func(index int, item *Job) bool)
- func (l *JobList) SetHREF(href string)
- func (l *JobList) SetItems(items []*Job)
- func (l *JobList) SetLink(link bool)
- func (l *JobList) Slice() []*Job
- type JobListBuilder
- type Metadata
- type Queue
- func (o *Queue) CreatedAt() time.Time
- func (o *Queue) Empty() bool
- func (o *Queue) GetCreatedAt() (value time.Time, ok bool)
- func (o *Queue) GetHREF() (value string, ok bool)
- func (o *Queue) GetID() (value string, ok bool)
- func (o *Queue) GetMaxAttempts() (value int, ok bool)
- func (o *Queue) GetMaxRunTime() (value int, ok bool)
- func (o *Queue) GetName() (value string, ok bool)
- func (o *Queue) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Queue) HREF() string
- func (o *Queue) ID() string
- func (o *Queue) Kind() string
- func (o *Queue) Link() bool
- func (o *Queue) MaxAttempts() int
- func (o *Queue) MaxRunTime() int
- func (o *Queue) Name() string
- func (o *Queue) UpdatedAt() time.Time
- type QueueBuilder
- func (b *QueueBuilder) Build() (object *Queue, err error)
- func (b *QueueBuilder) Copy(object *Queue) *QueueBuilder
- func (b *QueueBuilder) CreatedAt(value time.Time) *QueueBuilder
- func (b *QueueBuilder) Empty() bool
- func (b *QueueBuilder) HREF(value string) *QueueBuilder
- func (b *QueueBuilder) ID(value string) *QueueBuilder
- func (b *QueueBuilder) Link(value bool) *QueueBuilder
- func (b *QueueBuilder) MaxAttempts(value int) *QueueBuilder
- func (b *QueueBuilder) MaxRunTime(value int) *QueueBuilder
- func (b *QueueBuilder) Name(value string) *QueueBuilder
- func (b *QueueBuilder) UpdatedAt(value time.Time) *QueueBuilder
- type QueueList
- func (l *QueueList) Each(f func(item *Queue) bool)
- func (l *QueueList) Empty() bool
- func (l *QueueList) Get(i int) *Queue
- func (l *QueueList) GetHREF() (value string, ok bool)
- func (l *QueueList) HREF() string
- func (l *QueueList) Items() []*Queue
- func (l *QueueList) Kind() string
- func (l *QueueList) Len() int
- func (l *QueueList) Link() bool
- func (l *QueueList) Range(f func(index int, item *Queue) bool)
- func (l *QueueList) SetHREF(href string)
- func (l *QueueList) SetItems(items []*Queue)
- func (l *QueueList) SetLink(link bool)
- func (l *QueueList) Slice() []*Queue
- type QueueListBuilder
Constants ¶
const JobKind = "Job"
JobKind is the name of the type used to represent objects of type 'job'.
const JobLinkKind = "JobLink"
JobLinkKind is the name of the type used to represent links to objects of type 'job'.
const JobListKind = "JobList"
JobListKind is the name of the type used to represent list of objects of type 'job'.
const JobListLinkKind = "JobListLink"
JobListLinkKind is the name of the type used to represent links to list of objects of type 'job'.
const JobListNilKind = "JobListNil"
JobNilKind is the name of the type used to nil lists of objects of type 'job'.
const JobNilKind = "JobNil"
JobNilKind is the name of the type used to nil references to objects of type 'job'.
const QueueKind = "Queue"
QueueKind is the name of the type used to represent objects of type 'queue'.
const QueueLinkKind = "QueueLink"
QueueLinkKind is the name of the type used to represent links to objects of type 'queue'.
const QueueListKind = "QueueList"
QueueListKind is the name of the type used to represent list of objects of type 'queue'.
const QueueListLinkKind = "QueueListLink"
QueueListLinkKind is the name of the type used to represent links to list of objects of type 'queue'.
const QueueListNilKind = "QueueListNil"
QueueNilKind is the name of the type used to nil lists of objects of type 'queue'.
const QueueNilKind = "QueueNil"
QueueNilKind is the name of the type used to nil references to objects of type 'queue'.
Variables ¶
This section is empty.
Functions ¶
func MarshalBooleanList ¶
MarshalBooleanList writes a list of values of the 'boolean' type to the given writer.
func MarshalDateList ¶
MarshalDateList writes a list of values of the 'date' type to the given writer.
func MarshalFloatList ¶
MarshalFloatList writes a list of values of the 'float' type to the given writer.
func MarshalIntegerList ¶
MarshalIntegerList writes a list of values of the 'integer' type to the given writer.
func MarshalInterfaceList ¶
MarshalInterfaceList writes a list of values of the 'interface' type to the given writer.
func MarshalJob ¶
MarshalJob writes a value of the 'job' type to the given writer.
func MarshalJobList ¶
MarshalJobList writes a list of values of the 'job' type to the given writer.
func MarshalLongList ¶
MarshalLongList writes a list of values of the 'long' type to the given writer.
func MarshalMetadata ¶
MarshalMetadata writes a value of the metadata type to the given target, which can be a writer or a JSON encoder.
func MarshalQueue ¶
MarshalQueue writes a value of the 'queue' type to the given writer.
func MarshalQueueList ¶
MarshalQueueList writes a list of values of the 'queue' type to the given writer.
func MarshalStringList ¶
MarshalStringList writes a list of values of the 'string' type to the given writer.
func ReadBooleanList ¶
ReadBooleanList reads list of values of the ”boolean' type from the given iterator.
func ReadDateList ¶
ReadDateList reads list of values of the ”date' type from the given iterator.
func ReadFloatList ¶
ReadFloatList reads list of values of the ”float' type from the given iterator.
func ReadIntegerList ¶
ReadIntegerList reads list of values of the ”integer' type from the given iterator.
func ReadInterfaceList ¶
ReadInterfaceList reads list of values of the ”interface' type from the given iterator.
func ReadLongList ¶
ReadLongList reads list of values of the ”long' type from the given iterator.
func ReadStringList ¶
ReadStringList reads list of values of the ”string' type from the given iterator.
func UnmarshalBooleanList ¶
UnmarshalBooleanList reads a list of values of the 'boolean' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalDateList ¶
UnmarshalDateList reads a list of values of the 'date' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalFloatList ¶
UnmarshalFloatList reads a list of values of the 'float' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalIntegerList ¶
UnmarshalIntegerList reads a list of values of the 'integer' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalInterfaceList ¶
func UnmarshalInterfaceList(source interface{}) (items []interface{}, err error)
UnmarshalInterfaceList reads a list of values of the 'interface' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalLongList ¶
UnmarshalLongList reads a list of values of the 'long' type from the given source, which can be a slice of bytes, a string or a reader.
func UnmarshalStringList ¶
UnmarshalStringList reads a list of values of the 'string' type from the given source, which can be a slice of bytes, a string or a reader.
func WriteBooleanList ¶
WriteBooleanList writes a list of value of the 'boolean' type to the given stream.
func WriteDateList ¶
WriteDateList writes a list of value of the 'date' type to the given stream.
func WriteFloatList ¶
WriteFloatList writes a list of value of the 'float' type to the given stream.
func WriteIntegerList ¶
WriteIntegerList writes a list of value of the 'integer' type to the given stream.
func WriteInterfaceList ¶
WriteInterfaceList writes a list of value of the 'interface' type to the given stream.
func WriteJobList ¶
WriteJobList writes a list of value of the 'job' type to the given stream.
func WriteLongList ¶
WriteLongList writes a list of value of the 'long' type to the given stream.
func WriteQueue ¶
WriteQueue writes a value of the 'queue' type to the given stream.
func WriteQueueList ¶
WriteQueueList writes a list of value of the 'queue' type to the given stream.
func WriteStringList ¶
WriteStringList writes a list of value of the 'string' type to the given stream.
Types ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Job represents the values of the 'job' type.
This struct is a job in a Job Queue.
func ReadJobList ¶
ReadJobList reads list of values of the ”job' type from the given iterator.
func UnmarshalJob ¶
UnmarshalJob reads a value of the 'job' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalJobList ¶
UnmarshalJobList reads a list of values of the 'job' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Job) AbandonedAt ¶
AbandonedAt returns the value of the 'abandoned_at' attribute, or the zero value of the type if the attribute doesn't have a value.
DLQ sent timestamp
func (*Job) Arguments ¶
Arguments returns the value of the 'arguments' attribute, or the zero value of the type if the attribute doesn't have a value.
Arguments to run Job with.
func (*Job) Attempts ¶
Attempts returns the value of the 'attempts' attribute, or the zero value of the type if the attribute doesn't have a value.
Number of retries.
func (*Job) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Job) GetAbandonedAt ¶
GetAbandonedAt returns the value of the 'abandoned_at' attribute and a flag indicating if the attribute has a value.
DLQ sent timestamp
func (*Job) GetArguments ¶
GetArguments returns the value of the 'arguments' attribute and a flag indicating if the attribute has a value.
Arguments to run Job with.
func (*Job) GetAttempts ¶
GetAttempts returns the value of the 'attempts' attribute and a flag indicating if the attribute has a value.
Number of retries.
func (*Job) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Job) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Job) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Job) GetReceiptId ¶
GetReceiptId returns the value of the 'receipt_id' attribute and a flag indicating if the attribute has a value.
Each time a specific job is pop'd, the receiptId will change, while the ID stays the same.
func (*Job) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
type JobBuilder ¶
type JobBuilder struct {
// contains filtered or unexported fields
}
This struct is a job in a Job Queue.
func (*JobBuilder) AbandonedAt ¶
func (b *JobBuilder) AbandonedAt(value time.Time) *JobBuilder
AbandonedAt sets the value of the 'abandoned_at' attribute to the given value.
func (*JobBuilder) Arguments ¶
func (b *JobBuilder) Arguments(value string) *JobBuilder
Arguments sets the value of the 'arguments' attribute to the given value.
func (*JobBuilder) Attempts ¶
func (b *JobBuilder) Attempts(value int) *JobBuilder
Attempts sets the value of the 'attempts' attribute to the given value.
func (*JobBuilder) Build ¶
func (b *JobBuilder) Build() (object *Job, err error)
Build creates a 'job' object using the configuration stored in the builder.
func (*JobBuilder) Copy ¶
func (b *JobBuilder) Copy(object *Job) *JobBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*JobBuilder) CreatedAt ¶
func (b *JobBuilder) CreatedAt(value time.Time) *JobBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*JobBuilder) Empty ¶
func (b *JobBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*JobBuilder) HREF ¶
func (b *JobBuilder) HREF(value string) *JobBuilder
HREF sets the link to the object.
func (*JobBuilder) ID ¶
func (b *JobBuilder) ID(value string) *JobBuilder
ID sets the identifier of the object.
func (*JobBuilder) Link ¶
func (b *JobBuilder) Link(value bool) *JobBuilder
Link sets the flag that indicates if this is a link.
func (*JobBuilder) ReceiptId ¶
func (b *JobBuilder) ReceiptId(value string) *JobBuilder
ReceiptId sets the value of the 'receipt_id' attribute to the given value.
func (*JobBuilder) UpdatedAt ¶
func (b *JobBuilder) UpdatedAt(value time.Time) *JobBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type JobList ¶
type JobList struct {
// contains filtered or unexported fields
}
JobList is a list of values of the 'job' type.
func (*JobList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*JobList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*JobList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*JobList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*JobList) Slice ¶
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type JobListBuilder ¶
type JobListBuilder struct {
// contains filtered or unexported fields
}
JobListBuilder contains the data and logic needed to build 'job' objects.
func NewJobList ¶
func NewJobList() *JobListBuilder
NewJobList creates a new builder of 'job' objects.
func (*JobListBuilder) Build ¶
func (b *JobListBuilder) Build() (list *JobList, err error)
Build creates a list of 'job' objects using the configuration stored in the builder.
func (*JobListBuilder) Copy ¶
func (b *JobListBuilder) Copy(list *JobList) *JobListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*JobListBuilder) Empty ¶
func (b *JobListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*JobListBuilder) Items ¶
func (b *JobListBuilder) Items(values ...*JobBuilder) *JobListBuilder
Items sets the items of the list.
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
Metadata contains the version metadata.
func UnmarshalMetadata ¶
UnmarshalMetadata reads a value of the metadata type from the given source, which which can be a reader, a slice of byte or a string.
func (*Metadata) GetServerVersion ¶
GetServerVersion returns the value of the server version and a flag indicating if the attribute has a value.
func (*Metadata) ServerVersion ¶
ServerVersion returns the version of the server.
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue represents the values of the 'queue' type.
func ReadQueueList ¶
ReadQueueList reads list of values of the ”queue' type from the given iterator.
func UnmarshalQueue ¶
UnmarshalQueue reads a value of the 'queue' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalQueueList ¶
UnmarshalQueueList reads a list of values of the 'queue' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Queue) CreatedAt ¶
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Queue) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
func (*Queue) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Queue) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Queue) GetMaxAttempts ¶
GetMaxAttempts returns the value of the 'max_attempts' attribute and a flag indicating if the attribute has a value.
SQS Visibility Timeout
func (*Queue) GetMaxRunTime ¶
GetMaxRunTime returns the value of the 'max_run_time' attribute and a flag indicating if the attribute has a value.
func (*Queue) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
func (*Queue) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
func (*Queue) MaxAttempts ¶
MaxAttempts returns the value of the 'max_attempts' attribute, or the zero value of the type if the attribute doesn't have a value.
SQS Visibility Timeout
func (*Queue) MaxRunTime ¶
MaxRunTime returns the value of the 'max_run_time' attribute, or the zero value of the type if the attribute doesn't have a value.
type QueueBuilder ¶
type QueueBuilder struct {
// contains filtered or unexported fields
}
func (*QueueBuilder) Build ¶
func (b *QueueBuilder) Build() (object *Queue, err error)
Build creates a 'queue' object using the configuration stored in the builder.
func (*QueueBuilder) Copy ¶
func (b *QueueBuilder) Copy(object *Queue) *QueueBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*QueueBuilder) CreatedAt ¶
func (b *QueueBuilder) CreatedAt(value time.Time) *QueueBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*QueueBuilder) Empty ¶
func (b *QueueBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*QueueBuilder) HREF ¶
func (b *QueueBuilder) HREF(value string) *QueueBuilder
HREF sets the link to the object.
func (*QueueBuilder) ID ¶
func (b *QueueBuilder) ID(value string) *QueueBuilder
ID sets the identifier of the object.
func (*QueueBuilder) Link ¶
func (b *QueueBuilder) Link(value bool) *QueueBuilder
Link sets the flag that indicates if this is a link.
func (*QueueBuilder) MaxAttempts ¶
func (b *QueueBuilder) MaxAttempts(value int) *QueueBuilder
MaxAttempts sets the value of the 'max_attempts' attribute to the given value.
func (*QueueBuilder) MaxRunTime ¶
func (b *QueueBuilder) MaxRunTime(value int) *QueueBuilder
MaxRunTime sets the value of the 'max_run_time' attribute to the given value.
func (*QueueBuilder) Name ¶
func (b *QueueBuilder) Name(value string) *QueueBuilder
Name sets the value of the 'name' attribute to the given value.
func (*QueueBuilder) UpdatedAt ¶
func (b *QueueBuilder) UpdatedAt(value time.Time) *QueueBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type QueueList ¶
type QueueList struct {
// contains filtered or unexported fields
}
QueueList is a list of values of the 'queue' type.
func (*QueueList) Each ¶
Each runs the given function for each item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QueueList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*QueueList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*QueueList) Range ¶
Range runs the given function for each index and item of the list, in order. If the function returns false the iteration stops, otherwise it continues till all the elements of the list have been processed.
func (*QueueList) Slice ¶
Slice returns an slice containing the items of the list. The returned slice is a copy of the one used internally, so it can be modified without affecting the internal representation.
If you don't need to modify the returned slice consider using the Each or Range functions, as they don't need to allocate a new slice.
type QueueListBuilder ¶
type QueueListBuilder struct {
// contains filtered or unexported fields
}
QueueListBuilder contains the data and logic needed to build 'queue' objects.
func NewQueueList ¶
func NewQueueList() *QueueListBuilder
NewQueueList creates a new builder of 'queue' objects.
func (*QueueListBuilder) Build ¶
func (b *QueueListBuilder) Build() (list *QueueList, err error)
Build creates a list of 'queue' objects using the configuration stored in the builder.
func (*QueueListBuilder) Copy ¶
func (b *QueueListBuilder) Copy(list *QueueList) *QueueListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*QueueListBuilder) Empty ¶
func (b *QueueListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*QueueListBuilder) Items ¶
func (b *QueueListBuilder) Items(values ...*QueueBuilder) *QueueListBuilder
Items sets the items of the list.
Source Files
¶
- boolean_list_type_json.go
- date_list_type_json.go
- float_list_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- job_builder.go
- job_list_builder.go
- job_list_type_json.go
- job_type.go
- job_type_json.go
- long_list_type_json.go
- metadata_reader.go
- metadata_type.go
- queue_builder.go
- queue_list_builder.go
- queue_list_type_json.go
- queue_type.go
- queue_type_json.go
- string_list_type_json.go