Documentation ¶
Index ¶
- Constants
- Variables
- 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 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)
- 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 ApplicationClient
- type ApplicationDeleteRequest
- func (r *ApplicationDeleteRequest) Header(name string, value interface{}) *ApplicationDeleteRequest
- func (r *ApplicationDeleteRequest) Impersonate(user string) *ApplicationDeleteRequest
- func (r *ApplicationDeleteRequest) Parameter(name string, value interface{}) *ApplicationDeleteRequest
- func (r *ApplicationDeleteRequest) Send() (result *ApplicationDeleteResponse, err error)
- func (r *ApplicationDeleteRequest) SendContext(ctx context.Context) (result *ApplicationDeleteResponse, err error)
- type ApplicationDeleteResponse
- type ApplicationDependenciesAddRequest
- func (r *ApplicationDependenciesAddRequest) Body(value *ApplicationDependency) *ApplicationDependenciesAddRequest
- func (r *ApplicationDependenciesAddRequest) Header(name string, value interface{}) *ApplicationDependenciesAddRequest
- func (r *ApplicationDependenciesAddRequest) Impersonate(user string) *ApplicationDependenciesAddRequest
- func (r *ApplicationDependenciesAddRequest) Parameter(name string, value interface{}) *ApplicationDependenciesAddRequest
- func (r *ApplicationDependenciesAddRequest) Send() (result *ApplicationDependenciesAddResponse, err error)
- func (r *ApplicationDependenciesAddRequest) SendContext(ctx context.Context) (result *ApplicationDependenciesAddResponse, err error)
- type ApplicationDependenciesAddResponse
- func (r *ApplicationDependenciesAddResponse) Body() *ApplicationDependency
- func (r *ApplicationDependenciesAddResponse) Error() *errors.Error
- func (r *ApplicationDependenciesAddResponse) GetBody() (value *ApplicationDependency, ok bool)
- func (r *ApplicationDependenciesAddResponse) Header() http.Header
- func (r *ApplicationDependenciesAddResponse) Status() int
- type ApplicationDependenciesClient
- type ApplicationDependenciesListRequest
- func (r *ApplicationDependenciesListRequest) Header(name string, value interface{}) *ApplicationDependenciesListRequest
- func (r *ApplicationDependenciesListRequest) Impersonate(user string) *ApplicationDependenciesListRequest
- func (r *ApplicationDependenciesListRequest) OrderBy(value string) *ApplicationDependenciesListRequest
- func (r *ApplicationDependenciesListRequest) Page(value int) *ApplicationDependenciesListRequest
- func (r *ApplicationDependenciesListRequest) Parameter(name string, value interface{}) *ApplicationDependenciesListRequest
- func (r *ApplicationDependenciesListRequest) Send() (result *ApplicationDependenciesListResponse, err error)
- func (r *ApplicationDependenciesListRequest) SendContext(ctx context.Context) (result *ApplicationDependenciesListResponse, err error)
- func (r *ApplicationDependenciesListRequest) Size(value int) *ApplicationDependenciesListRequest
- type ApplicationDependenciesListResponse
- func (r *ApplicationDependenciesListResponse) Error() *errors.Error
- func (r *ApplicationDependenciesListResponse) GetItems() (value *ApplicationDependencyList, ok bool)
- func (r *ApplicationDependenciesListResponse) GetPage() (value int, ok bool)
- func (r *ApplicationDependenciesListResponse) GetSize() (value int, ok bool)
- func (r *ApplicationDependenciesListResponse) GetTotal() (value int, ok bool)
- func (r *ApplicationDependenciesListResponse) Header() http.Header
- func (r *ApplicationDependenciesListResponse) Items() *ApplicationDependencyList
- func (r *ApplicationDependenciesListResponse) Page() int
- func (r *ApplicationDependenciesListResponse) Size() int
- func (r *ApplicationDependenciesListResponse) Status() int
- func (r *ApplicationDependenciesListResponse) Total() int
- type ApplicationDependency
- 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 ApplicationDependencyClient
- func (c *ApplicationDependencyClient) Delete() *ApplicationDependencyDeleteRequest
- func (c *ApplicationDependencyClient) Get() *ApplicationDependencyGetRequest
- func (c *ApplicationDependencyClient) Poll() *ApplicationDependencyPollRequest
- func (c *ApplicationDependencyClient) Update() *ApplicationDependencyUpdateRequest
- type ApplicationDependencyDeleteRequest
- func (r *ApplicationDependencyDeleteRequest) Header(name string, value interface{}) *ApplicationDependencyDeleteRequest
- func (r *ApplicationDependencyDeleteRequest) Impersonate(user string) *ApplicationDependencyDeleteRequest
- func (r *ApplicationDependencyDeleteRequest) Parameter(name string, value interface{}) *ApplicationDependencyDeleteRequest
- func (r *ApplicationDependencyDeleteRequest) Send() (result *ApplicationDependencyDeleteResponse, err error)
- func (r *ApplicationDependencyDeleteRequest) SendContext(ctx context.Context) (result *ApplicationDependencyDeleteResponse, err error)
- type ApplicationDependencyDeleteResponse
- type ApplicationDependencyGetRequest
- func (r *ApplicationDependencyGetRequest) Header(name string, value interface{}) *ApplicationDependencyGetRequest
- func (r *ApplicationDependencyGetRequest) Impersonate(user string) *ApplicationDependencyGetRequest
- func (r *ApplicationDependencyGetRequest) Parameter(name string, value interface{}) *ApplicationDependencyGetRequest
- func (r *ApplicationDependencyGetRequest) Send() (result *ApplicationDependencyGetResponse, err error)
- func (r *ApplicationDependencyGetRequest) SendContext(ctx context.Context) (result *ApplicationDependencyGetResponse, err error)
- type ApplicationDependencyGetResponse
- func (r *ApplicationDependencyGetResponse) Body() *ApplicationDependency
- func (r *ApplicationDependencyGetResponse) Error() *errors.Error
- func (r *ApplicationDependencyGetResponse) GetBody() (value *ApplicationDependency, ok bool)
- func (r *ApplicationDependencyGetResponse) Header() http.Header
- func (r *ApplicationDependencyGetResponse) Status() int
- 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) 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) 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 ApplicationDependencyPollRequest
- func (r *ApplicationDependencyPollRequest) Header(name string, value interface{}) *ApplicationDependencyPollRequest
- func (r *ApplicationDependencyPollRequest) Interval(value time.Duration) *ApplicationDependencyPollRequest
- func (r *ApplicationDependencyPollRequest) Parameter(name string, value interface{}) *ApplicationDependencyPollRequest
- func (r *ApplicationDependencyPollRequest) Predicate(value func(*ApplicationDependencyGetResponse) bool) *ApplicationDependencyPollRequest
- func (r *ApplicationDependencyPollRequest) StartContext(ctx context.Context) (response *ApplicationDependencyPollResponse, err error)
- func (r *ApplicationDependencyPollRequest) Status(value int) *ApplicationDependencyPollRequest
- type ApplicationDependencyPollResponse
- func (r *ApplicationDependencyPollResponse) Body() *ApplicationDependency
- func (r *ApplicationDependencyPollResponse) Error() *errors.Error
- func (r *ApplicationDependencyPollResponse) GetBody() (value *ApplicationDependency, ok bool)
- func (r *ApplicationDependencyPollResponse) Header() http.Header
- func (r *ApplicationDependencyPollResponse) Status() int
- type ApplicationDependencyUpdateRequest
- func (r *ApplicationDependencyUpdateRequest) Body(value *ApplicationDependency) *ApplicationDependencyUpdateRequest
- func (r *ApplicationDependencyUpdateRequest) Header(name string, value interface{}) *ApplicationDependencyUpdateRequest
- func (r *ApplicationDependencyUpdateRequest) Impersonate(user string) *ApplicationDependencyUpdateRequest
- func (r *ApplicationDependencyUpdateRequest) Parameter(name string, value interface{}) *ApplicationDependencyUpdateRequest
- func (r *ApplicationDependencyUpdateRequest) Send() (result *ApplicationDependencyUpdateResponse, err error)
- func (r *ApplicationDependencyUpdateRequest) SendContext(ctx context.Context) (result *ApplicationDependencyUpdateResponse, err error)
- type ApplicationDependencyUpdateResponse
- func (r *ApplicationDependencyUpdateResponse) Body() *ApplicationDependency
- func (r *ApplicationDependencyUpdateResponse) Error() *errors.Error
- func (r *ApplicationDependencyUpdateResponse) GetBody() (value *ApplicationDependency, ok bool)
- func (r *ApplicationDependencyUpdateResponse) Header() http.Header
- func (r *ApplicationDependencyUpdateResponse) Status() int
- type ApplicationGetRequest
- func (r *ApplicationGetRequest) Header(name string, value interface{}) *ApplicationGetRequest
- func (r *ApplicationGetRequest) Impersonate(user string) *ApplicationGetRequest
- func (r *ApplicationGetRequest) Parameter(name string, value interface{}) *ApplicationGetRequest
- func (r *ApplicationGetRequest) Send() (result *ApplicationGetResponse, err error)
- func (r *ApplicationGetRequest) SendContext(ctx context.Context) (result *ApplicationGetResponse, err error)
- type ApplicationGetResponse
- 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) 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) 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 ApplicationPollRequest
- func (r *ApplicationPollRequest) Header(name string, value interface{}) *ApplicationPollRequest
- func (r *ApplicationPollRequest) Interval(value time.Duration) *ApplicationPollRequest
- func (r *ApplicationPollRequest) Parameter(name string, value interface{}) *ApplicationPollRequest
- func (r *ApplicationPollRequest) Predicate(value func(*ApplicationGetResponse) bool) *ApplicationPollRequest
- func (r *ApplicationPollRequest) StartContext(ctx context.Context) (response *ApplicationPollResponse, err error)
- func (r *ApplicationPollRequest) Status(value int) *ApplicationPollRequest
- type ApplicationPollResponse
- type ApplicationUpdateRequest
- func (r *ApplicationUpdateRequest) Body(value *Application) *ApplicationUpdateRequest
- func (r *ApplicationUpdateRequest) Header(name string, value interface{}) *ApplicationUpdateRequest
- func (r *ApplicationUpdateRequest) Impersonate(user string) *ApplicationUpdateRequest
- func (r *ApplicationUpdateRequest) Parameter(name string, value interface{}) *ApplicationUpdateRequest
- func (r *ApplicationUpdateRequest) Send() (result *ApplicationUpdateResponse, err error)
- func (r *ApplicationUpdateRequest) SendContext(ctx context.Context) (result *ApplicationUpdateResponse, err error)
- type ApplicationUpdateResponse
- type ApplicationsAddRequest
- func (r *ApplicationsAddRequest) Body(value *Application) *ApplicationsAddRequest
- func (r *ApplicationsAddRequest) Header(name string, value interface{}) *ApplicationsAddRequest
- func (r *ApplicationsAddRequest) Impersonate(user string) *ApplicationsAddRequest
- func (r *ApplicationsAddRequest) Parameter(name string, value interface{}) *ApplicationsAddRequest
- func (r *ApplicationsAddRequest) Send() (result *ApplicationsAddResponse, err error)
- func (r *ApplicationsAddRequest) SendContext(ctx context.Context) (result *ApplicationsAddResponse, err error)
- type ApplicationsAddResponse
- type ApplicationsClient
- type ApplicationsListRequest
- func (r *ApplicationsListRequest) Fullname(value string) *ApplicationsListRequest
- func (r *ApplicationsListRequest) Header(name string, value interface{}) *ApplicationsListRequest
- func (r *ApplicationsListRequest) Impersonate(user string) *ApplicationsListRequest
- func (r *ApplicationsListRequest) OrderBy(value string) *ApplicationsListRequest
- func (r *ApplicationsListRequest) Page(value int) *ApplicationsListRequest
- func (r *ApplicationsListRequest) Parameter(name string, value interface{}) *ApplicationsListRequest
- func (r *ApplicationsListRequest) Search(value string) *ApplicationsListRequest
- func (r *ApplicationsListRequest) Send() (result *ApplicationsListResponse, err error)
- func (r *ApplicationsListRequest) SendContext(ctx context.Context) (result *ApplicationsListResponse, err error)
- func (r *ApplicationsListRequest) Size(value int) *ApplicationsListRequest
- type ApplicationsListResponse
- func (r *ApplicationsListResponse) Error() *errors.Error
- func (r *ApplicationsListResponse) GetItems() (value *ApplicationList, ok bool)
- func (r *ApplicationsListResponse) GetPage() (value int, ok bool)
- func (r *ApplicationsListResponse) GetSize() (value int, ok bool)
- func (r *ApplicationsListResponse) GetTotal() (value int, ok bool)
- func (r *ApplicationsListResponse) Header() http.Header
- func (r *ApplicationsListResponse) Items() *ApplicationList
- func (r *ApplicationsListResponse) Page() int
- func (r *ApplicationsListResponse) Size() int
- func (r *ApplicationsListResponse) Status() int
- func (r *ApplicationsListResponse) Total() int
- type Client
- func (c *Client) ApplicationDependencies() *ApplicationDependenciesClient
- func (c *Client) Applications() *ApplicationsClient
- func (c *Client) Errors() *ErrorsClient
- func (c *Client) Get() *MetadataRequest
- func (c *Client) PeerDependencies() *PeerDependenciesClient
- func (c *Client) Products() *ProductsClient
- func (c *Client) Services() *ServicesClient
- func (c *Client) StatusUpdates() *StatusesClient
- func (c *Client) Statuses() *StatusesClient
- 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 ErrorClient
- type ErrorGetRequest
- func (r *ErrorGetRequest) Header(name string, value interface{}) *ErrorGetRequest
- func (r *ErrorGetRequest) Impersonate(user string) *ErrorGetRequest
- func (r *ErrorGetRequest) Parameter(name string, value interface{}) *ErrorGetRequest
- func (r *ErrorGetRequest) Send() (result *ErrorGetResponse, err error)
- func (r *ErrorGetRequest) SendContext(ctx context.Context) (result *ErrorGetResponse, err error)
- type ErrorGetResponse
- 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) 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) Slice() []*Error
- type ErrorListBuilder
- type ErrorPollRequest
- func (r *ErrorPollRequest) Header(name string, value interface{}) *ErrorPollRequest
- func (r *ErrorPollRequest) Interval(value time.Duration) *ErrorPollRequest
- func (r *ErrorPollRequest) Parameter(name string, value interface{}) *ErrorPollRequest
- func (r *ErrorPollRequest) Predicate(value func(*ErrorGetResponse) bool) *ErrorPollRequest
- func (r *ErrorPollRequest) StartContext(ctx context.Context) (response *ErrorPollResponse, err error)
- func (r *ErrorPollRequest) Status(value int) *ErrorPollRequest
- type ErrorPollResponse
- type ErrorsClient
- type ErrorsListRequest
- func (r *ErrorsListRequest) Header(name string, value interface{}) *ErrorsListRequest
- func (r *ErrorsListRequest) Impersonate(user string) *ErrorsListRequest
- func (r *ErrorsListRequest) Page(value int) *ErrorsListRequest
- func (r *ErrorsListRequest) Parameter(name string, value interface{}) *ErrorsListRequest
- func (r *ErrorsListRequest) Send() (result *ErrorsListResponse, err error)
- func (r *ErrorsListRequest) SendContext(ctx context.Context) (result *ErrorsListResponse, err error)
- func (r *ErrorsListRequest) Size(value int) *ErrorsListRequest
- type ErrorsListResponse
- func (r *ErrorsListResponse) Error() *errors.Error
- func (r *ErrorsListResponse) GetItems() (value *ErrorList, ok bool)
- func (r *ErrorsListResponse) GetPage() (value int, ok bool)
- func (r *ErrorsListResponse) GetSize() (value int, ok bool)
- func (r *ErrorsListResponse) GetTotal() (value int, ok bool)
- func (r *ErrorsListResponse) Header() http.Header
- func (r *ErrorsListResponse) Items() *ErrorList
- func (r *ErrorsListResponse) Page() int
- func (r *ErrorsListResponse) Size() int
- func (r *ErrorsListResponse) Status() int
- func (r *ErrorsListResponse) Total() int
- type Metadata
- type MetadataRequest
- func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
- func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
- func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
- type MetadataResponse
- 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) 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) Slice() []*Owner
- type OwnerListBuilder
- type PeerDependenciesAddRequest
- func (r *PeerDependenciesAddRequest) Body(value *PeerDependency) *PeerDependenciesAddRequest
- func (r *PeerDependenciesAddRequest) Header(name string, value interface{}) *PeerDependenciesAddRequest
- func (r *PeerDependenciesAddRequest) Impersonate(user string) *PeerDependenciesAddRequest
- func (r *PeerDependenciesAddRequest) Parameter(name string, value interface{}) *PeerDependenciesAddRequest
- func (r *PeerDependenciesAddRequest) Send() (result *PeerDependenciesAddResponse, err error)
- func (r *PeerDependenciesAddRequest) SendContext(ctx context.Context) (result *PeerDependenciesAddResponse, err error)
- type PeerDependenciesAddResponse
- func (r *PeerDependenciesAddResponse) Body() *PeerDependency
- func (r *PeerDependenciesAddResponse) Error() *errors.Error
- func (r *PeerDependenciesAddResponse) GetBody() (value *PeerDependency, ok bool)
- func (r *PeerDependenciesAddResponse) Header() http.Header
- func (r *PeerDependenciesAddResponse) Status() int
- type PeerDependenciesClient
- type PeerDependenciesListRequest
- func (r *PeerDependenciesListRequest) Header(name string, value interface{}) *PeerDependenciesListRequest
- func (r *PeerDependenciesListRequest) Impersonate(user string) *PeerDependenciesListRequest
- func (r *PeerDependenciesListRequest) OrderBy(value string) *PeerDependenciesListRequest
- func (r *PeerDependenciesListRequest) Page(value int) *PeerDependenciesListRequest
- func (r *PeerDependenciesListRequest) Parameter(name string, value interface{}) *PeerDependenciesListRequest
- func (r *PeerDependenciesListRequest) Send() (result *PeerDependenciesListResponse, err error)
- func (r *PeerDependenciesListRequest) SendContext(ctx context.Context) (result *PeerDependenciesListResponse, err error)
- func (r *PeerDependenciesListRequest) Size(value int) *PeerDependenciesListRequest
- type PeerDependenciesListResponse
- func (r *PeerDependenciesListResponse) Error() *errors.Error
- func (r *PeerDependenciesListResponse) GetItems() (value *PeerDependencyList, ok bool)
- func (r *PeerDependenciesListResponse) GetPage() (value int, ok bool)
- func (r *PeerDependenciesListResponse) GetSize() (value int, ok bool)
- func (r *PeerDependenciesListResponse) GetTotal() (value int, ok bool)
- func (r *PeerDependenciesListResponse) Header() http.Header
- func (r *PeerDependenciesListResponse) Items() *PeerDependencyList
- func (r *PeerDependenciesListResponse) Page() int
- func (r *PeerDependenciesListResponse) Size() int
- func (r *PeerDependenciesListResponse) Status() int
- func (r *PeerDependenciesListResponse) Total() int
- type PeerDependency
- 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 PeerDependencyClient
- type PeerDependencyDeleteRequest
- func (r *PeerDependencyDeleteRequest) Header(name string, value interface{}) *PeerDependencyDeleteRequest
- func (r *PeerDependencyDeleteRequest) Impersonate(user string) *PeerDependencyDeleteRequest
- func (r *PeerDependencyDeleteRequest) Parameter(name string, value interface{}) *PeerDependencyDeleteRequest
- func (r *PeerDependencyDeleteRequest) Send() (result *PeerDependencyDeleteResponse, err error)
- func (r *PeerDependencyDeleteRequest) SendContext(ctx context.Context) (result *PeerDependencyDeleteResponse, err error)
- type PeerDependencyDeleteResponse
- type PeerDependencyGetRequest
- func (r *PeerDependencyGetRequest) Header(name string, value interface{}) *PeerDependencyGetRequest
- func (r *PeerDependencyGetRequest) Impersonate(user string) *PeerDependencyGetRequest
- func (r *PeerDependencyGetRequest) Parameter(name string, value interface{}) *PeerDependencyGetRequest
- func (r *PeerDependencyGetRequest) Send() (result *PeerDependencyGetResponse, err error)
- func (r *PeerDependencyGetRequest) SendContext(ctx context.Context) (result *PeerDependencyGetResponse, err error)
- type PeerDependencyGetResponse
- 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) 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) 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 PeerDependencyPollRequest
- func (r *PeerDependencyPollRequest) Header(name string, value interface{}) *PeerDependencyPollRequest
- func (r *PeerDependencyPollRequest) Interval(value time.Duration) *PeerDependencyPollRequest
- func (r *PeerDependencyPollRequest) Parameter(name string, value interface{}) *PeerDependencyPollRequest
- func (r *PeerDependencyPollRequest) Predicate(value func(*PeerDependencyGetResponse) bool) *PeerDependencyPollRequest
- func (r *PeerDependencyPollRequest) StartContext(ctx context.Context) (response *PeerDependencyPollResponse, err error)
- func (r *PeerDependencyPollRequest) Status(value int) *PeerDependencyPollRequest
- type PeerDependencyPollResponse
- type PeerDependencyUpdateRequest
- func (r *PeerDependencyUpdateRequest) Body(value *PeerDependency) *PeerDependencyUpdateRequest
- func (r *PeerDependencyUpdateRequest) Header(name string, value interface{}) *PeerDependencyUpdateRequest
- func (r *PeerDependencyUpdateRequest) Impersonate(user string) *PeerDependencyUpdateRequest
- func (r *PeerDependencyUpdateRequest) Parameter(name string, value interface{}) *PeerDependencyUpdateRequest
- func (r *PeerDependencyUpdateRequest) Send() (result *PeerDependencyUpdateResponse, err error)
- func (r *PeerDependencyUpdateRequest) SendContext(ctx context.Context) (result *PeerDependencyUpdateResponse, err error)
- type PeerDependencyUpdateResponse
- func (r *PeerDependencyUpdateResponse) Body() *PeerDependency
- func (r *PeerDependencyUpdateResponse) Error() *errors.Error
- func (r *PeerDependencyUpdateResponse) GetBody() (value *PeerDependency, ok bool)
- func (r *PeerDependencyUpdateResponse) Header() http.Header
- func (r *PeerDependencyUpdateResponse) Status() int
- 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 ProductClient
- func (c *ProductClient) Applications() *ApplicationsClient
- func (c *ProductClient) Delete() *ProductDeleteRequest
- func (c *ProductClient) Get() *ProductGetRequest
- func (c *ProductClient) Poll() *ProductPollRequest
- func (c *ProductClient) Update() *ProductUpdateRequest
- func (c *ProductClient) Updates() *StatusesClient
- type ProductDeleteRequest
- func (r *ProductDeleteRequest) Header(name string, value interface{}) *ProductDeleteRequest
- func (r *ProductDeleteRequest) Impersonate(user string) *ProductDeleteRequest
- func (r *ProductDeleteRequest) Parameter(name string, value interface{}) *ProductDeleteRequest
- func (r *ProductDeleteRequest) Send() (result *ProductDeleteResponse, err error)
- func (r *ProductDeleteRequest) SendContext(ctx context.Context) (result *ProductDeleteResponse, err error)
- type ProductDeleteResponse
- type ProductGetRequest
- func (r *ProductGetRequest) Header(name string, value interface{}) *ProductGetRequest
- func (r *ProductGetRequest) Impersonate(user string) *ProductGetRequest
- func (r *ProductGetRequest) Parameter(name string, value interface{}) *ProductGetRequest
- func (r *ProductGetRequest) Send() (result *ProductGetResponse, err error)
- func (r *ProductGetRequest) SendContext(ctx context.Context) (result *ProductGetResponse, err error)
- type ProductGetResponse
- 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) 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) Slice() []*Product
- type ProductListBuilder
- type ProductPollRequest
- func (r *ProductPollRequest) Header(name string, value interface{}) *ProductPollRequest
- func (r *ProductPollRequest) Interval(value time.Duration) *ProductPollRequest
- func (r *ProductPollRequest) Parameter(name string, value interface{}) *ProductPollRequest
- func (r *ProductPollRequest) Predicate(value func(*ProductGetResponse) bool) *ProductPollRequest
- func (r *ProductPollRequest) StartContext(ctx context.Context) (response *ProductPollResponse, err error)
- func (r *ProductPollRequest) Status(value int) *ProductPollRequest
- type ProductPollResponse
- type ProductUpdateRequest
- func (r *ProductUpdateRequest) Body(value *Product) *ProductUpdateRequest
- func (r *ProductUpdateRequest) Header(name string, value interface{}) *ProductUpdateRequest
- func (r *ProductUpdateRequest) Impersonate(user string) *ProductUpdateRequest
- func (r *ProductUpdateRequest) Parameter(name string, value interface{}) *ProductUpdateRequest
- func (r *ProductUpdateRequest) Send() (result *ProductUpdateResponse, err error)
- func (r *ProductUpdateRequest) SendContext(ctx context.Context) (result *ProductUpdateResponse, err error)
- type ProductUpdateResponse
- type ProductsAddRequest
- func (r *ProductsAddRequest) Body(value *Product) *ProductsAddRequest
- func (r *ProductsAddRequest) Header(name string, value interface{}) *ProductsAddRequest
- func (r *ProductsAddRequest) Impersonate(user string) *ProductsAddRequest
- func (r *ProductsAddRequest) Parameter(name string, value interface{}) *ProductsAddRequest
- func (r *ProductsAddRequest) Send() (result *ProductsAddResponse, err error)
- func (r *ProductsAddRequest) SendContext(ctx context.Context) (result *ProductsAddResponse, err error)
- type ProductsAddResponse
- type ProductsClient
- type ProductsListRequest
- func (r *ProductsListRequest) Fullname(value string) *ProductsListRequest
- func (r *ProductsListRequest) Header(name string, value interface{}) *ProductsListRequest
- func (r *ProductsListRequest) Impersonate(user string) *ProductsListRequest
- func (r *ProductsListRequest) OrderBy(value string) *ProductsListRequest
- func (r *ProductsListRequest) Page(value int) *ProductsListRequest
- func (r *ProductsListRequest) Parameter(name string, value interface{}) *ProductsListRequest
- func (r *ProductsListRequest) Search(value string) *ProductsListRequest
- func (r *ProductsListRequest) Send() (result *ProductsListResponse, err error)
- func (r *ProductsListRequest) SendContext(ctx context.Context) (result *ProductsListResponse, err error)
- func (r *ProductsListRequest) Size(value int) *ProductsListRequest
- type ProductsListResponse
- func (r *ProductsListResponse) Error() *errors.Error
- func (r *ProductsListResponse) GetItems() (value *ProductList, ok bool)
- func (r *ProductsListResponse) GetPage() (value int, ok bool)
- func (r *ProductsListResponse) GetSize() (value int, ok bool)
- func (r *ProductsListResponse) GetTotal() (value int, ok bool)
- func (r *ProductsListResponse) Header() http.Header
- func (r *ProductsListResponse) Items() *ProductList
- func (r *ProductsListResponse) Page() int
- func (r *ProductsListResponse) Size() int
- func (r *ProductsListResponse) Status() int
- func (r *ProductsListResponse) Total() int
- 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 ServiceClient
- type ServiceDeleteRequest
- func (r *ServiceDeleteRequest) Header(name string, value interface{}) *ServiceDeleteRequest
- func (r *ServiceDeleteRequest) Impersonate(user string) *ServiceDeleteRequest
- func (r *ServiceDeleteRequest) Parameter(name string, value interface{}) *ServiceDeleteRequest
- func (r *ServiceDeleteRequest) Send() (result *ServiceDeleteResponse, err error)
- func (r *ServiceDeleteRequest) SendContext(ctx context.Context) (result *ServiceDeleteResponse, err error)
- type ServiceDeleteResponse
- type ServiceDependenciesAddRequest
- func (r *ServiceDependenciesAddRequest) Body(value *ServiceDependency) *ServiceDependenciesAddRequest
- func (r *ServiceDependenciesAddRequest) Header(name string, value interface{}) *ServiceDependenciesAddRequest
- func (r *ServiceDependenciesAddRequest) Impersonate(user string) *ServiceDependenciesAddRequest
- func (r *ServiceDependenciesAddRequest) Parameter(name string, value interface{}) *ServiceDependenciesAddRequest
- func (r *ServiceDependenciesAddRequest) Send() (result *ServiceDependenciesAddResponse, err error)
- func (r *ServiceDependenciesAddRequest) SendContext(ctx context.Context) (result *ServiceDependenciesAddResponse, err error)
- type ServiceDependenciesAddResponse
- func (r *ServiceDependenciesAddResponse) Body() *ServiceDependency
- func (r *ServiceDependenciesAddResponse) Error() *errors.Error
- func (r *ServiceDependenciesAddResponse) GetBody() (value *ServiceDependency, ok bool)
- func (r *ServiceDependenciesAddResponse) Header() http.Header
- func (r *ServiceDependenciesAddResponse) Status() int
- type ServiceDependenciesClient
- type ServiceDependenciesListRequest
- func (r *ServiceDependenciesListRequest) Header(name string, value interface{}) *ServiceDependenciesListRequest
- func (r *ServiceDependenciesListRequest) Impersonate(user string) *ServiceDependenciesListRequest
- func (r *ServiceDependenciesListRequest) OrderBy(value string) *ServiceDependenciesListRequest
- func (r *ServiceDependenciesListRequest) Page(value int) *ServiceDependenciesListRequest
- func (r *ServiceDependenciesListRequest) Parameter(name string, value interface{}) *ServiceDependenciesListRequest
- func (r *ServiceDependenciesListRequest) Send() (result *ServiceDependenciesListResponse, err error)
- func (r *ServiceDependenciesListRequest) SendContext(ctx context.Context) (result *ServiceDependenciesListResponse, err error)
- func (r *ServiceDependenciesListRequest) Size(value int) *ServiceDependenciesListRequest
- type ServiceDependenciesListResponse
- func (r *ServiceDependenciesListResponse) Error() *errors.Error
- func (r *ServiceDependenciesListResponse) GetItems() (value *ServiceDependencyList, ok bool)
- func (r *ServiceDependenciesListResponse) GetPage() (value int, ok bool)
- func (r *ServiceDependenciesListResponse) GetSize() (value int, ok bool)
- func (r *ServiceDependenciesListResponse) GetTotal() (value int, ok bool)
- func (r *ServiceDependenciesListResponse) Header() http.Header
- func (r *ServiceDependenciesListResponse) Items() *ServiceDependencyList
- func (r *ServiceDependenciesListResponse) Page() int
- func (r *ServiceDependenciesListResponse) Size() int
- func (r *ServiceDependenciesListResponse) Status() int
- func (r *ServiceDependenciesListResponse) Total() int
- type ServiceDependency
- 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 ServiceDependencyClient
- type ServiceDependencyDeleteRequest
- func (r *ServiceDependencyDeleteRequest) Header(name string, value interface{}) *ServiceDependencyDeleteRequest
- func (r *ServiceDependencyDeleteRequest) Impersonate(user string) *ServiceDependencyDeleteRequest
- func (r *ServiceDependencyDeleteRequest) Parameter(name string, value interface{}) *ServiceDependencyDeleteRequest
- func (r *ServiceDependencyDeleteRequest) Send() (result *ServiceDependencyDeleteResponse, err error)
- func (r *ServiceDependencyDeleteRequest) SendContext(ctx context.Context) (result *ServiceDependencyDeleteResponse, err error)
- type ServiceDependencyDeleteResponse
- type ServiceDependencyGetRequest
- func (r *ServiceDependencyGetRequest) Header(name string, value interface{}) *ServiceDependencyGetRequest
- func (r *ServiceDependencyGetRequest) Impersonate(user string) *ServiceDependencyGetRequest
- func (r *ServiceDependencyGetRequest) Parameter(name string, value interface{}) *ServiceDependencyGetRequest
- func (r *ServiceDependencyGetRequest) Send() (result *ServiceDependencyGetResponse, err error)
- func (r *ServiceDependencyGetRequest) SendContext(ctx context.Context) (result *ServiceDependencyGetResponse, err error)
- type ServiceDependencyGetResponse
- func (r *ServiceDependencyGetResponse) Body() *ServiceDependency
- func (r *ServiceDependencyGetResponse) Error() *errors.Error
- func (r *ServiceDependencyGetResponse) GetBody() (value *ServiceDependency, ok bool)
- func (r *ServiceDependencyGetResponse) Header() http.Header
- func (r *ServiceDependencyGetResponse) Status() int
- 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) 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) 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 ServiceDependencyPollRequest
- func (r *ServiceDependencyPollRequest) Header(name string, value interface{}) *ServiceDependencyPollRequest
- func (r *ServiceDependencyPollRequest) Interval(value time.Duration) *ServiceDependencyPollRequest
- func (r *ServiceDependencyPollRequest) Parameter(name string, value interface{}) *ServiceDependencyPollRequest
- func (r *ServiceDependencyPollRequest) Predicate(value func(*ServiceDependencyGetResponse) bool) *ServiceDependencyPollRequest
- func (r *ServiceDependencyPollRequest) StartContext(ctx context.Context) (response *ServiceDependencyPollResponse, err error)
- func (r *ServiceDependencyPollRequest) Status(value int) *ServiceDependencyPollRequest
- type ServiceDependencyPollResponse
- func (r *ServiceDependencyPollResponse) Body() *ServiceDependency
- func (r *ServiceDependencyPollResponse) Error() *errors.Error
- func (r *ServiceDependencyPollResponse) GetBody() (value *ServiceDependency, ok bool)
- func (r *ServiceDependencyPollResponse) Header() http.Header
- func (r *ServiceDependencyPollResponse) Status() int
- type ServiceDependencyUpdateRequest
- func (r *ServiceDependencyUpdateRequest) Body(value *ServiceDependency) *ServiceDependencyUpdateRequest
- func (r *ServiceDependencyUpdateRequest) Header(name string, value interface{}) *ServiceDependencyUpdateRequest
- func (r *ServiceDependencyUpdateRequest) Impersonate(user string) *ServiceDependencyUpdateRequest
- func (r *ServiceDependencyUpdateRequest) Parameter(name string, value interface{}) *ServiceDependencyUpdateRequest
- func (r *ServiceDependencyUpdateRequest) Send() (result *ServiceDependencyUpdateResponse, err error)
- func (r *ServiceDependencyUpdateRequest) SendContext(ctx context.Context) (result *ServiceDependencyUpdateResponse, err error)
- type ServiceDependencyUpdateResponse
- func (r *ServiceDependencyUpdateResponse) Body() *ServiceDependency
- func (r *ServiceDependencyUpdateResponse) Error() *errors.Error
- func (r *ServiceDependencyUpdateResponse) GetBody() (value *ServiceDependency, ok bool)
- func (r *ServiceDependencyUpdateResponse) Header() http.Header
- func (r *ServiceDependencyUpdateResponse) Status() int
- type ServiceGetRequest
- func (r *ServiceGetRequest) Header(name string, value interface{}) *ServiceGetRequest
- func (r *ServiceGetRequest) Impersonate(user string) *ServiceGetRequest
- func (r *ServiceGetRequest) Parameter(name string, value interface{}) *ServiceGetRequest
- func (r *ServiceGetRequest) Send() (result *ServiceGetResponse, err error)
- func (r *ServiceGetRequest) SendContext(ctx context.Context) (result *ServiceGetResponse, err error)
- type ServiceGetResponse
- 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) Len() int
- func (l *ServiceInfoList) Range(f func(index int, item *ServiceInfo) 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) 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) Slice() []*Service
- type ServiceListBuilder
- type ServicePollRequest
- func (r *ServicePollRequest) Header(name string, value interface{}) *ServicePollRequest
- func (r *ServicePollRequest) Interval(value time.Duration) *ServicePollRequest
- func (r *ServicePollRequest) Parameter(name string, value interface{}) *ServicePollRequest
- func (r *ServicePollRequest) Predicate(value func(*ServiceGetResponse) bool) *ServicePollRequest
- func (r *ServicePollRequest) StartContext(ctx context.Context) (response *ServicePollResponse, err error)
- func (r *ServicePollRequest) Status(value int) *ServicePollRequest
- type ServicePollResponse
- type ServiceUpdateRequest
- func (r *ServiceUpdateRequest) Body(value *Service) *ServiceUpdateRequest
- func (r *ServiceUpdateRequest) Header(name string, value interface{}) *ServiceUpdateRequest
- func (r *ServiceUpdateRequest) Impersonate(user string) *ServiceUpdateRequest
- func (r *ServiceUpdateRequest) Parameter(name string, value interface{}) *ServiceUpdateRequest
- func (r *ServiceUpdateRequest) Send() (result *ServiceUpdateResponse, err error)
- func (r *ServiceUpdateRequest) SendContext(ctx context.Context) (result *ServiceUpdateResponse, err error)
- type ServiceUpdateResponse
- type ServicesAddRequest
- func (r *ServicesAddRequest) Body(value *Service) *ServicesAddRequest
- func (r *ServicesAddRequest) Header(name string, value interface{}) *ServicesAddRequest
- func (r *ServicesAddRequest) Impersonate(user string) *ServicesAddRequest
- func (r *ServicesAddRequest) Parameter(name string, value interface{}) *ServicesAddRequest
- func (r *ServicesAddRequest) Send() (result *ServicesAddResponse, err error)
- func (r *ServicesAddRequest) SendContext(ctx context.Context) (result *ServicesAddResponse, err error)
- type ServicesAddResponse
- type ServicesClient
- type ServicesListRequest
- func (r *ServicesListRequest) Fullname(value string) *ServicesListRequest
- func (r *ServicesListRequest) Header(name string, value interface{}) *ServicesListRequest
- func (r *ServicesListRequest) Impersonate(user string) *ServicesListRequest
- func (r *ServicesListRequest) Mine(value bool) *ServicesListRequest
- func (r *ServicesListRequest) OrderBy(value string) *ServicesListRequest
- func (r *ServicesListRequest) Page(value int) *ServicesListRequest
- func (r *ServicesListRequest) Parameter(name string, value interface{}) *ServicesListRequest
- func (r *ServicesListRequest) Search(value string) *ServicesListRequest
- func (r *ServicesListRequest) Send() (result *ServicesListResponse, err error)
- func (r *ServicesListRequest) SendContext(ctx context.Context) (result *ServicesListResponse, err error)
- func (r *ServicesListRequest) Size(value int) *ServicesListRequest
- type ServicesListResponse
- func (r *ServicesListResponse) Error() *errors.Error
- func (r *ServicesListResponse) GetItems() (value *ServiceList, ok bool)
- func (r *ServicesListResponse) GetPage() (value int, ok bool)
- func (r *ServicesListResponse) GetSize() (value int, ok bool)
- func (r *ServicesListResponse) GetTotal() (value int, ok bool)
- func (r *ServicesListResponse) Header() http.Header
- func (r *ServicesListResponse) Items() *ServiceList
- func (r *ServicesListResponse) Page() int
- func (r *ServicesListResponse) Size() int
- func (r *ServicesListResponse) Status() int
- func (r *ServicesListResponse) Total() int
- 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 StatusClient
- type StatusDeleteRequest
- func (r *StatusDeleteRequest) Header(name string, value interface{}) *StatusDeleteRequest
- func (r *StatusDeleteRequest) Impersonate(user string) *StatusDeleteRequest
- func (r *StatusDeleteRequest) Parameter(name string, value interface{}) *StatusDeleteRequest
- func (r *StatusDeleteRequest) Send() (result *StatusDeleteResponse, err error)
- func (r *StatusDeleteRequest) SendContext(ctx context.Context) (result *StatusDeleteResponse, err error)
- type StatusDeleteResponse
- type StatusGetRequest
- func (r *StatusGetRequest) Header(name string, value interface{}) *StatusGetRequest
- func (r *StatusGetRequest) Impersonate(user string) *StatusGetRequest
- func (r *StatusGetRequest) Parameter(name string, value interface{}) *StatusGetRequest
- func (r *StatusGetRequest) Send() (result *StatusGetResponse, err error)
- func (r *StatusGetRequest) SendContext(ctx context.Context) (result *StatusGetResponse, err error)
- type StatusGetResponse
- 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) 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) Slice() []*Status
- type StatusListBuilder
- type StatusPollRequest
- func (r *StatusPollRequest) Header(name string, value interface{}) *StatusPollRequest
- func (r *StatusPollRequest) Interval(value time.Duration) *StatusPollRequest
- func (r *StatusPollRequest) Parameter(name string, value interface{}) *StatusPollRequest
- func (r *StatusPollRequest) Predicate(value func(*StatusGetResponse) bool) *StatusPollRequest
- func (r *StatusPollRequest) StartContext(ctx context.Context) (response *StatusPollResponse, err error)
- func (r *StatusPollRequest) Status(value int) *StatusPollRequest
- type StatusPollResponse
- type StatusUpdate
- 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 StatusUpdateClient
- type StatusUpdateDeleteRequest
- func (r *StatusUpdateDeleteRequest) Header(name string, value interface{}) *StatusUpdateDeleteRequest
- func (r *StatusUpdateDeleteRequest) Impersonate(user string) *StatusUpdateDeleteRequest
- func (r *StatusUpdateDeleteRequest) Parameter(name string, value interface{}) *StatusUpdateDeleteRequest
- func (r *StatusUpdateDeleteRequest) Send() (result *StatusUpdateDeleteResponse, err error)
- func (r *StatusUpdateDeleteRequest) SendContext(ctx context.Context) (result *StatusUpdateDeleteResponse, err error)
- type StatusUpdateDeleteResponse
- type StatusUpdateGetRequest
- func (r *StatusUpdateGetRequest) Header(name string, value interface{}) *StatusUpdateGetRequest
- func (r *StatusUpdateGetRequest) Impersonate(user string) *StatusUpdateGetRequest
- func (r *StatusUpdateGetRequest) Parameter(name string, value interface{}) *StatusUpdateGetRequest
- func (r *StatusUpdateGetRequest) Send() (result *StatusUpdateGetResponse, err error)
- func (r *StatusUpdateGetRequest) SendContext(ctx context.Context) (result *StatusUpdateGetResponse, err error)
- type StatusUpdateGetResponse
- 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) 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) 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
- type StatusUpdatePollRequest
- func (r *StatusUpdatePollRequest) Header(name string, value interface{}) *StatusUpdatePollRequest
- func (r *StatusUpdatePollRequest) Interval(value time.Duration) *StatusUpdatePollRequest
- func (r *StatusUpdatePollRequest) Parameter(name string, value interface{}) *StatusUpdatePollRequest
- func (r *StatusUpdatePollRequest) Predicate(value func(*StatusUpdateGetResponse) bool) *StatusUpdatePollRequest
- func (r *StatusUpdatePollRequest) StartContext(ctx context.Context) (response *StatusUpdatePollResponse, err error)
- func (r *StatusUpdatePollRequest) Status(value int) *StatusUpdatePollRequest
- type StatusUpdatePollResponse
- type StatusUpdateRequest
- func (r *StatusUpdateRequest) Body(value *Status) *StatusUpdateRequest
- func (r *StatusUpdateRequest) Header(name string, value interface{}) *StatusUpdateRequest
- func (r *StatusUpdateRequest) Impersonate(user string) *StatusUpdateRequest
- func (r *StatusUpdateRequest) Parameter(name string, value interface{}) *StatusUpdateRequest
- func (r *StatusUpdateRequest) Send() (result *StatusUpdateResponse, err error)
- func (r *StatusUpdateRequest) SendContext(ctx context.Context) (result *StatusUpdateResponse, err error)
- type StatusUpdateResponse
- type StatusUpdateUpdateRequest
- func (r *StatusUpdateUpdateRequest) Body(value *Status) *StatusUpdateUpdateRequest
- func (r *StatusUpdateUpdateRequest) Header(name string, value interface{}) *StatusUpdateUpdateRequest
- func (r *StatusUpdateUpdateRequest) Impersonate(user string) *StatusUpdateUpdateRequest
- func (r *StatusUpdateUpdateRequest) Parameter(name string, value interface{}) *StatusUpdateUpdateRequest
- func (r *StatusUpdateUpdateRequest) Send() (result *StatusUpdateUpdateResponse, err error)
- func (r *StatusUpdateUpdateRequest) SendContext(ctx context.Context) (result *StatusUpdateUpdateResponse, err error)
- type StatusUpdateUpdateResponse
- type StatusUpdatesAddRequest
- func (r *StatusUpdatesAddRequest) Body(value *Status) *StatusUpdatesAddRequest
- func (r *StatusUpdatesAddRequest) Header(name string, value interface{}) *StatusUpdatesAddRequest
- func (r *StatusUpdatesAddRequest) Impersonate(user string) *StatusUpdatesAddRequest
- func (r *StatusUpdatesAddRequest) Parameter(name string, value interface{}) *StatusUpdatesAddRequest
- func (r *StatusUpdatesAddRequest) Send() (result *StatusUpdatesAddResponse, err error)
- func (r *StatusUpdatesAddRequest) SendContext(ctx context.Context) (result *StatusUpdatesAddResponse, err error)
- type StatusUpdatesAddResponse
- type StatusUpdatesClient
- type StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) CreatedAfter(value time.Time) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) CreatedBefore(value time.Time) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) FullNames(value string) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) Header(name string, value interface{}) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) Impersonate(user string) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) LimitScope(value time.Time) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) Page(value int) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) Parameter(name string, value interface{}) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) ProductIds(value string) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) Search(value string) *StatusUpdatesListRequest
- func (r *StatusUpdatesListRequest) Send() (result *StatusUpdatesListResponse, err error)
- func (r *StatusUpdatesListRequest) SendContext(ctx context.Context) (result *StatusUpdatesListResponse, err error)
- func (r *StatusUpdatesListRequest) Size(value int) *StatusUpdatesListRequest
- type StatusUpdatesListResponse
- func (r *StatusUpdatesListResponse) Error() *errors.Error
- func (r *StatusUpdatesListResponse) GetItems() (value *StatusList, ok bool)
- func (r *StatusUpdatesListResponse) GetPage() (value int, ok bool)
- func (r *StatusUpdatesListResponse) GetSize() (value int, ok bool)
- func (r *StatusUpdatesListResponse) GetTotal() (value int, ok bool)
- func (r *StatusUpdatesListResponse) Header() http.Header
- func (r *StatusUpdatesListResponse) Items() *StatusList
- func (r *StatusUpdatesListResponse) Page() int
- func (r *StatusUpdatesListResponse) Size() int
- func (r *StatusUpdatesListResponse) Status() int
- func (r *StatusUpdatesListResponse) Total() int
- type StatusesAddRequest
- func (r *StatusesAddRequest) Body(value *Status) *StatusesAddRequest
- func (r *StatusesAddRequest) Header(name string, value interface{}) *StatusesAddRequest
- func (r *StatusesAddRequest) Impersonate(user string) *StatusesAddRequest
- func (r *StatusesAddRequest) Parameter(name string, value interface{}) *StatusesAddRequest
- func (r *StatusesAddRequest) Send() (result *StatusesAddResponse, err error)
- func (r *StatusesAddRequest) SendContext(ctx context.Context) (result *StatusesAddResponse, err error)
- type StatusesAddResponse
- type StatusesClient
- type StatusesListRequest
- func (r *StatusesListRequest) CreatedAfter(value time.Time) *StatusesListRequest
- func (r *StatusesListRequest) CreatedBefore(value time.Time) *StatusesListRequest
- func (r *StatusesListRequest) FullNames(value string) *StatusesListRequest
- func (r *StatusesListRequest) Header(name string, value interface{}) *StatusesListRequest
- func (r *StatusesListRequest) Impersonate(user string) *StatusesListRequest
- func (r *StatusesListRequest) LimitScope(value time.Time) *StatusesListRequest
- func (r *StatusesListRequest) Page(value int) *StatusesListRequest
- func (r *StatusesListRequest) Parameter(name string, value interface{}) *StatusesListRequest
- func (r *StatusesListRequest) ProductIds(value string) *StatusesListRequest
- func (r *StatusesListRequest) Send() (result *StatusesListResponse, err error)
- func (r *StatusesListRequest) SendContext(ctx context.Context) (result *StatusesListResponse, err error)
- func (r *StatusesListRequest) Size(value int) *StatusesListRequest
- type StatusesListResponse
- func (r *StatusesListResponse) Error() *errors.Error
- func (r *StatusesListResponse) GetItems() (value *StatusList, ok bool)
- func (r *StatusesListResponse) GetPage() (value int, ok bool)
- func (r *StatusesListResponse) GetSize() (value int, ok bool)
- func (r *StatusesListResponse) GetTotal() (value int, ok bool)
- func (r *StatusesListResponse) Header() http.Header
- func (r *StatusesListResponse) Items() *StatusList
- func (r *StatusesListResponse) Page() int
- func (r *StatusesListResponse) Size() int
- func (r *StatusesListResponse) Status() int
- func (r *StatusesListResponse) Total() int
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 ¶
var OpenAPI = []byte{}/* 111515 elements not displayed */
OpenAPI contains the OpenAPI specification of the service in JSON.
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 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.
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 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
}
ApplicationBuilder contains the data and logic needed to build 'application' objects.
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 ApplicationClient ¶
type ApplicationClient struct {
// contains filtered or unexported fields
}
ApplicationClient is the client of the 'application' resource.
Provides detailed information about the specified application.
func NewApplicationClient ¶
func NewApplicationClient(transport http.RoundTripper, path string) *ApplicationClient
NewApplicationClient creates a new client for the 'application' resource using the given transport to send the requests and receive the responses.
func (*ApplicationClient) Delete ¶
func (c *ApplicationClient) Delete() *ApplicationDeleteRequest
Delete creates a request for the 'delete' method.
func (*ApplicationClient) Get ¶
func (c *ApplicationClient) Get() *ApplicationGetRequest
Get creates a request for the 'get' method.
func (*ApplicationClient) Poll ¶
func (c *ApplicationClient) Poll() *ApplicationPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ApplicationClient) Services ¶
func (c *ApplicationClient) Services() *ServicesClient
Services returns the target 'services' resource.
func (*ApplicationClient) Update ¶
func (c *ApplicationClient) Update() *ApplicationUpdateRequest
Update creates a request for the 'update' method.
type ApplicationDeleteRequest ¶
type ApplicationDeleteRequest struct {
// contains filtered or unexported fields
}
ApplicationDeleteRequest is the request for the 'delete' method.
func (*ApplicationDeleteRequest) Header ¶
func (r *ApplicationDeleteRequest) Header(name string, value interface{}) *ApplicationDeleteRequest
Header adds a request header.
func (*ApplicationDeleteRequest) Impersonate ¶
func (r *ApplicationDeleteRequest) Impersonate(user string) *ApplicationDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationDeleteRequest) Parameter ¶
func (r *ApplicationDeleteRequest) Parameter(name string, value interface{}) *ApplicationDeleteRequest
Parameter adds a query parameter.
func (*ApplicationDeleteRequest) Send ¶
func (r *ApplicationDeleteRequest) Send() (result *ApplicationDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationDeleteRequest) SendContext ¶
func (r *ApplicationDeleteRequest) SendContext(ctx context.Context) (result *ApplicationDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationDeleteResponse ¶
type ApplicationDeleteResponse struct {
// contains filtered or unexported fields
}
ApplicationDeleteResponse is the response for the 'delete' method.
func (*ApplicationDeleteResponse) Error ¶
func (r *ApplicationDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDeleteResponse) Header ¶
func (r *ApplicationDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDeleteResponse) Status ¶
func (r *ApplicationDeleteResponse) Status() int
Status returns the response status code.
type ApplicationDependenciesAddRequest ¶
type ApplicationDependenciesAddRequest struct {
// contains filtered or unexported fields
}
ApplicationDependenciesAddRequest is the request for the 'add' method.
func (*ApplicationDependenciesAddRequest) Body ¶
func (r *ApplicationDependenciesAddRequest) Body(value *ApplicationDependency) *ApplicationDependenciesAddRequest
Body sets the value of the 'body' parameter.
func (*ApplicationDependenciesAddRequest) Header ¶
func (r *ApplicationDependenciesAddRequest) Header(name string, value interface{}) *ApplicationDependenciesAddRequest
Header adds a request header.
func (*ApplicationDependenciesAddRequest) Impersonate ¶
func (r *ApplicationDependenciesAddRequest) Impersonate(user string) *ApplicationDependenciesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationDependenciesAddRequest) Parameter ¶
func (r *ApplicationDependenciesAddRequest) Parameter(name string, value interface{}) *ApplicationDependenciesAddRequest
Parameter adds a query parameter.
func (*ApplicationDependenciesAddRequest) Send ¶
func (r *ApplicationDependenciesAddRequest) Send() (result *ApplicationDependenciesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationDependenciesAddRequest) SendContext ¶
func (r *ApplicationDependenciesAddRequest) SendContext(ctx context.Context) (result *ApplicationDependenciesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationDependenciesAddResponse ¶
type ApplicationDependenciesAddResponse struct {
// contains filtered or unexported fields
}
ApplicationDependenciesAddResponse is the response for the 'add' method.
func (*ApplicationDependenciesAddResponse) Body ¶
func (r *ApplicationDependenciesAddResponse) Body() *ApplicationDependency
Body returns the value of the 'body' parameter.
func (*ApplicationDependenciesAddResponse) Error ¶
func (r *ApplicationDependenciesAddResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDependenciesAddResponse) GetBody ¶
func (r *ApplicationDependenciesAddResponse) GetBody() (value *ApplicationDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependenciesAddResponse) Header ¶
func (r *ApplicationDependenciesAddResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDependenciesAddResponse) Status ¶
func (r *ApplicationDependenciesAddResponse) Status() int
Status returns the response status code.
type ApplicationDependenciesClient ¶
type ApplicationDependenciesClient struct {
// contains filtered or unexported fields
}
ApplicationDependenciesClient is the client of the 'application_dependencies' resource.
Manages the collection of applications.
func NewApplicationDependenciesClient ¶
func NewApplicationDependenciesClient(transport http.RoundTripper, path string) *ApplicationDependenciesClient
NewApplicationDependenciesClient creates a new client for the 'application_dependencies' resource using the given transport to send the requests and receive the responses.
func (*ApplicationDependenciesClient) Add ¶
func (c *ApplicationDependenciesClient) Add() *ApplicationDependenciesAddRequest
Add creates a request for the 'add' method.
func (*ApplicationDependenciesClient) ApplicationDependency ¶
func (c *ApplicationDependenciesClient) ApplicationDependency(id string) *ApplicationDependencyClient
ApplicationDependency returns the target 'application_dependency' resource for the given identifier.
func (*ApplicationDependenciesClient) List ¶
func (c *ApplicationDependenciesClient) List() *ApplicationDependenciesListRequest
List creates a request for the 'list' method.
Retrieves the list of application dependencies.
type ApplicationDependenciesListRequest ¶
type ApplicationDependenciesListRequest struct {
// contains filtered or unexported fields
}
ApplicationDependenciesListRequest is the request for the 'list' method.
func (*ApplicationDependenciesListRequest) Header ¶
func (r *ApplicationDependenciesListRequest) Header(name string, value interface{}) *ApplicationDependenciesListRequest
Header adds a request header.
func (*ApplicationDependenciesListRequest) Impersonate ¶
func (r *ApplicationDependenciesListRequest) Impersonate(user string) *ApplicationDependenciesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationDependenciesListRequest) OrderBy ¶
func (r *ApplicationDependenciesListRequest) OrderBy(value string) *ApplicationDependenciesListRequest
OrderBy sets the value of the 'order_by' parameter.
func (*ApplicationDependenciesListRequest) Page ¶
func (r *ApplicationDependenciesListRequest) Page(value int) *ApplicationDependenciesListRequest
Page sets the value of the 'page' parameter.
func (*ApplicationDependenciesListRequest) Parameter ¶
func (r *ApplicationDependenciesListRequest) Parameter(name string, value interface{}) *ApplicationDependenciesListRequest
Parameter adds a query parameter.
func (*ApplicationDependenciesListRequest) Send ¶
func (r *ApplicationDependenciesListRequest) Send() (result *ApplicationDependenciesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationDependenciesListRequest) SendContext ¶
func (r *ApplicationDependenciesListRequest) SendContext(ctx context.Context) (result *ApplicationDependenciesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ApplicationDependenciesListRequest) Size ¶
func (r *ApplicationDependenciesListRequest) Size(value int) *ApplicationDependenciesListRequest
Size sets the value of the 'size' parameter.
type ApplicationDependenciesListResponse ¶
type ApplicationDependenciesListResponse struct {
// contains filtered or unexported fields
}
ApplicationDependenciesListResponse is the response for the 'list' method.
func (*ApplicationDependenciesListResponse) Error ¶
func (r *ApplicationDependenciesListResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDependenciesListResponse) GetItems ¶
func (r *ApplicationDependenciesListResponse) GetItems() (value *ApplicationDependencyList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependenciesListResponse) GetPage ¶
func (r *ApplicationDependenciesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependenciesListResponse) GetSize ¶
func (r *ApplicationDependenciesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependenciesListResponse) GetTotal ¶
func (r *ApplicationDependenciesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependenciesListResponse) Header ¶
func (r *ApplicationDependenciesListResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDependenciesListResponse) Items ¶
func (r *ApplicationDependenciesListResponse) Items() *ApplicationDependencyList
Items returns the value of the 'items' parameter.
func (*ApplicationDependenciesListResponse) Page ¶
func (r *ApplicationDependenciesListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*ApplicationDependenciesListResponse) Size ¶
func (r *ApplicationDependenciesListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*ApplicationDependenciesListResponse) Status ¶
func (r *ApplicationDependenciesListResponse) Status() int
Status returns the response status code.
func (*ApplicationDependenciesListResponse) Total ¶
func (r *ApplicationDependenciesListResponse) Total() int
Total returns the value of the 'total' parameter.
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 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 iif 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
}
ApplicationDependencyBuilder contains the data and logic needed to build 'application_dependency' objects.
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 ApplicationDependencyClient ¶
type ApplicationDependencyClient struct {
// contains filtered or unexported fields
}
ApplicationDependencyClient is the client of the 'application_dependency' resource.
Provides detailed information about the specified application dependency.
func NewApplicationDependencyClient ¶
func NewApplicationDependencyClient(transport http.RoundTripper, path string) *ApplicationDependencyClient
NewApplicationDependencyClient creates a new client for the 'application_dependency' resource using the given transport to send the requests and receive the responses.
func (*ApplicationDependencyClient) Delete ¶
func (c *ApplicationDependencyClient) Delete() *ApplicationDependencyDeleteRequest
Delete creates a request for the 'delete' method.
func (*ApplicationDependencyClient) Get ¶
func (c *ApplicationDependencyClient) Get() *ApplicationDependencyGetRequest
Get creates a request for the 'get' method.
func (*ApplicationDependencyClient) Poll ¶
func (c *ApplicationDependencyClient) Poll() *ApplicationDependencyPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ApplicationDependencyClient) Update ¶
func (c *ApplicationDependencyClient) Update() *ApplicationDependencyUpdateRequest
Update creates a request for the 'update' method.
type ApplicationDependencyDeleteRequest ¶
type ApplicationDependencyDeleteRequest struct {
// contains filtered or unexported fields
}
ApplicationDependencyDeleteRequest is the request for the 'delete' method.
func (*ApplicationDependencyDeleteRequest) Header ¶
func (r *ApplicationDependencyDeleteRequest) Header(name string, value interface{}) *ApplicationDependencyDeleteRequest
Header adds a request header.
func (*ApplicationDependencyDeleteRequest) Impersonate ¶
func (r *ApplicationDependencyDeleteRequest) Impersonate(user string) *ApplicationDependencyDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationDependencyDeleteRequest) Parameter ¶
func (r *ApplicationDependencyDeleteRequest) Parameter(name string, value interface{}) *ApplicationDependencyDeleteRequest
Parameter adds a query parameter.
func (*ApplicationDependencyDeleteRequest) Send ¶
func (r *ApplicationDependencyDeleteRequest) Send() (result *ApplicationDependencyDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationDependencyDeleteRequest) SendContext ¶
func (r *ApplicationDependencyDeleteRequest) SendContext(ctx context.Context) (result *ApplicationDependencyDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationDependencyDeleteResponse ¶
type ApplicationDependencyDeleteResponse struct {
// contains filtered or unexported fields
}
ApplicationDependencyDeleteResponse is the response for the 'delete' method.
func (*ApplicationDependencyDeleteResponse) Error ¶
func (r *ApplicationDependencyDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDependencyDeleteResponse) Header ¶
func (r *ApplicationDependencyDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDependencyDeleteResponse) Status ¶
func (r *ApplicationDependencyDeleteResponse) Status() int
Status returns the response status code.
type ApplicationDependencyGetRequest ¶
type ApplicationDependencyGetRequest struct {
// contains filtered or unexported fields
}
ApplicationDependencyGetRequest is the request for the 'get' method.
func (*ApplicationDependencyGetRequest) Header ¶
func (r *ApplicationDependencyGetRequest) Header(name string, value interface{}) *ApplicationDependencyGetRequest
Header adds a request header.
func (*ApplicationDependencyGetRequest) Impersonate ¶
func (r *ApplicationDependencyGetRequest) Impersonate(user string) *ApplicationDependencyGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationDependencyGetRequest) Parameter ¶
func (r *ApplicationDependencyGetRequest) Parameter(name string, value interface{}) *ApplicationDependencyGetRequest
Parameter adds a query parameter.
func (*ApplicationDependencyGetRequest) Send ¶
func (r *ApplicationDependencyGetRequest) Send() (result *ApplicationDependencyGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationDependencyGetRequest) SendContext ¶
func (r *ApplicationDependencyGetRequest) SendContext(ctx context.Context) (result *ApplicationDependencyGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationDependencyGetResponse ¶
type ApplicationDependencyGetResponse struct {
// contains filtered or unexported fields
}
ApplicationDependencyGetResponse is the response for the 'get' method.
func (*ApplicationDependencyGetResponse) Body ¶
func (r *ApplicationDependencyGetResponse) Body() *ApplicationDependency
Body returns the value of the 'body' parameter.
func (*ApplicationDependencyGetResponse) Error ¶
func (r *ApplicationDependencyGetResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDependencyGetResponse) GetBody ¶
func (r *ApplicationDependencyGetResponse) GetBody() (value *ApplicationDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependencyGetResponse) Header ¶
func (r *ApplicationDependencyGetResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDependencyGetResponse) Status ¶
func (r *ApplicationDependencyGetResponse) Status() int
Status returns the response status code.
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) 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) 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 ApplicationDependencyPollRequest ¶
type ApplicationDependencyPollRequest struct {
// contains filtered or unexported fields
}
ApplicationDependencyPollRequest is the request for the Poll method.
func (*ApplicationDependencyPollRequest) Header ¶
func (r *ApplicationDependencyPollRequest) Header(name string, value interface{}) *ApplicationDependencyPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ApplicationDependencyPollRequest) Interval ¶
func (r *ApplicationDependencyPollRequest) Interval(value time.Duration) *ApplicationDependencyPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ApplicationDependencyPollRequest) Parameter ¶
func (r *ApplicationDependencyPollRequest) Parameter(name string, value interface{}) *ApplicationDependencyPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ApplicationDependencyPollRequest) Predicate ¶
func (r *ApplicationDependencyPollRequest) Predicate(value func(*ApplicationDependencyGetResponse) bool) *ApplicationDependencyPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ApplicationDependencyPollRequest) StartContext ¶
func (r *ApplicationDependencyPollRequest) StartContext(ctx context.Context) (response *ApplicationDependencyPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ApplicationDependencyPollRequest) Status ¶
func (r *ApplicationDependencyPollRequest) Status(value int) *ApplicationDependencyPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ApplicationDependencyPollResponse ¶
type ApplicationDependencyPollResponse struct {
// contains filtered or unexported fields
}
ApplicationDependencyPollResponse is the response for the Poll method.
func (*ApplicationDependencyPollResponse) Body ¶
func (r *ApplicationDependencyPollResponse) Body() *ApplicationDependency
Body returns the value of the 'body' parameter.
func (*ApplicationDependencyPollResponse) Error ¶
func (r *ApplicationDependencyPollResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDependencyPollResponse) GetBody ¶
func (r *ApplicationDependencyPollResponse) GetBody() (value *ApplicationDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependencyPollResponse) Header ¶
func (r *ApplicationDependencyPollResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDependencyPollResponse) Status ¶
func (r *ApplicationDependencyPollResponse) Status() int
Status returns the response status code.
type ApplicationDependencyUpdateRequest ¶
type ApplicationDependencyUpdateRequest struct {
// contains filtered or unexported fields
}
ApplicationDependencyUpdateRequest is the request for the 'update' method.
func (*ApplicationDependencyUpdateRequest) Body ¶
func (r *ApplicationDependencyUpdateRequest) Body(value *ApplicationDependency) *ApplicationDependencyUpdateRequest
Body sets the value of the 'body' parameter.
func (*ApplicationDependencyUpdateRequest) Header ¶
func (r *ApplicationDependencyUpdateRequest) Header(name string, value interface{}) *ApplicationDependencyUpdateRequest
Header adds a request header.
func (*ApplicationDependencyUpdateRequest) Impersonate ¶
func (r *ApplicationDependencyUpdateRequest) Impersonate(user string) *ApplicationDependencyUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationDependencyUpdateRequest) Parameter ¶
func (r *ApplicationDependencyUpdateRequest) Parameter(name string, value interface{}) *ApplicationDependencyUpdateRequest
Parameter adds a query parameter.
func (*ApplicationDependencyUpdateRequest) Send ¶
func (r *ApplicationDependencyUpdateRequest) Send() (result *ApplicationDependencyUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationDependencyUpdateRequest) SendContext ¶
func (r *ApplicationDependencyUpdateRequest) SendContext(ctx context.Context) (result *ApplicationDependencyUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationDependencyUpdateResponse ¶
type ApplicationDependencyUpdateResponse struct {
// contains filtered or unexported fields
}
ApplicationDependencyUpdateResponse is the response for the 'update' method.
func (*ApplicationDependencyUpdateResponse) Body ¶
func (r *ApplicationDependencyUpdateResponse) Body() *ApplicationDependency
Body returns the value of the 'body' parameter.
func (*ApplicationDependencyUpdateResponse) Error ¶
func (r *ApplicationDependencyUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationDependencyUpdateResponse) GetBody ¶
func (r *ApplicationDependencyUpdateResponse) GetBody() (value *ApplicationDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationDependencyUpdateResponse) Header ¶
func (r *ApplicationDependencyUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationDependencyUpdateResponse) Status ¶
func (r *ApplicationDependencyUpdateResponse) Status() int
Status returns the response status code.
type ApplicationGetRequest ¶
type ApplicationGetRequest struct {
// contains filtered or unexported fields
}
ApplicationGetRequest is the request for the 'get' method.
func (*ApplicationGetRequest) Header ¶
func (r *ApplicationGetRequest) Header(name string, value interface{}) *ApplicationGetRequest
Header adds a request header.
func (*ApplicationGetRequest) Impersonate ¶
func (r *ApplicationGetRequest) Impersonate(user string) *ApplicationGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationGetRequest) Parameter ¶
func (r *ApplicationGetRequest) Parameter(name string, value interface{}) *ApplicationGetRequest
Parameter adds a query parameter.
func (*ApplicationGetRequest) Send ¶
func (r *ApplicationGetRequest) Send() (result *ApplicationGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationGetRequest) SendContext ¶
func (r *ApplicationGetRequest) SendContext(ctx context.Context) (result *ApplicationGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationGetResponse ¶
type ApplicationGetResponse struct {
// contains filtered or unexported fields
}
ApplicationGetResponse is the response for the 'get' method.
func (*ApplicationGetResponse) Body ¶
func (r *ApplicationGetResponse) Body() *Application
Body returns the value of the 'body' parameter.
func (*ApplicationGetResponse) Error ¶
func (r *ApplicationGetResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationGetResponse) GetBody ¶
func (r *ApplicationGetResponse) GetBody() (value *Application, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationGetResponse) Header ¶
func (r *ApplicationGetResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationGetResponse) Status ¶
func (r *ApplicationGetResponse) Status() int
Status returns the response status code.
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) 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) 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 ApplicationPollRequest ¶
type ApplicationPollRequest struct {
// contains filtered or unexported fields
}
ApplicationPollRequest is the request for the Poll method.
func (*ApplicationPollRequest) Header ¶
func (r *ApplicationPollRequest) Header(name string, value interface{}) *ApplicationPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ApplicationPollRequest) Interval ¶
func (r *ApplicationPollRequest) Interval(value time.Duration) *ApplicationPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ApplicationPollRequest) Parameter ¶
func (r *ApplicationPollRequest) Parameter(name string, value interface{}) *ApplicationPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ApplicationPollRequest) Predicate ¶
func (r *ApplicationPollRequest) Predicate(value func(*ApplicationGetResponse) bool) *ApplicationPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ApplicationPollRequest) StartContext ¶
func (r *ApplicationPollRequest) StartContext(ctx context.Context) (response *ApplicationPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ApplicationPollRequest) Status ¶
func (r *ApplicationPollRequest) Status(value int) *ApplicationPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ApplicationPollResponse ¶
type ApplicationPollResponse struct {
// contains filtered or unexported fields
}
ApplicationPollResponse is the response for the Poll method.
func (*ApplicationPollResponse) Body ¶
func (r *ApplicationPollResponse) Body() *Application
Body returns the value of the 'body' parameter.
func (*ApplicationPollResponse) Error ¶
func (r *ApplicationPollResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationPollResponse) GetBody ¶
func (r *ApplicationPollResponse) GetBody() (value *Application, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationPollResponse) Header ¶
func (r *ApplicationPollResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationPollResponse) Status ¶
func (r *ApplicationPollResponse) Status() int
Status returns the response status code.
type ApplicationUpdateRequest ¶
type ApplicationUpdateRequest struct {
// contains filtered or unexported fields
}
ApplicationUpdateRequest is the request for the 'update' method.
func (*ApplicationUpdateRequest) Body ¶
func (r *ApplicationUpdateRequest) Body(value *Application) *ApplicationUpdateRequest
Body sets the value of the 'body' parameter.
func (*ApplicationUpdateRequest) Header ¶
func (r *ApplicationUpdateRequest) Header(name string, value interface{}) *ApplicationUpdateRequest
Header adds a request header.
func (*ApplicationUpdateRequest) Impersonate ¶
func (r *ApplicationUpdateRequest) Impersonate(user string) *ApplicationUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationUpdateRequest) Parameter ¶
func (r *ApplicationUpdateRequest) Parameter(name string, value interface{}) *ApplicationUpdateRequest
Parameter adds a query parameter.
func (*ApplicationUpdateRequest) Send ¶
func (r *ApplicationUpdateRequest) Send() (result *ApplicationUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationUpdateRequest) SendContext ¶
func (r *ApplicationUpdateRequest) SendContext(ctx context.Context) (result *ApplicationUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationUpdateResponse ¶
type ApplicationUpdateResponse struct {
// contains filtered or unexported fields
}
ApplicationUpdateResponse is the response for the 'update' method.
func (*ApplicationUpdateResponse) Body ¶
func (r *ApplicationUpdateResponse) Body() *Application
Body returns the value of the 'body' parameter.
func (*ApplicationUpdateResponse) Error ¶
func (r *ApplicationUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationUpdateResponse) GetBody ¶
func (r *ApplicationUpdateResponse) GetBody() (value *Application, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationUpdateResponse) Header ¶
func (r *ApplicationUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationUpdateResponse) Status ¶
func (r *ApplicationUpdateResponse) Status() int
Status returns the response status code.
type ApplicationsAddRequest ¶
type ApplicationsAddRequest struct {
// contains filtered or unexported fields
}
ApplicationsAddRequest is the request for the 'add' method.
func (*ApplicationsAddRequest) Body ¶
func (r *ApplicationsAddRequest) Body(value *Application) *ApplicationsAddRequest
Body sets the value of the 'body' parameter.
func (*ApplicationsAddRequest) Header ¶
func (r *ApplicationsAddRequest) Header(name string, value interface{}) *ApplicationsAddRequest
Header adds a request header.
func (*ApplicationsAddRequest) Impersonate ¶
func (r *ApplicationsAddRequest) Impersonate(user string) *ApplicationsAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationsAddRequest) Parameter ¶
func (r *ApplicationsAddRequest) Parameter(name string, value interface{}) *ApplicationsAddRequest
Parameter adds a query parameter.
func (*ApplicationsAddRequest) Send ¶
func (r *ApplicationsAddRequest) Send() (result *ApplicationsAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationsAddRequest) SendContext ¶
func (r *ApplicationsAddRequest) SendContext(ctx context.Context) (result *ApplicationsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ApplicationsAddResponse ¶
type ApplicationsAddResponse struct {
// contains filtered or unexported fields
}
ApplicationsAddResponse is the response for the 'add' method.
func (*ApplicationsAddResponse) Body ¶
func (r *ApplicationsAddResponse) Body() *Application
Body returns the value of the 'body' parameter.
func (*ApplicationsAddResponse) Error ¶
func (r *ApplicationsAddResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationsAddResponse) GetBody ¶
func (r *ApplicationsAddResponse) GetBody() (value *Application, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ApplicationsAddResponse) Header ¶
func (r *ApplicationsAddResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationsAddResponse) Status ¶
func (r *ApplicationsAddResponse) Status() int
Status returns the response status code.
type ApplicationsClient ¶
type ApplicationsClient struct {
// contains filtered or unexported fields
}
ApplicationsClient is the client of the 'applications' resource.
Manages the collection of applications.
func NewApplicationsClient ¶
func NewApplicationsClient(transport http.RoundTripper, path string) *ApplicationsClient
NewApplicationsClient creates a new client for the 'applications' resource using the given transport to send the requests and receive the responses.
func (*ApplicationsClient) Add ¶
func (c *ApplicationsClient) Add() *ApplicationsAddRequest
Add creates a request for the 'add' method.
func (*ApplicationsClient) Application ¶
func (c *ApplicationsClient) Application(id string) *ApplicationClient
Application returns the target 'application' resource for the given identifier.
func (*ApplicationsClient) List ¶
func (c *ApplicationsClient) List() *ApplicationsListRequest
List creates a request for the 'list' method.
Retrieves the list of applications.
type ApplicationsListRequest ¶
type ApplicationsListRequest struct {
// contains filtered or unexported fields
}
ApplicationsListRequest is the request for the 'list' method.
func (*ApplicationsListRequest) Fullname ¶
func (r *ApplicationsListRequest) Fullname(value string) *ApplicationsListRequest
Fullname sets the value of the 'fullname' parameter.
func (*ApplicationsListRequest) Header ¶
func (r *ApplicationsListRequest) Header(name string, value interface{}) *ApplicationsListRequest
Header adds a request header.
func (*ApplicationsListRequest) Impersonate ¶
func (r *ApplicationsListRequest) Impersonate(user string) *ApplicationsListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ApplicationsListRequest) OrderBy ¶
func (r *ApplicationsListRequest) OrderBy(value string) *ApplicationsListRequest
OrderBy sets the value of the 'order_by' parameter.
func (*ApplicationsListRequest) Page ¶
func (r *ApplicationsListRequest) Page(value int) *ApplicationsListRequest
Page sets the value of the 'page' parameter.
func (*ApplicationsListRequest) Parameter ¶
func (r *ApplicationsListRequest) Parameter(name string, value interface{}) *ApplicationsListRequest
Parameter adds a query parameter.
func (*ApplicationsListRequest) Search ¶ added in v0.1.380
func (r *ApplicationsListRequest) Search(value string) *ApplicationsListRequest
Search sets the value of the 'search' parameter.
func (*ApplicationsListRequest) Send ¶
func (r *ApplicationsListRequest) Send() (result *ApplicationsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ApplicationsListRequest) SendContext ¶
func (r *ApplicationsListRequest) SendContext(ctx context.Context) (result *ApplicationsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ApplicationsListRequest) Size ¶
func (r *ApplicationsListRequest) Size(value int) *ApplicationsListRequest
Size sets the value of the 'size' parameter.
type ApplicationsListResponse ¶
type ApplicationsListResponse struct {
// contains filtered or unexported fields
}
ApplicationsListResponse is the response for the 'list' method.
func (*ApplicationsListResponse) Error ¶
func (r *ApplicationsListResponse) Error() *errors.Error
Error returns the response error.
func (*ApplicationsListResponse) GetItems ¶
func (r *ApplicationsListResponse) GetItems() (value *ApplicationList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*ApplicationsListResponse) GetPage ¶
func (r *ApplicationsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*ApplicationsListResponse) GetSize ¶
func (r *ApplicationsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*ApplicationsListResponse) GetTotal ¶
func (r *ApplicationsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*ApplicationsListResponse) Header ¶
func (r *ApplicationsListResponse) Header() http.Header
Header returns header of the response.
func (*ApplicationsListResponse) Items ¶
func (r *ApplicationsListResponse) Items() *ApplicationList
Items returns the value of the 'items' parameter.
func (*ApplicationsListResponse) Page ¶
func (r *ApplicationsListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*ApplicationsListResponse) Size ¶
func (r *ApplicationsListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*ApplicationsListResponse) Status ¶
func (r *ApplicationsListResponse) Status() int
Status returns the response status code.
func (*ApplicationsListResponse) Total ¶
func (r *ApplicationsListResponse) Total() int
Total returns the value of the 'total' parameter.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the client of the 'root' resource.
Root of the tree of resources for applications.
func NewClient ¶
func NewClient(transport http.RoundTripper, path string) *Client
NewClient creates a new client for the 'root' resource using the given transport to send the requests and receive the responses.
func (*Client) ApplicationDependencies ¶
func (c *Client) ApplicationDependencies() *ApplicationDependenciesClient
ApplicationDependencies returns the target 'application_dependencies' resource.
func (*Client) Applications ¶
func (c *Client) Applications() *ApplicationsClient
Applications returns the target 'applications' resource.
func (*Client) Errors ¶
func (c *Client) Errors() *ErrorsClient
Errors returns the target 'errors' resource.
func (*Client) Get ¶
func (c *Client) Get() *MetadataRequest
Creates a new request for the method that retrieves the metadata.
func (*Client) PeerDependencies ¶
func (c *Client) PeerDependencies() *PeerDependenciesClient
PeerDependencies returns the target 'peer_dependencies' resource.
func (*Client) Products ¶
func (c *Client) Products() *ProductsClient
Products returns the target 'products' resource.
func (*Client) Services ¶
func (c *Client) Services() *ServicesClient
Services returns the target 'services' resource.
func (*Client) StatusUpdates ¶
func (c *Client) StatusUpdates() *StatusesClient
StatusUpdates returns the target 'statuses' resource.
func (*Client) Statuses ¶
func (c *Client) Statuses() *StatusesClient
Statuses returns the target 'statuses' resource.
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 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
}
ErrorBuilder contains the data and logic needed to build 'error' objects.
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 ErrorClient ¶
type ErrorClient struct {
// contains filtered or unexported fields
}
ErrorClient is the client of the 'error' resource.
Provides detailed information about a specific error.
func NewErrorClient ¶
func NewErrorClient(transport http.RoundTripper, path string) *ErrorClient
NewErrorClient creates a new client for the 'error' resource using the given transport to send the requests and receive the responses.
func (*ErrorClient) Get ¶
func (c *ErrorClient) Get() *ErrorGetRequest
Get creates a request for the 'get' method.
func (*ErrorClient) Poll ¶
func (c *ErrorClient) Poll() *ErrorPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
type ErrorGetRequest ¶
type ErrorGetRequest struct {
// contains filtered or unexported fields
}
ErrorGetRequest is the request for the 'get' method.
func (*ErrorGetRequest) Header ¶
func (r *ErrorGetRequest) Header(name string, value interface{}) *ErrorGetRequest
Header adds a request header.
func (*ErrorGetRequest) Impersonate ¶
func (r *ErrorGetRequest) Impersonate(user string) *ErrorGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ErrorGetRequest) Parameter ¶
func (r *ErrorGetRequest) Parameter(name string, value interface{}) *ErrorGetRequest
Parameter adds a query parameter.
func (*ErrorGetRequest) Send ¶
func (r *ErrorGetRequest) Send() (result *ErrorGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ErrorGetRequest) SendContext ¶
func (r *ErrorGetRequest) SendContext(ctx context.Context) (result *ErrorGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ErrorGetResponse ¶
type ErrorGetResponse struct {
// contains filtered or unexported fields
}
ErrorGetResponse is the response for the 'get' method.
func (*ErrorGetResponse) Body ¶
func (r *ErrorGetResponse) Body() *Error
Body returns the value of the 'body' parameter.
func (*ErrorGetResponse) Error ¶
func (r *ErrorGetResponse) Error() *errors.Error
Error returns the response error.
func (*ErrorGetResponse) GetBody ¶
func (r *ErrorGetResponse) GetBody() (value *Error, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ErrorGetResponse) Header ¶
func (r *ErrorGetResponse) Header() http.Header
Header returns header of the response.
func (*ErrorGetResponse) Status ¶
func (r *ErrorGetResponse) Status() int
Status returns the response status code.
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 ErrorPollRequest ¶
type ErrorPollRequest struct {
// contains filtered or unexported fields
}
ErrorPollRequest is the request for the Poll method.
func (*ErrorPollRequest) Header ¶
func (r *ErrorPollRequest) Header(name string, value interface{}) *ErrorPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ErrorPollRequest) Interval ¶
func (r *ErrorPollRequest) Interval(value time.Duration) *ErrorPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ErrorPollRequest) Parameter ¶
func (r *ErrorPollRequest) Parameter(name string, value interface{}) *ErrorPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ErrorPollRequest) Predicate ¶
func (r *ErrorPollRequest) Predicate(value func(*ErrorGetResponse) bool) *ErrorPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ErrorPollRequest) StartContext ¶
func (r *ErrorPollRequest) StartContext(ctx context.Context) (response *ErrorPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ErrorPollRequest) Status ¶
func (r *ErrorPollRequest) Status(value int) *ErrorPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ErrorPollResponse ¶
type ErrorPollResponse struct {
// contains filtered or unexported fields
}
ErrorPollResponse is the response for the Poll method.
func (*ErrorPollResponse) Body ¶
func (r *ErrorPollResponse) Body() *Error
Body returns the value of the 'body' parameter.
func (*ErrorPollResponse) Error ¶
func (r *ErrorPollResponse) Error() *errors.Error
Error returns the response error.
func (*ErrorPollResponse) GetBody ¶
func (r *ErrorPollResponse) GetBody() (value *Error, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ErrorPollResponse) Header ¶
func (r *ErrorPollResponse) Header() http.Header
Header returns header of the response.
func (*ErrorPollResponse) Status ¶
func (r *ErrorPollResponse) Status() int
Status returns the response status code.
type ErrorsClient ¶
type ErrorsClient struct {
// contains filtered or unexported fields
}
ErrorsClient is the client of the 'errors' resource.
Manages the collection of errors.
func NewErrorsClient ¶
func NewErrorsClient(transport http.RoundTripper, path string) *ErrorsClient
NewErrorsClient creates a new client for the 'errors' resource using the given transport to send the requests and receive the responses.
func (*ErrorsClient) Error ¶
func (c *ErrorsClient) Error(id string) *ErrorClient
Error returns the target 'error' resource for the given identifier.
func (*ErrorsClient) List ¶
func (c *ErrorsClient) List() *ErrorsListRequest
List creates a request for the 'list' method.
Retrieves the list of errors.
type ErrorsListRequest ¶
type ErrorsListRequest struct {
// contains filtered or unexported fields
}
ErrorsListRequest is the request for the 'list' method.
func (*ErrorsListRequest) Header ¶
func (r *ErrorsListRequest) Header(name string, value interface{}) *ErrorsListRequest
Header adds a request header.
func (*ErrorsListRequest) Impersonate ¶
func (r *ErrorsListRequest) Impersonate(user string) *ErrorsListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ErrorsListRequest) Page ¶
func (r *ErrorsListRequest) Page(value int) *ErrorsListRequest
Page sets the value of the 'page' parameter.
func (*ErrorsListRequest) Parameter ¶
func (r *ErrorsListRequest) Parameter(name string, value interface{}) *ErrorsListRequest
Parameter adds a query parameter.
func (*ErrorsListRequest) Send ¶
func (r *ErrorsListRequest) Send() (result *ErrorsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ErrorsListRequest) SendContext ¶
func (r *ErrorsListRequest) SendContext(ctx context.Context) (result *ErrorsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ErrorsListRequest) Size ¶
func (r *ErrorsListRequest) Size(value int) *ErrorsListRequest
Size sets the value of the 'size' parameter.
type ErrorsListResponse ¶
type ErrorsListResponse struct {
// contains filtered or unexported fields
}
ErrorsListResponse is the response for the 'list' method.
func (*ErrorsListResponse) Error ¶
func (r *ErrorsListResponse) Error() *errors.Error
Error returns the response error.
func (*ErrorsListResponse) GetItems ¶
func (r *ErrorsListResponse) GetItems() (value *ErrorList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*ErrorsListResponse) GetPage ¶
func (r *ErrorsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*ErrorsListResponse) GetSize ¶
func (r *ErrorsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*ErrorsListResponse) GetTotal ¶
func (r *ErrorsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*ErrorsListResponse) Header ¶
func (r *ErrorsListResponse) Header() http.Header
Header returns header of the response.
func (*ErrorsListResponse) Items ¶
func (r *ErrorsListResponse) Items() *ErrorList
Items returns the value of the 'items' parameter.
func (*ErrorsListResponse) Page ¶
func (r *ErrorsListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*ErrorsListResponse) Size ¶
func (r *ErrorsListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*ErrorsListResponse) Status ¶
func (r *ErrorsListResponse) Status() int
Status returns the response status code.
func (*ErrorsListResponse) Total ¶
func (r *ErrorsListResponse) Total() int
Total returns the value of the 'total' parameter.
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 MetadataRequest ¶
type MetadataRequest struct {
// contains filtered or unexported fields
}
MetadataRequest is the request to retrieve the metadata.
func (*MetadataRequest) Header ¶
func (r *MetadataRequest) Header(name string, value interface{}) *MetadataRequest
Header adds a request header.
func (*MetadataRequest) Parameter ¶
func (r *MetadataRequest) Parameter(name string, value interface{}) *MetadataRequest
Parameter adds a query parameter.
func (*MetadataRequest) Send ¶
func (r *MetadataRequest) Send() (result *MetadataResponse, err error)
Send sends the metadata request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*MetadataRequest) SendContext ¶
func (r *MetadataRequest) SendContext(ctx context.Context) (result *MetadataResponse, err error)
SendContext sends the metadata request, waits for the response, and returns it.
type MetadataResponse ¶
type MetadataResponse struct {
// contains filtered or unexported fields
}
MetadataResponse is the response for the metadata request.
func (*MetadataResponse) Body ¶
func (r *MetadataResponse) Body() *Metadata
Body returns the response body.
func (*MetadataResponse) Error ¶
func (r *MetadataResponse) Error() *errors.Error
Error returns the response error.
func (*MetadataResponse) Header ¶
func (r *MetadataResponse) Header() http.Header
Header returns header of the response.
func (*MetadataResponse) Status ¶
func (r *MetadataResponse) Status() int
Status returns the response status code.
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 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
}
OwnerBuilder contains the data and logic needed to build 'owner' objects.
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 PeerDependenciesAddRequest ¶
type PeerDependenciesAddRequest struct {
// contains filtered or unexported fields
}
PeerDependenciesAddRequest is the request for the 'add' method.
func (*PeerDependenciesAddRequest) Body ¶
func (r *PeerDependenciesAddRequest) Body(value *PeerDependency) *PeerDependenciesAddRequest
Body sets the value of the 'body' parameter.
func (*PeerDependenciesAddRequest) Header ¶
func (r *PeerDependenciesAddRequest) Header(name string, value interface{}) *PeerDependenciesAddRequest
Header adds a request header.
func (*PeerDependenciesAddRequest) Impersonate ¶
func (r *PeerDependenciesAddRequest) Impersonate(user string) *PeerDependenciesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*PeerDependenciesAddRequest) Parameter ¶
func (r *PeerDependenciesAddRequest) Parameter(name string, value interface{}) *PeerDependenciesAddRequest
Parameter adds a query parameter.
func (*PeerDependenciesAddRequest) Send ¶
func (r *PeerDependenciesAddRequest) Send() (result *PeerDependenciesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*PeerDependenciesAddRequest) SendContext ¶
func (r *PeerDependenciesAddRequest) SendContext(ctx context.Context) (result *PeerDependenciesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PeerDependenciesAddResponse ¶
type PeerDependenciesAddResponse struct {
// contains filtered or unexported fields
}
PeerDependenciesAddResponse is the response for the 'add' method.
func (*PeerDependenciesAddResponse) Body ¶
func (r *PeerDependenciesAddResponse) Body() *PeerDependency
Body returns the value of the 'body' parameter.
func (*PeerDependenciesAddResponse) Error ¶
func (r *PeerDependenciesAddResponse) Error() *errors.Error
Error returns the response error.
func (*PeerDependenciesAddResponse) GetBody ¶
func (r *PeerDependenciesAddResponse) GetBody() (value *PeerDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PeerDependenciesAddResponse) Header ¶
func (r *PeerDependenciesAddResponse) Header() http.Header
Header returns header of the response.
func (*PeerDependenciesAddResponse) Status ¶
func (r *PeerDependenciesAddResponse) Status() int
Status returns the response status code.
type PeerDependenciesClient ¶
type PeerDependenciesClient struct {
// contains filtered or unexported fields
}
PeerDependenciesClient is the client of the 'peer_dependencies' resource.
Manages the collection of peer dependencies.
func NewPeerDependenciesClient ¶
func NewPeerDependenciesClient(transport http.RoundTripper, path string) *PeerDependenciesClient
NewPeerDependenciesClient creates a new client for the 'peer_dependencies' resource using the given transport to send the requests and receive the responses.
func (*PeerDependenciesClient) Add ¶
func (c *PeerDependenciesClient) Add() *PeerDependenciesAddRequest
Add creates a request for the 'add' method.
func (*PeerDependenciesClient) List ¶
func (c *PeerDependenciesClient) List() *PeerDependenciesListRequest
List creates a request for the 'list' method.
Retrieves the list of peer dependencies.
func (*PeerDependenciesClient) PeerDependency ¶
func (c *PeerDependenciesClient) PeerDependency(id string) *PeerDependencyClient
PeerDependency returns the target 'peer_dependency' resource for the given identifier.
type PeerDependenciesListRequest ¶
type PeerDependenciesListRequest struct {
// contains filtered or unexported fields
}
PeerDependenciesListRequest is the request for the 'list' method.
func (*PeerDependenciesListRequest) Header ¶
func (r *PeerDependenciesListRequest) Header(name string, value interface{}) *PeerDependenciesListRequest
Header adds a request header.
func (*PeerDependenciesListRequest) Impersonate ¶
func (r *PeerDependenciesListRequest) Impersonate(user string) *PeerDependenciesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*PeerDependenciesListRequest) OrderBy ¶
func (r *PeerDependenciesListRequest) OrderBy(value string) *PeerDependenciesListRequest
OrderBy sets the value of the 'order_by' parameter.
func (*PeerDependenciesListRequest) Page ¶
func (r *PeerDependenciesListRequest) Page(value int) *PeerDependenciesListRequest
Page sets the value of the 'page' parameter.
func (*PeerDependenciesListRequest) Parameter ¶
func (r *PeerDependenciesListRequest) Parameter(name string, value interface{}) *PeerDependenciesListRequest
Parameter adds a query parameter.
func (*PeerDependenciesListRequest) Send ¶
func (r *PeerDependenciesListRequest) Send() (result *PeerDependenciesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*PeerDependenciesListRequest) SendContext ¶
func (r *PeerDependenciesListRequest) SendContext(ctx context.Context) (result *PeerDependenciesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*PeerDependenciesListRequest) Size ¶
func (r *PeerDependenciesListRequest) Size(value int) *PeerDependenciesListRequest
Size sets the value of the 'size' parameter.
type PeerDependenciesListResponse ¶
type PeerDependenciesListResponse struct {
// contains filtered or unexported fields
}
PeerDependenciesListResponse is the response for the 'list' method.
func (*PeerDependenciesListResponse) Error ¶
func (r *PeerDependenciesListResponse) Error() *errors.Error
Error returns the response error.
func (*PeerDependenciesListResponse) GetItems ¶
func (r *PeerDependenciesListResponse) GetItems() (value *PeerDependencyList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*PeerDependenciesListResponse) GetPage ¶
func (r *PeerDependenciesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*PeerDependenciesListResponse) GetSize ¶
func (r *PeerDependenciesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*PeerDependenciesListResponse) GetTotal ¶
func (r *PeerDependenciesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*PeerDependenciesListResponse) Header ¶
func (r *PeerDependenciesListResponse) Header() http.Header
Header returns header of the response.
func (*PeerDependenciesListResponse) Items ¶
func (r *PeerDependenciesListResponse) Items() *PeerDependencyList
Items returns the value of the 'items' parameter.
func (*PeerDependenciesListResponse) Page ¶
func (r *PeerDependenciesListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*PeerDependenciesListResponse) Size ¶
func (r *PeerDependenciesListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*PeerDependenciesListResponse) Status ¶
func (r *PeerDependenciesListResponse) Status() int
Status returns the response status code.
func (*PeerDependenciesListResponse) Total ¶
func (r *PeerDependenciesListResponse) Total() int
Total returns the value of the 'total' parameter.
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 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 iif 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
}
PeerDependencyBuilder contains the data and logic needed to build 'peer_dependency' objects.
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 PeerDependencyClient ¶
type PeerDependencyClient struct {
// contains filtered or unexported fields
}
PeerDependencyClient is the client of the 'peer_dependency' resource.
Provides detailed information about the specified peer dependency.
func NewPeerDependencyClient ¶
func NewPeerDependencyClient(transport http.RoundTripper, path string) *PeerDependencyClient
NewPeerDependencyClient creates a new client for the 'peer_dependency' resource using the given transport to send the requests and receive the responses.
func (*PeerDependencyClient) Delete ¶
func (c *PeerDependencyClient) Delete() *PeerDependencyDeleteRequest
Delete creates a request for the 'delete' method.
func (*PeerDependencyClient) Get ¶
func (c *PeerDependencyClient) Get() *PeerDependencyGetRequest
Get creates a request for the 'get' method.
func (*PeerDependencyClient) Poll ¶
func (c *PeerDependencyClient) Poll() *PeerDependencyPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*PeerDependencyClient) Update ¶
func (c *PeerDependencyClient) Update() *PeerDependencyUpdateRequest
Update creates a request for the 'update' method.
type PeerDependencyDeleteRequest ¶
type PeerDependencyDeleteRequest struct {
// contains filtered or unexported fields
}
PeerDependencyDeleteRequest is the request for the 'delete' method.
func (*PeerDependencyDeleteRequest) Header ¶
func (r *PeerDependencyDeleteRequest) Header(name string, value interface{}) *PeerDependencyDeleteRequest
Header adds a request header.
func (*PeerDependencyDeleteRequest) Impersonate ¶
func (r *PeerDependencyDeleteRequest) Impersonate(user string) *PeerDependencyDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*PeerDependencyDeleteRequest) Parameter ¶
func (r *PeerDependencyDeleteRequest) Parameter(name string, value interface{}) *PeerDependencyDeleteRequest
Parameter adds a query parameter.
func (*PeerDependencyDeleteRequest) Send ¶
func (r *PeerDependencyDeleteRequest) Send() (result *PeerDependencyDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*PeerDependencyDeleteRequest) SendContext ¶
func (r *PeerDependencyDeleteRequest) SendContext(ctx context.Context) (result *PeerDependencyDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PeerDependencyDeleteResponse ¶
type PeerDependencyDeleteResponse struct {
// contains filtered or unexported fields
}
PeerDependencyDeleteResponse is the response for the 'delete' method.
func (*PeerDependencyDeleteResponse) Error ¶
func (r *PeerDependencyDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*PeerDependencyDeleteResponse) Header ¶
func (r *PeerDependencyDeleteResponse) Header() http.Header
Header returns header of the response.
func (*PeerDependencyDeleteResponse) Status ¶
func (r *PeerDependencyDeleteResponse) Status() int
Status returns the response status code.
type PeerDependencyGetRequest ¶
type PeerDependencyGetRequest struct {
// contains filtered or unexported fields
}
PeerDependencyGetRequest is the request for the 'get' method.
func (*PeerDependencyGetRequest) Header ¶
func (r *PeerDependencyGetRequest) Header(name string, value interface{}) *PeerDependencyGetRequest
Header adds a request header.
func (*PeerDependencyGetRequest) Impersonate ¶
func (r *PeerDependencyGetRequest) Impersonate(user string) *PeerDependencyGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*PeerDependencyGetRequest) Parameter ¶
func (r *PeerDependencyGetRequest) Parameter(name string, value interface{}) *PeerDependencyGetRequest
Parameter adds a query parameter.
func (*PeerDependencyGetRequest) Send ¶
func (r *PeerDependencyGetRequest) Send() (result *PeerDependencyGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*PeerDependencyGetRequest) SendContext ¶
func (r *PeerDependencyGetRequest) SendContext(ctx context.Context) (result *PeerDependencyGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PeerDependencyGetResponse ¶
type PeerDependencyGetResponse struct {
// contains filtered or unexported fields
}
PeerDependencyGetResponse is the response for the 'get' method.
func (*PeerDependencyGetResponse) Body ¶
func (r *PeerDependencyGetResponse) Body() *Service
Body returns the value of the 'body' parameter.
func (*PeerDependencyGetResponse) Error ¶
func (r *PeerDependencyGetResponse) Error() *errors.Error
Error returns the response error.
func (*PeerDependencyGetResponse) GetBody ¶
func (r *PeerDependencyGetResponse) GetBody() (value *Service, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PeerDependencyGetResponse) Header ¶
func (r *PeerDependencyGetResponse) Header() http.Header
Header returns header of the response.
func (*PeerDependencyGetResponse) Status ¶
func (r *PeerDependencyGetResponse) Status() int
Status returns the response status code.
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) 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) 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 PeerDependencyPollRequest ¶
type PeerDependencyPollRequest struct {
// contains filtered or unexported fields
}
PeerDependencyPollRequest is the request for the Poll method.
func (*PeerDependencyPollRequest) Header ¶
func (r *PeerDependencyPollRequest) Header(name string, value interface{}) *PeerDependencyPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*PeerDependencyPollRequest) Interval ¶
func (r *PeerDependencyPollRequest) Interval(value time.Duration) *PeerDependencyPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*PeerDependencyPollRequest) Parameter ¶
func (r *PeerDependencyPollRequest) Parameter(name string, value interface{}) *PeerDependencyPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*PeerDependencyPollRequest) Predicate ¶
func (r *PeerDependencyPollRequest) Predicate(value func(*PeerDependencyGetResponse) bool) *PeerDependencyPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*PeerDependencyPollRequest) StartContext ¶
func (r *PeerDependencyPollRequest) StartContext(ctx context.Context) (response *PeerDependencyPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*PeerDependencyPollRequest) Status ¶
func (r *PeerDependencyPollRequest) Status(value int) *PeerDependencyPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type PeerDependencyPollResponse ¶
type PeerDependencyPollResponse struct {
// contains filtered or unexported fields
}
PeerDependencyPollResponse is the response for the Poll method.
func (*PeerDependencyPollResponse) Body ¶
func (r *PeerDependencyPollResponse) Body() *Service
Body returns the value of the 'body' parameter.
func (*PeerDependencyPollResponse) Error ¶
func (r *PeerDependencyPollResponse) Error() *errors.Error
Error returns the response error.
func (*PeerDependencyPollResponse) GetBody ¶
func (r *PeerDependencyPollResponse) GetBody() (value *Service, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PeerDependencyPollResponse) Header ¶
func (r *PeerDependencyPollResponse) Header() http.Header
Header returns header of the response.
func (*PeerDependencyPollResponse) Status ¶
func (r *PeerDependencyPollResponse) Status() int
Status returns the response status code.
type PeerDependencyUpdateRequest ¶
type PeerDependencyUpdateRequest struct {
// contains filtered or unexported fields
}
PeerDependencyUpdateRequest is the request for the 'update' method.
func (*PeerDependencyUpdateRequest) Body ¶
func (r *PeerDependencyUpdateRequest) Body(value *PeerDependency) *PeerDependencyUpdateRequest
Body sets the value of the 'body' parameter.
func (*PeerDependencyUpdateRequest) Header ¶
func (r *PeerDependencyUpdateRequest) Header(name string, value interface{}) *PeerDependencyUpdateRequest
Header adds a request header.
func (*PeerDependencyUpdateRequest) Impersonate ¶
func (r *PeerDependencyUpdateRequest) Impersonate(user string) *PeerDependencyUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*PeerDependencyUpdateRequest) Parameter ¶
func (r *PeerDependencyUpdateRequest) Parameter(name string, value interface{}) *PeerDependencyUpdateRequest
Parameter adds a query parameter.
func (*PeerDependencyUpdateRequest) Send ¶
func (r *PeerDependencyUpdateRequest) Send() (result *PeerDependencyUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*PeerDependencyUpdateRequest) SendContext ¶
func (r *PeerDependencyUpdateRequest) SendContext(ctx context.Context) (result *PeerDependencyUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type PeerDependencyUpdateResponse ¶
type PeerDependencyUpdateResponse struct {
// contains filtered or unexported fields
}
PeerDependencyUpdateResponse is the response for the 'update' method.
func (*PeerDependencyUpdateResponse) Body ¶
func (r *PeerDependencyUpdateResponse) Body() *PeerDependency
Body returns the value of the 'body' parameter.
func (*PeerDependencyUpdateResponse) Error ¶
func (r *PeerDependencyUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*PeerDependencyUpdateResponse) GetBody ¶
func (r *PeerDependencyUpdateResponse) GetBody() (value *PeerDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*PeerDependencyUpdateResponse) Header ¶
func (r *PeerDependencyUpdateResponse) Header() http.Header
Header returns header of the response.
func (*PeerDependencyUpdateResponse) Status ¶
func (r *PeerDependencyUpdateResponse) Status() int
Status returns the response status code.
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 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
}
ProductBuilder contains the data and logic needed to build 'product' objects.
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 ProductClient ¶
type ProductClient struct {
// contains filtered or unexported fields
}
ProductClient is the client of the 'product' resource.
Provides detailed information about a specific product.
func NewProductClient ¶
func NewProductClient(transport http.RoundTripper, path string) *ProductClient
NewProductClient creates a new client for the 'product' resource using the given transport to send the requests and receive the responses.
func (*ProductClient) Applications ¶
func (c *ProductClient) Applications() *ApplicationsClient
Applications returns the target 'applications' resource.
func (*ProductClient) Delete ¶
func (c *ProductClient) Delete() *ProductDeleteRequest
Delete creates a request for the 'delete' method.
func (*ProductClient) Get ¶
func (c *ProductClient) Get() *ProductGetRequest
Get creates a request for the 'get' method.
func (*ProductClient) Poll ¶
func (c *ProductClient) Poll() *ProductPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ProductClient) Update ¶
func (c *ProductClient) Update() *ProductUpdateRequest
Update creates a request for the 'update' method.
func (*ProductClient) Updates ¶
func (c *ProductClient) Updates() *StatusesClient
Updates returns the target 'statuses' resource.
type ProductDeleteRequest ¶
type ProductDeleteRequest struct {
// contains filtered or unexported fields
}
ProductDeleteRequest is the request for the 'delete' method.
func (*ProductDeleteRequest) Header ¶
func (r *ProductDeleteRequest) Header(name string, value interface{}) *ProductDeleteRequest
Header adds a request header.
func (*ProductDeleteRequest) Impersonate ¶
func (r *ProductDeleteRequest) Impersonate(user string) *ProductDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ProductDeleteRequest) Parameter ¶
func (r *ProductDeleteRequest) Parameter(name string, value interface{}) *ProductDeleteRequest
Parameter adds a query parameter.
func (*ProductDeleteRequest) Send ¶
func (r *ProductDeleteRequest) Send() (result *ProductDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductDeleteRequest) SendContext ¶
func (r *ProductDeleteRequest) SendContext(ctx context.Context) (result *ProductDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ProductDeleteResponse ¶
type ProductDeleteResponse struct {
// contains filtered or unexported fields
}
ProductDeleteResponse is the response for the 'delete' method.
func (*ProductDeleteResponse) Error ¶
func (r *ProductDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ProductDeleteResponse) Header ¶
func (r *ProductDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ProductDeleteResponse) Status ¶
func (r *ProductDeleteResponse) Status() int
Status returns the response status code.
type ProductGetRequest ¶
type ProductGetRequest struct {
// contains filtered or unexported fields
}
ProductGetRequest is the request for the 'get' method.
func (*ProductGetRequest) Header ¶
func (r *ProductGetRequest) Header(name string, value interface{}) *ProductGetRequest
Header adds a request header.
func (*ProductGetRequest) Impersonate ¶
func (r *ProductGetRequest) Impersonate(user string) *ProductGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ProductGetRequest) Parameter ¶
func (r *ProductGetRequest) Parameter(name string, value interface{}) *ProductGetRequest
Parameter adds a query parameter.
func (*ProductGetRequest) Send ¶
func (r *ProductGetRequest) Send() (result *ProductGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductGetRequest) SendContext ¶
func (r *ProductGetRequest) SendContext(ctx context.Context) (result *ProductGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ProductGetResponse ¶
type ProductGetResponse struct {
// contains filtered or unexported fields
}
ProductGetResponse is the response for the 'get' method.
func (*ProductGetResponse) Body ¶
func (r *ProductGetResponse) Body() *Product
Body returns the value of the 'body' parameter.
func (*ProductGetResponse) Error ¶
func (r *ProductGetResponse) Error() *errors.Error
Error returns the response error.
func (*ProductGetResponse) GetBody ¶
func (r *ProductGetResponse) GetBody() (value *Product, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProductGetResponse) Header ¶
func (r *ProductGetResponse) Header() http.Header
Header returns header of the response.
func (*ProductGetResponse) Status ¶
func (r *ProductGetResponse) Status() int
Status returns the response status code.
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) 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) 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 ProductPollRequest ¶
type ProductPollRequest struct {
// contains filtered or unexported fields
}
ProductPollRequest is the request for the Poll method.
func (*ProductPollRequest) Header ¶
func (r *ProductPollRequest) Header(name string, value interface{}) *ProductPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ProductPollRequest) Interval ¶
func (r *ProductPollRequest) Interval(value time.Duration) *ProductPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ProductPollRequest) Parameter ¶
func (r *ProductPollRequest) Parameter(name string, value interface{}) *ProductPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ProductPollRequest) Predicate ¶
func (r *ProductPollRequest) Predicate(value func(*ProductGetResponse) bool) *ProductPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ProductPollRequest) StartContext ¶
func (r *ProductPollRequest) StartContext(ctx context.Context) (response *ProductPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ProductPollRequest) Status ¶
func (r *ProductPollRequest) Status(value int) *ProductPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ProductPollResponse ¶
type ProductPollResponse struct {
// contains filtered or unexported fields
}
ProductPollResponse is the response for the Poll method.
func (*ProductPollResponse) Body ¶
func (r *ProductPollResponse) Body() *Product
Body returns the value of the 'body' parameter.
func (*ProductPollResponse) Error ¶
func (r *ProductPollResponse) Error() *errors.Error
Error returns the response error.
func (*ProductPollResponse) GetBody ¶
func (r *ProductPollResponse) GetBody() (value *Product, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProductPollResponse) Header ¶
func (r *ProductPollResponse) Header() http.Header
Header returns header of the response.
func (*ProductPollResponse) Status ¶
func (r *ProductPollResponse) Status() int
Status returns the response status code.
type ProductUpdateRequest ¶
type ProductUpdateRequest struct {
// contains filtered or unexported fields
}
ProductUpdateRequest is the request for the 'update' method.
func (*ProductUpdateRequest) Body ¶
func (r *ProductUpdateRequest) Body(value *Product) *ProductUpdateRequest
Body sets the value of the 'body' parameter.
func (*ProductUpdateRequest) Header ¶
func (r *ProductUpdateRequest) Header(name string, value interface{}) *ProductUpdateRequest
Header adds a request header.
func (*ProductUpdateRequest) Impersonate ¶
func (r *ProductUpdateRequest) Impersonate(user string) *ProductUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ProductUpdateRequest) Parameter ¶
func (r *ProductUpdateRequest) Parameter(name string, value interface{}) *ProductUpdateRequest
Parameter adds a query parameter.
func (*ProductUpdateRequest) Send ¶
func (r *ProductUpdateRequest) Send() (result *ProductUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductUpdateRequest) SendContext ¶
func (r *ProductUpdateRequest) SendContext(ctx context.Context) (result *ProductUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ProductUpdateResponse ¶
type ProductUpdateResponse struct {
// contains filtered or unexported fields
}
ProductUpdateResponse is the response for the 'update' method.
func (*ProductUpdateResponse) Body ¶
func (r *ProductUpdateResponse) Body() *Product
Body returns the value of the 'body' parameter.
func (*ProductUpdateResponse) Error ¶
func (r *ProductUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ProductUpdateResponse) GetBody ¶
func (r *ProductUpdateResponse) GetBody() (value *Product, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProductUpdateResponse) Header ¶
func (r *ProductUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ProductUpdateResponse) Status ¶
func (r *ProductUpdateResponse) Status() int
Status returns the response status code.
type ProductsAddRequest ¶
type ProductsAddRequest struct {
// contains filtered or unexported fields
}
ProductsAddRequest is the request for the 'add' method.
func (*ProductsAddRequest) Body ¶
func (r *ProductsAddRequest) Body(value *Product) *ProductsAddRequest
Body sets the value of the 'body' parameter.
func (*ProductsAddRequest) Header ¶
func (r *ProductsAddRequest) Header(name string, value interface{}) *ProductsAddRequest
Header adds a request header.
func (*ProductsAddRequest) Impersonate ¶
func (r *ProductsAddRequest) Impersonate(user string) *ProductsAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ProductsAddRequest) Parameter ¶
func (r *ProductsAddRequest) Parameter(name string, value interface{}) *ProductsAddRequest
Parameter adds a query parameter.
func (*ProductsAddRequest) Send ¶
func (r *ProductsAddRequest) Send() (result *ProductsAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductsAddRequest) SendContext ¶
func (r *ProductsAddRequest) SendContext(ctx context.Context) (result *ProductsAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ProductsAddResponse ¶
type ProductsAddResponse struct {
// contains filtered or unexported fields
}
ProductsAddResponse is the response for the 'add' method.
func (*ProductsAddResponse) Body ¶
func (r *ProductsAddResponse) Body() *Product
Body returns the value of the 'body' parameter.
func (*ProductsAddResponse) Error ¶
func (r *ProductsAddResponse) Error() *errors.Error
Error returns the response error.
func (*ProductsAddResponse) GetBody ¶
func (r *ProductsAddResponse) GetBody() (value *Product, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ProductsAddResponse) Header ¶
func (r *ProductsAddResponse) Header() http.Header
Header returns header of the response.
func (*ProductsAddResponse) Status ¶
func (r *ProductsAddResponse) Status() int
Status returns the response status code.
type ProductsClient ¶
type ProductsClient struct {
// contains filtered or unexported fields
}
ProductsClient is the client of the 'products' resource.
Manages the collection of products.
func NewProductsClient ¶
func NewProductsClient(transport http.RoundTripper, path string) *ProductsClient
NewProductsClient creates a new client for the 'products' resource using the given transport to send the requests and receive the responses.
func (*ProductsClient) Add ¶
func (c *ProductsClient) Add() *ProductsAddRequest
Add creates a request for the 'add' method.
func (*ProductsClient) List ¶
func (c *ProductsClient) List() *ProductsListRequest
List creates a request for the 'list' method.
Retrieves the list of products.
func (*ProductsClient) Product ¶
func (c *ProductsClient) Product(id string) *ProductClient
Product returns the target 'product' resource for the given identifier.
type ProductsListRequest ¶
type ProductsListRequest struct {
// contains filtered or unexported fields
}
ProductsListRequest is the request for the 'list' method.
func (*ProductsListRequest) Fullname ¶
func (r *ProductsListRequest) Fullname(value string) *ProductsListRequest
Fullname sets the value of the 'fullname' parameter.
func (*ProductsListRequest) Header ¶
func (r *ProductsListRequest) Header(name string, value interface{}) *ProductsListRequest
Header adds a request header.
func (*ProductsListRequest) Impersonate ¶
func (r *ProductsListRequest) Impersonate(user string) *ProductsListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ProductsListRequest) OrderBy ¶
func (r *ProductsListRequest) OrderBy(value string) *ProductsListRequest
OrderBy sets the value of the 'order_by' parameter.
func (*ProductsListRequest) Page ¶
func (r *ProductsListRequest) Page(value int) *ProductsListRequest
Page sets the value of the 'page' parameter.
func (*ProductsListRequest) Parameter ¶
func (r *ProductsListRequest) Parameter(name string, value interface{}) *ProductsListRequest
Parameter adds a query parameter.
func (*ProductsListRequest) Search ¶ added in v0.1.380
func (r *ProductsListRequest) Search(value string) *ProductsListRequest
Search sets the value of the 'search' parameter.
func (*ProductsListRequest) Send ¶
func (r *ProductsListRequest) Send() (result *ProductsListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ProductsListRequest) SendContext ¶
func (r *ProductsListRequest) SendContext(ctx context.Context) (result *ProductsListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ProductsListRequest) Size ¶
func (r *ProductsListRequest) Size(value int) *ProductsListRequest
Size sets the value of the 'size' parameter.
type ProductsListResponse ¶
type ProductsListResponse struct {
// contains filtered or unexported fields
}
ProductsListResponse is the response for the 'list' method.
func (*ProductsListResponse) Error ¶
func (r *ProductsListResponse) Error() *errors.Error
Error returns the response error.
func (*ProductsListResponse) GetItems ¶
func (r *ProductsListResponse) GetItems() (value *ProductList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*ProductsListResponse) GetPage ¶
func (r *ProductsListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*ProductsListResponse) GetSize ¶
func (r *ProductsListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*ProductsListResponse) GetTotal ¶
func (r *ProductsListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*ProductsListResponse) Header ¶
func (r *ProductsListResponse) Header() http.Header
Header returns header of the response.
func (*ProductsListResponse) Items ¶
func (r *ProductsListResponse) Items() *ProductList
Items returns the value of the 'items' parameter.
func (*ProductsListResponse) Page ¶
func (r *ProductsListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*ProductsListResponse) Size ¶
func (r *ProductsListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*ProductsListResponse) Status ¶
func (r *ProductsListResponse) Status() int
Status returns the response status code.
func (*ProductsListResponse) Total ¶
func (r *ProductsListResponse) Total() int
Total returns the value of the 'total' parameter.
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 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
}
ServiceBuilder contains the data and logic needed to build 'service' objects.
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 ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
ServiceClient is the client of the 'service' resource.
Provides detailed information about the specified service.
func NewServiceClient ¶
func NewServiceClient(transport http.RoundTripper, path string) *ServiceClient
NewServiceClient creates a new client for the 'service' resource using the given transport to send the requests and receive the responses.
func (*ServiceClient) Delete ¶
func (c *ServiceClient) Delete() *ServiceDeleteRequest
Delete creates a request for the 'delete' method.
func (*ServiceClient) Get ¶
func (c *ServiceClient) Get() *ServiceGetRequest
Get creates a request for the 'get' method.
func (*ServiceClient) Poll ¶
func (c *ServiceClient) Poll() *ServicePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ServiceClient) Statuses ¶
func (c *ServiceClient) Statuses() *StatusesClient
Statuses returns the target 'statuses' resource.
func (*ServiceClient) Update ¶
func (c *ServiceClient) Update() *ServiceUpdateRequest
Update creates a request for the 'update' method.
type ServiceDeleteRequest ¶
type ServiceDeleteRequest struct {
// contains filtered or unexported fields
}
ServiceDeleteRequest is the request for the 'delete' method.
func (*ServiceDeleteRequest) Header ¶
func (r *ServiceDeleteRequest) Header(name string, value interface{}) *ServiceDeleteRequest
Header adds a request header.
func (*ServiceDeleteRequest) Impersonate ¶
func (r *ServiceDeleteRequest) Impersonate(user string) *ServiceDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceDeleteRequest) Parameter ¶
func (r *ServiceDeleteRequest) Parameter(name string, value interface{}) *ServiceDeleteRequest
Parameter adds a query parameter.
func (*ServiceDeleteRequest) Send ¶
func (r *ServiceDeleteRequest) Send() (result *ServiceDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceDeleteRequest) SendContext ¶
func (r *ServiceDeleteRequest) SendContext(ctx context.Context) (result *ServiceDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceDeleteResponse ¶
type ServiceDeleteResponse struct {
// contains filtered or unexported fields
}
ServiceDeleteResponse is the response for the 'delete' method.
func (*ServiceDeleteResponse) Error ¶
func (r *ServiceDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDeleteResponse) Header ¶
func (r *ServiceDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDeleteResponse) Status ¶
func (r *ServiceDeleteResponse) Status() int
Status returns the response status code.
type ServiceDependenciesAddRequest ¶
type ServiceDependenciesAddRequest struct {
// contains filtered or unexported fields
}
ServiceDependenciesAddRequest is the request for the 'add' method.
func (*ServiceDependenciesAddRequest) Body ¶
func (r *ServiceDependenciesAddRequest) Body(value *ServiceDependency) *ServiceDependenciesAddRequest
Body sets the value of the 'body' parameter.
func (*ServiceDependenciesAddRequest) Header ¶
func (r *ServiceDependenciesAddRequest) Header(name string, value interface{}) *ServiceDependenciesAddRequest
Header adds a request header.
func (*ServiceDependenciesAddRequest) Impersonate ¶
func (r *ServiceDependenciesAddRequest) Impersonate(user string) *ServiceDependenciesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceDependenciesAddRequest) Parameter ¶
func (r *ServiceDependenciesAddRequest) Parameter(name string, value interface{}) *ServiceDependenciesAddRequest
Parameter adds a query parameter.
func (*ServiceDependenciesAddRequest) Send ¶
func (r *ServiceDependenciesAddRequest) Send() (result *ServiceDependenciesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceDependenciesAddRequest) SendContext ¶
func (r *ServiceDependenciesAddRequest) SendContext(ctx context.Context) (result *ServiceDependenciesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceDependenciesAddResponse ¶
type ServiceDependenciesAddResponse struct {
// contains filtered or unexported fields
}
ServiceDependenciesAddResponse is the response for the 'add' method.
func (*ServiceDependenciesAddResponse) Body ¶
func (r *ServiceDependenciesAddResponse) Body() *ServiceDependency
Body returns the value of the 'body' parameter.
func (*ServiceDependenciesAddResponse) Error ¶
func (r *ServiceDependenciesAddResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDependenciesAddResponse) GetBody ¶
func (r *ServiceDependenciesAddResponse) GetBody() (value *ServiceDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependenciesAddResponse) Header ¶
func (r *ServiceDependenciesAddResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDependenciesAddResponse) Status ¶
func (r *ServiceDependenciesAddResponse) Status() int
Status returns the response status code.
type ServiceDependenciesClient ¶
type ServiceDependenciesClient struct {
// contains filtered or unexported fields
}
ServiceDependenciesClient is the client of the 'service_dependencies' resource.
Manages the collection of service dependencies.
func NewServiceDependenciesClient ¶
func NewServiceDependenciesClient(transport http.RoundTripper, path string) *ServiceDependenciesClient
NewServiceDependenciesClient creates a new client for the 'service_dependencies' resource using the given transport to send the requests and receive the responses.
func (*ServiceDependenciesClient) Add ¶
func (c *ServiceDependenciesClient) Add() *ServiceDependenciesAddRequest
Add creates a request for the 'add' method.
func (*ServiceDependenciesClient) List ¶
func (c *ServiceDependenciesClient) List() *ServiceDependenciesListRequest
List creates a request for the 'list' method.
Retrieves the list of service dependencies.
func (*ServiceDependenciesClient) ServiceDependency ¶
func (c *ServiceDependenciesClient) ServiceDependency(id string) *ServiceDependencyClient
ServiceDependency returns the target 'service_dependency' resource for the given identifier.
type ServiceDependenciesListRequest ¶
type ServiceDependenciesListRequest struct {
// contains filtered or unexported fields
}
ServiceDependenciesListRequest is the request for the 'list' method.
func (*ServiceDependenciesListRequest) Header ¶
func (r *ServiceDependenciesListRequest) Header(name string, value interface{}) *ServiceDependenciesListRequest
Header adds a request header.
func (*ServiceDependenciesListRequest) Impersonate ¶
func (r *ServiceDependenciesListRequest) Impersonate(user string) *ServiceDependenciesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceDependenciesListRequest) OrderBy ¶
func (r *ServiceDependenciesListRequest) OrderBy(value string) *ServiceDependenciesListRequest
OrderBy sets the value of the 'order_by' parameter.
func (*ServiceDependenciesListRequest) Page ¶
func (r *ServiceDependenciesListRequest) Page(value int) *ServiceDependenciesListRequest
Page sets the value of the 'page' parameter.
func (*ServiceDependenciesListRequest) Parameter ¶
func (r *ServiceDependenciesListRequest) Parameter(name string, value interface{}) *ServiceDependenciesListRequest
Parameter adds a query parameter.
func (*ServiceDependenciesListRequest) Send ¶
func (r *ServiceDependenciesListRequest) Send() (result *ServiceDependenciesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceDependenciesListRequest) SendContext ¶
func (r *ServiceDependenciesListRequest) SendContext(ctx context.Context) (result *ServiceDependenciesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ServiceDependenciesListRequest) Size ¶
func (r *ServiceDependenciesListRequest) Size(value int) *ServiceDependenciesListRequest
Size sets the value of the 'size' parameter.
type ServiceDependenciesListResponse ¶
type ServiceDependenciesListResponse struct {
// contains filtered or unexported fields
}
ServiceDependenciesListResponse is the response for the 'list' method.
func (*ServiceDependenciesListResponse) Error ¶
func (r *ServiceDependenciesListResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDependenciesListResponse) GetItems ¶
func (r *ServiceDependenciesListResponse) GetItems() (value *ServiceDependencyList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependenciesListResponse) GetPage ¶
func (r *ServiceDependenciesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependenciesListResponse) GetSize ¶
func (r *ServiceDependenciesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependenciesListResponse) GetTotal ¶
func (r *ServiceDependenciesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependenciesListResponse) Header ¶
func (r *ServiceDependenciesListResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDependenciesListResponse) Items ¶
func (r *ServiceDependenciesListResponse) Items() *ServiceDependencyList
Items returns the value of the 'items' parameter.
func (*ServiceDependenciesListResponse) Page ¶
func (r *ServiceDependenciesListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*ServiceDependenciesListResponse) Size ¶
func (r *ServiceDependenciesListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*ServiceDependenciesListResponse) Status ¶
func (r *ServiceDependenciesListResponse) Status() int
Status returns the response status code.
func (*ServiceDependenciesListResponse) Total ¶
func (r *ServiceDependenciesListResponse) Total() int
Total returns the value of the 'total' parameter.
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 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 iif 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
}
ServiceDependencyBuilder contains the data and logic needed to build 'service_dependency' objects.
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 ServiceDependencyClient ¶
type ServiceDependencyClient struct {
// contains filtered or unexported fields
}
ServiceDependencyClient is the client of the 'service_dependency' resource.
Provides detailed information about the specified application dependency.
func NewServiceDependencyClient ¶
func NewServiceDependencyClient(transport http.RoundTripper, path string) *ServiceDependencyClient
NewServiceDependencyClient creates a new client for the 'service_dependency' resource using the given transport to send the requests and receive the responses.
func (*ServiceDependencyClient) Delete ¶
func (c *ServiceDependencyClient) Delete() *ServiceDependencyDeleteRequest
Delete creates a request for the 'delete' method.
func (*ServiceDependencyClient) Get ¶
func (c *ServiceDependencyClient) Get() *ServiceDependencyGetRequest
Get creates a request for the 'get' method.
func (*ServiceDependencyClient) Poll ¶
func (c *ServiceDependencyClient) Poll() *ServiceDependencyPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*ServiceDependencyClient) Update ¶
func (c *ServiceDependencyClient) Update() *ServiceDependencyUpdateRequest
Update creates a request for the 'update' method.
type ServiceDependencyDeleteRequest ¶
type ServiceDependencyDeleteRequest struct {
// contains filtered or unexported fields
}
ServiceDependencyDeleteRequest is the request for the 'delete' method.
func (*ServiceDependencyDeleteRequest) Header ¶
func (r *ServiceDependencyDeleteRequest) Header(name string, value interface{}) *ServiceDependencyDeleteRequest
Header adds a request header.
func (*ServiceDependencyDeleteRequest) Impersonate ¶
func (r *ServiceDependencyDeleteRequest) Impersonate(user string) *ServiceDependencyDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceDependencyDeleteRequest) Parameter ¶
func (r *ServiceDependencyDeleteRequest) Parameter(name string, value interface{}) *ServiceDependencyDeleteRequest
Parameter adds a query parameter.
func (*ServiceDependencyDeleteRequest) Send ¶
func (r *ServiceDependencyDeleteRequest) Send() (result *ServiceDependencyDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceDependencyDeleteRequest) SendContext ¶
func (r *ServiceDependencyDeleteRequest) SendContext(ctx context.Context) (result *ServiceDependencyDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceDependencyDeleteResponse ¶
type ServiceDependencyDeleteResponse struct {
// contains filtered or unexported fields
}
ServiceDependencyDeleteResponse is the response for the 'delete' method.
func (*ServiceDependencyDeleteResponse) Error ¶
func (r *ServiceDependencyDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDependencyDeleteResponse) Header ¶
func (r *ServiceDependencyDeleteResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDependencyDeleteResponse) Status ¶
func (r *ServiceDependencyDeleteResponse) Status() int
Status returns the response status code.
type ServiceDependencyGetRequest ¶
type ServiceDependencyGetRequest struct {
// contains filtered or unexported fields
}
ServiceDependencyGetRequest is the request for the 'get' method.
func (*ServiceDependencyGetRequest) Header ¶
func (r *ServiceDependencyGetRequest) Header(name string, value interface{}) *ServiceDependencyGetRequest
Header adds a request header.
func (*ServiceDependencyGetRequest) Impersonate ¶
func (r *ServiceDependencyGetRequest) Impersonate(user string) *ServiceDependencyGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceDependencyGetRequest) Parameter ¶
func (r *ServiceDependencyGetRequest) Parameter(name string, value interface{}) *ServiceDependencyGetRequest
Parameter adds a query parameter.
func (*ServiceDependencyGetRequest) Send ¶
func (r *ServiceDependencyGetRequest) Send() (result *ServiceDependencyGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceDependencyGetRequest) SendContext ¶
func (r *ServiceDependencyGetRequest) SendContext(ctx context.Context) (result *ServiceDependencyGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceDependencyGetResponse ¶
type ServiceDependencyGetResponse struct {
// contains filtered or unexported fields
}
ServiceDependencyGetResponse is the response for the 'get' method.
func (*ServiceDependencyGetResponse) Body ¶
func (r *ServiceDependencyGetResponse) Body() *ServiceDependency
Body returns the value of the 'body' parameter.
func (*ServiceDependencyGetResponse) Error ¶
func (r *ServiceDependencyGetResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDependencyGetResponse) GetBody ¶
func (r *ServiceDependencyGetResponse) GetBody() (value *ServiceDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependencyGetResponse) Header ¶
func (r *ServiceDependencyGetResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDependencyGetResponse) Status ¶
func (r *ServiceDependencyGetResponse) Status() int
Status returns the response status code.
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) 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) 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 ServiceDependencyPollRequest ¶
type ServiceDependencyPollRequest struct {
// contains filtered or unexported fields
}
ServiceDependencyPollRequest is the request for the Poll method.
func (*ServiceDependencyPollRequest) Header ¶
func (r *ServiceDependencyPollRequest) Header(name string, value interface{}) *ServiceDependencyPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ServiceDependencyPollRequest) Interval ¶
func (r *ServiceDependencyPollRequest) Interval(value time.Duration) *ServiceDependencyPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ServiceDependencyPollRequest) Parameter ¶
func (r *ServiceDependencyPollRequest) Parameter(name string, value interface{}) *ServiceDependencyPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ServiceDependencyPollRequest) Predicate ¶
func (r *ServiceDependencyPollRequest) Predicate(value func(*ServiceDependencyGetResponse) bool) *ServiceDependencyPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ServiceDependencyPollRequest) StartContext ¶
func (r *ServiceDependencyPollRequest) StartContext(ctx context.Context) (response *ServiceDependencyPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ServiceDependencyPollRequest) Status ¶
func (r *ServiceDependencyPollRequest) Status(value int) *ServiceDependencyPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ServiceDependencyPollResponse ¶
type ServiceDependencyPollResponse struct {
// contains filtered or unexported fields
}
ServiceDependencyPollResponse is the response for the Poll method.
func (*ServiceDependencyPollResponse) Body ¶
func (r *ServiceDependencyPollResponse) Body() *ServiceDependency
Body returns the value of the 'body' parameter.
func (*ServiceDependencyPollResponse) Error ¶
func (r *ServiceDependencyPollResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDependencyPollResponse) GetBody ¶
func (r *ServiceDependencyPollResponse) GetBody() (value *ServiceDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependencyPollResponse) Header ¶
func (r *ServiceDependencyPollResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDependencyPollResponse) Status ¶
func (r *ServiceDependencyPollResponse) Status() int
Status returns the response status code.
type ServiceDependencyUpdateRequest ¶
type ServiceDependencyUpdateRequest struct {
// contains filtered or unexported fields
}
ServiceDependencyUpdateRequest is the request for the 'update' method.
func (*ServiceDependencyUpdateRequest) Body ¶
func (r *ServiceDependencyUpdateRequest) Body(value *ServiceDependency) *ServiceDependencyUpdateRequest
Body sets the value of the 'body' parameter.
func (*ServiceDependencyUpdateRequest) Header ¶
func (r *ServiceDependencyUpdateRequest) Header(name string, value interface{}) *ServiceDependencyUpdateRequest
Header adds a request header.
func (*ServiceDependencyUpdateRequest) Impersonate ¶
func (r *ServiceDependencyUpdateRequest) Impersonate(user string) *ServiceDependencyUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceDependencyUpdateRequest) Parameter ¶
func (r *ServiceDependencyUpdateRequest) Parameter(name string, value interface{}) *ServiceDependencyUpdateRequest
Parameter adds a query parameter.
func (*ServiceDependencyUpdateRequest) Send ¶
func (r *ServiceDependencyUpdateRequest) Send() (result *ServiceDependencyUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceDependencyUpdateRequest) SendContext ¶
func (r *ServiceDependencyUpdateRequest) SendContext(ctx context.Context) (result *ServiceDependencyUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceDependencyUpdateResponse ¶
type ServiceDependencyUpdateResponse struct {
// contains filtered or unexported fields
}
ServiceDependencyUpdateResponse is the response for the 'update' method.
func (*ServiceDependencyUpdateResponse) Body ¶
func (r *ServiceDependencyUpdateResponse) Body() *ServiceDependency
Body returns the value of the 'body' parameter.
func (*ServiceDependencyUpdateResponse) Error ¶
func (r *ServiceDependencyUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceDependencyUpdateResponse) GetBody ¶
func (r *ServiceDependencyUpdateResponse) GetBody() (value *ServiceDependency, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceDependencyUpdateResponse) Header ¶
func (r *ServiceDependencyUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ServiceDependencyUpdateResponse) Status ¶
func (r *ServiceDependencyUpdateResponse) Status() int
Status returns the response status code.
type ServiceGetRequest ¶
type ServiceGetRequest struct {
// contains filtered or unexported fields
}
ServiceGetRequest is the request for the 'get' method.
func (*ServiceGetRequest) Header ¶
func (r *ServiceGetRequest) Header(name string, value interface{}) *ServiceGetRequest
Header adds a request header.
func (*ServiceGetRequest) Impersonate ¶
func (r *ServiceGetRequest) Impersonate(user string) *ServiceGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceGetRequest) Parameter ¶
func (r *ServiceGetRequest) Parameter(name string, value interface{}) *ServiceGetRequest
Parameter adds a query parameter.
func (*ServiceGetRequest) Send ¶
func (r *ServiceGetRequest) Send() (result *ServiceGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceGetRequest) SendContext ¶
func (r *ServiceGetRequest) SendContext(ctx context.Context) (result *ServiceGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceGetResponse ¶
type ServiceGetResponse struct {
// contains filtered or unexported fields
}
ServiceGetResponse is the response for the 'get' method.
func (*ServiceGetResponse) Body ¶
func (r *ServiceGetResponse) Body() *Service
Body returns the value of the 'body' parameter.
func (*ServiceGetResponse) Error ¶
func (r *ServiceGetResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceGetResponse) GetBody ¶
func (r *ServiceGetResponse) GetBody() (value *Service, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceGetResponse) Header ¶
func (r *ServiceGetResponse) Header() http.Header
Header returns header of the response.
func (*ServiceGetResponse) Status ¶
func (r *ServiceGetResponse) Status() int
Status returns the response status code.
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 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
}
ServiceInfoBuilder contains the data and logic needed to build 'service_info' objects.
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) 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) 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) 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) 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 ServicePollRequest ¶
type ServicePollRequest struct {
// contains filtered or unexported fields
}
ServicePollRequest is the request for the Poll method.
func (*ServicePollRequest) Header ¶
func (r *ServicePollRequest) Header(name string, value interface{}) *ServicePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*ServicePollRequest) Interval ¶
func (r *ServicePollRequest) Interval(value time.Duration) *ServicePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*ServicePollRequest) Parameter ¶
func (r *ServicePollRequest) Parameter(name string, value interface{}) *ServicePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*ServicePollRequest) Predicate ¶
func (r *ServicePollRequest) Predicate(value func(*ServiceGetResponse) bool) *ServicePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*ServicePollRequest) StartContext ¶
func (r *ServicePollRequest) StartContext(ctx context.Context) (response *ServicePollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*ServicePollRequest) Status ¶
func (r *ServicePollRequest) Status(value int) *ServicePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type ServicePollResponse ¶
type ServicePollResponse struct {
// contains filtered or unexported fields
}
ServicePollResponse is the response for the Poll method.
func (*ServicePollResponse) Body ¶
func (r *ServicePollResponse) Body() *Service
Body returns the value of the 'body' parameter.
func (*ServicePollResponse) Error ¶
func (r *ServicePollResponse) Error() *errors.Error
Error returns the response error.
func (*ServicePollResponse) GetBody ¶
func (r *ServicePollResponse) GetBody() (value *Service, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServicePollResponse) Header ¶
func (r *ServicePollResponse) Header() http.Header
Header returns header of the response.
func (*ServicePollResponse) Status ¶
func (r *ServicePollResponse) Status() int
Status returns the response status code.
type ServiceUpdateRequest ¶
type ServiceUpdateRequest struct {
// contains filtered or unexported fields
}
ServiceUpdateRequest is the request for the 'update' method.
func (*ServiceUpdateRequest) Body ¶
func (r *ServiceUpdateRequest) Body(value *Service) *ServiceUpdateRequest
Body sets the value of the 'body' parameter.
func (*ServiceUpdateRequest) Header ¶
func (r *ServiceUpdateRequest) Header(name string, value interface{}) *ServiceUpdateRequest
Header adds a request header.
func (*ServiceUpdateRequest) Impersonate ¶
func (r *ServiceUpdateRequest) Impersonate(user string) *ServiceUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServiceUpdateRequest) Parameter ¶
func (r *ServiceUpdateRequest) Parameter(name string, value interface{}) *ServiceUpdateRequest
Parameter adds a query parameter.
func (*ServiceUpdateRequest) Send ¶
func (r *ServiceUpdateRequest) Send() (result *ServiceUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServiceUpdateRequest) SendContext ¶
func (r *ServiceUpdateRequest) SendContext(ctx context.Context) (result *ServiceUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServiceUpdateResponse ¶
type ServiceUpdateResponse struct {
// contains filtered or unexported fields
}
ServiceUpdateResponse is the response for the 'update' method.
func (*ServiceUpdateResponse) Body ¶
func (r *ServiceUpdateResponse) Body() *Service
Body returns the value of the 'body' parameter.
func (*ServiceUpdateResponse) Error ¶
func (r *ServiceUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*ServiceUpdateResponse) GetBody ¶
func (r *ServiceUpdateResponse) GetBody() (value *Service, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServiceUpdateResponse) Header ¶
func (r *ServiceUpdateResponse) Header() http.Header
Header returns header of the response.
func (*ServiceUpdateResponse) Status ¶
func (r *ServiceUpdateResponse) Status() int
Status returns the response status code.
type ServicesAddRequest ¶
type ServicesAddRequest struct {
// contains filtered or unexported fields
}
ServicesAddRequest is the request for the 'add' method.
func (*ServicesAddRequest) Body ¶
func (r *ServicesAddRequest) Body(value *Service) *ServicesAddRequest
Body sets the value of the 'body' parameter.
func (*ServicesAddRequest) Header ¶
func (r *ServicesAddRequest) Header(name string, value interface{}) *ServicesAddRequest
Header adds a request header.
func (*ServicesAddRequest) Impersonate ¶
func (r *ServicesAddRequest) Impersonate(user string) *ServicesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServicesAddRequest) Parameter ¶
func (r *ServicesAddRequest) Parameter(name string, value interface{}) *ServicesAddRequest
Parameter adds a query parameter.
func (*ServicesAddRequest) Send ¶
func (r *ServicesAddRequest) Send() (result *ServicesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServicesAddRequest) SendContext ¶
func (r *ServicesAddRequest) SendContext(ctx context.Context) (result *ServicesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type ServicesAddResponse ¶
type ServicesAddResponse struct {
// contains filtered or unexported fields
}
ServicesAddResponse is the response for the 'add' method.
func (*ServicesAddResponse) Body ¶
func (r *ServicesAddResponse) Body() *Service
Body returns the value of the 'body' parameter.
func (*ServicesAddResponse) Error ¶
func (r *ServicesAddResponse) Error() *errors.Error
Error returns the response error.
func (*ServicesAddResponse) GetBody ¶
func (r *ServicesAddResponse) GetBody() (value *Service, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*ServicesAddResponse) Header ¶
func (r *ServicesAddResponse) Header() http.Header
Header returns header of the response.
func (*ServicesAddResponse) Status ¶
func (r *ServicesAddResponse) Status() int
Status returns the response status code.
type ServicesClient ¶
type ServicesClient struct {
// contains filtered or unexported fields
}
ServicesClient is the client of the 'services' resource.
Manages the collection of services.
func NewServicesClient ¶
func NewServicesClient(transport http.RoundTripper, path string) *ServicesClient
NewServicesClient creates a new client for the 'services' resource using the given transport to send the requests and receive the responses.
func (*ServicesClient) Add ¶
func (c *ServicesClient) Add() *ServicesAddRequest
Add creates a request for the 'add' method.
func (*ServicesClient) List ¶
func (c *ServicesClient) List() *ServicesListRequest
List creates a request for the 'list' method.
Retrieves the list of services.
func (*ServicesClient) Service ¶
func (c *ServicesClient) Service(id string) *ServiceClient
Service returns the target 'service' resource for the given identifier.
type ServicesListRequest ¶
type ServicesListRequest struct {
// contains filtered or unexported fields
}
ServicesListRequest is the request for the 'list' method.
func (*ServicesListRequest) Fullname ¶
func (r *ServicesListRequest) Fullname(value string) *ServicesListRequest
Fullname sets the value of the 'fullname' parameter.
func (*ServicesListRequest) Header ¶
func (r *ServicesListRequest) Header(name string, value interface{}) *ServicesListRequest
Header adds a request header.
func (*ServicesListRequest) Impersonate ¶
func (r *ServicesListRequest) Impersonate(user string) *ServicesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*ServicesListRequest) Mine ¶
func (r *ServicesListRequest) Mine(value bool) *ServicesListRequest
Mine sets the value of the 'mine' parameter.
func (*ServicesListRequest) OrderBy ¶
func (r *ServicesListRequest) OrderBy(value string) *ServicesListRequest
OrderBy sets the value of the 'order_by' parameter.
func (*ServicesListRequest) Page ¶
func (r *ServicesListRequest) Page(value int) *ServicesListRequest
Page sets the value of the 'page' parameter.
func (*ServicesListRequest) Parameter ¶
func (r *ServicesListRequest) Parameter(name string, value interface{}) *ServicesListRequest
Parameter adds a query parameter.
func (*ServicesListRequest) Search ¶ added in v0.1.380
func (r *ServicesListRequest) Search(value string) *ServicesListRequest
Search sets the value of the 'search' parameter.
func (*ServicesListRequest) Send ¶
func (r *ServicesListRequest) Send() (result *ServicesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*ServicesListRequest) SendContext ¶
func (r *ServicesListRequest) SendContext(ctx context.Context) (result *ServicesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*ServicesListRequest) Size ¶
func (r *ServicesListRequest) Size(value int) *ServicesListRequest
Size sets the value of the 'size' parameter.
type ServicesListResponse ¶
type ServicesListResponse struct {
// contains filtered or unexported fields
}
ServicesListResponse is the response for the 'list' method.
func (*ServicesListResponse) Error ¶
func (r *ServicesListResponse) Error() *errors.Error
Error returns the response error.
func (*ServicesListResponse) GetItems ¶
func (r *ServicesListResponse) GetItems() (value *ServiceList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*ServicesListResponse) GetPage ¶
func (r *ServicesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*ServicesListResponse) GetSize ¶
func (r *ServicesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*ServicesListResponse) GetTotal ¶
func (r *ServicesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*ServicesListResponse) Header ¶
func (r *ServicesListResponse) Header() http.Header
Header returns header of the response.
func (*ServicesListResponse) Items ¶
func (r *ServicesListResponse) Items() *ServiceList
Items returns the value of the 'items' parameter.
func (*ServicesListResponse) Page ¶
func (r *ServicesListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*ServicesListResponse) Size ¶
func (r *ServicesListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*ServicesListResponse) Status ¶
func (r *ServicesListResponse) Status() int
Status returns the response status code.
func (*ServicesListResponse) Total ¶
func (r *ServicesListResponse) Total() int
Total returns the value of the 'total' parameter.
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 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
}
StatusBuilder contains the data and logic needed to build 'status' objects.
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 StatusClient ¶
type StatusClient struct {
// contains filtered or unexported fields
}
StatusClient is the client of the 'status' resource.
Provides detailed information about the specified status.
func NewStatusClient ¶
func NewStatusClient(transport http.RoundTripper, path string) *StatusClient
NewStatusClient creates a new client for the 'status' resource using the given transport to send the requests and receive the responses.
func (*StatusClient) Delete ¶
func (c *StatusClient) Delete() *StatusDeleteRequest
Delete creates a request for the 'delete' method.
func (*StatusClient) Get ¶
func (c *StatusClient) Get() *StatusGetRequest
Get creates a request for the 'get' method.
func (*StatusClient) Poll ¶
func (c *StatusClient) Poll() *StatusPollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*StatusClient) Update ¶
func (c *StatusClient) Update() *StatusUpdateRequest
Update creates a request for the 'update' method.
type StatusDeleteRequest ¶
type StatusDeleteRequest struct {
// contains filtered or unexported fields
}
StatusDeleteRequest is the request for the 'delete' method.
func (*StatusDeleteRequest) Header ¶
func (r *StatusDeleteRequest) Header(name string, value interface{}) *StatusDeleteRequest
Header adds a request header.
func (*StatusDeleteRequest) Impersonate ¶
func (r *StatusDeleteRequest) Impersonate(user string) *StatusDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusDeleteRequest) Parameter ¶
func (r *StatusDeleteRequest) Parameter(name string, value interface{}) *StatusDeleteRequest
Parameter adds a query parameter.
func (*StatusDeleteRequest) Send ¶
func (r *StatusDeleteRequest) Send() (result *StatusDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusDeleteRequest) SendContext ¶
func (r *StatusDeleteRequest) SendContext(ctx context.Context) (result *StatusDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusDeleteResponse ¶
type StatusDeleteResponse struct {
// contains filtered or unexported fields
}
StatusDeleteResponse is the response for the 'delete' method.
func (*StatusDeleteResponse) Error ¶
func (r *StatusDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*StatusDeleteResponse) Header ¶
func (r *StatusDeleteResponse) Header() http.Header
Header returns header of the response.
func (*StatusDeleteResponse) Status ¶
func (r *StatusDeleteResponse) Status() int
Status returns the response status code.
type StatusGetRequest ¶
type StatusGetRequest struct {
// contains filtered or unexported fields
}
StatusGetRequest is the request for the 'get' method.
func (*StatusGetRequest) Header ¶
func (r *StatusGetRequest) Header(name string, value interface{}) *StatusGetRequest
Header adds a request header.
func (*StatusGetRequest) Impersonate ¶
func (r *StatusGetRequest) Impersonate(user string) *StatusGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusGetRequest) Parameter ¶
func (r *StatusGetRequest) Parameter(name string, value interface{}) *StatusGetRequest
Parameter adds a query parameter.
func (*StatusGetRequest) Send ¶
func (r *StatusGetRequest) Send() (result *StatusGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusGetRequest) SendContext ¶
func (r *StatusGetRequest) SendContext(ctx context.Context) (result *StatusGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusGetResponse ¶
type StatusGetResponse struct {
// contains filtered or unexported fields
}
StatusGetResponse is the response for the 'get' method.
func (*StatusGetResponse) Body ¶
func (r *StatusGetResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusGetResponse) Error ¶
func (r *StatusGetResponse) Error() *errors.Error
Error returns the response error.
func (*StatusGetResponse) GetBody ¶
func (r *StatusGetResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusGetResponse) Header ¶
func (r *StatusGetResponse) Header() http.Header
Header returns header of the response.
func (*StatusGetResponse) Status ¶
func (r *StatusGetResponse) Status() int
Status returns the response status code.
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) 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) 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 StatusPollRequest ¶
type StatusPollRequest struct {
// contains filtered or unexported fields
}
StatusPollRequest is the request for the Poll method.
func (*StatusPollRequest) Header ¶
func (r *StatusPollRequest) Header(name string, value interface{}) *StatusPollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*StatusPollRequest) Interval ¶
func (r *StatusPollRequest) Interval(value time.Duration) *StatusPollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*StatusPollRequest) Parameter ¶
func (r *StatusPollRequest) Parameter(name string, value interface{}) *StatusPollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*StatusPollRequest) Predicate ¶
func (r *StatusPollRequest) Predicate(value func(*StatusGetResponse) bool) *StatusPollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*StatusPollRequest) StartContext ¶
func (r *StatusPollRequest) StartContext(ctx context.Context) (response *StatusPollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*StatusPollRequest) Status ¶
func (r *StatusPollRequest) Status(value int) *StatusPollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type StatusPollResponse ¶
type StatusPollResponse struct {
// contains filtered or unexported fields
}
StatusPollResponse is the response for the Poll method.
func (*StatusPollResponse) Body ¶
func (r *StatusPollResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusPollResponse) Error ¶
func (r *StatusPollResponse) Error() *errors.Error
Error returns the response error.
func (*StatusPollResponse) GetBody ¶
func (r *StatusPollResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusPollResponse) Header ¶
func (r *StatusPollResponse) Header() http.Header
Header returns header of the response.
func (*StatusPollResponse) Status ¶
func (r *StatusPollResponse) Status() int
Status returns the response status code.
type StatusUpdate ¶
type StatusUpdate struct {
// contains filtered or unexported fields
}
StatusUpdate represents the values of the 'status_update' type.
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) Link ¶
func (o *StatusUpdate) Link() bool
Link returns true iif this is a link.
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
}
StatusUpdateBuilder contains the data and logic needed to build 'status_update' objects.
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 StatusUpdateClient ¶
type StatusUpdateClient struct {
// contains filtered or unexported fields
}
StatusUpdateClient is the client of the 'status_update' resource.
Provides detailed information about the specified status.
func NewStatusUpdateClient ¶
func NewStatusUpdateClient(transport http.RoundTripper, path string) *StatusUpdateClient
NewStatusUpdateClient creates a new client for the 'status_update' resource using the given transport to send the requests and receive the responses.
func (*StatusUpdateClient) Delete ¶
func (c *StatusUpdateClient) Delete() *StatusUpdateDeleteRequest
Delete creates a request for the 'delete' method.
func (*StatusUpdateClient) Get ¶
func (c *StatusUpdateClient) Get() *StatusUpdateGetRequest
Get creates a request for the 'get' method.
func (*StatusUpdateClient) Poll ¶
func (c *StatusUpdateClient) Poll() *StatusUpdatePollRequest
Poll creates a request to repeatedly retrieve the object till the response has one of a given set of states and satisfies a set of predicates.
func (*StatusUpdateClient) Update ¶
func (c *StatusUpdateClient) Update() *StatusUpdateUpdateRequest
Update creates a request for the 'update' method.
type StatusUpdateDeleteRequest ¶
type StatusUpdateDeleteRequest struct {
// contains filtered or unexported fields
}
StatusUpdateDeleteRequest is the request for the 'delete' method.
func (*StatusUpdateDeleteRequest) Header ¶
func (r *StatusUpdateDeleteRequest) Header(name string, value interface{}) *StatusUpdateDeleteRequest
Header adds a request header.
func (*StatusUpdateDeleteRequest) Impersonate ¶
func (r *StatusUpdateDeleteRequest) Impersonate(user string) *StatusUpdateDeleteRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusUpdateDeleteRequest) Parameter ¶
func (r *StatusUpdateDeleteRequest) Parameter(name string, value interface{}) *StatusUpdateDeleteRequest
Parameter adds a query parameter.
func (*StatusUpdateDeleteRequest) Send ¶
func (r *StatusUpdateDeleteRequest) Send() (result *StatusUpdateDeleteResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusUpdateDeleteRequest) SendContext ¶
func (r *StatusUpdateDeleteRequest) SendContext(ctx context.Context) (result *StatusUpdateDeleteResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusUpdateDeleteResponse ¶
type StatusUpdateDeleteResponse struct {
// contains filtered or unexported fields
}
StatusUpdateDeleteResponse is the response for the 'delete' method.
func (*StatusUpdateDeleteResponse) Error ¶
func (r *StatusUpdateDeleteResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdateDeleteResponse) Header ¶
func (r *StatusUpdateDeleteResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdateDeleteResponse) Status ¶
func (r *StatusUpdateDeleteResponse) Status() int
Status returns the response status code.
type StatusUpdateGetRequest ¶
type StatusUpdateGetRequest struct {
// contains filtered or unexported fields
}
StatusUpdateGetRequest is the request for the 'get' method.
func (*StatusUpdateGetRequest) Header ¶
func (r *StatusUpdateGetRequest) Header(name string, value interface{}) *StatusUpdateGetRequest
Header adds a request header.
func (*StatusUpdateGetRequest) Impersonate ¶
func (r *StatusUpdateGetRequest) Impersonate(user string) *StatusUpdateGetRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusUpdateGetRequest) Parameter ¶
func (r *StatusUpdateGetRequest) Parameter(name string, value interface{}) *StatusUpdateGetRequest
Parameter adds a query parameter.
func (*StatusUpdateGetRequest) Send ¶
func (r *StatusUpdateGetRequest) Send() (result *StatusUpdateGetResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusUpdateGetRequest) SendContext ¶
func (r *StatusUpdateGetRequest) SendContext(ctx context.Context) (result *StatusUpdateGetResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusUpdateGetResponse ¶
type StatusUpdateGetResponse struct {
// contains filtered or unexported fields
}
StatusUpdateGetResponse is the response for the 'get' method.
func (*StatusUpdateGetResponse) Body ¶
func (r *StatusUpdateGetResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusUpdateGetResponse) Error ¶
func (r *StatusUpdateGetResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdateGetResponse) GetBody ¶
func (r *StatusUpdateGetResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdateGetResponse) Header ¶
func (r *StatusUpdateGetResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdateGetResponse) Status ¶
func (r *StatusUpdateGetResponse) Status() int
Status returns the response status code.
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) 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) 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.
type StatusUpdatePollRequest ¶
type StatusUpdatePollRequest struct {
// contains filtered or unexported fields
}
StatusUpdatePollRequest is the request for the Poll method.
func (*StatusUpdatePollRequest) Header ¶
func (r *StatusUpdatePollRequest) Header(name string, value interface{}) *StatusUpdatePollRequest
Header adds a request header to all the requests that will be used to retrieve the object.
func (*StatusUpdatePollRequest) Interval ¶
func (r *StatusUpdatePollRequest) Interval(value time.Duration) *StatusUpdatePollRequest
Interval sets the polling interval. This parameter is mandatory and must be greater than zero.
func (*StatusUpdatePollRequest) Parameter ¶
func (r *StatusUpdatePollRequest) Parameter(name string, value interface{}) *StatusUpdatePollRequest
Parameter adds a query parameter to all the requests that will be used to retrieve the object.
func (*StatusUpdatePollRequest) Predicate ¶
func (r *StatusUpdatePollRequest) Predicate(value func(*StatusUpdateGetResponse) bool) *StatusUpdatePollRequest
Predicate adds a predicate that the response should satisfy be considered successful. Multiple predicates can be set calling this method multiple times. The response will be considered successful if all the predicates are satisfied.
func (*StatusUpdatePollRequest) StartContext ¶
func (r *StatusUpdatePollRequest) StartContext(ctx context.Context) (response *StatusUpdatePollResponse, err error)
StartContext starts the polling loop. Responses will be considered successful if the status is one of the values specified with the Status method and if all the predicates specified with the Predicate method return nil.
The context must have a timeout or deadline, otherwise this method will immediately return an error.
func (*StatusUpdatePollRequest) Status ¶
func (r *StatusUpdatePollRequest) Status(value int) *StatusUpdatePollRequest
Status set the expected status of the response. Multiple values can be set calling this method multiple times. The response will be considered successful if the status is any of those values.
type StatusUpdatePollResponse ¶
type StatusUpdatePollResponse struct {
// contains filtered or unexported fields
}
StatusUpdatePollResponse is the response for the Poll method.
func (*StatusUpdatePollResponse) Body ¶
func (r *StatusUpdatePollResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusUpdatePollResponse) Error ¶
func (r *StatusUpdatePollResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdatePollResponse) GetBody ¶
func (r *StatusUpdatePollResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdatePollResponse) Header ¶
func (r *StatusUpdatePollResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdatePollResponse) Status ¶
func (r *StatusUpdatePollResponse) Status() int
Status returns the response status code.
type StatusUpdateRequest ¶
type StatusUpdateRequest struct {
// contains filtered or unexported fields
}
StatusUpdateRequest is the request for the 'update' method.
func (*StatusUpdateRequest) Body ¶
func (r *StatusUpdateRequest) Body(value *Status) *StatusUpdateRequest
Body sets the value of the 'body' parameter.
func (*StatusUpdateRequest) Header ¶
func (r *StatusUpdateRequest) Header(name string, value interface{}) *StatusUpdateRequest
Header adds a request header.
func (*StatusUpdateRequest) Impersonate ¶
func (r *StatusUpdateRequest) Impersonate(user string) *StatusUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusUpdateRequest) Parameter ¶
func (r *StatusUpdateRequest) Parameter(name string, value interface{}) *StatusUpdateRequest
Parameter adds a query parameter.
func (*StatusUpdateRequest) Send ¶
func (r *StatusUpdateRequest) Send() (result *StatusUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusUpdateRequest) SendContext ¶
func (r *StatusUpdateRequest) SendContext(ctx context.Context) (result *StatusUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusUpdateResponse ¶
type StatusUpdateResponse struct {
// contains filtered or unexported fields
}
StatusUpdateResponse is the response for the 'update' method.
func (*StatusUpdateResponse) Body ¶
func (r *StatusUpdateResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusUpdateResponse) Error ¶
func (r *StatusUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdateResponse) GetBody ¶
func (r *StatusUpdateResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdateResponse) Header ¶
func (r *StatusUpdateResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdateResponse) Status ¶
func (r *StatusUpdateResponse) Status() int
Status returns the response status code.
type StatusUpdateUpdateRequest ¶
type StatusUpdateUpdateRequest struct {
// contains filtered or unexported fields
}
StatusUpdateUpdateRequest is the request for the 'update' method.
func (*StatusUpdateUpdateRequest) Body ¶
func (r *StatusUpdateUpdateRequest) Body(value *Status) *StatusUpdateUpdateRequest
Body sets the value of the 'body' parameter.
func (*StatusUpdateUpdateRequest) Header ¶
func (r *StatusUpdateUpdateRequest) Header(name string, value interface{}) *StatusUpdateUpdateRequest
Header adds a request header.
func (*StatusUpdateUpdateRequest) Impersonate ¶
func (r *StatusUpdateUpdateRequest) Impersonate(user string) *StatusUpdateUpdateRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusUpdateUpdateRequest) Parameter ¶
func (r *StatusUpdateUpdateRequest) Parameter(name string, value interface{}) *StatusUpdateUpdateRequest
Parameter adds a query parameter.
func (*StatusUpdateUpdateRequest) Send ¶
func (r *StatusUpdateUpdateRequest) Send() (result *StatusUpdateUpdateResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusUpdateUpdateRequest) SendContext ¶
func (r *StatusUpdateUpdateRequest) SendContext(ctx context.Context) (result *StatusUpdateUpdateResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusUpdateUpdateResponse ¶
type StatusUpdateUpdateResponse struct {
// contains filtered or unexported fields
}
StatusUpdateUpdateResponse is the response for the 'update' method.
func (*StatusUpdateUpdateResponse) Body ¶
func (r *StatusUpdateUpdateResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusUpdateUpdateResponse) Error ¶
func (r *StatusUpdateUpdateResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdateUpdateResponse) GetBody ¶
func (r *StatusUpdateUpdateResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdateUpdateResponse) Header ¶
func (r *StatusUpdateUpdateResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdateUpdateResponse) Status ¶
func (r *StatusUpdateUpdateResponse) Status() int
Status returns the response status code.
type StatusUpdatesAddRequest ¶
type StatusUpdatesAddRequest struct {
// contains filtered or unexported fields
}
StatusUpdatesAddRequest is the request for the 'add' method.
func (*StatusUpdatesAddRequest) Body ¶
func (r *StatusUpdatesAddRequest) Body(value *Status) *StatusUpdatesAddRequest
Body sets the value of the 'body' parameter.
func (*StatusUpdatesAddRequest) Header ¶
func (r *StatusUpdatesAddRequest) Header(name string, value interface{}) *StatusUpdatesAddRequest
Header adds a request header.
func (*StatusUpdatesAddRequest) Impersonate ¶
func (r *StatusUpdatesAddRequest) Impersonate(user string) *StatusUpdatesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusUpdatesAddRequest) Parameter ¶
func (r *StatusUpdatesAddRequest) Parameter(name string, value interface{}) *StatusUpdatesAddRequest
Parameter adds a query parameter.
func (*StatusUpdatesAddRequest) Send ¶
func (r *StatusUpdatesAddRequest) Send() (result *StatusUpdatesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusUpdatesAddRequest) SendContext ¶
func (r *StatusUpdatesAddRequest) SendContext(ctx context.Context) (result *StatusUpdatesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusUpdatesAddResponse ¶
type StatusUpdatesAddResponse struct {
// contains filtered or unexported fields
}
StatusUpdatesAddResponse is the response for the 'add' method.
func (*StatusUpdatesAddResponse) Body ¶
func (r *StatusUpdatesAddResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusUpdatesAddResponse) Error ¶
func (r *StatusUpdatesAddResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdatesAddResponse) GetBody ¶
func (r *StatusUpdatesAddResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdatesAddResponse) Header ¶
func (r *StatusUpdatesAddResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdatesAddResponse) Status ¶
func (r *StatusUpdatesAddResponse) Status() int
Status returns the response status code.
type StatusUpdatesClient ¶
type StatusUpdatesClient struct {
// contains filtered or unexported fields
}
StatusUpdatesClient is the client of the 'status_updates' resource.
Manages the collection of statuses
func NewStatusUpdatesClient ¶
func NewStatusUpdatesClient(transport http.RoundTripper, path string) *StatusUpdatesClient
NewStatusUpdatesClient creates a new client for the 'status_updates' resource using the given transport to send the requests and receive the responses.
func (*StatusUpdatesClient) Add ¶
func (c *StatusUpdatesClient) Add() *StatusUpdatesAddRequest
Add creates a request for the 'add' method.
func (*StatusUpdatesClient) List ¶
func (c *StatusUpdatesClient) List() *StatusUpdatesListRequest
List creates a request for the 'list' method.
Retrieves the list of statuses.
func (*StatusUpdatesClient) Status ¶
func (c *StatusUpdatesClient) Status(id string) *StatusClient
Status returns the target 'status' resource for the given identifier.
type StatusUpdatesListRequest ¶
type StatusUpdatesListRequest struct {
// contains filtered or unexported fields
}
StatusUpdatesListRequest is the request for the 'list' method.
func (*StatusUpdatesListRequest) CreatedAfter ¶
func (r *StatusUpdatesListRequest) CreatedAfter(value time.Time) *StatusUpdatesListRequest
CreatedAfter sets the value of the 'created_after' parameter.
func (*StatusUpdatesListRequest) CreatedBefore ¶
func (r *StatusUpdatesListRequest) CreatedBefore(value time.Time) *StatusUpdatesListRequest
CreatedBefore sets the value of the 'created_before' parameter.
func (*StatusUpdatesListRequest) FullNames ¶
func (r *StatusUpdatesListRequest) FullNames(value string) *StatusUpdatesListRequest
FullNames sets the value of the 'full_names' parameter.
func (*StatusUpdatesListRequest) Header ¶
func (r *StatusUpdatesListRequest) Header(name string, value interface{}) *StatusUpdatesListRequest
Header adds a request header.
func (*StatusUpdatesListRequest) Impersonate ¶
func (r *StatusUpdatesListRequest) Impersonate(user string) *StatusUpdatesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusUpdatesListRequest) LimitScope ¶
func (r *StatusUpdatesListRequest) LimitScope(value time.Time) *StatusUpdatesListRequest
LimitScope sets the value of the 'limit_scope' parameter.
func (*StatusUpdatesListRequest) Page ¶
func (r *StatusUpdatesListRequest) Page(value int) *StatusUpdatesListRequest
Page sets the value of the 'page' parameter.
func (*StatusUpdatesListRequest) Parameter ¶
func (r *StatusUpdatesListRequest) Parameter(name string, value interface{}) *StatusUpdatesListRequest
Parameter adds a query parameter.
func (*StatusUpdatesListRequest) ProductIds ¶
func (r *StatusUpdatesListRequest) ProductIds(value string) *StatusUpdatesListRequest
ProductIds sets the value of the 'product_ids' parameter.
func (*StatusUpdatesListRequest) Search ¶ added in v0.1.382
func (r *StatusUpdatesListRequest) Search(value string) *StatusUpdatesListRequest
Search sets the value of the 'search' parameter.
func (*StatusUpdatesListRequest) Send ¶
func (r *StatusUpdatesListRequest) Send() (result *StatusUpdatesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusUpdatesListRequest) SendContext ¶
func (r *StatusUpdatesListRequest) SendContext(ctx context.Context) (result *StatusUpdatesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*StatusUpdatesListRequest) Size ¶
func (r *StatusUpdatesListRequest) Size(value int) *StatusUpdatesListRequest
Size sets the value of the 'size' parameter.
type StatusUpdatesListResponse ¶
type StatusUpdatesListResponse struct {
// contains filtered or unexported fields
}
StatusUpdatesListResponse is the response for the 'list' method.
func (*StatusUpdatesListResponse) Error ¶
func (r *StatusUpdatesListResponse) Error() *errors.Error
Error returns the response error.
func (*StatusUpdatesListResponse) GetItems ¶
func (r *StatusUpdatesListResponse) GetItems() (value *StatusList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdatesListResponse) GetPage ¶
func (r *StatusUpdatesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdatesListResponse) GetSize ¶
func (r *StatusUpdatesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdatesListResponse) GetTotal ¶
func (r *StatusUpdatesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*StatusUpdatesListResponse) Header ¶
func (r *StatusUpdatesListResponse) Header() http.Header
Header returns header of the response.
func (*StatusUpdatesListResponse) Items ¶
func (r *StatusUpdatesListResponse) Items() *StatusList
Items returns the value of the 'items' parameter.
func (*StatusUpdatesListResponse) Page ¶
func (r *StatusUpdatesListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*StatusUpdatesListResponse) Size ¶
func (r *StatusUpdatesListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*StatusUpdatesListResponse) Status ¶
func (r *StatusUpdatesListResponse) Status() int
Status returns the response status code.
func (*StatusUpdatesListResponse) Total ¶
func (r *StatusUpdatesListResponse) Total() int
Total returns the value of the 'total' parameter.
type StatusesAddRequest ¶
type StatusesAddRequest struct {
// contains filtered or unexported fields
}
StatusesAddRequest is the request for the 'add' method.
func (*StatusesAddRequest) Body ¶
func (r *StatusesAddRequest) Body(value *Status) *StatusesAddRequest
Body sets the value of the 'body' parameter.
func (*StatusesAddRequest) Header ¶
func (r *StatusesAddRequest) Header(name string, value interface{}) *StatusesAddRequest
Header adds a request header.
func (*StatusesAddRequest) Impersonate ¶
func (r *StatusesAddRequest) Impersonate(user string) *StatusesAddRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusesAddRequest) Parameter ¶
func (r *StatusesAddRequest) Parameter(name string, value interface{}) *StatusesAddRequest
Parameter adds a query parameter.
func (*StatusesAddRequest) Send ¶
func (r *StatusesAddRequest) Send() (result *StatusesAddResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusesAddRequest) SendContext ¶
func (r *StatusesAddRequest) SendContext(ctx context.Context) (result *StatusesAddResponse, err error)
SendContext sends this request, waits for the response, and returns it.
type StatusesAddResponse ¶
type StatusesAddResponse struct {
// contains filtered or unexported fields
}
StatusesAddResponse is the response for the 'add' method.
func (*StatusesAddResponse) Body ¶
func (r *StatusesAddResponse) Body() *Status
Body returns the value of the 'body' parameter.
func (*StatusesAddResponse) Error ¶
func (r *StatusesAddResponse) Error() *errors.Error
Error returns the response error.
func (*StatusesAddResponse) GetBody ¶
func (r *StatusesAddResponse) GetBody() (value *Status, ok bool)
GetBody returns the value of the 'body' parameter and a flag indicating if the parameter has a value.
func (*StatusesAddResponse) Header ¶
func (r *StatusesAddResponse) Header() http.Header
Header returns header of the response.
func (*StatusesAddResponse) Status ¶
func (r *StatusesAddResponse) Status() int
Status returns the response status code.
type StatusesClient ¶
type StatusesClient struct {
// contains filtered or unexported fields
}
StatusesClient is the client of the 'statuses' resource.
Manages the collection of statuses
func NewStatusesClient ¶
func NewStatusesClient(transport http.RoundTripper, path string) *StatusesClient
NewStatusesClient creates a new client for the 'statuses' resource using the given transport to send the requests and receive the responses.
func (*StatusesClient) Add ¶
func (c *StatusesClient) Add() *StatusesAddRequest
Add creates a request for the 'add' method.
func (*StatusesClient) List ¶
func (c *StatusesClient) List() *StatusesListRequest
List creates a request for the 'list' method.
Retrieves the list of statuses.
func (*StatusesClient) Status ¶
func (c *StatusesClient) Status(id string) *StatusClient
Status returns the target 'status' resource for the given identifier.
type StatusesListRequest ¶
type StatusesListRequest struct {
// contains filtered or unexported fields
}
StatusesListRequest is the request for the 'list' method.
func (*StatusesListRequest) CreatedAfter ¶
func (r *StatusesListRequest) CreatedAfter(value time.Time) *StatusesListRequest
CreatedAfter sets the value of the 'created_after' parameter.
func (*StatusesListRequest) CreatedBefore ¶
func (r *StatusesListRequest) CreatedBefore(value time.Time) *StatusesListRequest
CreatedBefore sets the value of the 'created_before' parameter.
func (*StatusesListRequest) FullNames ¶
func (r *StatusesListRequest) FullNames(value string) *StatusesListRequest
FullNames sets the value of the 'full_names' parameter.
func (*StatusesListRequest) Header ¶
func (r *StatusesListRequest) Header(name string, value interface{}) *StatusesListRequest
Header adds a request header.
func (*StatusesListRequest) Impersonate ¶
func (r *StatusesListRequest) Impersonate(user string) *StatusesListRequest
Impersonate wraps requests on behalf of another user. Note: Services that do not support this feature may silently ignore this call.
func (*StatusesListRequest) LimitScope ¶
func (r *StatusesListRequest) LimitScope(value time.Time) *StatusesListRequest
LimitScope sets the value of the 'limit_scope' parameter.
func (*StatusesListRequest) Page ¶
func (r *StatusesListRequest) Page(value int) *StatusesListRequest
Page sets the value of the 'page' parameter.
func (*StatusesListRequest) Parameter ¶
func (r *StatusesListRequest) Parameter(name string, value interface{}) *StatusesListRequest
Parameter adds a query parameter.
func (*StatusesListRequest) ProductIds ¶
func (r *StatusesListRequest) ProductIds(value string) *StatusesListRequest
ProductIds sets the value of the 'product_ids' parameter.
func (*StatusesListRequest) Send ¶
func (r *StatusesListRequest) Send() (result *StatusesListResponse, err error)
Send sends this request, waits for the response, and returns it.
This is a potentially lengthy operation, as it requires network communication. Consider using a context and the SendContext method.
func (*StatusesListRequest) SendContext ¶
func (r *StatusesListRequest) SendContext(ctx context.Context) (result *StatusesListResponse, err error)
SendContext sends this request, waits for the response, and returns it.
func (*StatusesListRequest) Size ¶
func (r *StatusesListRequest) Size(value int) *StatusesListRequest
Size sets the value of the 'size' parameter.
type StatusesListResponse ¶
type StatusesListResponse struct {
// contains filtered or unexported fields
}
StatusesListResponse is the response for the 'list' method.
func (*StatusesListResponse) Error ¶
func (r *StatusesListResponse) Error() *errors.Error
Error returns the response error.
func (*StatusesListResponse) GetItems ¶
func (r *StatusesListResponse) GetItems() (value *StatusList, ok bool)
GetItems returns the value of the 'items' parameter and a flag indicating if the parameter has a value.
func (*StatusesListResponse) GetPage ¶
func (r *StatusesListResponse) GetPage() (value int, ok bool)
GetPage returns the value of the 'page' parameter and a flag indicating if the parameter has a value.
func (*StatusesListResponse) GetSize ¶
func (r *StatusesListResponse) GetSize() (value int, ok bool)
GetSize returns the value of the 'size' parameter and a flag indicating if the parameter has a value.
func (*StatusesListResponse) GetTotal ¶
func (r *StatusesListResponse) GetTotal() (value int, ok bool)
GetTotal returns the value of the 'total' parameter and a flag indicating if the parameter has a value.
func (*StatusesListResponse) Header ¶
func (r *StatusesListResponse) Header() http.Header
Header returns header of the response.
func (*StatusesListResponse) Items ¶
func (r *StatusesListResponse) Items() *StatusList
Items returns the value of the 'items' parameter.
func (*StatusesListResponse) Page ¶
func (r *StatusesListResponse) Page() int
Page returns the value of the 'page' parameter.
func (*StatusesListResponse) Size ¶
func (r *StatusesListResponse) Size() int
Size returns the value of the 'size' parameter.
func (*StatusesListResponse) Status ¶
func (r *StatusesListResponse) Status() int
Status returns the response status code.
func (*StatusesListResponse) Total ¶
func (r *StatusesListResponse) Total() int
Total returns the value of the 'total' parameter.
Source Files ¶
- application_builder.go
- application_client.go
- application_dependencies_client.go
- application_dependencies_resource_json.go
- application_dependency_builder.go
- application_dependency_client.go
- application_dependency_list_builder.go
- application_dependency_list_type_json.go
- application_dependency_resource_json.go
- application_dependency_type.go
- application_dependency_type_json.go
- application_list_builder.go
- application_list_type_json.go
- application_resource_json.go
- application_type.go
- application_type_json.go
- applications_client.go
- applications_resource_json.go
- boolean_list_type_json.go
- date_list_type_json.go
- error_builder.go
- error_client.go
- error_list_builder.go
- error_list_type_json.go
- error_resource_json.go
- error_type.go
- error_type_json.go
- errors.go
- errors_client.go
- errors_resource_json.go
- float_list_type_json.go
- integer_list_type_json.go
- interface_list_type_json.go
- long_list_type_json.go
- metadata_client.go
- metadata_reader.go
- metadata_type.go
- openapi.go
- owner_builder.go
- owner_list_builder.go
- owner_list_type_json.go
- owner_type.go
- owner_type_json.go
- peer_dependencies_client.go
- peer_dependencies_resource_json.go
- peer_dependency_builder.go
- peer_dependency_client.go
- peer_dependency_list_builder.go
- peer_dependency_list_type_json.go
- peer_dependency_resource_json.go
- peer_dependency_type.go
- peer_dependency_type_json.go
- product_builder.go
- product_client.go
- product_list_builder.go
- product_list_type_json.go
- product_resource_json.go
- product_type.go
- product_type_json.go
- products_client.go
- products_resource_json.go
- root_client.go
- root_resource_json.go
- service_builder.go
- service_client.go
- service_dependencies_client.go
- service_dependencies_resource_json.go
- service_dependency_builder.go
- service_dependency_client.go
- service_dependency_list_builder.go
- service_dependency_list_type_json.go
- service_dependency_resource_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_resource_json.go
- service_type.go
- service_type_json.go
- services_client.go
- services_resource_json.go
- status_builder.go
- status_client.go
- status_list_builder.go
- status_list_type_json.go
- status_resource_json.go
- status_type.go
- status_type_json.go
- status_update_builder.go
- status_update_client.go
- status_update_list_builder.go
- status_update_list_type_json.go
- status_update_resource_json.go
- status_update_type.go
- status_update_type_json.go
- status_updates_client.go
- status_updates_resource_json.go
- statuses_client.go
- statuses_resource_json.go
- string_list_type_json.go