Documentation
¶
Index ¶
- Constants
- func MarshalApplication(object *Application, writer io.Writer) error
- func MarshalApplicationDependency(object *ApplicationDependency, writer io.Writer) error
- func MarshalApplicationDependencyList(list []*ApplicationDependency, writer io.Writer) error
- func MarshalApplicationList(list []*Application, writer io.Writer) error
- func MarshalBooleanList(list []bool, writer io.Writer) error
- func MarshalDateList(list []time.Time, writer io.Writer) error
- func MarshalError(object *Error, writer io.Writer) error
- func MarshalErrorList(list []*Error, 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 MarshalLongList(list []int64, writer io.Writer) error
- func MarshalMetadata(object *Metadata, writer io.Writer) error
- func MarshalOwner(object *Owner, writer io.Writer) error
- func MarshalOwnerList(list []*Owner, writer io.Writer) error
- func MarshalPeerDependency(object *PeerDependency, writer io.Writer) error
- func MarshalPeerDependencyList(list []*PeerDependency, writer io.Writer) error
- func MarshalProduct(object *Product, writer io.Writer) error
- func MarshalProductList(list []*Product, writer io.Writer) error
- func MarshalService(object *Service, writer io.Writer) error
- func MarshalServiceDependency(object *ServiceDependency, writer io.Writer) error
- func MarshalServiceDependencyList(list []*ServiceDependency, writer io.Writer) error
- func MarshalServiceInfo(object *ServiceInfo, writer io.Writer) error
- func MarshalServiceInfoList(list []*ServiceInfo, writer io.Writer) error
- func MarshalServiceList(list []*Service, writer io.Writer) error
- func MarshalStatus(object *Status, writer io.Writer) error
- func MarshalStatusList(list []*Status, writer io.Writer) error
- func MarshalStatusUpdate(object *StatusUpdate, writer io.Writer) error
- func MarshalStatusUpdateList(list []*StatusUpdate, 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 WriteApplication(object *Application, stream *jsoniter.Stream)
- func WriteApplicationDependency(object *ApplicationDependency, stream *jsoniter.Stream)
- func WriteApplicationDependencyList(list []*ApplicationDependency, stream *jsoniter.Stream)
- func WriteApplicationList(list []*Application, stream *jsoniter.Stream)
- func WriteBooleanList(list []bool, stream *jsoniter.Stream)
- func WriteDateList(list []time.Time, stream *jsoniter.Stream)
- func WriteError(object *Error, stream *jsoniter.Stream)
- func WriteErrorList(list []*Error, 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 WriteLongList(list []int64, stream *jsoniter.Stream)
- func WriteOwner(object *Owner, stream *jsoniter.Stream)
- func WriteOwnerList(list []*Owner, stream *jsoniter.Stream)
- func WritePeerDependency(object *PeerDependency, stream *jsoniter.Stream)
- func WritePeerDependencyList(list []*PeerDependency, stream *jsoniter.Stream)
- func WriteProduct(object *Product, stream *jsoniter.Stream)
- func WriteProductList(list []*Product, stream *jsoniter.Stream)
- func WriteService(object *Service, stream *jsoniter.Stream)
- func WriteServiceDependency(object *ServiceDependency, stream *jsoniter.Stream)
- func WriteServiceDependencyList(list []*ServiceDependency, stream *jsoniter.Stream)
- func WriteServiceInfo(object *ServiceInfo, stream *jsoniter.Stream)
- func WriteServiceInfoList(list []*ServiceInfo, stream *jsoniter.Stream)
- func WriteServiceList(list []*Service, stream *jsoniter.Stream)
- func WriteStatus(object *Status, stream *jsoniter.Stream)
- func WriteStatusList(list []*Status, stream *jsoniter.Stream)
- func WriteStatusUpdate(object *StatusUpdate, stream *jsoniter.Stream)
- func WriteStatusUpdateList(list []*StatusUpdate, stream *jsoniter.Stream)
- func WriteStringList(list []string, stream *jsoniter.Stream)
- type Application
- func (o *Application) CreatedAt() time.Time
- func (o *Application) Empty() bool
- func (o *Application) Fullname() string
- func (o *Application) GetCreatedAt() (value time.Time, ok bool)
- func (o *Application) GetFullname() (value string, ok bool)
- func (o *Application) GetHREF() (value string, ok bool)
- func (o *Application) GetID() (value string, ok bool)
- func (o *Application) GetMetadata() (value interface{}, ok bool)
- func (o *Application) GetName() (value string, ok bool)
- func (o *Application) GetOwners() (value []*Owner, ok bool)
- func (o *Application) GetProduct() (value *Product, ok bool)
- func (o *Application) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Application) HREF() string
- func (o *Application) ID() string
- func (o *Application) Kind() string
- func (o *Application) Link() bool
- func (o *Application) Metadata() interface{}
- func (o *Application) Name() string
- func (o *Application) Owners() []*Owner
- func (o *Application) Product() *Product
- func (o *Application) UpdatedAt() time.Time
- type ApplicationBuilder
- func (b *ApplicationBuilder) Build() (object *Application, err error)
- func (b *ApplicationBuilder) Copy(object *Application) *ApplicationBuilder
- func (b *ApplicationBuilder) CreatedAt(value time.Time) *ApplicationBuilder
- func (b *ApplicationBuilder) Empty() bool
- func (b *ApplicationBuilder) Fullname(value string) *ApplicationBuilder
- func (b *ApplicationBuilder) HREF(value string) *ApplicationBuilder
- func (b *ApplicationBuilder) ID(value string) *ApplicationBuilder
- func (b *ApplicationBuilder) Link(value bool) *ApplicationBuilder
- func (b *ApplicationBuilder) Metadata(value interface{}) *ApplicationBuilder
- func (b *ApplicationBuilder) Name(value string) *ApplicationBuilder
- func (b *ApplicationBuilder) Owners(values ...*OwnerBuilder) *ApplicationBuilder
- func (b *ApplicationBuilder) Product(value *ProductBuilder) *ApplicationBuilder
- func (b *ApplicationBuilder) UpdatedAt(value time.Time) *ApplicationBuilder
- type ApplicationDependency
- func ReadApplicationDependency(iterator *jsoniter.Iterator) *ApplicationDependency
- func ReadApplicationDependencyList(iterator *jsoniter.Iterator) []*ApplicationDependency
- func UnmarshalApplicationDependency(source interface{}) (object *ApplicationDependency, err error)
- func UnmarshalApplicationDependencyList(source interface{}) (items []*ApplicationDependency, err error)
- func (o *ApplicationDependency) Application() *Application
- func (o *ApplicationDependency) CreatedAt() time.Time
- func (o *ApplicationDependency) Empty() bool
- func (o *ApplicationDependency) GetApplication() (value *Application, ok bool)
- func (o *ApplicationDependency) GetCreatedAt() (value time.Time, ok bool)
- func (o *ApplicationDependency) GetHREF() (value string, ok bool)
- func (o *ApplicationDependency) GetID() (value string, ok bool)
- func (o *ApplicationDependency) GetMetadata() (value interface{}, ok bool)
- func (o *ApplicationDependency) GetName() (value string, ok bool)
- func (o *ApplicationDependency) GetOwners() (value []*Owner, ok bool)
- func (o *ApplicationDependency) GetService() (value *Service, ok bool)
- func (o *ApplicationDependency) GetType() (value string, ok bool)
- func (o *ApplicationDependency) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ApplicationDependency) HREF() string
- func (o *ApplicationDependency) ID() string
- func (o *ApplicationDependency) Kind() string
- func (o *ApplicationDependency) Link() bool
- func (o *ApplicationDependency) Metadata() interface{}
- func (o *ApplicationDependency) Name() string
- func (o *ApplicationDependency) Owners() []*Owner
- func (o *ApplicationDependency) Service() *Service
- func (o *ApplicationDependency) Type() string
- func (o *ApplicationDependency) UpdatedAt() time.Time
- type ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Application(value *ApplicationBuilder) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Build() (object *ApplicationDependency, err error)
- func (b *ApplicationDependencyBuilder) Copy(object *ApplicationDependency) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) CreatedAt(value time.Time) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Empty() bool
- func (b *ApplicationDependencyBuilder) HREF(value string) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) ID(value string) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Link(value bool) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Metadata(value interface{}) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Name(value string) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Owners(values ...*OwnerBuilder) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Service(value *ServiceBuilder) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) Type(value string) *ApplicationDependencyBuilder
- func (b *ApplicationDependencyBuilder) UpdatedAt(value time.Time) *ApplicationDependencyBuilder
- type ApplicationDependencyList
- func (l *ApplicationDependencyList) Each(f func(item *ApplicationDependency) bool)
- func (l *ApplicationDependencyList) Empty() bool
- func (l *ApplicationDependencyList) Get(i int) *ApplicationDependency
- func (l *ApplicationDependencyList) GetHREF() (value string, ok bool)
- func (l *ApplicationDependencyList) HREF() string
- func (l *ApplicationDependencyList) Items() []*ApplicationDependency
- func (l *ApplicationDependencyList) Kind() string
- func (l *ApplicationDependencyList) Len() int
- func (l *ApplicationDependencyList) Link() bool
- func (l *ApplicationDependencyList) Range(f func(index int, item *ApplicationDependency) bool)
- func (l *ApplicationDependencyList) SetHREF(href string)
- func (l *ApplicationDependencyList) SetItems(items []*ApplicationDependency)
- func (l *ApplicationDependencyList) SetLink(link bool)
- func (l *ApplicationDependencyList) Slice() []*ApplicationDependency
- type ApplicationDependencyListBuilder
- func (b *ApplicationDependencyListBuilder) Build() (list *ApplicationDependencyList, err error)
- func (b *ApplicationDependencyListBuilder) Copy(list *ApplicationDependencyList) *ApplicationDependencyListBuilder
- func (b *ApplicationDependencyListBuilder) Empty() bool
- func (b *ApplicationDependencyListBuilder) Items(values ...*ApplicationDependencyBuilder) *ApplicationDependencyListBuilder
- type ApplicationList
- func (l *ApplicationList) Each(f func(item *Application) bool)
- func (l *ApplicationList) Empty() bool
- func (l *ApplicationList) Get(i int) *Application
- func (l *ApplicationList) GetHREF() (value string, ok bool)
- func (l *ApplicationList) HREF() string
- func (l *ApplicationList) Items() []*Application
- func (l *ApplicationList) Kind() string
- func (l *ApplicationList) Len() int
- func (l *ApplicationList) Link() bool
- func (l *ApplicationList) Range(f func(index int, item *Application) bool)
- func (l *ApplicationList) SetHREF(href string)
- func (l *ApplicationList) SetItems(items []*Application)
- func (l *ApplicationList) SetLink(link bool)
- func (l *ApplicationList) Slice() []*Application
- type ApplicationListBuilder
- func (b *ApplicationListBuilder) Build() (list *ApplicationList, err error)
- func (b *ApplicationListBuilder) Copy(list *ApplicationList) *ApplicationListBuilder
- func (b *ApplicationListBuilder) Empty() bool
- func (b *ApplicationListBuilder) Items(values ...*ApplicationBuilder) *ApplicationListBuilder
- type Error
- func (o *Error) Code() string
- func (o *Error) Empty() bool
- func (o *Error) GetCode() (value string, ok bool)
- func (o *Error) GetHREF() (value string, ok bool)
- func (o *Error) GetID() (value string, ok bool)
- func (o *Error) GetReason() (value string, ok bool)
- func (o *Error) HREF() string
- func (o *Error) ID() string
- func (o *Error) Kind() string
- func (o *Error) Link() bool
- func (o *Error) Reason() string
- type ErrorBuilder
- func (b *ErrorBuilder) Build() (object *Error, err error)
- func (b *ErrorBuilder) Code(value string) *ErrorBuilder
- func (b *ErrorBuilder) Copy(object *Error) *ErrorBuilder
- func (b *ErrorBuilder) Empty() bool
- func (b *ErrorBuilder) HREF(value string) *ErrorBuilder
- func (b *ErrorBuilder) ID(value string) *ErrorBuilder
- func (b *ErrorBuilder) Link(value bool) *ErrorBuilder
- func (b *ErrorBuilder) Reason(value string) *ErrorBuilder
- type ErrorList
- func (l *ErrorList) Each(f func(item *Error) bool)
- func (l *ErrorList) Empty() bool
- func (l *ErrorList) Get(i int) *Error
- func (l *ErrorList) GetHREF() (value string, ok bool)
- func (l *ErrorList) HREF() string
- func (l *ErrorList) Items() []*Error
- func (l *ErrorList) Kind() string
- func (l *ErrorList) Len() int
- func (l *ErrorList) Link() bool
- func (l *ErrorList) Range(f func(index int, item *Error) bool)
- func (l *ErrorList) SetHREF(href string)
- func (l *ErrorList) SetItems(items []*Error)
- func (l *ErrorList) SetLink(link bool)
- func (l *ErrorList) Slice() []*Error
- type ErrorListBuilder
- type Metadata
- type Owner
- func (o *Owner) Email() string
- func (o *Owner) Empty() bool
- func (o *Owner) GetEmail() (value string, ok bool)
- func (o *Owner) GetHREF() (value string, ok bool)
- func (o *Owner) GetID() (value string, ok bool)
- func (o *Owner) GetUsername() (value string, ok bool)
- func (o *Owner) HREF() string
- func (o *Owner) ID() string
- func (o *Owner) Kind() string
- func (o *Owner) Link() bool
- func (o *Owner) Username() string
- type OwnerBuilder
- func (b *OwnerBuilder) Build() (object *Owner, err error)
- func (b *OwnerBuilder) Copy(object *Owner) *OwnerBuilder
- func (b *OwnerBuilder) Email(value string) *OwnerBuilder
- func (b *OwnerBuilder) Empty() bool
- func (b *OwnerBuilder) HREF(value string) *OwnerBuilder
- func (b *OwnerBuilder) ID(value string) *OwnerBuilder
- func (b *OwnerBuilder) Link(value bool) *OwnerBuilder
- func (b *OwnerBuilder) Username(value string) *OwnerBuilder
- type OwnerList
- func (l *OwnerList) Each(f func(item *Owner) bool)
- func (l *OwnerList) Empty() bool
- func (l *OwnerList) Get(i int) *Owner
- func (l *OwnerList) GetHREF() (value string, ok bool)
- func (l *OwnerList) HREF() string
- func (l *OwnerList) Items() []*Owner
- func (l *OwnerList) Kind() string
- func (l *OwnerList) Len() int
- func (l *OwnerList) Link() bool
- func (l *OwnerList) Range(f func(index int, item *Owner) bool)
- func (l *OwnerList) SetHREF(href string)
- func (l *OwnerList) SetItems(items []*Owner)
- func (l *OwnerList) SetLink(link bool)
- func (l *OwnerList) Slice() []*Owner
- type OwnerListBuilder
- type PeerDependency
- func ReadPeerDependency(iterator *jsoniter.Iterator) *PeerDependency
- func ReadPeerDependencyList(iterator *jsoniter.Iterator) []*PeerDependency
- func UnmarshalPeerDependency(source interface{}) (object *PeerDependency, err error)
- func UnmarshalPeerDependencyList(source interface{}) (items []*PeerDependency, err error)
- func (o *PeerDependency) CreatedAt() time.Time
- func (o *PeerDependency) Empty() bool
- func (o *PeerDependency) GetCreatedAt() (value time.Time, ok bool)
- func (o *PeerDependency) GetHREF() (value string, ok bool)
- func (o *PeerDependency) GetID() (value string, ok bool)
- func (o *PeerDependency) GetMetadata() (value interface{}, ok bool)
- func (o *PeerDependency) GetName() (value string, ok bool)
- func (o *PeerDependency) GetOwners() (value []*Owner, ok bool)
- func (o *PeerDependency) GetServices() (value []*Service, ok bool)
- func (o *PeerDependency) GetUpdatedAt() (value time.Time, ok bool)
- func (o *PeerDependency) HREF() string
- func (o *PeerDependency) ID() string
- func (o *PeerDependency) Kind() string
- func (o *PeerDependency) Link() bool
- func (o *PeerDependency) Metadata() interface{}
- func (o *PeerDependency) Name() string
- func (o *PeerDependency) Owners() []*Owner
- func (o *PeerDependency) Services() []*Service
- func (o *PeerDependency) UpdatedAt() time.Time
- type PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Build() (object *PeerDependency, err error)
- func (b *PeerDependencyBuilder) Copy(object *PeerDependency) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) CreatedAt(value time.Time) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Empty() bool
- func (b *PeerDependencyBuilder) HREF(value string) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) ID(value string) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Link(value bool) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Metadata(value interface{}) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Name(value string) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Owners(values ...*OwnerBuilder) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) Services(values ...*ServiceBuilder) *PeerDependencyBuilder
- func (b *PeerDependencyBuilder) UpdatedAt(value time.Time) *PeerDependencyBuilder
- type PeerDependencyList
- func (l *PeerDependencyList) Each(f func(item *PeerDependency) bool)
- func (l *PeerDependencyList) Empty() bool
- func (l *PeerDependencyList) Get(i int) *PeerDependency
- func (l *PeerDependencyList) GetHREF() (value string, ok bool)
- func (l *PeerDependencyList) HREF() string
- func (l *PeerDependencyList) Items() []*PeerDependency
- func (l *PeerDependencyList) Kind() string
- func (l *PeerDependencyList) Len() int
- func (l *PeerDependencyList) Link() bool
- func (l *PeerDependencyList) Range(f func(index int, item *PeerDependency) bool)
- func (l *PeerDependencyList) SetHREF(href string)
- func (l *PeerDependencyList) SetItems(items []*PeerDependency)
- func (l *PeerDependencyList) SetLink(link bool)
- func (l *PeerDependencyList) Slice() []*PeerDependency
- type PeerDependencyListBuilder
- func (b *PeerDependencyListBuilder) Build() (list *PeerDependencyList, err error)
- func (b *PeerDependencyListBuilder) Copy(list *PeerDependencyList) *PeerDependencyListBuilder
- func (b *PeerDependencyListBuilder) Empty() bool
- func (b *PeerDependencyListBuilder) Items(values ...*PeerDependencyBuilder) *PeerDependencyListBuilder
- type Product
- func (o *Product) CreatedAt() time.Time
- func (o *Product) Empty() bool
- func (o *Product) Fullname() string
- func (o *Product) GetCreatedAt() (value time.Time, ok bool)
- func (o *Product) GetFullname() (value string, ok bool)
- func (o *Product) GetHREF() (value string, ok bool)
- func (o *Product) GetID() (value string, ok bool)
- func (o *Product) GetMetadata() (value interface{}, ok bool)
- func (o *Product) GetName() (value string, ok bool)
- func (o *Product) GetOwners() (value []*Owner, ok bool)
- func (o *Product) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Product) HREF() string
- func (o *Product) ID() string
- func (o *Product) Kind() string
- func (o *Product) Link() bool
- func (o *Product) Metadata() interface{}
- func (o *Product) Name() string
- func (o *Product) Owners() []*Owner
- func (o *Product) UpdatedAt() time.Time
- type ProductBuilder
- func (b *ProductBuilder) Build() (object *Product, err error)
- func (b *ProductBuilder) Copy(object *Product) *ProductBuilder
- func (b *ProductBuilder) CreatedAt(value time.Time) *ProductBuilder
- func (b *ProductBuilder) Empty() bool
- func (b *ProductBuilder) Fullname(value string) *ProductBuilder
- func (b *ProductBuilder) HREF(value string) *ProductBuilder
- func (b *ProductBuilder) ID(value string) *ProductBuilder
- func (b *ProductBuilder) Link(value bool) *ProductBuilder
- func (b *ProductBuilder) Metadata(value interface{}) *ProductBuilder
- func (b *ProductBuilder) Name(value string) *ProductBuilder
- func (b *ProductBuilder) Owners(values ...*OwnerBuilder) *ProductBuilder
- func (b *ProductBuilder) UpdatedAt(value time.Time) *ProductBuilder
- type ProductList
- func (l *ProductList) Each(f func(item *Product) bool)
- func (l *ProductList) Empty() bool
- func (l *ProductList) Get(i int) *Product
- func (l *ProductList) GetHREF() (value string, ok bool)
- func (l *ProductList) HREF() string
- func (l *ProductList) Items() []*Product
- func (l *ProductList) Kind() string
- func (l *ProductList) Len() int
- func (l *ProductList) Link() bool
- func (l *ProductList) Range(f func(index int, item *Product) bool)
- func (l *ProductList) SetHREF(href string)
- func (l *ProductList) SetItems(items []*Product)
- func (l *ProductList) SetLink(link bool)
- func (l *ProductList) Slice() []*Product
- type ProductListBuilder
- type Service
- func (o *Service) Application() *Application
- func (o *Service) CreatedAt() time.Time
- func (o *Service) CurrentStatus() string
- func (o *Service) Empty() bool
- func (o *Service) Fullname() string
- func (o *Service) GetApplication() (value *Application, ok bool)
- func (o *Service) GetCreatedAt() (value time.Time, ok bool)
- func (o *Service) GetCurrentStatus() (value string, ok bool)
- func (o *Service) GetFullname() (value string, ok bool)
- func (o *Service) GetHREF() (value string, ok bool)
- func (o *Service) GetID() (value string, ok bool)
- func (o *Service) GetLastPingAt() (value time.Time, ok bool)
- func (o *Service) GetMetadata() (value interface{}, ok bool)
- func (o *Service) GetName() (value string, ok bool)
- func (o *Service) GetOwners() (value []*Owner, ok bool)
- func (o *Service) GetPrivate() (value bool, ok bool)
- func (o *Service) GetServiceEndpoint() (value string, ok bool)
- func (o *Service) GetStatusType() (value string, ok bool)
- func (o *Service) GetStatusUpdatedAt() (value time.Time, ok bool)
- func (o *Service) GetToken() (value string, ok bool)
- func (o *Service) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Service) HREF() string
- func (o *Service) ID() string
- func (o *Service) Kind() string
- func (o *Service) LastPingAt() time.Time
- func (o *Service) Link() bool
- func (o *Service) Metadata() interface{}
- func (o *Service) Name() string
- func (o *Service) Owners() []*Owner
- func (o *Service) Private() bool
- func (o *Service) ServiceEndpoint() string
- func (o *Service) StatusType() string
- func (o *Service) StatusUpdatedAt() time.Time
- func (o *Service) Token() string
- func (o *Service) UpdatedAt() time.Time
- type ServiceBuilder
- func (b *ServiceBuilder) Application(value *ApplicationBuilder) *ServiceBuilder
- func (b *ServiceBuilder) Build() (object *Service, err error)
- func (b *ServiceBuilder) Copy(object *Service) *ServiceBuilder
- func (b *ServiceBuilder) CreatedAt(value time.Time) *ServiceBuilder
- func (b *ServiceBuilder) CurrentStatus(value string) *ServiceBuilder
- func (b *ServiceBuilder) Empty() bool
- func (b *ServiceBuilder) Fullname(value string) *ServiceBuilder
- func (b *ServiceBuilder) HREF(value string) *ServiceBuilder
- func (b *ServiceBuilder) ID(value string) *ServiceBuilder
- func (b *ServiceBuilder) LastPingAt(value time.Time) *ServiceBuilder
- func (b *ServiceBuilder) Link(value bool) *ServiceBuilder
- func (b *ServiceBuilder) Metadata(value interface{}) *ServiceBuilder
- func (b *ServiceBuilder) Name(value string) *ServiceBuilder
- func (b *ServiceBuilder) Owners(values ...*OwnerBuilder) *ServiceBuilder
- func (b *ServiceBuilder) Private(value bool) *ServiceBuilder
- func (b *ServiceBuilder) ServiceEndpoint(value string) *ServiceBuilder
- func (b *ServiceBuilder) StatusType(value string) *ServiceBuilder
- func (b *ServiceBuilder) StatusUpdatedAt(value time.Time) *ServiceBuilder
- func (b *ServiceBuilder) Token(value string) *ServiceBuilder
- func (b *ServiceBuilder) UpdatedAt(value time.Time) *ServiceBuilder
- type ServiceDependency
- func ReadServiceDependency(iterator *jsoniter.Iterator) *ServiceDependency
- func ReadServiceDependencyList(iterator *jsoniter.Iterator) []*ServiceDependency
- func UnmarshalServiceDependency(source interface{}) (object *ServiceDependency, err error)
- func UnmarshalServiceDependencyList(source interface{}) (items []*ServiceDependency, err error)
- func (o *ServiceDependency) ChildService() *Service
- func (o *ServiceDependency) CreatedAt() time.Time
- func (o *ServiceDependency) Empty() bool
- func (o *ServiceDependency) GetChildService() (value *Service, ok bool)
- func (o *ServiceDependency) GetCreatedAt() (value time.Time, ok bool)
- func (o *ServiceDependency) GetHREF() (value string, ok bool)
- func (o *ServiceDependency) GetID() (value string, ok bool)
- func (o *ServiceDependency) GetMetadata() (value interface{}, ok bool)
- func (o *ServiceDependency) GetName() (value string, ok bool)
- func (o *ServiceDependency) GetOwners() (value []*Owner, ok bool)
- func (o *ServiceDependency) GetParentService() (value *Service, ok bool)
- func (o *ServiceDependency) GetType() (value string, ok bool)
- func (o *ServiceDependency) GetUpdatedAt() (value time.Time, ok bool)
- func (o *ServiceDependency) HREF() string
- func (o *ServiceDependency) ID() string
- func (o *ServiceDependency) Kind() string
- func (o *ServiceDependency) Link() bool
- func (o *ServiceDependency) Metadata() interface{}
- func (o *ServiceDependency) Name() string
- func (o *ServiceDependency) Owners() []*Owner
- func (o *ServiceDependency) ParentService() *Service
- func (o *ServiceDependency) Type() string
- func (o *ServiceDependency) UpdatedAt() time.Time
- type ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Build() (object *ServiceDependency, err error)
- func (b *ServiceDependencyBuilder) ChildService(value *ServiceBuilder) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Copy(object *ServiceDependency) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) CreatedAt(value time.Time) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Empty() bool
- func (b *ServiceDependencyBuilder) HREF(value string) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) ID(value string) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Link(value bool) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Metadata(value interface{}) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Name(value string) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Owners(values ...*OwnerBuilder) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) ParentService(value *ServiceBuilder) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) Type(value string) *ServiceDependencyBuilder
- func (b *ServiceDependencyBuilder) UpdatedAt(value time.Time) *ServiceDependencyBuilder
- type ServiceDependencyList
- func (l *ServiceDependencyList) Each(f func(item *ServiceDependency) bool)
- func (l *ServiceDependencyList) Empty() bool
- func (l *ServiceDependencyList) Get(i int) *ServiceDependency
- func (l *ServiceDependencyList) GetHREF() (value string, ok bool)
- func (l *ServiceDependencyList) HREF() string
- func (l *ServiceDependencyList) Items() []*ServiceDependency
- func (l *ServiceDependencyList) Kind() string
- func (l *ServiceDependencyList) Len() int
- func (l *ServiceDependencyList) Link() bool
- func (l *ServiceDependencyList) Range(f func(index int, item *ServiceDependency) bool)
- func (l *ServiceDependencyList) SetHREF(href string)
- func (l *ServiceDependencyList) SetItems(items []*ServiceDependency)
- func (l *ServiceDependencyList) SetLink(link bool)
- func (l *ServiceDependencyList) Slice() []*ServiceDependency
- type ServiceDependencyListBuilder
- func (b *ServiceDependencyListBuilder) Build() (list *ServiceDependencyList, err error)
- func (b *ServiceDependencyListBuilder) Copy(list *ServiceDependencyList) *ServiceDependencyListBuilder
- func (b *ServiceDependencyListBuilder) Empty() bool
- func (b *ServiceDependencyListBuilder) Items(values ...*ServiceDependencyBuilder) *ServiceDependencyListBuilder
- type ServiceInfo
- type ServiceInfoBuilder
- func (b *ServiceInfoBuilder) Build() (object *ServiceInfo, err error)
- func (b *ServiceInfoBuilder) Copy(object *ServiceInfo) *ServiceInfoBuilder
- func (b *ServiceInfoBuilder) Empty() bool
- func (b *ServiceInfoBuilder) Fullname(value string) *ServiceInfoBuilder
- func (b *ServiceInfoBuilder) StatusType(value string) *ServiceInfoBuilder
- type ServiceInfoList
- func (l *ServiceInfoList) Each(f func(item *ServiceInfo) bool)
- func (l *ServiceInfoList) Empty() bool
- func (l *ServiceInfoList) Get(i int) *ServiceInfo
- func (l *ServiceInfoList) Items() []*ServiceInfo
- func (l *ServiceInfoList) Len() int
- func (l *ServiceInfoList) Range(f func(index int, item *ServiceInfo) bool)
- func (l *ServiceInfoList) SetHREF(href string)
- func (l *ServiceInfoList) SetItems(items []*ServiceInfo)
- func (l *ServiceInfoList) SetLink(link bool)
- func (l *ServiceInfoList) Slice() []*ServiceInfo
- type ServiceInfoListBuilder
- func (b *ServiceInfoListBuilder) Build() (list *ServiceInfoList, err error)
- func (b *ServiceInfoListBuilder) Copy(list *ServiceInfoList) *ServiceInfoListBuilder
- func (b *ServiceInfoListBuilder) Empty() bool
- func (b *ServiceInfoListBuilder) Items(values ...*ServiceInfoBuilder) *ServiceInfoListBuilder
- type ServiceList
- func (l *ServiceList) Each(f func(item *Service) bool)
- func (l *ServiceList) Empty() bool
- func (l *ServiceList) Get(i int) *Service
- func (l *ServiceList) GetHREF() (value string, ok bool)
- func (l *ServiceList) HREF() string
- func (l *ServiceList) Items() []*Service
- func (l *ServiceList) Kind() string
- func (l *ServiceList) Len() int
- func (l *ServiceList) Link() bool
- func (l *ServiceList) Range(f func(index int, item *Service) bool)
- func (l *ServiceList) SetHREF(href string)
- func (l *ServiceList) SetItems(items []*Service)
- func (l *ServiceList) SetLink(link bool)
- func (l *ServiceList) Slice() []*Service
- type ServiceListBuilder
- type Status
- func (o *Status) CreatedAt() time.Time
- func (o *Status) Empty() bool
- func (o *Status) GetCreatedAt() (value time.Time, ok bool)
- func (o *Status) GetHREF() (value string, ok bool)
- func (o *Status) GetID() (value string, ok bool)
- func (o *Status) GetMetadata() (value interface{}, ok bool)
- func (o *Status) GetService() (value *Service, ok bool)
- func (o *Status) GetServiceInfo() (value *ServiceInfo, ok bool)
- func (o *Status) GetStatus() (value string, ok bool)
- func (o *Status) GetUpdatedAt() (value time.Time, ok bool)
- func (o *Status) HREF() string
- func (o *Status) ID() string
- func (o *Status) Kind() string
- func (o *Status) Link() bool
- func (o *Status) Metadata() interface{}
- func (o *Status) Service() *Service
- func (o *Status) ServiceInfo() *ServiceInfo
- func (o *Status) Status() string
- func (o *Status) UpdatedAt() time.Time
- type StatusBuilder
- func (b *StatusBuilder) Build() (object *Status, err error)
- func (b *StatusBuilder) Copy(object *Status) *StatusBuilder
- func (b *StatusBuilder) CreatedAt(value time.Time) *StatusBuilder
- func (b *StatusBuilder) Empty() bool
- func (b *StatusBuilder) HREF(value string) *StatusBuilder
- func (b *StatusBuilder) ID(value string) *StatusBuilder
- func (b *StatusBuilder) Link(value bool) *StatusBuilder
- func (b *StatusBuilder) Metadata(value interface{}) *StatusBuilder
- func (b *StatusBuilder) Service(value *ServiceBuilder) *StatusBuilder
- func (b *StatusBuilder) ServiceInfo(value *ServiceInfoBuilder) *StatusBuilder
- func (b *StatusBuilder) Status(value string) *StatusBuilder
- func (b *StatusBuilder) UpdatedAt(value time.Time) *StatusBuilder
- type StatusList
- func (l *StatusList) Each(f func(item *Status) bool)
- func (l *StatusList) Empty() bool
- func (l *StatusList) Get(i int) *Status
- func (l *StatusList) GetHREF() (value string, ok bool)
- func (l *StatusList) HREF() string
- func (l *StatusList) Items() []*Status
- func (l *StatusList) Kind() string
- func (l *StatusList) Len() int
- func (l *StatusList) Link() bool
- func (l *StatusList) Range(f func(index int, item *Status) bool)
- func (l *StatusList) SetHREF(href string)
- func (l *StatusList) SetItems(items []*Status)
- func (l *StatusList) SetLink(link bool)
- func (l *StatusList) Slice() []*Status
- type StatusListBuilder
- type StatusUpdate
- func ReadStatusUpdate(iterator *jsoniter.Iterator) *StatusUpdate
- func ReadStatusUpdateList(iterator *jsoniter.Iterator) []*StatusUpdate
- func UnmarshalStatusUpdate(source interface{}) (object *StatusUpdate, err error)
- func UnmarshalStatusUpdateList(source interface{}) (items []*StatusUpdate, err error)
- func (o *StatusUpdate) CreatedAt() time.Time
- func (o *StatusUpdate) Empty() bool
- func (o *StatusUpdate) GetCreatedAt() (value time.Time, ok bool)
- func (o *StatusUpdate) GetHREF() (value string, ok bool)
- func (o *StatusUpdate) GetID() (value string, ok bool)
- func (o *StatusUpdate) GetMetadata() (value interface{}, ok bool)
- func (o *StatusUpdate) GetService() (value *Service, ok bool)
- func (o *StatusUpdate) GetServiceInfo() (value *ServiceInfo, ok bool)
- func (o *StatusUpdate) GetStatus() (value string, ok bool)
- func (o *StatusUpdate) GetUpdatedAt() (value time.Time, ok bool)
- func (o *StatusUpdate) HREF() string
- func (o *StatusUpdate) ID() string
- func (o *StatusUpdate) Kind() string
- func (o *StatusUpdate) Link() bool
- func (o *StatusUpdate) Metadata() interface{}
- func (o *StatusUpdate) Service() *Service
- func (o *StatusUpdate) ServiceInfo() *ServiceInfo
- func (o *StatusUpdate) Status() string
- func (o *StatusUpdate) UpdatedAt() time.Time
- type StatusUpdateBuilder
- func (b *StatusUpdateBuilder) Build() (object *StatusUpdate, err error)
- func (b *StatusUpdateBuilder) Copy(object *StatusUpdate) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) CreatedAt(value time.Time) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) Empty() bool
- func (b *StatusUpdateBuilder) HREF(value string) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) ID(value string) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) Link(value bool) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) Metadata(value interface{}) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) Service(value *ServiceBuilder) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) ServiceInfo(value *ServiceInfoBuilder) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) Status(value string) *StatusUpdateBuilder
- func (b *StatusUpdateBuilder) UpdatedAt(value time.Time) *StatusUpdateBuilder
- type StatusUpdateList
- func (l *StatusUpdateList) Each(f func(item *StatusUpdate) bool)
- func (l *StatusUpdateList) Empty() bool
- func (l *StatusUpdateList) Get(i int) *StatusUpdate
- func (l *StatusUpdateList) GetHREF() (value string, ok bool)
- func (l *StatusUpdateList) HREF() string
- func (l *StatusUpdateList) Items() []*StatusUpdate
- func (l *StatusUpdateList) Kind() string
- func (l *StatusUpdateList) Len() int
- func (l *StatusUpdateList) Link() bool
- func (l *StatusUpdateList) Range(f func(index int, item *StatusUpdate) bool)
- func (l *StatusUpdateList) SetHREF(href string)
- func (l *StatusUpdateList) SetItems(items []*StatusUpdate)
- func (l *StatusUpdateList) SetLink(link bool)
- func (l *StatusUpdateList) Slice() []*StatusUpdate
- type StatusUpdateListBuilder
- func (b *StatusUpdateListBuilder) Build() (list *StatusUpdateList, err error)
- func (b *StatusUpdateListBuilder) Copy(list *StatusUpdateList) *StatusUpdateListBuilder
- func (b *StatusUpdateListBuilder) Empty() bool
- func (b *StatusUpdateListBuilder) Items(values ...*StatusUpdateBuilder) *StatusUpdateListBuilder
Constants ¶
const ApplicationDependencyKind = "ApplicationDependency"
ApplicationDependencyKind is the name of the type used to represent objects of type 'application_dependency'.
const ApplicationDependencyLinkKind = "ApplicationDependencyLink"
ApplicationDependencyLinkKind is the name of the type used to represent links to objects of type 'application_dependency'.
const ApplicationDependencyListKind = "ApplicationDependencyList"
ApplicationDependencyListKind is the name of the type used to represent list of objects of type 'application_dependency'.
const ApplicationDependencyListLinkKind = "ApplicationDependencyListLink"
ApplicationDependencyListLinkKind is the name of the type used to represent links to list of objects of type 'application_dependency'.
const ApplicationDependencyListNilKind = "ApplicationDependencyListNil"
ApplicationDependencyNilKind is the name of the type used to nil lists of objects of type 'application_dependency'.
const ApplicationDependencyNilKind = "ApplicationDependencyNil"
ApplicationDependencyNilKind is the name of the type used to nil references to objects of type 'application_dependency'.
const ApplicationKind = "Application"
ApplicationKind is the name of the type used to represent objects of type 'application'.
const ApplicationLinkKind = "ApplicationLink"
ApplicationLinkKind is the name of the type used to represent links to objects of type 'application'.
const ApplicationListKind = "ApplicationList"
ApplicationListKind is the name of the type used to represent list of objects of type 'application'.
const ApplicationListLinkKind = "ApplicationListLink"
ApplicationListLinkKind is the name of the type used to represent links to list of objects of type 'application'.
const ApplicationListNilKind = "ApplicationListNil"
ApplicationNilKind is the name of the type used to nil lists of objects of type 'application'.
const ApplicationNilKind = "ApplicationNil"
ApplicationNilKind is the name of the type used to nil references to objects of type 'application'.
const ErrorKind = "Error"
ErrorKind is the name of the type used to represent objects of type 'error'.
const ErrorLinkKind = "ErrorLink"
ErrorLinkKind is the name of the type used to represent links to objects of type 'error'.
const ErrorListKind = "ErrorList"
ErrorListKind is the name of the type used to represent list of objects of type 'error'.
const ErrorListLinkKind = "ErrorListLink"
ErrorListLinkKind is the name of the type used to represent links to list of objects of type 'error'.
const ErrorListNilKind = "ErrorListNil"
ErrorNilKind is the name of the type used to nil lists of objects of type 'error'.
const ErrorNilKind = "ErrorNil"
ErrorNilKind is the name of the type used to nil references to objects of type 'error'.
const OwnerKind = "Owner"
OwnerKind is the name of the type used to represent objects of type 'owner'.
const OwnerLinkKind = "OwnerLink"
OwnerLinkKind is the name of the type used to represent links to objects of type 'owner'.
const OwnerListKind = "OwnerList"
OwnerListKind is the name of the type used to represent list of objects of type 'owner'.
const OwnerListLinkKind = "OwnerListLink"
OwnerListLinkKind is the name of the type used to represent links to list of objects of type 'owner'.
const OwnerListNilKind = "OwnerListNil"
OwnerNilKind is the name of the type used to nil lists of objects of type 'owner'.
const OwnerNilKind = "OwnerNil"
OwnerNilKind is the name of the type used to nil references to objects of type 'owner'.
const PeerDependencyKind = "PeerDependency"
PeerDependencyKind is the name of the type used to represent objects of type 'peer_dependency'.
const PeerDependencyLinkKind = "PeerDependencyLink"
PeerDependencyLinkKind is the name of the type used to represent links to objects of type 'peer_dependency'.
const PeerDependencyListKind = "PeerDependencyList"
PeerDependencyListKind is the name of the type used to represent list of objects of type 'peer_dependency'.
const PeerDependencyListLinkKind = "PeerDependencyListLink"
PeerDependencyListLinkKind is the name of the type used to represent links to list of objects of type 'peer_dependency'.
const PeerDependencyListNilKind = "PeerDependencyListNil"
PeerDependencyNilKind is the name of the type used to nil lists of objects of type 'peer_dependency'.
const PeerDependencyNilKind = "PeerDependencyNil"
PeerDependencyNilKind is the name of the type used to nil references to objects of type 'peer_dependency'.
const ProductKind = "Product"
ProductKind is the name of the type used to represent objects of type 'product'.
const ProductLinkKind = "ProductLink"
ProductLinkKind is the name of the type used to represent links to objects of type 'product'.
const ProductListKind = "ProductList"
ProductListKind is the name of the type used to represent list of objects of type 'product'.
const ProductListLinkKind = "ProductListLink"
ProductListLinkKind is the name of the type used to represent links to list of objects of type 'product'.
const ProductListNilKind = "ProductListNil"
ProductNilKind is the name of the type used to nil lists of objects of type 'product'.
const ProductNilKind = "ProductNil"
ProductNilKind is the name of the type used to nil references to objects of type 'product'.
const ServiceDependencyKind = "ServiceDependency"
ServiceDependencyKind is the name of the type used to represent objects of type 'service_dependency'.
const ServiceDependencyLinkKind = "ServiceDependencyLink"
ServiceDependencyLinkKind is the name of the type used to represent links to objects of type 'service_dependency'.
const ServiceDependencyListKind = "ServiceDependencyList"
ServiceDependencyListKind is the name of the type used to represent list of objects of type 'service_dependency'.
const ServiceDependencyListLinkKind = "ServiceDependencyListLink"
ServiceDependencyListLinkKind is the name of the type used to represent links to list of objects of type 'service_dependency'.
const ServiceDependencyListNilKind = "ServiceDependencyListNil"
ServiceDependencyNilKind is the name of the type used to nil lists of objects of type 'service_dependency'.
const ServiceDependencyNilKind = "ServiceDependencyNil"
ServiceDependencyNilKind is the name of the type used to nil references to objects of type 'service_dependency'.
const ServiceInfoListKind = "ServiceInfoList"
ServiceInfoListKind is the name of the type used to represent list of objects of type 'service_info'.
const ServiceInfoListLinkKind = "ServiceInfoListLink"
ServiceInfoListLinkKind is the name of the type used to represent links to list of objects of type 'service_info'.
const ServiceInfoListNilKind = "ServiceInfoListNil"
ServiceInfoNilKind is the name of the type used to nil lists of objects of type 'service_info'.
const ServiceKind = "Service"
ServiceKind is the name of the type used to represent objects of type 'service'.
const ServiceLinkKind = "ServiceLink"
ServiceLinkKind is the name of the type used to represent links to objects of type 'service'.
const ServiceListKind = "ServiceList"
ServiceListKind is the name of the type used to represent list of objects of type 'service'.
const ServiceListLinkKind = "ServiceListLink"
ServiceListLinkKind is the name of the type used to represent links to list of objects of type 'service'.
const ServiceListNilKind = "ServiceListNil"
ServiceNilKind is the name of the type used to nil lists of objects of type 'service'.
const ServiceNilKind = "ServiceNil"
ServiceNilKind is the name of the type used to nil references to objects of type 'service'.
const StatusKind = "Status"
StatusKind is the name of the type used to represent objects of type 'status'.
const StatusLinkKind = "StatusLink"
StatusLinkKind is the name of the type used to represent links to objects of type 'status'.
const StatusListKind = "StatusList"
StatusListKind is the name of the type used to represent list of objects of type 'status'.
const StatusListLinkKind = "StatusListLink"
StatusListLinkKind is the name of the type used to represent links to list of objects of type 'status'.
const StatusListNilKind = "StatusListNil"
StatusNilKind is the name of the type used to nil lists of objects of type 'status'.
const StatusNilKind = "StatusNil"
StatusNilKind is the name of the type used to nil references to objects of type 'status'.
const StatusUpdateKind = "StatusUpdate"
StatusUpdateKind is the name of the type used to represent objects of type 'status_update'.
const StatusUpdateLinkKind = "StatusUpdateLink"
StatusUpdateLinkKind is the name of the type used to represent links to objects of type 'status_update'.
const StatusUpdateListKind = "StatusUpdateList"
StatusUpdateListKind is the name of the type used to represent list of objects of type 'status_update'.
const StatusUpdateListLinkKind = "StatusUpdateListLink"
StatusUpdateListLinkKind is the name of the type used to represent links to list of objects of type 'status_update'.
const StatusUpdateListNilKind = "StatusUpdateListNil"
StatusUpdateNilKind is the name of the type used to nil lists of objects of type 'status_update'.
const StatusUpdateNilKind = "StatusUpdateNil"
StatusUpdateNilKind is the name of the type used to nil references to objects of type 'status_update'.
Variables ¶
This section is empty.
Functions ¶
func MarshalApplication ¶
func MarshalApplication(object *Application, writer io.Writer) error
MarshalApplication writes a value of the 'application' type to the given writer.
func MarshalApplicationDependency ¶
func MarshalApplicationDependency(object *ApplicationDependency, writer io.Writer) error
MarshalApplicationDependency writes a value of the 'application_dependency' type to the given writer.
func MarshalApplicationDependencyList ¶
func MarshalApplicationDependencyList(list []*ApplicationDependency, writer io.Writer) error
MarshalApplicationDependencyList writes a list of values of the 'application_dependency' type to the given writer.
func MarshalApplicationList ¶
func MarshalApplicationList(list []*Application, writer io.Writer) error
MarshalApplicationList writes a list of values of the 'application' type to the given writer.
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 MarshalError ¶
MarshalError writes a value of the 'error' type to the given writer.
func MarshalErrorList ¶
MarshalErrorList writes a list of values of the 'error' 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 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 MarshalOwner ¶
MarshalOwner writes a value of the 'owner' type to the given writer.
func MarshalOwnerList ¶
MarshalOwnerList writes a list of values of the 'owner' type to the given writer.
func MarshalPeerDependency ¶
func MarshalPeerDependency(object *PeerDependency, writer io.Writer) error
MarshalPeerDependency writes a value of the 'peer_dependency' type to the given writer.
func MarshalPeerDependencyList ¶
func MarshalPeerDependencyList(list []*PeerDependency, writer io.Writer) error
MarshalPeerDependencyList writes a list of values of the 'peer_dependency' type to the given writer.
func MarshalProduct ¶
MarshalProduct writes a value of the 'product' type to the given writer.
func MarshalProductList ¶
MarshalProductList writes a list of values of the 'product' type to the given writer.
func MarshalService ¶
MarshalService writes a value of the 'service' type to the given writer.
func MarshalServiceDependency ¶
func MarshalServiceDependency(object *ServiceDependency, writer io.Writer) error
MarshalServiceDependency writes a value of the 'service_dependency' type to the given writer.
func MarshalServiceDependencyList ¶
func MarshalServiceDependencyList(list []*ServiceDependency, writer io.Writer) error
MarshalServiceDependencyList writes a list of values of the 'service_dependency' type to the given writer.
func MarshalServiceInfo ¶
func MarshalServiceInfo(object *ServiceInfo, writer io.Writer) error
MarshalServiceInfo writes a value of the 'service_info' type to the given writer.
func MarshalServiceInfoList ¶
func MarshalServiceInfoList(list []*ServiceInfo, writer io.Writer) error
MarshalServiceInfoList writes a list of values of the 'service_info' type to the given writer.
func MarshalServiceList ¶
MarshalServiceList writes a list of values of the 'service' type to the given writer.
func MarshalStatus ¶
MarshalStatus writes a value of the 'status' type to the given writer.
func MarshalStatusList ¶
MarshalStatusList writes a list of values of the 'status' type to the given writer.
func MarshalStatusUpdate ¶
func MarshalStatusUpdate(object *StatusUpdate, writer io.Writer) error
MarshalStatusUpdate writes a value of the 'status_update' type to the given writer.
func MarshalStatusUpdateList ¶
func MarshalStatusUpdateList(list []*StatusUpdate, writer io.Writer) error
MarshalStatusUpdateList writes a list of values of the 'status_update' 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 WriteApplication ¶
func WriteApplication(object *Application, stream *jsoniter.Stream)
WriteApplication writes a value of the 'application' type to the given stream.
func WriteApplicationDependency ¶
func WriteApplicationDependency(object *ApplicationDependency, stream *jsoniter.Stream)
WriteApplicationDependency writes a value of the 'application_dependency' type to the given stream.
func WriteApplicationDependencyList ¶
func WriteApplicationDependencyList(list []*ApplicationDependency, stream *jsoniter.Stream)
WriteApplicationDependencyList writes a list of value of the 'application_dependency' type to the given stream.
func WriteApplicationList ¶
func WriteApplicationList(list []*Application, stream *jsoniter.Stream)
WriteApplicationList writes a list of value of the 'application' type to the given stream.
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 WriteError ¶
WriteError writes a value of the 'error' type to the given stream.
func WriteErrorList ¶
WriteErrorList writes a list of value of the 'error' 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 WriteLongList ¶
WriteLongList writes a list of value of the 'long' type to the given stream.
func WriteOwner ¶
WriteOwner writes a value of the 'owner' type to the given stream.
func WriteOwnerList ¶
WriteOwnerList writes a list of value of the 'owner' type to the given stream.
func WritePeerDependency ¶
func WritePeerDependency(object *PeerDependency, stream *jsoniter.Stream)
WritePeerDependency writes a value of the 'peer_dependency' type to the given stream.
func WritePeerDependencyList ¶
func WritePeerDependencyList(list []*PeerDependency, stream *jsoniter.Stream)
WritePeerDependencyList writes a list of value of the 'peer_dependency' type to the given stream.
func WriteProduct ¶
WriteProduct writes a value of the 'product' type to the given stream.
func WriteProductList ¶
WriteProductList writes a list of value of the 'product' type to the given stream.
func WriteService ¶
WriteService writes a value of the 'service' type to the given stream.
func WriteServiceDependency ¶
func WriteServiceDependency(object *ServiceDependency, stream *jsoniter.Stream)
WriteServiceDependency writes a value of the 'service_dependency' type to the given stream.
func WriteServiceDependencyList ¶
func WriteServiceDependencyList(list []*ServiceDependency, stream *jsoniter.Stream)
WriteServiceDependencyList writes a list of value of the 'service_dependency' type to the given stream.
func WriteServiceInfo ¶
func WriteServiceInfo(object *ServiceInfo, stream *jsoniter.Stream)
WriteServiceInfo writes a value of the 'service_info' type to the given stream.
func WriteServiceInfoList ¶
func WriteServiceInfoList(list []*ServiceInfo, stream *jsoniter.Stream)
WriteServiceInfoList writes a list of value of the 'service_info' type to the given stream.
func WriteServiceList ¶
WriteServiceList writes a list of value of the 'service' type to the given stream.
func WriteStatus ¶
WriteStatus writes a value of the 'status' type to the given stream.
func WriteStatusList ¶
WriteStatusList writes a list of value of the 'status' type to the given stream.
func WriteStatusUpdate ¶
func WriteStatusUpdate(object *StatusUpdate, stream *jsoniter.Stream)
WriteStatusUpdate writes a value of the 'status_update' type to the given stream.
func WriteStatusUpdateList ¶
func WriteStatusUpdateList(list []*StatusUpdate, stream *jsoniter.Stream)
WriteStatusUpdateList writes a list of value of the 'status_update' type to the given stream.
func WriteStringList ¶
WriteStringList writes a list of value of the 'string' type to the given stream.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application represents the values of the 'application' type.
Definition of a Status Board application.
func ReadApplication ¶
func ReadApplication(iterator *jsoniter.Iterator) *Application
ReadApplication reads a value of the 'application' type from the given iterator.
func ReadApplicationList ¶
func ReadApplicationList(iterator *jsoniter.Iterator) []*Application
ReadApplicationList reads list of values of the ”application' type from the given iterator.
func UnmarshalApplication ¶
func UnmarshalApplication(source interface{}) (object *Application, err error)
UnmarshalApplication reads a value of the 'application' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalApplicationList ¶
func UnmarshalApplicationList(source interface{}) (items []*Application, err error)
UnmarshalApplicationList reads a list of values of the 'application' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Application) CreatedAt ¶
func (o *Application) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object creation timestamp.
func (*Application) Empty ¶
func (o *Application) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*Application) Fullname ¶
func (o *Application) Fullname() string
Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.
The full name of the application.
func (*Application) GetCreatedAt ¶
func (o *Application) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Application) GetFullname ¶
func (o *Application) GetFullname() (value string, ok bool)
GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.
The full name of the application.
func (*Application) GetHREF ¶
func (o *Application) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Application) GetID ¶
func (o *Application) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Application) GetMetadata ¶
func (o *Application) GetMetadata() (value interface{}, ok bool)
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous metadata about the application.
func (*Application) GetName ¶
func (o *Application) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the application.
func (*Application) GetOwners ¶
func (o *Application) GetOwners() (value []*Owner, ok bool)
GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.
The application owners (name and email)
func (*Application) GetProduct ¶
func (o *Application) GetProduct() (value *Product, ok bool)
GetProduct returns the value of the 'product' attribute and a flag indicating if the attribute has a value.
The group ID that the application belongs to.
func (*Application) GetUpdatedAt ¶
func (o *Application) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Application) Kind ¶
func (o *Application) Kind() string
Kind returns the name of the type of the object.
func (*Application) Metadata ¶
func (o *Application) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous metadata about the application.
func (*Application) Name ¶
func (o *Application) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the application.
func (*Application) Owners ¶
func (o *Application) Owners() []*Owner
Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.
The application owners (name and email)
func (*Application) Product ¶
func (o *Application) Product() *Product
Product returns the value of the 'product' attribute, or the zero value of the type if the attribute doesn't have a value.
The group ID that the application belongs to.
func (*Application) UpdatedAt ¶
func (o *Application) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object modification timestamp.
type ApplicationBuilder ¶
type ApplicationBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board application.
func NewApplication ¶
func NewApplication() *ApplicationBuilder
NewApplication creates a new builder of 'application' objects.
func (*ApplicationBuilder) Build ¶
func (b *ApplicationBuilder) Build() (object *Application, err error)
Build creates a 'application' object using the configuration stored in the builder.
func (*ApplicationBuilder) Copy ¶
func (b *ApplicationBuilder) Copy(object *Application) *ApplicationBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ApplicationBuilder) CreatedAt ¶
func (b *ApplicationBuilder) CreatedAt(value time.Time) *ApplicationBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ApplicationBuilder) Empty ¶
func (b *ApplicationBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ApplicationBuilder) Fullname ¶
func (b *ApplicationBuilder) Fullname(value string) *ApplicationBuilder
Fullname sets the value of the 'fullname' attribute to the given value.
func (*ApplicationBuilder) HREF ¶
func (b *ApplicationBuilder) HREF(value string) *ApplicationBuilder
HREF sets the link to the object.
func (*ApplicationBuilder) ID ¶
func (b *ApplicationBuilder) ID(value string) *ApplicationBuilder
ID sets the identifier of the object.
func (*ApplicationBuilder) Link ¶
func (b *ApplicationBuilder) Link(value bool) *ApplicationBuilder
Link sets the flag that indicates if this is a link.
func (*ApplicationBuilder) Metadata ¶
func (b *ApplicationBuilder) Metadata(value interface{}) *ApplicationBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*ApplicationBuilder) Name ¶
func (b *ApplicationBuilder) Name(value string) *ApplicationBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ApplicationBuilder) Owners ¶
func (b *ApplicationBuilder) Owners(values ...*OwnerBuilder) *ApplicationBuilder
Owners sets the value of the 'owners' attribute to the given values.
func (*ApplicationBuilder) Product ¶
func (b *ApplicationBuilder) Product(value *ProductBuilder) *ApplicationBuilder
Product sets the value of the 'product' attribute to the given value.
Definition of a Status Board product.
func (*ApplicationBuilder) UpdatedAt ¶
func (b *ApplicationBuilder) UpdatedAt(value time.Time) *ApplicationBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ApplicationDependency ¶
type ApplicationDependency struct {
// contains filtered or unexported fields
}
ApplicationDependency represents the values of the 'application_dependency' type.
Definition of a Status Board application dependency.
func ReadApplicationDependency ¶
func ReadApplicationDependency(iterator *jsoniter.Iterator) *ApplicationDependency
ReadApplicationDependency reads a value of the 'application_dependency' type from the given iterator.
func ReadApplicationDependencyList ¶
func ReadApplicationDependencyList(iterator *jsoniter.Iterator) []*ApplicationDependency
ReadApplicationDependencyList reads list of values of the ”application_dependency' type from the given iterator.
func UnmarshalApplicationDependency ¶
func UnmarshalApplicationDependency(source interface{}) (object *ApplicationDependency, err error)
UnmarshalApplicationDependency reads a value of the 'application_dependency' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalApplicationDependencyList ¶
func UnmarshalApplicationDependencyList(source interface{}) (items []*ApplicationDependency, err error)
UnmarshalApplicationDependencyList reads a list of values of the 'application_dependency' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ApplicationDependency) Application ¶
func (o *ApplicationDependency) Application() *Application
Application returns the value of the 'application' attribute, or the zero value of the type if the attribute doesn't have a value.
The parent Application of the dependency.
func (*ApplicationDependency) CreatedAt ¶
func (o *ApplicationDependency) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object creation timestamp.
func (*ApplicationDependency) Empty ¶
func (o *ApplicationDependency) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ApplicationDependency) GetApplication ¶
func (o *ApplicationDependency) GetApplication() (value *Application, ok bool)
GetApplication returns the value of the 'application' attribute and a flag indicating if the attribute has a value.
The parent Application of the dependency.
func (*ApplicationDependency) GetCreatedAt ¶
func (o *ApplicationDependency) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*ApplicationDependency) GetHREF ¶
func (o *ApplicationDependency) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ApplicationDependency) GetID ¶
func (o *ApplicationDependency) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ApplicationDependency) GetMetadata ¶
func (o *ApplicationDependency) GetMetadata() (value interface{}, ok bool)
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous metadata about the application.
func (*ApplicationDependency) GetName ¶
func (o *ApplicationDependency) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the application.
func (*ApplicationDependency) GetOwners ¶
func (o *ApplicationDependency) GetOwners() (value []*Owner, ok bool)
GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.
The application dependency owners (name and email)
func (*ApplicationDependency) GetService ¶
func (o *ApplicationDependency) GetService() (value *Service, ok bool)
GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.
The Service associated with the dependency.
func (*ApplicationDependency) GetType ¶
func (o *ApplicationDependency) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
The type of application dependency, e.g. soft or hard.
func (*ApplicationDependency) GetUpdatedAt ¶
func (o *ApplicationDependency) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*ApplicationDependency) HREF ¶
func (o *ApplicationDependency) HREF() string
HREF returns the link to the object.
func (*ApplicationDependency) ID ¶
func (o *ApplicationDependency) ID() string
ID returns the identifier of the object.
func (*ApplicationDependency) Kind ¶
func (o *ApplicationDependency) Kind() string
Kind returns the name of the type of the object.
func (*ApplicationDependency) Link ¶
func (o *ApplicationDependency) Link() bool
Link returns true if this is a link.
func (*ApplicationDependency) Metadata ¶
func (o *ApplicationDependency) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous metadata about the application.
func (*ApplicationDependency) Name ¶
func (o *ApplicationDependency) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the application.
func (*ApplicationDependency) Owners ¶
func (o *ApplicationDependency) Owners() []*Owner
Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.
The application dependency owners (name and email)
func (*ApplicationDependency) Service ¶
func (o *ApplicationDependency) Service() *Service
Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.
The Service associated with the dependency.
func (*ApplicationDependency) Type ¶
func (o *ApplicationDependency) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
The type of application dependency, e.g. soft or hard.
func (*ApplicationDependency) UpdatedAt ¶
func (o *ApplicationDependency) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object modification timestamp.
type ApplicationDependencyBuilder ¶
type ApplicationDependencyBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board application dependency.
func NewApplicationDependency ¶
func NewApplicationDependency() *ApplicationDependencyBuilder
NewApplicationDependency creates a new builder of 'application_dependency' objects.
func (*ApplicationDependencyBuilder) Application ¶
func (b *ApplicationDependencyBuilder) Application(value *ApplicationBuilder) *ApplicationDependencyBuilder
Application sets the value of the 'application' attribute to the given value.
Definition of a Status Board application.
func (*ApplicationDependencyBuilder) Build ¶
func (b *ApplicationDependencyBuilder) Build() (object *ApplicationDependency, err error)
Build creates a 'application_dependency' object using the configuration stored in the builder.
func (*ApplicationDependencyBuilder) Copy ¶
func (b *ApplicationDependencyBuilder) Copy(object *ApplicationDependency) *ApplicationDependencyBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ApplicationDependencyBuilder) CreatedAt ¶
func (b *ApplicationDependencyBuilder) CreatedAt(value time.Time) *ApplicationDependencyBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ApplicationDependencyBuilder) Empty ¶
func (b *ApplicationDependencyBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ApplicationDependencyBuilder) HREF ¶
func (b *ApplicationDependencyBuilder) HREF(value string) *ApplicationDependencyBuilder
HREF sets the link to the object.
func (*ApplicationDependencyBuilder) ID ¶
func (b *ApplicationDependencyBuilder) ID(value string) *ApplicationDependencyBuilder
ID sets the identifier of the object.
func (*ApplicationDependencyBuilder) Link ¶
func (b *ApplicationDependencyBuilder) Link(value bool) *ApplicationDependencyBuilder
Link sets the flag that indicates if this is a link.
func (*ApplicationDependencyBuilder) Metadata ¶
func (b *ApplicationDependencyBuilder) Metadata(value interface{}) *ApplicationDependencyBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*ApplicationDependencyBuilder) Name ¶
func (b *ApplicationDependencyBuilder) Name(value string) *ApplicationDependencyBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ApplicationDependencyBuilder) Owners ¶
func (b *ApplicationDependencyBuilder) Owners(values ...*OwnerBuilder) *ApplicationDependencyBuilder
Owners sets the value of the 'owners' attribute to the given values.
func (*ApplicationDependencyBuilder) Service ¶
func (b *ApplicationDependencyBuilder) Service(value *ServiceBuilder) *ApplicationDependencyBuilder
Service sets the value of the 'service' attribute to the given value.
Definition of a Status Board Service.
func (*ApplicationDependencyBuilder) Type ¶
func (b *ApplicationDependencyBuilder) Type(value string) *ApplicationDependencyBuilder
Type sets the value of the 'type' attribute to the given value.
func (*ApplicationDependencyBuilder) UpdatedAt ¶
func (b *ApplicationDependencyBuilder) UpdatedAt(value time.Time) *ApplicationDependencyBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ApplicationDependencyList ¶
type ApplicationDependencyList struct {
// contains filtered or unexported fields
}
ApplicationDependencyList is a list of values of the 'application_dependency' type.
func (*ApplicationDependencyList) Each ¶
func (l *ApplicationDependencyList) Each(f func(item *ApplicationDependency) bool)
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 (*ApplicationDependencyList) Empty ¶
func (l *ApplicationDependencyList) Empty() bool
Empty returns true if the list is empty.
func (*ApplicationDependencyList) Get ¶
func (l *ApplicationDependencyList) Get(i int) *ApplicationDependency
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ApplicationDependencyList) GetHREF ¶
func (l *ApplicationDependencyList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ApplicationDependencyList) HREF ¶
func (l *ApplicationDependencyList) HREF() string
HREF returns the link to the list.
func (*ApplicationDependencyList) Items ¶
func (l *ApplicationDependencyList) Items() []*ApplicationDependency
Items returns the items of the list.
func (*ApplicationDependencyList) Kind ¶
func (l *ApplicationDependencyList) Kind() string
Kind returns the name of the type of the object.
func (*ApplicationDependencyList) Len ¶
func (l *ApplicationDependencyList) Len() int
Len returns the length of the list.
func (*ApplicationDependencyList) Link ¶
func (l *ApplicationDependencyList) Link() bool
Link returns true iif this is a link.
func (*ApplicationDependencyList) Range ¶
func (l *ApplicationDependencyList) Range(f func(index int, item *ApplicationDependency) bool)
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 (*ApplicationDependencyList) SetHREF ¶
func (l *ApplicationDependencyList) SetHREF(href string)
Items sets the items of the list.
func (*ApplicationDependencyList) SetItems ¶
func (l *ApplicationDependencyList) SetItems(items []*ApplicationDependency)
Items sets the items of the list.
func (*ApplicationDependencyList) SetLink ¶
func (l *ApplicationDependencyList) SetLink(link bool)
Items sets the items of the list.
func (*ApplicationDependencyList) Slice ¶
func (l *ApplicationDependencyList) Slice() []*ApplicationDependency
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 ApplicationDependencyListBuilder ¶
type ApplicationDependencyListBuilder struct {
// contains filtered or unexported fields
}
ApplicationDependencyListBuilder contains the data and logic needed to build 'application_dependency' objects.
func NewApplicationDependencyList ¶
func NewApplicationDependencyList() *ApplicationDependencyListBuilder
NewApplicationDependencyList creates a new builder of 'application_dependency' objects.
func (*ApplicationDependencyListBuilder) Build ¶
func (b *ApplicationDependencyListBuilder) Build() (list *ApplicationDependencyList, err error)
Build creates a list of 'application_dependency' objects using the configuration stored in the builder.
func (*ApplicationDependencyListBuilder) Copy ¶
func (b *ApplicationDependencyListBuilder) Copy(list *ApplicationDependencyList) *ApplicationDependencyListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ApplicationDependencyListBuilder) Empty ¶
func (b *ApplicationDependencyListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ApplicationDependencyListBuilder) Items ¶
func (b *ApplicationDependencyListBuilder) Items(values ...*ApplicationDependencyBuilder) *ApplicationDependencyListBuilder
Items sets the items of the list.
type ApplicationList ¶
type ApplicationList struct {
// contains filtered or unexported fields
}
ApplicationList is a list of values of the 'application' type.
func (*ApplicationList) Each ¶
func (l *ApplicationList) Each(f func(item *Application) bool)
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 (*ApplicationList) Empty ¶
func (l *ApplicationList) Empty() bool
Empty returns true if the list is empty.
func (*ApplicationList) Get ¶
func (l *ApplicationList) Get(i int) *Application
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ApplicationList) GetHREF ¶
func (l *ApplicationList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ApplicationList) HREF ¶
func (l *ApplicationList) HREF() string
HREF returns the link to the list.
func (*ApplicationList) Items ¶
func (l *ApplicationList) Items() []*Application
Items returns the items of the list.
func (*ApplicationList) Kind ¶
func (l *ApplicationList) Kind() string
Kind returns the name of the type of the object.
func (*ApplicationList) Len ¶
func (l *ApplicationList) Len() int
Len returns the length of the list.
func (*ApplicationList) Link ¶
func (l *ApplicationList) Link() bool
Link returns true iif this is a link.
func (*ApplicationList) Range ¶
func (l *ApplicationList) Range(f func(index int, item *Application) bool)
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 (*ApplicationList) SetHREF ¶
func (l *ApplicationList) SetHREF(href string)
Items sets the items of the list.
func (*ApplicationList) SetItems ¶
func (l *ApplicationList) SetItems(items []*Application)
Items sets the items of the list.
func (*ApplicationList) SetLink ¶
func (l *ApplicationList) SetLink(link bool)
Items sets the items of the list.
func (*ApplicationList) Slice ¶
func (l *ApplicationList) Slice() []*Application
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 ApplicationListBuilder ¶
type ApplicationListBuilder struct {
// contains filtered or unexported fields
}
ApplicationListBuilder contains the data and logic needed to build 'application' objects.
func NewApplicationList ¶
func NewApplicationList() *ApplicationListBuilder
NewApplicationList creates a new builder of 'application' objects.
func (*ApplicationListBuilder) Build ¶
func (b *ApplicationListBuilder) Build() (list *ApplicationList, err error)
Build creates a list of 'application' objects using the configuration stored in the builder.
func (*ApplicationListBuilder) Copy ¶
func (b *ApplicationListBuilder) Copy(list *ApplicationList) *ApplicationListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ApplicationListBuilder) Empty ¶
func (b *ApplicationListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ApplicationListBuilder) Items ¶
func (b *ApplicationListBuilder) Items(values ...*ApplicationBuilder) *ApplicationListBuilder
Items sets the items of the list.
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error represents the values of the 'error' type.
Definition of a Status Board error.
func ReadErrorList ¶
ReadErrorList reads list of values of the ”error' type from the given iterator.
func UnmarshalError ¶
UnmarshalError reads a value of the 'error' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalErrorList ¶
UnmarshalErrorList reads a list of values of the 'error' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Error) Code ¶
Code returns the value of the 'code' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Error) GetCode ¶
GetCode returns the value of the 'code' attribute and a flag indicating if the attribute has a value.
func (*Error) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Error) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
type ErrorBuilder ¶
type ErrorBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board error.
func (*ErrorBuilder) Build ¶
func (b *ErrorBuilder) Build() (object *Error, err error)
Build creates a 'error' object using the configuration stored in the builder.
func (*ErrorBuilder) Code ¶
func (b *ErrorBuilder) Code(value string) *ErrorBuilder
Code sets the value of the 'code' attribute to the given value.
func (*ErrorBuilder) Copy ¶
func (b *ErrorBuilder) Copy(object *Error) *ErrorBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ErrorBuilder) Empty ¶
func (b *ErrorBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ErrorBuilder) HREF ¶
func (b *ErrorBuilder) HREF(value string) *ErrorBuilder
HREF sets the link to the object.
func (*ErrorBuilder) ID ¶
func (b *ErrorBuilder) ID(value string) *ErrorBuilder
ID sets the identifier of the object.
func (*ErrorBuilder) Link ¶
func (b *ErrorBuilder) Link(value bool) *ErrorBuilder
Link sets the flag that indicates if this is a link.
func (*ErrorBuilder) Reason ¶
func (b *ErrorBuilder) Reason(value string) *ErrorBuilder
Reason sets the value of the 'reason' attribute to the given value.
type ErrorList ¶
type ErrorList struct {
// contains filtered or unexported fields
}
ErrorList is a list of values of the 'error' type.
func (*ErrorList) 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 (*ErrorList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ErrorList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ErrorList) 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 (*ErrorList) 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 ErrorListBuilder ¶
type ErrorListBuilder struct {
// contains filtered or unexported fields
}
ErrorListBuilder contains the data and logic needed to build 'error' objects.
func NewErrorList ¶
func NewErrorList() *ErrorListBuilder
NewErrorList creates a new builder of 'error' objects.
func (*ErrorListBuilder) Build ¶
func (b *ErrorListBuilder) Build() (list *ErrorList, err error)
Build creates a list of 'error' objects using the configuration stored in the builder.
func (*ErrorListBuilder) Copy ¶
func (b *ErrorListBuilder) Copy(list *ErrorList) *ErrorListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ErrorListBuilder) Empty ¶
func (b *ErrorListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ErrorListBuilder) Items ¶
func (b *ErrorListBuilder) Items(values ...*ErrorBuilder) *ErrorListBuilder
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 Owner ¶
type Owner struct {
// contains filtered or unexported fields
}
Owner represents the values of the 'owner' type.
Definition of a Status Board owner.
func ReadOwnerList ¶
ReadOwnerList reads list of values of the ”owner' type from the given iterator.
func UnmarshalOwner ¶
UnmarshalOwner reads a value of the 'owner' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalOwnerList ¶
UnmarshalOwnerList reads a list of values of the 'owner' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Owner) Email ¶
Email returns the value of the 'email' attribute, or the zero value of the type if the attribute doesn't have a value.
The owner's email address.
func (*Owner) GetEmail ¶
GetEmail returns the value of the 'email' attribute and a flag indicating if the attribute has a value.
The owner's email address.
func (*Owner) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Owner) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Owner) GetUsername ¶
GetUsername returns the value of the 'username' attribute and a flag indicating if the attribute has a value.
The owner's username.
type OwnerBuilder ¶
type OwnerBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board owner.
func (*OwnerBuilder) Build ¶
func (b *OwnerBuilder) Build() (object *Owner, err error)
Build creates a 'owner' object using the configuration stored in the builder.
func (*OwnerBuilder) Copy ¶
func (b *OwnerBuilder) Copy(object *Owner) *OwnerBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*OwnerBuilder) Email ¶
func (b *OwnerBuilder) Email(value string) *OwnerBuilder
Email sets the value of the 'email' attribute to the given value.
func (*OwnerBuilder) Empty ¶
func (b *OwnerBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*OwnerBuilder) HREF ¶
func (b *OwnerBuilder) HREF(value string) *OwnerBuilder
HREF sets the link to the object.
func (*OwnerBuilder) ID ¶
func (b *OwnerBuilder) ID(value string) *OwnerBuilder
ID sets the identifier of the object.
func (*OwnerBuilder) Link ¶
func (b *OwnerBuilder) Link(value bool) *OwnerBuilder
Link sets the flag that indicates if this is a link.
func (*OwnerBuilder) Username ¶
func (b *OwnerBuilder) Username(value string) *OwnerBuilder
Username sets the value of the 'username' attribute to the given value.
type OwnerList ¶
type OwnerList struct {
// contains filtered or unexported fields
}
OwnerList is a list of values of the 'owner' type.
func (*OwnerList) 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 (*OwnerList) Get ¶
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*OwnerList) GetHREF ¶
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*OwnerList) 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 (*OwnerList) 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 OwnerListBuilder ¶
type OwnerListBuilder struct {
// contains filtered or unexported fields
}
OwnerListBuilder contains the data and logic needed to build 'owner' objects.
func NewOwnerList ¶
func NewOwnerList() *OwnerListBuilder
NewOwnerList creates a new builder of 'owner' objects.
func (*OwnerListBuilder) Build ¶
func (b *OwnerListBuilder) Build() (list *OwnerList, err error)
Build creates a list of 'owner' objects using the configuration stored in the builder.
func (*OwnerListBuilder) Copy ¶
func (b *OwnerListBuilder) Copy(list *OwnerList) *OwnerListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*OwnerListBuilder) Empty ¶
func (b *OwnerListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*OwnerListBuilder) Items ¶
func (b *OwnerListBuilder) Items(values ...*OwnerBuilder) *OwnerListBuilder
Items sets the items of the list.
type PeerDependency ¶
type PeerDependency struct {
// contains filtered or unexported fields
}
PeerDependency represents the values of the 'peer_dependency' type.
Definition of a Status Board peer dependency.
func ReadPeerDependency ¶
func ReadPeerDependency(iterator *jsoniter.Iterator) *PeerDependency
ReadPeerDependency reads a value of the 'peer_dependency' type from the given iterator.
func ReadPeerDependencyList ¶
func ReadPeerDependencyList(iterator *jsoniter.Iterator) []*PeerDependency
ReadPeerDependencyList reads list of values of the ”peer_dependency' type from the given iterator.
func UnmarshalPeerDependency ¶
func UnmarshalPeerDependency(source interface{}) (object *PeerDependency, err error)
UnmarshalPeerDependency reads a value of the 'peer_dependency' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalPeerDependencyList ¶
func UnmarshalPeerDependencyList(source interface{}) (items []*PeerDependency, err error)
UnmarshalPeerDependencyList reads a list of values of the 'peer_dependency' type from the given source, which can be a slice of bytes, a string or a reader.
func (*PeerDependency) CreatedAt ¶
func (o *PeerDependency) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object creation timestamp.
func (*PeerDependency) Empty ¶
func (o *PeerDependency) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*PeerDependency) GetCreatedAt ¶
func (o *PeerDependency) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*PeerDependency) GetHREF ¶
func (o *PeerDependency) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*PeerDependency) GetID ¶
func (o *PeerDependency) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*PeerDependency) GetMetadata ¶
func (o *PeerDependency) GetMetadata() (value interface{}, ok bool)
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous metadata about the peer dependency.
func (*PeerDependency) GetName ¶
func (o *PeerDependency) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the peer dependency.
func (*PeerDependency) GetOwners ¶
func (o *PeerDependency) GetOwners() (value []*Owner, ok bool)
GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.
The peer dependency owners (name and email)
func (*PeerDependency) GetServices ¶
func (o *PeerDependency) GetServices() (value []*Service, ok bool)
GetServices returns the value of the 'services' attribute and a flag indicating if the attribute has a value.
Services associated with the peer dependency.
func (*PeerDependency) GetUpdatedAt ¶
func (o *PeerDependency) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*PeerDependency) HREF ¶
func (o *PeerDependency) HREF() string
HREF returns the link to the object.
func (*PeerDependency) ID ¶
func (o *PeerDependency) ID() string
ID returns the identifier of the object.
func (*PeerDependency) Kind ¶
func (o *PeerDependency) Kind() string
Kind returns the name of the type of the object.
func (*PeerDependency) Link ¶
func (o *PeerDependency) Link() bool
Link returns true if this is a link.
func (*PeerDependency) Metadata ¶
func (o *PeerDependency) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous metadata about the peer dependency.
func (*PeerDependency) Name ¶
func (o *PeerDependency) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the peer dependency.
func (*PeerDependency) Owners ¶
func (o *PeerDependency) Owners() []*Owner
Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.
The peer dependency owners (name and email)
func (*PeerDependency) Services ¶
func (o *PeerDependency) Services() []*Service
Services returns the value of the 'services' attribute, or the zero value of the type if the attribute doesn't have a value.
Services associated with the peer dependency.
func (*PeerDependency) UpdatedAt ¶
func (o *PeerDependency) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object modification timestamp.
type PeerDependencyBuilder ¶
type PeerDependencyBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board peer dependency.
func NewPeerDependency ¶
func NewPeerDependency() *PeerDependencyBuilder
NewPeerDependency creates a new builder of 'peer_dependency' objects.
func (*PeerDependencyBuilder) Build ¶
func (b *PeerDependencyBuilder) Build() (object *PeerDependency, err error)
Build creates a 'peer_dependency' object using the configuration stored in the builder.
func (*PeerDependencyBuilder) Copy ¶
func (b *PeerDependencyBuilder) Copy(object *PeerDependency) *PeerDependencyBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*PeerDependencyBuilder) CreatedAt ¶
func (b *PeerDependencyBuilder) CreatedAt(value time.Time) *PeerDependencyBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*PeerDependencyBuilder) Empty ¶
func (b *PeerDependencyBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*PeerDependencyBuilder) HREF ¶
func (b *PeerDependencyBuilder) HREF(value string) *PeerDependencyBuilder
HREF sets the link to the object.
func (*PeerDependencyBuilder) ID ¶
func (b *PeerDependencyBuilder) ID(value string) *PeerDependencyBuilder
ID sets the identifier of the object.
func (*PeerDependencyBuilder) Link ¶
func (b *PeerDependencyBuilder) Link(value bool) *PeerDependencyBuilder
Link sets the flag that indicates if this is a link.
func (*PeerDependencyBuilder) Metadata ¶
func (b *PeerDependencyBuilder) Metadata(value interface{}) *PeerDependencyBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*PeerDependencyBuilder) Name ¶
func (b *PeerDependencyBuilder) Name(value string) *PeerDependencyBuilder
Name sets the value of the 'name' attribute to the given value.
func (*PeerDependencyBuilder) Owners ¶
func (b *PeerDependencyBuilder) Owners(values ...*OwnerBuilder) *PeerDependencyBuilder
Owners sets the value of the 'owners' attribute to the given values.
func (*PeerDependencyBuilder) Services ¶
func (b *PeerDependencyBuilder) Services(values ...*ServiceBuilder) *PeerDependencyBuilder
Services sets the value of the 'services' attribute to the given values.
func (*PeerDependencyBuilder) UpdatedAt ¶
func (b *PeerDependencyBuilder) UpdatedAt(value time.Time) *PeerDependencyBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type PeerDependencyList ¶
type PeerDependencyList struct {
// contains filtered or unexported fields
}
PeerDependencyList is a list of values of the 'peer_dependency' type.
func (*PeerDependencyList) Each ¶
func (l *PeerDependencyList) Each(f func(item *PeerDependency) bool)
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 (*PeerDependencyList) Empty ¶
func (l *PeerDependencyList) Empty() bool
Empty returns true if the list is empty.
func (*PeerDependencyList) Get ¶
func (l *PeerDependencyList) Get(i int) *PeerDependency
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*PeerDependencyList) GetHREF ¶
func (l *PeerDependencyList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*PeerDependencyList) HREF ¶
func (l *PeerDependencyList) HREF() string
HREF returns the link to the list.
func (*PeerDependencyList) Items ¶
func (l *PeerDependencyList) Items() []*PeerDependency
Items returns the items of the list.
func (*PeerDependencyList) Kind ¶
func (l *PeerDependencyList) Kind() string
Kind returns the name of the type of the object.
func (*PeerDependencyList) Len ¶
func (l *PeerDependencyList) Len() int
Len returns the length of the list.
func (*PeerDependencyList) Link ¶
func (l *PeerDependencyList) Link() bool
Link returns true iif this is a link.
func (*PeerDependencyList) Range ¶
func (l *PeerDependencyList) Range(f func(index int, item *PeerDependency) bool)
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 (*PeerDependencyList) SetHREF ¶
func (l *PeerDependencyList) SetHREF(href string)
Items sets the items of the list.
func (*PeerDependencyList) SetItems ¶
func (l *PeerDependencyList) SetItems(items []*PeerDependency)
Items sets the items of the list.
func (*PeerDependencyList) SetLink ¶
func (l *PeerDependencyList) SetLink(link bool)
Items sets the items of the list.
func (*PeerDependencyList) Slice ¶
func (l *PeerDependencyList) Slice() []*PeerDependency
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 PeerDependencyListBuilder ¶
type PeerDependencyListBuilder struct {
// contains filtered or unexported fields
}
PeerDependencyListBuilder contains the data and logic needed to build 'peer_dependency' objects.
func NewPeerDependencyList ¶
func NewPeerDependencyList() *PeerDependencyListBuilder
NewPeerDependencyList creates a new builder of 'peer_dependency' objects.
func (*PeerDependencyListBuilder) Build ¶
func (b *PeerDependencyListBuilder) Build() (list *PeerDependencyList, err error)
Build creates a list of 'peer_dependency' objects using the configuration stored in the builder.
func (*PeerDependencyListBuilder) Copy ¶
func (b *PeerDependencyListBuilder) Copy(list *PeerDependencyList) *PeerDependencyListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*PeerDependencyListBuilder) Empty ¶
func (b *PeerDependencyListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*PeerDependencyListBuilder) Items ¶
func (b *PeerDependencyListBuilder) Items(values ...*PeerDependencyBuilder) *PeerDependencyListBuilder
Items sets the items of the list.
type Product ¶
type Product struct {
// contains filtered or unexported fields
}
Product represents the values of the 'product' type.
Definition of a Status Board product.
func ReadProduct ¶
ReadProduct reads a value of the 'product' type from the given iterator.
func ReadProductList ¶
ReadProductList reads list of values of the ”product' type from the given iterator.
func UnmarshalProduct ¶
UnmarshalProduct reads a value of the 'product' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalProductList ¶
UnmarshalProductList reads a list of values of the 'product' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Product) 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.
Object creation timestamp.
func (*Product) Fullname ¶
Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.
The fullname of the product.
func (*Product) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Product) GetFullname ¶
GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.
The fullname of the product.
func (*Product) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Product) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Product) GetMetadata ¶
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous data about the product.
func (*Product) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the product.
func (*Product) GetOwners ¶
GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.
The product owners (name and email).
func (*Product) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Product) Metadata ¶
func (o *Product) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous data about the product.
func (*Product) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the product.
type ProductBuilder ¶
type ProductBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board product.
func NewProduct ¶
func NewProduct() *ProductBuilder
NewProduct creates a new builder of 'product' objects.
func (*ProductBuilder) Build ¶
func (b *ProductBuilder) Build() (object *Product, err error)
Build creates a 'product' object using the configuration stored in the builder.
func (*ProductBuilder) Copy ¶
func (b *ProductBuilder) Copy(object *Product) *ProductBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ProductBuilder) CreatedAt ¶
func (b *ProductBuilder) CreatedAt(value time.Time) *ProductBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ProductBuilder) Empty ¶
func (b *ProductBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ProductBuilder) Fullname ¶
func (b *ProductBuilder) Fullname(value string) *ProductBuilder
Fullname sets the value of the 'fullname' attribute to the given value.
func (*ProductBuilder) HREF ¶
func (b *ProductBuilder) HREF(value string) *ProductBuilder
HREF sets the link to the object.
func (*ProductBuilder) ID ¶
func (b *ProductBuilder) ID(value string) *ProductBuilder
ID sets the identifier of the object.
func (*ProductBuilder) Link ¶
func (b *ProductBuilder) Link(value bool) *ProductBuilder
Link sets the flag that indicates if this is a link.
func (*ProductBuilder) Metadata ¶
func (b *ProductBuilder) Metadata(value interface{}) *ProductBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*ProductBuilder) Name ¶
func (b *ProductBuilder) Name(value string) *ProductBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ProductBuilder) Owners ¶
func (b *ProductBuilder) Owners(values ...*OwnerBuilder) *ProductBuilder
Owners sets the value of the 'owners' attribute to the given values.
func (*ProductBuilder) UpdatedAt ¶
func (b *ProductBuilder) UpdatedAt(value time.Time) *ProductBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ProductList ¶
type ProductList struct {
// contains filtered or unexported fields
}
ProductList is a list of values of the 'product' type.
func (*ProductList) Each ¶
func (l *ProductList) Each(f func(item *Product) bool)
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 (*ProductList) Empty ¶
func (l *ProductList) Empty() bool
Empty returns true if the list is empty.
func (*ProductList) Get ¶
func (l *ProductList) Get(i int) *Product
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ProductList) GetHREF ¶
func (l *ProductList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ProductList) Items ¶
func (l *ProductList) Items() []*Product
Items returns the items of the list.
func (*ProductList) Kind ¶
func (l *ProductList) Kind() string
Kind returns the name of the type of the object.
func (*ProductList) Range ¶
func (l *ProductList) Range(f func(index int, item *Product) bool)
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 (*ProductList) SetHREF ¶
func (l *ProductList) SetHREF(href string)
Items sets the items of the list.
func (*ProductList) SetItems ¶
func (l *ProductList) SetItems(items []*Product)
Items sets the items of the list.
func (*ProductList) SetLink ¶
func (l *ProductList) SetLink(link bool)
Items sets the items of the list.
func (*ProductList) Slice ¶
func (l *ProductList) Slice() []*Product
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 ProductListBuilder ¶
type ProductListBuilder struct {
// contains filtered or unexported fields
}
ProductListBuilder contains the data and logic needed to build 'product' objects.
func NewProductList ¶
func NewProductList() *ProductListBuilder
NewProductList creates a new builder of 'product' objects.
func (*ProductListBuilder) Build ¶
func (b *ProductListBuilder) Build() (list *ProductList, err error)
Build creates a list of 'product' objects using the configuration stored in the builder.
func (*ProductListBuilder) Copy ¶
func (b *ProductListBuilder) Copy(list *ProductList) *ProductListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ProductListBuilder) Empty ¶
func (b *ProductListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ProductListBuilder) Items ¶
func (b *ProductListBuilder) Items(values ...*ProductBuilder) *ProductListBuilder
Items sets the items of the list.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the values of the 'service' type.
Definition of a Status Board Service.
func ReadService ¶
ReadService reads a value of the 'service' type from the given iterator.
func ReadServiceList ¶
ReadServiceList reads list of values of the ”service' type from the given iterator.
func UnmarshalService ¶
UnmarshalService reads a value of the 'service' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServiceList ¶
UnmarshalServiceList reads a list of values of the 'service' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Service) Application ¶
func (o *Service) Application() *Application
Application returns the value of the 'application' attribute, or the zero value of the type if the attribute doesn't have a value.
The Application associated with the Service
func (*Service) 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.
Object creation timestamp.
func (*Service) CurrentStatus ¶
CurrentStatus returns the value of the 'current_status' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) Fullname ¶
Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) GetApplication ¶
func (o *Service) GetApplication() (value *Application, ok bool)
GetApplication returns the value of the 'application' attribute and a flag indicating if the attribute has a value.
The Application associated with the Service
func (*Service) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Service) GetCurrentStatus ¶
GetCurrentStatus returns the value of the 'current_status' attribute and a flag indicating if the attribute has a value.
func (*Service) GetFullname ¶
GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.
func (*Service) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Service) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Service) GetLastPingAt ¶
GetLastPingAt returns the value of the 'last_ping_at' attribute and a flag indicating if the attribute has a value.
func (*Service) GetMetadata ¶
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
func (*Service) GetName ¶
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the Service
func (*Service) GetOwners ¶
GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.
func (*Service) GetPrivate ¶
GetPrivate returns the value of the 'private' attribute and a flag indicating if the attribute has a value.
func (*Service) GetServiceEndpoint ¶
GetServiceEndpoint returns the value of the 'service_endpoint' attribute and a flag indicating if the attribute has a value.
func (*Service) GetStatusType ¶
GetStatusType returns the value of the 'status_type' attribute and a flag indicating if the attribute has a value.
func (*Service) GetStatusUpdatedAt ¶
GetStatusUpdatedAt returns the value of the 'status_updated_at' attribute and a flag indicating if the attribute has a value.
func (*Service) GetToken ¶
GetToken returns the value of the 'token' attribute and a flag indicating if the attribute has a value.
func (*Service) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Service) LastPingAt ¶
LastPingAt returns the value of the 'last_ping_at' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) Metadata ¶
func (o *Service) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) Name ¶
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the Service
func (*Service) Owners ¶
Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) Private ¶
Private returns the value of the 'private' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) ServiceEndpoint ¶
ServiceEndpoint returns the value of the 'service_endpoint' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) StatusType ¶
StatusType returns the value of the 'status_type' attribute, or the zero value of the type if the attribute doesn't have a value.
func (*Service) StatusUpdatedAt ¶
StatusUpdatedAt returns the value of the 'status_updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
type ServiceBuilder ¶
type ServiceBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board Service.
func NewService ¶
func NewService() *ServiceBuilder
NewService creates a new builder of 'service' objects.
func (*ServiceBuilder) Application ¶
func (b *ServiceBuilder) Application(value *ApplicationBuilder) *ServiceBuilder
Application sets the value of the 'application' attribute to the given value.
Definition of a Status Board application.
func (*ServiceBuilder) Build ¶
func (b *ServiceBuilder) Build() (object *Service, err error)
Build creates a 'service' object using the configuration stored in the builder.
func (*ServiceBuilder) Copy ¶
func (b *ServiceBuilder) Copy(object *Service) *ServiceBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServiceBuilder) CreatedAt ¶
func (b *ServiceBuilder) CreatedAt(value time.Time) *ServiceBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ServiceBuilder) CurrentStatus ¶
func (b *ServiceBuilder) CurrentStatus(value string) *ServiceBuilder
CurrentStatus sets the value of the 'current_status' attribute to the given value.
func (*ServiceBuilder) Empty ¶
func (b *ServiceBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ServiceBuilder) Fullname ¶
func (b *ServiceBuilder) Fullname(value string) *ServiceBuilder
Fullname sets the value of the 'fullname' attribute to the given value.
func (*ServiceBuilder) HREF ¶
func (b *ServiceBuilder) HREF(value string) *ServiceBuilder
HREF sets the link to the object.
func (*ServiceBuilder) ID ¶
func (b *ServiceBuilder) ID(value string) *ServiceBuilder
ID sets the identifier of the object.
func (*ServiceBuilder) LastPingAt ¶
func (b *ServiceBuilder) LastPingAt(value time.Time) *ServiceBuilder
LastPingAt sets the value of the 'last_ping_at' attribute to the given value.
func (*ServiceBuilder) Link ¶
func (b *ServiceBuilder) Link(value bool) *ServiceBuilder
Link sets the flag that indicates if this is a link.
func (*ServiceBuilder) Metadata ¶
func (b *ServiceBuilder) Metadata(value interface{}) *ServiceBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*ServiceBuilder) Name ¶
func (b *ServiceBuilder) Name(value string) *ServiceBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ServiceBuilder) Owners ¶
func (b *ServiceBuilder) Owners(values ...*OwnerBuilder) *ServiceBuilder
Owners sets the value of the 'owners' attribute to the given values.
func (*ServiceBuilder) Private ¶
func (b *ServiceBuilder) Private(value bool) *ServiceBuilder
Private sets the value of the 'private' attribute to the given value.
func (*ServiceBuilder) ServiceEndpoint ¶
func (b *ServiceBuilder) ServiceEndpoint(value string) *ServiceBuilder
ServiceEndpoint sets the value of the 'service_endpoint' attribute to the given value.
func (*ServiceBuilder) StatusType ¶
func (b *ServiceBuilder) StatusType(value string) *ServiceBuilder
StatusType sets the value of the 'status_type' attribute to the given value.
func (*ServiceBuilder) StatusUpdatedAt ¶
func (b *ServiceBuilder) StatusUpdatedAt(value time.Time) *ServiceBuilder
StatusUpdatedAt sets the value of the 'status_updated_at' attribute to the given value.
func (*ServiceBuilder) Token ¶
func (b *ServiceBuilder) Token(value string) *ServiceBuilder
Token sets the value of the 'token' attribute to the given value.
func (*ServiceBuilder) UpdatedAt ¶
func (b *ServiceBuilder) UpdatedAt(value time.Time) *ServiceBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ServiceDependency ¶
type ServiceDependency struct {
// contains filtered or unexported fields
}
ServiceDependency represents the values of the 'service_dependency' type.
Definition of a Status Board service dependency.
func ReadServiceDependency ¶
func ReadServiceDependency(iterator *jsoniter.Iterator) *ServiceDependency
ReadServiceDependency reads a value of the 'service_dependency' type from the given iterator.
func ReadServiceDependencyList ¶
func ReadServiceDependencyList(iterator *jsoniter.Iterator) []*ServiceDependency
ReadServiceDependencyList reads list of values of the ”service_dependency' type from the given iterator.
func UnmarshalServiceDependency ¶
func UnmarshalServiceDependency(source interface{}) (object *ServiceDependency, err error)
UnmarshalServiceDependency reads a value of the 'service_dependency' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServiceDependencyList ¶
func UnmarshalServiceDependencyList(source interface{}) (items []*ServiceDependency, err error)
UnmarshalServiceDependencyList reads a list of values of the 'service_dependency' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ServiceDependency) ChildService ¶
func (o *ServiceDependency) ChildService() *Service
ChildService returns the value of the 'child_service' attribute, or the zero value of the type if the attribute doesn't have a value.
The service dependency's child service
func (*ServiceDependency) CreatedAt ¶
func (o *ServiceDependency) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object creation timestamp.
func (*ServiceDependency) Empty ¶
func (o *ServiceDependency) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ServiceDependency) GetChildService ¶
func (o *ServiceDependency) GetChildService() (value *Service, ok bool)
GetChildService returns the value of the 'child_service' attribute and a flag indicating if the attribute has a value.
The service dependency's child service
func (*ServiceDependency) GetCreatedAt ¶
func (o *ServiceDependency) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*ServiceDependency) GetHREF ¶
func (o *ServiceDependency) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*ServiceDependency) GetID ¶
func (o *ServiceDependency) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*ServiceDependency) GetMetadata ¶
func (o *ServiceDependency) GetMetadata() (value interface{}, ok bool)
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous metadata about the service dependency.
func (*ServiceDependency) GetName ¶
func (o *ServiceDependency) GetName() (value string, ok bool)
GetName returns the value of the 'name' attribute and a flag indicating if the attribute has a value.
The name of the service dependency.
func (*ServiceDependency) GetOwners ¶
func (o *ServiceDependency) GetOwners() (value []*Owner, ok bool)
GetOwners returns the value of the 'owners' attribute and a flag indicating if the attribute has a value.
The service dependency owners (name and email)
func (*ServiceDependency) GetParentService ¶
func (o *ServiceDependency) GetParentService() (value *Service, ok bool)
GetParentService returns the value of the 'parent_service' attribute and a flag indicating if the attribute has a value.
The service dependency's parent service
func (*ServiceDependency) GetType ¶
func (o *ServiceDependency) GetType() (value string, ok bool)
GetType returns the value of the 'type' attribute and a flag indicating if the attribute has a value.
The type of service dependency, e.g. soft or hard.
func (*ServiceDependency) GetUpdatedAt ¶
func (o *ServiceDependency) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*ServiceDependency) HREF ¶
func (o *ServiceDependency) HREF() string
HREF returns the link to the object.
func (*ServiceDependency) ID ¶
func (o *ServiceDependency) ID() string
ID returns the identifier of the object.
func (*ServiceDependency) Kind ¶
func (o *ServiceDependency) Kind() string
Kind returns the name of the type of the object.
func (*ServiceDependency) Link ¶
func (o *ServiceDependency) Link() bool
Link returns true if this is a link.
func (*ServiceDependency) Metadata ¶
func (o *ServiceDependency) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous metadata about the service dependency.
func (*ServiceDependency) Name ¶
func (o *ServiceDependency) Name() string
Name returns the value of the 'name' attribute, or the zero value of the type if the attribute doesn't have a value.
The name of the service dependency.
func (*ServiceDependency) Owners ¶
func (o *ServiceDependency) Owners() []*Owner
Owners returns the value of the 'owners' attribute, or the zero value of the type if the attribute doesn't have a value.
The service dependency owners (name and email)
func (*ServiceDependency) ParentService ¶
func (o *ServiceDependency) ParentService() *Service
ParentService returns the value of the 'parent_service' attribute, or the zero value of the type if the attribute doesn't have a value.
The service dependency's parent service
func (*ServiceDependency) Type ¶
func (o *ServiceDependency) Type() string
Type returns the value of the 'type' attribute, or the zero value of the type if the attribute doesn't have a value.
The type of service dependency, e.g. soft or hard.
func (*ServiceDependency) UpdatedAt ¶
func (o *ServiceDependency) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object modification timestamp.
type ServiceDependencyBuilder ¶
type ServiceDependencyBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board service dependency.
func NewServiceDependency ¶
func NewServiceDependency() *ServiceDependencyBuilder
NewServiceDependency creates a new builder of 'service_dependency' objects.
func (*ServiceDependencyBuilder) Build ¶
func (b *ServiceDependencyBuilder) Build() (object *ServiceDependency, err error)
Build creates a 'service_dependency' object using the configuration stored in the builder.
func (*ServiceDependencyBuilder) ChildService ¶
func (b *ServiceDependencyBuilder) ChildService(value *ServiceBuilder) *ServiceDependencyBuilder
ChildService sets the value of the 'child_service' attribute to the given value.
Definition of a Status Board Service.
func (*ServiceDependencyBuilder) Copy ¶
func (b *ServiceDependencyBuilder) Copy(object *ServiceDependency) *ServiceDependencyBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServiceDependencyBuilder) CreatedAt ¶
func (b *ServiceDependencyBuilder) CreatedAt(value time.Time) *ServiceDependencyBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*ServiceDependencyBuilder) Empty ¶
func (b *ServiceDependencyBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ServiceDependencyBuilder) HREF ¶
func (b *ServiceDependencyBuilder) HREF(value string) *ServiceDependencyBuilder
HREF sets the link to the object.
func (*ServiceDependencyBuilder) ID ¶
func (b *ServiceDependencyBuilder) ID(value string) *ServiceDependencyBuilder
ID sets the identifier of the object.
func (*ServiceDependencyBuilder) Link ¶
func (b *ServiceDependencyBuilder) Link(value bool) *ServiceDependencyBuilder
Link sets the flag that indicates if this is a link.
func (*ServiceDependencyBuilder) Metadata ¶
func (b *ServiceDependencyBuilder) Metadata(value interface{}) *ServiceDependencyBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*ServiceDependencyBuilder) Name ¶
func (b *ServiceDependencyBuilder) Name(value string) *ServiceDependencyBuilder
Name sets the value of the 'name' attribute to the given value.
func (*ServiceDependencyBuilder) Owners ¶
func (b *ServiceDependencyBuilder) Owners(values ...*OwnerBuilder) *ServiceDependencyBuilder
Owners sets the value of the 'owners' attribute to the given values.
func (*ServiceDependencyBuilder) ParentService ¶
func (b *ServiceDependencyBuilder) ParentService(value *ServiceBuilder) *ServiceDependencyBuilder
ParentService sets the value of the 'parent_service' attribute to the given value.
Definition of a Status Board Service.
func (*ServiceDependencyBuilder) Type ¶
func (b *ServiceDependencyBuilder) Type(value string) *ServiceDependencyBuilder
Type sets the value of the 'type' attribute to the given value.
func (*ServiceDependencyBuilder) UpdatedAt ¶
func (b *ServiceDependencyBuilder) UpdatedAt(value time.Time) *ServiceDependencyBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type ServiceDependencyList ¶
type ServiceDependencyList struct {
// contains filtered or unexported fields
}
ServiceDependencyList is a list of values of the 'service_dependency' type.
func (*ServiceDependencyList) Each ¶
func (l *ServiceDependencyList) Each(f func(item *ServiceDependency) bool)
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 (*ServiceDependencyList) Empty ¶
func (l *ServiceDependencyList) Empty() bool
Empty returns true if the list is empty.
func (*ServiceDependencyList) Get ¶
func (l *ServiceDependencyList) Get(i int) *ServiceDependency
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServiceDependencyList) GetHREF ¶
func (l *ServiceDependencyList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ServiceDependencyList) HREF ¶
func (l *ServiceDependencyList) HREF() string
HREF returns the link to the list.
func (*ServiceDependencyList) Items ¶
func (l *ServiceDependencyList) Items() []*ServiceDependency
Items returns the items of the list.
func (*ServiceDependencyList) Kind ¶
func (l *ServiceDependencyList) Kind() string
Kind returns the name of the type of the object.
func (*ServiceDependencyList) Len ¶
func (l *ServiceDependencyList) Len() int
Len returns the length of the list.
func (*ServiceDependencyList) Link ¶
func (l *ServiceDependencyList) Link() bool
Link returns true iif this is a link.
func (*ServiceDependencyList) Range ¶
func (l *ServiceDependencyList) Range(f func(index int, item *ServiceDependency) bool)
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 (*ServiceDependencyList) SetHREF ¶
func (l *ServiceDependencyList) SetHREF(href string)
Items sets the items of the list.
func (*ServiceDependencyList) SetItems ¶
func (l *ServiceDependencyList) SetItems(items []*ServiceDependency)
Items sets the items of the list.
func (*ServiceDependencyList) SetLink ¶
func (l *ServiceDependencyList) SetLink(link bool)
Items sets the items of the list.
func (*ServiceDependencyList) Slice ¶
func (l *ServiceDependencyList) Slice() []*ServiceDependency
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 ServiceDependencyListBuilder ¶
type ServiceDependencyListBuilder struct {
// contains filtered or unexported fields
}
ServiceDependencyListBuilder contains the data and logic needed to build 'service_dependency' objects.
func NewServiceDependencyList ¶
func NewServiceDependencyList() *ServiceDependencyListBuilder
NewServiceDependencyList creates a new builder of 'service_dependency' objects.
func (*ServiceDependencyListBuilder) Build ¶
func (b *ServiceDependencyListBuilder) Build() (list *ServiceDependencyList, err error)
Build creates a list of 'service_dependency' objects using the configuration stored in the builder.
func (*ServiceDependencyListBuilder) Copy ¶
func (b *ServiceDependencyListBuilder) Copy(list *ServiceDependencyList) *ServiceDependencyListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServiceDependencyListBuilder) Empty ¶
func (b *ServiceDependencyListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ServiceDependencyListBuilder) Items ¶
func (b *ServiceDependencyListBuilder) Items(values ...*ServiceDependencyBuilder) *ServiceDependencyListBuilder
Items sets the items of the list.
type ServiceInfo ¶
type ServiceInfo struct {
// contains filtered or unexported fields
}
ServiceInfo represents the values of the 'service_info' type.
Definition of a Status Board service info.
func ReadServiceInfo ¶
func ReadServiceInfo(iterator *jsoniter.Iterator) *ServiceInfo
ReadServiceInfo reads a value of the 'service_info' type from the given iterator.
func ReadServiceInfoList ¶
func ReadServiceInfoList(iterator *jsoniter.Iterator) []*ServiceInfo
ReadServiceInfoList reads list of values of the ”service_info' type from the given iterator.
func UnmarshalServiceInfo ¶
func UnmarshalServiceInfo(source interface{}) (object *ServiceInfo, err error)
UnmarshalServiceInfo reads a value of the 'service_info' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalServiceInfoList ¶
func UnmarshalServiceInfoList(source interface{}) (items []*ServiceInfo, err error)
UnmarshalServiceInfoList reads a list of values of the 'service_info' type from the given source, which can be a slice of bytes, a string or a reader.
func (*ServiceInfo) Empty ¶
func (o *ServiceInfo) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*ServiceInfo) Fullname ¶
func (o *ServiceInfo) Fullname() string
Fullname returns the value of the 'fullname' attribute, or the zero value of the type if the attribute doesn't have a value.
Full name of the service
func (*ServiceInfo) GetFullname ¶
func (o *ServiceInfo) GetFullname() (value string, ok bool)
GetFullname returns the value of the 'fullname' attribute and a flag indicating if the attribute has a value.
Full name of the service
func (*ServiceInfo) GetStatusType ¶
func (o *ServiceInfo) GetStatusType() (value string, ok bool)
GetStatusType returns the value of the 'status_type' attribute and a flag indicating if the attribute has a value.
Type of the service status
func (*ServiceInfo) StatusType ¶
func (o *ServiceInfo) StatusType() string
StatusType returns the value of the 'status_type' attribute, or the zero value of the type if the attribute doesn't have a value.
Type of the service status
type ServiceInfoBuilder ¶
type ServiceInfoBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board service info.
func NewServiceInfo ¶
func NewServiceInfo() *ServiceInfoBuilder
NewServiceInfo creates a new builder of 'service_info' objects.
func (*ServiceInfoBuilder) Build ¶
func (b *ServiceInfoBuilder) Build() (object *ServiceInfo, err error)
Build creates a 'service_info' object using the configuration stored in the builder.
func (*ServiceInfoBuilder) Copy ¶
func (b *ServiceInfoBuilder) Copy(object *ServiceInfo) *ServiceInfoBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*ServiceInfoBuilder) Empty ¶
func (b *ServiceInfoBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*ServiceInfoBuilder) Fullname ¶
func (b *ServiceInfoBuilder) Fullname(value string) *ServiceInfoBuilder
Fullname sets the value of the 'fullname' attribute to the given value.
func (*ServiceInfoBuilder) StatusType ¶
func (b *ServiceInfoBuilder) StatusType(value string) *ServiceInfoBuilder
StatusType sets the value of the 'status_type' attribute to the given value.
type ServiceInfoList ¶
type ServiceInfoList struct {
// contains filtered or unexported fields
}
ServiceInfoList is a list of values of the 'service_info' type.
func (*ServiceInfoList) Each ¶
func (l *ServiceInfoList) Each(f func(item *ServiceInfo) bool)
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 (*ServiceInfoList) Empty ¶
func (l *ServiceInfoList) Empty() bool
Empty returns true if the list is empty.
func (*ServiceInfoList) Get ¶
func (l *ServiceInfoList) Get(i int) *ServiceInfo
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServiceInfoList) Items ¶
func (l *ServiceInfoList) Items() []*ServiceInfo
Items returns the items of the list.
func (*ServiceInfoList) Len ¶
func (l *ServiceInfoList) Len() int
Len returns the length of the list.
func (*ServiceInfoList) Range ¶
func (l *ServiceInfoList) Range(f func(index int, item *ServiceInfo) bool)
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 (*ServiceInfoList) SetHREF ¶
func (l *ServiceInfoList) SetHREF(href string)
Items sets the items of the list.
func (*ServiceInfoList) SetItems ¶
func (l *ServiceInfoList) SetItems(items []*ServiceInfo)
Items sets the items of the list.
func (*ServiceInfoList) SetLink ¶
func (l *ServiceInfoList) SetLink(link bool)
Items sets the items of the list.
func (*ServiceInfoList) Slice ¶
func (l *ServiceInfoList) Slice() []*ServiceInfo
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 ServiceInfoListBuilder ¶
type ServiceInfoListBuilder struct {
// contains filtered or unexported fields
}
ServiceInfoListBuilder contains the data and logic needed to build 'service_info' objects.
func NewServiceInfoList ¶
func NewServiceInfoList() *ServiceInfoListBuilder
NewServiceInfoList creates a new builder of 'service_info' objects.
func (*ServiceInfoListBuilder) Build ¶
func (b *ServiceInfoListBuilder) Build() (list *ServiceInfoList, err error)
Build creates a list of 'service_info' objects using the configuration stored in the builder.
func (*ServiceInfoListBuilder) Copy ¶
func (b *ServiceInfoListBuilder) Copy(list *ServiceInfoList) *ServiceInfoListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServiceInfoListBuilder) Empty ¶
func (b *ServiceInfoListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ServiceInfoListBuilder) Items ¶
func (b *ServiceInfoListBuilder) Items(values ...*ServiceInfoBuilder) *ServiceInfoListBuilder
Items sets the items of the list.
type ServiceList ¶
type ServiceList struct {
// contains filtered or unexported fields
}
ServiceList is a list of values of the 'service' type.
func (*ServiceList) Each ¶
func (l *ServiceList) Each(f func(item *Service) bool)
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 (*ServiceList) Empty ¶
func (l *ServiceList) Empty() bool
Empty returns true if the list is empty.
func (*ServiceList) Get ¶
func (l *ServiceList) Get(i int) *Service
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*ServiceList) GetHREF ¶
func (l *ServiceList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*ServiceList) Items ¶
func (l *ServiceList) Items() []*Service
Items returns the items of the list.
func (*ServiceList) Kind ¶
func (l *ServiceList) Kind() string
Kind returns the name of the type of the object.
func (*ServiceList) Range ¶
func (l *ServiceList) Range(f func(index int, item *Service) bool)
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 (*ServiceList) SetHREF ¶
func (l *ServiceList) SetHREF(href string)
Items sets the items of the list.
func (*ServiceList) SetItems ¶
func (l *ServiceList) SetItems(items []*Service)
Items sets the items of the list.
func (*ServiceList) SetLink ¶
func (l *ServiceList) SetLink(link bool)
Items sets the items of the list.
func (*ServiceList) Slice ¶
func (l *ServiceList) Slice() []*Service
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 ServiceListBuilder ¶
type ServiceListBuilder struct {
// contains filtered or unexported fields
}
ServiceListBuilder contains the data and logic needed to build 'service' objects.
func NewServiceList ¶
func NewServiceList() *ServiceListBuilder
NewServiceList creates a new builder of 'service' objects.
func (*ServiceListBuilder) Build ¶
func (b *ServiceListBuilder) Build() (list *ServiceList, err error)
Build creates a list of 'service' objects using the configuration stored in the builder.
func (*ServiceListBuilder) Copy ¶
func (b *ServiceListBuilder) Copy(list *ServiceList) *ServiceListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*ServiceListBuilder) Empty ¶
func (b *ServiceListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*ServiceListBuilder) Items ¶
func (b *ServiceListBuilder) Items(values ...*ServiceBuilder) *ServiceListBuilder
Items sets the items of the list.
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
Status represents the values of the 'status' type.
Definition of a Status Board status.
func ReadStatus ¶
ReadStatus reads a value of the 'status' type from the given iterator.
func ReadStatusList ¶
ReadStatusList reads list of values of the ”status' type from the given iterator.
func UnmarshalStatus ¶
UnmarshalStatus reads a value of the 'status' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalStatusList ¶
UnmarshalStatusList reads a list of values of the 'status' type from the given source, which can be a slice of bytes, a string or a reader.
func (*Status) 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.
Object creation timestamp.
func (*Status) GetCreatedAt ¶
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*Status) GetHREF ¶
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*Status) GetID ¶
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*Status) GetMetadata ¶
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous metadata about the application.
func (*Status) GetService ¶
GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.
The associated service ID.
func (*Status) GetServiceInfo ¶
func (o *Status) GetServiceInfo() (value *ServiceInfo, ok bool)
GetServiceInfo returns the value of the 'service_info' attribute and a flag indicating if the attribute has a value.
Additional Service related data.
func (*Status) GetStatus ¶
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
A status message for the given service.
func (*Status) GetUpdatedAt ¶
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*Status) Metadata ¶
func (o *Status) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous metadata about the application.
func (*Status) Service ¶
Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.
The associated service ID.
func (*Status) ServiceInfo ¶
func (o *Status) ServiceInfo() *ServiceInfo
ServiceInfo returns the value of the 'service_info' attribute, or the zero value of the type if the attribute doesn't have a value.
Additional Service related data.
type StatusBuilder ¶
type StatusBuilder struct {
// contains filtered or unexported fields
}
Definition of a Status Board status.
func NewStatus ¶
func NewStatus() *StatusBuilder
NewStatus creates a new builder of 'status' objects.
func (*StatusBuilder) Build ¶
func (b *StatusBuilder) Build() (object *Status, err error)
Build creates a 'status' object using the configuration stored in the builder.
func (*StatusBuilder) Copy ¶
func (b *StatusBuilder) Copy(object *Status) *StatusBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*StatusBuilder) CreatedAt ¶
func (b *StatusBuilder) CreatedAt(value time.Time) *StatusBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*StatusBuilder) Empty ¶
func (b *StatusBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*StatusBuilder) HREF ¶
func (b *StatusBuilder) HREF(value string) *StatusBuilder
HREF sets the link to the object.
func (*StatusBuilder) ID ¶
func (b *StatusBuilder) ID(value string) *StatusBuilder
ID sets the identifier of the object.
func (*StatusBuilder) Link ¶
func (b *StatusBuilder) Link(value bool) *StatusBuilder
Link sets the flag that indicates if this is a link.
func (*StatusBuilder) Metadata ¶
func (b *StatusBuilder) Metadata(value interface{}) *StatusBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*StatusBuilder) Service ¶
func (b *StatusBuilder) Service(value *ServiceBuilder) *StatusBuilder
Service sets the value of the 'service' attribute to the given value.
Definition of a Status Board Service.
func (*StatusBuilder) ServiceInfo ¶
func (b *StatusBuilder) ServiceInfo(value *ServiceInfoBuilder) *StatusBuilder
ServiceInfo sets the value of the 'service_info' attribute to the given value.
Definition of a Status Board service info.
func (*StatusBuilder) Status ¶
func (b *StatusBuilder) Status(value string) *StatusBuilder
Status sets the value of the 'status' attribute to the given value.
func (*StatusBuilder) UpdatedAt ¶
func (b *StatusBuilder) UpdatedAt(value time.Time) *StatusBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type StatusList ¶
type StatusList struct {
// contains filtered or unexported fields
}
StatusList is a list of values of the 'status' type.
func (*StatusList) Each ¶
func (l *StatusList) Each(f func(item *Status) bool)
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 (*StatusList) Empty ¶
func (l *StatusList) Empty() bool
Empty returns true if the list is empty.
func (*StatusList) Get ¶
func (l *StatusList) Get(i int) *Status
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*StatusList) GetHREF ¶
func (l *StatusList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*StatusList) Items ¶
func (l *StatusList) Items() []*Status
Items returns the items of the list.
func (*StatusList) Kind ¶
func (l *StatusList) Kind() string
Kind returns the name of the type of the object.
func (*StatusList) Range ¶
func (l *StatusList) Range(f func(index int, item *Status) bool)
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 (*StatusList) SetHREF ¶
func (l *StatusList) SetHREF(href string)
Items sets the items of the list.
func (*StatusList) SetItems ¶
func (l *StatusList) SetItems(items []*Status)
Items sets the items of the list.
func (*StatusList) SetLink ¶
func (l *StatusList) SetLink(link bool)
Items sets the items of the list.
func (*StatusList) Slice ¶
func (l *StatusList) Slice() []*Status
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 StatusListBuilder ¶
type StatusListBuilder struct {
// contains filtered or unexported fields
}
StatusListBuilder contains the data and logic needed to build 'status' objects.
func NewStatusList ¶
func NewStatusList() *StatusListBuilder
NewStatusList creates a new builder of 'status' objects.
func (*StatusListBuilder) Build ¶
func (b *StatusListBuilder) Build() (list *StatusList, err error)
Build creates a list of 'status' objects using the configuration stored in the builder.
func (*StatusListBuilder) Copy ¶
func (b *StatusListBuilder) Copy(list *StatusList) *StatusListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*StatusListBuilder) Empty ¶
func (b *StatusListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*StatusListBuilder) Items ¶
func (b *StatusListBuilder) Items(values ...*StatusBuilder) *StatusListBuilder
Items sets the items of the list.
type StatusUpdate ¶
type StatusUpdate struct {
// contains filtered or unexported fields
}
StatusUpdate represents the values of the 'status_update' type.
func ReadStatusUpdate ¶
func ReadStatusUpdate(iterator *jsoniter.Iterator) *StatusUpdate
ReadStatusUpdate reads a value of the 'status_update' type from the given iterator.
func ReadStatusUpdateList ¶
func ReadStatusUpdateList(iterator *jsoniter.Iterator) []*StatusUpdate
ReadStatusUpdateList reads list of values of the ”status_update' type from the given iterator.
func UnmarshalStatusUpdate ¶
func UnmarshalStatusUpdate(source interface{}) (object *StatusUpdate, err error)
UnmarshalStatusUpdate reads a value of the 'status_update' type from the given source, which can be an slice of bytes, a string or a reader.
func UnmarshalStatusUpdateList ¶
func UnmarshalStatusUpdateList(source interface{}) (items []*StatusUpdate, err error)
UnmarshalStatusUpdateList reads a list of values of the 'status_update' type from the given source, which can be a slice of bytes, a string or a reader.
func (*StatusUpdate) CreatedAt ¶
func (o *StatusUpdate) CreatedAt() time.Time
CreatedAt returns the value of the 'created_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object creation timestamp.
func (*StatusUpdate) Empty ¶
func (o *StatusUpdate) Empty() bool
Empty returns true if the object is empty, i.e. no attribute has a value.
func (*StatusUpdate) GetCreatedAt ¶
func (o *StatusUpdate) GetCreatedAt() (value time.Time, ok bool)
GetCreatedAt returns the value of the 'created_at' attribute and a flag indicating if the attribute has a value.
Object creation timestamp.
func (*StatusUpdate) GetHREF ¶
func (o *StatusUpdate) GetHREF() (value string, ok bool)
GetHREF returns the link of the object and a flag indicating if the link has a value.
func (*StatusUpdate) GetID ¶
func (o *StatusUpdate) GetID() (value string, ok bool)
GetID returns the identifier of the object and a flag indicating if the identifier has a value.
func (*StatusUpdate) GetMetadata ¶
func (o *StatusUpdate) GetMetadata() (value interface{}, ok bool)
GetMetadata returns the value of the 'metadata' attribute and a flag indicating if the attribute has a value.
Miscellaneous metadata about the application.
func (*StatusUpdate) GetService ¶
func (o *StatusUpdate) GetService() (value *Service, ok bool)
GetService returns the value of the 'service' attribute and a flag indicating if the attribute has a value.
The associated service ID.
func (*StatusUpdate) GetServiceInfo ¶
func (o *StatusUpdate) GetServiceInfo() (value *ServiceInfo, ok bool)
GetServiceInfo returns the value of the 'service_info' attribute and a flag indicating if the attribute has a value.
Additional Service related data.
func (*StatusUpdate) GetStatus ¶
func (o *StatusUpdate) GetStatus() (value string, ok bool)
GetStatus returns the value of the 'status' attribute and a flag indicating if the attribute has a value.
A status message for the given service.
func (*StatusUpdate) GetUpdatedAt ¶
func (o *StatusUpdate) GetUpdatedAt() (value time.Time, ok bool)
GetUpdatedAt returns the value of the 'updated_at' attribute and a flag indicating if the attribute has a value.
Object modification timestamp.
func (*StatusUpdate) HREF ¶
func (o *StatusUpdate) HREF() string
HREF returns the link to the object.
func (*StatusUpdate) ID ¶
func (o *StatusUpdate) ID() string
ID returns the identifier of the object.
func (*StatusUpdate) Kind ¶
func (o *StatusUpdate) Kind() string
Kind returns the name of the type of the object.
func (*StatusUpdate) Metadata ¶
func (o *StatusUpdate) Metadata() interface{}
Metadata returns the value of the 'metadata' attribute, or the zero value of the type if the attribute doesn't have a value.
Miscellaneous metadata about the application.
func (*StatusUpdate) Service ¶
func (o *StatusUpdate) Service() *Service
Service returns the value of the 'service' attribute, or the zero value of the type if the attribute doesn't have a value.
The associated service ID.
func (*StatusUpdate) ServiceInfo ¶
func (o *StatusUpdate) ServiceInfo() *ServiceInfo
ServiceInfo returns the value of the 'service_info' attribute, or the zero value of the type if the attribute doesn't have a value.
Additional Service related data.
func (*StatusUpdate) Status ¶
func (o *StatusUpdate) Status() string
Status returns the value of the 'status' attribute, or the zero value of the type if the attribute doesn't have a value.
A status message for the given service.
func (*StatusUpdate) UpdatedAt ¶
func (o *StatusUpdate) UpdatedAt() time.Time
UpdatedAt returns the value of the 'updated_at' attribute, or the zero value of the type if the attribute doesn't have a value.
Object modification timestamp.
type StatusUpdateBuilder ¶
type StatusUpdateBuilder struct {
// contains filtered or unexported fields
}
func NewStatusUpdate ¶
func NewStatusUpdate() *StatusUpdateBuilder
NewStatusUpdate creates a new builder of 'status_update' objects.
func (*StatusUpdateBuilder) Build ¶
func (b *StatusUpdateBuilder) Build() (object *StatusUpdate, err error)
Build creates a 'status_update' object using the configuration stored in the builder.
func (*StatusUpdateBuilder) Copy ¶
func (b *StatusUpdateBuilder) Copy(object *StatusUpdate) *StatusUpdateBuilder
Copy copies the attributes of the given object into this builder, discarding any previous values.
func (*StatusUpdateBuilder) CreatedAt ¶
func (b *StatusUpdateBuilder) CreatedAt(value time.Time) *StatusUpdateBuilder
CreatedAt sets the value of the 'created_at' attribute to the given value.
func (*StatusUpdateBuilder) Empty ¶
func (b *StatusUpdateBuilder) Empty() bool
Empty returns true if the builder is empty, i.e. no attribute has a value.
func (*StatusUpdateBuilder) HREF ¶
func (b *StatusUpdateBuilder) HREF(value string) *StatusUpdateBuilder
HREF sets the link to the object.
func (*StatusUpdateBuilder) ID ¶
func (b *StatusUpdateBuilder) ID(value string) *StatusUpdateBuilder
ID sets the identifier of the object.
func (*StatusUpdateBuilder) Link ¶
func (b *StatusUpdateBuilder) Link(value bool) *StatusUpdateBuilder
Link sets the flag that indicates if this is a link.
func (*StatusUpdateBuilder) Metadata ¶
func (b *StatusUpdateBuilder) Metadata(value interface{}) *StatusUpdateBuilder
Metadata sets the value of the 'metadata' attribute to the given value.
func (*StatusUpdateBuilder) Service ¶
func (b *StatusUpdateBuilder) Service(value *ServiceBuilder) *StatusUpdateBuilder
Service sets the value of the 'service' attribute to the given value.
Definition of a Status Board Service.
func (*StatusUpdateBuilder) ServiceInfo ¶
func (b *StatusUpdateBuilder) ServiceInfo(value *ServiceInfoBuilder) *StatusUpdateBuilder
ServiceInfo sets the value of the 'service_info' attribute to the given value.
Definition of a Status Board service info.
func (*StatusUpdateBuilder) Status ¶
func (b *StatusUpdateBuilder) Status(value string) *StatusUpdateBuilder
Status sets the value of the 'status' attribute to the given value.
func (*StatusUpdateBuilder) UpdatedAt ¶
func (b *StatusUpdateBuilder) UpdatedAt(value time.Time) *StatusUpdateBuilder
UpdatedAt sets the value of the 'updated_at' attribute to the given value.
type StatusUpdateList ¶
type StatusUpdateList struct {
// contains filtered or unexported fields
}
StatusUpdateList is a list of values of the 'status_update' type.
func (*StatusUpdateList) Each ¶
func (l *StatusUpdateList) Each(f func(item *StatusUpdate) bool)
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 (*StatusUpdateList) Empty ¶
func (l *StatusUpdateList) Empty() bool
Empty returns true if the list is empty.
func (*StatusUpdateList) Get ¶
func (l *StatusUpdateList) Get(i int) *StatusUpdate
Get returns the item of the list with the given index. If there is no item with that index it returns nil.
func (*StatusUpdateList) GetHREF ¶
func (l *StatusUpdateList) GetHREF() (value string, ok bool)
GetHREF returns the link of the list and a flag indicating if the link has a value.
func (*StatusUpdateList) HREF ¶
func (l *StatusUpdateList) HREF() string
HREF returns the link to the list.
func (*StatusUpdateList) Items ¶
func (l *StatusUpdateList) Items() []*StatusUpdate
Items returns the items of the list.
func (*StatusUpdateList) Kind ¶
func (l *StatusUpdateList) Kind() string
Kind returns the name of the type of the object.
func (*StatusUpdateList) Len ¶
func (l *StatusUpdateList) Len() int
Len returns the length of the list.
func (*StatusUpdateList) Link ¶
func (l *StatusUpdateList) Link() bool
Link returns true iif this is a link.
func (*StatusUpdateList) Range ¶
func (l *StatusUpdateList) Range(f func(index int, item *StatusUpdate) bool)
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 (*StatusUpdateList) SetHREF ¶
func (l *StatusUpdateList) SetHREF(href string)
Items sets the items of the list.
func (*StatusUpdateList) SetItems ¶
func (l *StatusUpdateList) SetItems(items []*StatusUpdate)
Items sets the items of the list.
func (*StatusUpdateList) SetLink ¶
func (l *StatusUpdateList) SetLink(link bool)
Items sets the items of the list.
func (*StatusUpdateList) Slice ¶
func (l *StatusUpdateList) Slice() []*StatusUpdate
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 StatusUpdateListBuilder ¶
type StatusUpdateListBuilder struct {
// contains filtered or unexported fields
}
StatusUpdateListBuilder contains the data and logic needed to build 'status_update' objects.
func NewStatusUpdateList ¶
func NewStatusUpdateList() *StatusUpdateListBuilder
NewStatusUpdateList creates a new builder of 'status_update' objects.
func (*StatusUpdateListBuilder) Build ¶
func (b *StatusUpdateListBuilder) Build() (list *StatusUpdateList, err error)
Build creates a list of 'status_update' objects using the configuration stored in the builder.
func (*StatusUpdateListBuilder) Copy ¶
func (b *StatusUpdateListBuilder) Copy(list *StatusUpdateList) *StatusUpdateListBuilder
Copy copies the items of the given list into this builder, discarding any previous items.
func (*StatusUpdateListBuilder) Empty ¶
func (b *StatusUpdateListBuilder) Empty() bool
Empty returns true if the list is empty.
func (*StatusUpdateListBuilder) Items ¶
func (b *StatusUpdateListBuilder) Items(values ...*StatusUpdateBuilder) *StatusUpdateListBuilder
Items sets the items of the list.
Source Files
¶
- application_builder.go
- application_dependency_builder.go
- application_dependency_list_builder.go
- application_dependency_list_type_json.go
- application_dependency_type.go
- application_dependency_type_json.go
- application_list_builder.go
- application_list_type_json.go
- application_type.go
- application_type_json.go
- boolean_list_type_json.go
- date_list_type_json.go
- error_builder.go
- error_list_builder.go
- error_list_type_json.go
- error_type.go
- error_type_json.go
- float_list_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- long_list_type_json.go
- metadata_reader.go
- metadata_type.go
- owner_builder.go
- owner_list_builder.go
- owner_list_type_json.go
- owner_type.go
- owner_type_json.go
- peer_dependency_builder.go
- peer_dependency_list_builder.go
- peer_dependency_list_type_json.go
- peer_dependency_type.go
- peer_dependency_type_json.go
- product_builder.go
- product_list_builder.go
- product_list_type_json.go
- product_type.go
- product_type_json.go
- service_builder.go
- service_dependency_builder.go
- service_dependency_list_builder.go
- service_dependency_list_type_json.go
- service_dependency_type.go
- service_dependency_type_json.go
- service_info_builder.go
- service_info_list_builder.go
- service_info_list_type_json.go
- service_info_type.go
- service_info_type_json.go
- service_list_builder.go
- service_list_type_json.go
- service_type.go
- service_type_json.go
- status_builder.go
- status_list_builder.go
- status_list_type_json.go
- status_type.go
- status_type_json.go
- status_update_builder.go
- status_update_list_builder.go
- status_update_list_type_json.go
- status_update_type.go
- status_update_type_json.go
- string_list_type_json.go