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 (*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
func (*Client) SetTransport ¶
SetTransport changes the transport on the client
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
func (*GetEventsParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetEventsReader ¶
type GetEventsReader struct {
// contains filtered or unexported fields
}
GetEventsReader is a Reader for the GetEvents structure.
func (*GetEventsReader) ReadResponse ¶
func (o *GetEventsReader) ReadResponse(response client.Response, consumer httpkit.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.