Documentation ¶
Index ¶
- type Client
- type GetEventsBySTackIDOK
- type GetEventsBySTackIDParams
- func NewGetEventsBySTackIDParams() *GetEventsBySTackIDParams
- func NewGetEventsBySTackIDParamsWithContext(ctx context.Context) *GetEventsBySTackIDParams
- func NewGetEventsBySTackIDParamsWithHTTPClient(client *http.Client) *GetEventsBySTackIDParams
- func NewGetEventsBySTackIDParamsWithTimeout(timeout time.Duration) *GetEventsBySTackIDParams
- func (o *GetEventsBySTackIDParams) SetContext(ctx context.Context)
- func (o *GetEventsBySTackIDParams) SetHTTPClient(client *http.Client)
- func (o *GetEventsBySTackIDParams) SetStackID(stackID int64)
- func (o *GetEventsBySTackIDParams) SetTimeout(timeout time.Duration)
- func (o *GetEventsBySTackIDParams) WithContext(ctx context.Context) *GetEventsBySTackIDParams
- func (o *GetEventsBySTackIDParams) WithHTTPClient(client *http.Client) *GetEventsBySTackIDParams
- func (o *GetEventsBySTackIDParams) WithStackID(stackID int64) *GetEventsBySTackIDParams
- func (o *GetEventsBySTackIDParams) WithTimeout(timeout time.Duration) *GetEventsBySTackIDParams
- func (o *GetEventsBySTackIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventsBySTackIDReader
- type GetEventsOK
- type GetEventsParams
- func (o *GetEventsParams) SetContext(ctx context.Context)
- func (o *GetEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetEventsParams) SetSince(since *int64)
- func (o *GetEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetEventsParams) WithContext(ctx context.Context) *GetEventsParams
- func (o *GetEventsParams) WithHTTPClient(client *http.Client) *GetEventsParams
- func (o *GetEventsParams) WithSince(since *int64) *GetEventsParams
- func (o *GetEventsParams) WithTimeout(timeout time.Duration) *GetEventsParams
- func (o *GetEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEventsReader
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 ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
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
func (*Client) GetEventsBySTackID ¶
func (a *Client) GetEventsBySTackID(params *GetEventsBySTackIDParams) (*GetEventsBySTackIDOK, error)
GetEventsBySTackID retrieves events by stackid 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 ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetEventsBySTackIDOK ¶
type GetEventsBySTackIDOK struct {
Payload []*models_cloudbreak.CloudbreakEvent
}
GetEventsBySTackIDOK handles this case with default header values.
successful operation
func NewGetEventsBySTackIDOK ¶
func NewGetEventsBySTackIDOK() *GetEventsBySTackIDOK
NewGetEventsBySTackIDOK creates a GetEventsBySTackIDOK with default headers values
func (*GetEventsBySTackIDOK) Error ¶
func (o *GetEventsBySTackIDOK) Error() string
type GetEventsBySTackIDParams ¶
type GetEventsBySTackIDParams struct { /*StackID*/ StackID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEventsBySTackIDParams contains all the parameters to send to the API endpoint for the get events by s tack Id operation typically these are written to a http.Request
func NewGetEventsBySTackIDParams ¶
func NewGetEventsBySTackIDParams() *GetEventsBySTackIDParams
NewGetEventsBySTackIDParams creates a new GetEventsBySTackIDParams object with the default values initialized.
func NewGetEventsBySTackIDParamsWithContext ¶
func NewGetEventsBySTackIDParamsWithContext(ctx context.Context) *GetEventsBySTackIDParams
NewGetEventsBySTackIDParamsWithContext creates a new GetEventsBySTackIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetEventsBySTackIDParamsWithHTTPClient ¶
func NewGetEventsBySTackIDParamsWithHTTPClient(client *http.Client) *GetEventsBySTackIDParams
NewGetEventsBySTackIDParamsWithHTTPClient creates a new GetEventsBySTackIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEventsBySTackIDParamsWithTimeout ¶
func NewGetEventsBySTackIDParamsWithTimeout(timeout time.Duration) *GetEventsBySTackIDParams
NewGetEventsBySTackIDParamsWithTimeout creates a new GetEventsBySTackIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEventsBySTackIDParams) SetContext ¶
func (o *GetEventsBySTackIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get events by s tack Id params
func (*GetEventsBySTackIDParams) SetHTTPClient ¶
func (o *GetEventsBySTackIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get events by s tack Id params
func (*GetEventsBySTackIDParams) SetStackID ¶
func (o *GetEventsBySTackIDParams) SetStackID(stackID int64)
SetStackID adds the stackId to the get events by s tack Id params
func (*GetEventsBySTackIDParams) SetTimeout ¶
func (o *GetEventsBySTackIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get events by s tack Id params
func (*GetEventsBySTackIDParams) WithContext ¶
func (o *GetEventsBySTackIDParams) WithContext(ctx context.Context) *GetEventsBySTackIDParams
WithContext adds the context to the get events by s tack Id params
func (*GetEventsBySTackIDParams) WithHTTPClient ¶
func (o *GetEventsBySTackIDParams) WithHTTPClient(client *http.Client) *GetEventsBySTackIDParams
WithHTTPClient adds the HTTPClient to the get events by s tack Id params
func (*GetEventsBySTackIDParams) WithStackID ¶
func (o *GetEventsBySTackIDParams) WithStackID(stackID int64) *GetEventsBySTackIDParams
WithStackID adds the stackID to the get events by s tack Id params
func (*GetEventsBySTackIDParams) WithTimeout ¶
func (o *GetEventsBySTackIDParams) WithTimeout(timeout time.Duration) *GetEventsBySTackIDParams
WithTimeout adds the timeout to the get events by s tack Id params
func (*GetEventsBySTackIDParams) WriteToRequest ¶
func (o *GetEventsBySTackIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEventsBySTackIDReader ¶
type GetEventsBySTackIDReader struct {
// contains filtered or unexported fields
}
GetEventsBySTackIDReader is a Reader for the GetEventsBySTackID structure.
func (*GetEventsBySTackIDReader) ReadResponse ¶
func (o *GetEventsBySTackIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEventsOK ¶
type GetEventsOK struct {
Payload []*models_cloudbreak.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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
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 NewGetEventsParamsWithContext ¶
func NewGetEventsParamsWithContext(ctx context.Context) *GetEventsParams
NewGetEventsParamsWithContext creates a new GetEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetEventsParamsWithHTTPClient ¶
func NewGetEventsParamsWithHTTPClient(client *http.Client) *GetEventsParams
NewGetEventsParamsWithHTTPClient creates a new GetEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetEventsParamsWithTimeout ¶
func NewGetEventsParamsWithTimeout(timeout time.Duration) *GetEventsParams
NewGetEventsParamsWithTimeout creates a new GetEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetEventsParams) SetContext ¶
func (o *GetEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get events params
func (*GetEventsParams) SetHTTPClient ¶
func (o *GetEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get events params
func (*GetEventsParams) SetSince ¶
func (o *GetEventsParams) SetSince(since *int64)
SetSince adds the since to the get events params
func (*GetEventsParams) SetTimeout ¶
func (o *GetEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get events params
func (*GetEventsParams) WithContext ¶
func (o *GetEventsParams) WithContext(ctx context.Context) *GetEventsParams
WithContext adds the context to the get events params
func (*GetEventsParams) WithHTTPClient ¶
func (o *GetEventsParams) WithHTTPClient(client *http.Client) *GetEventsParams
WithHTTPClient adds the HTTPClient to the get events params
func (*GetEventsParams) WithSince ¶
func (o *GetEventsParams) WithSince(since *int64) *GetEventsParams
WithSince adds the since to the get events params
func (*GetEventsParams) WithTimeout ¶
func (o *GetEventsParams) WithTimeout(timeout time.Duration) *GetEventsParams
WithTimeout adds the timeout to the get events params
func (*GetEventsParams) WriteToRequest ¶
func (o *GetEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.