Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for events API
func New ¶
New creates a new events API client.
func (*Client) GetEvents ¶
func (a *Client) GetEvents(params *GetEventsParams) (*GetEventsOK, error)
GetEvents retrieves events by timestamp long
Events are used to track stack creation initiated by cloudbreak users. Events are generated by the backend when resources requested by the user become available or unavailable
type GetEventsOK ¶
type GetEventsOK struct {
Payload []*models.CloudbreakEvent
}
GetEventsOK handles this case with default header values.
successful operation
func NewGetEventsOK ¶
func NewGetEventsOK() *GetEventsOK
NewGetEventsOK creates a GetEventsOK with default headers values
func (*GetEventsOK) Error ¶
func (o *GetEventsOK) Error() string
type GetEventsParams ¶
type GetEventsParams struct {
/*Since*/
Since *int64
}
GetEventsParams contains all the parameters to send to the API endpoint for the get events operation typically these are written to a http.Request
func NewGetEventsParams ¶
func NewGetEventsParams() *GetEventsParams
NewGetEventsParams creates a new GetEventsParams object with the default values initialized.
func (*GetEventsParams) WithSince ¶
func (o *GetEventsParams) WithSince(since *int64) *GetEventsParams
WithSince adds the since to the get events params
type GetEventsReader ¶
type GetEventsReader struct {
// contains filtered or unexported fields
}
GetEventsReader is a Reader for the GetEvents structure.
Source Files
¶
- events_client.go
- get_events_parameters.go
- get_events_responses.go