Documentation ¶
Index ¶
- type Client
- func (a *Client) GetEvents(params *GetEventsParams) (*GetEventsOK, error)
- func (a *Client) GetEventsBySTackID(params *GetEventsBySTackIDParams) (*GetEventsBySTackIDOK, error)
- func (a *Client) GetStructuredEvents(params *GetStructuredEventsParams) (*GetStructuredEventsOK, error)
- func (a *Client) GetStructuredEventsZip(params *GetStructuredEventsZipParams) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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
- type GetStructuredEventsOK
- type GetStructuredEventsParams
- func NewGetStructuredEventsParams() *GetStructuredEventsParams
- func NewGetStructuredEventsParamsWithContext(ctx context.Context) *GetStructuredEventsParams
- func NewGetStructuredEventsParamsWithHTTPClient(client *http.Client) *GetStructuredEventsParams
- func NewGetStructuredEventsParamsWithTimeout(timeout time.Duration) *GetStructuredEventsParams
- func (o *GetStructuredEventsParams) SetContext(ctx context.Context)
- func (o *GetStructuredEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetStructuredEventsParams) SetStackID(stackID int64)
- func (o *GetStructuredEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetStructuredEventsParams) WithContext(ctx context.Context) *GetStructuredEventsParams
- func (o *GetStructuredEventsParams) WithHTTPClient(client *http.Client) *GetStructuredEventsParams
- func (o *GetStructuredEventsParams) WithStackID(stackID int64) *GetStructuredEventsParams
- func (o *GetStructuredEventsParams) WithTimeout(timeout time.Duration) *GetStructuredEventsParams
- func (o *GetStructuredEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStructuredEventsReader
- type GetStructuredEventsZipDefault
- type GetStructuredEventsZipParams
- func NewGetStructuredEventsZipParams() *GetStructuredEventsZipParams
- func NewGetStructuredEventsZipParamsWithContext(ctx context.Context) *GetStructuredEventsZipParams
- func NewGetStructuredEventsZipParamsWithHTTPClient(client *http.Client) *GetStructuredEventsZipParams
- func NewGetStructuredEventsZipParamsWithTimeout(timeout time.Duration) *GetStructuredEventsZipParams
- func (o *GetStructuredEventsZipParams) SetContext(ctx context.Context)
- func (o *GetStructuredEventsZipParams) SetHTTPClient(client *http.Client)
- func (o *GetStructuredEventsZipParams) SetStackID(stackID int64)
- func (o *GetStructuredEventsZipParams) SetTimeout(timeout time.Duration)
- func (o *GetStructuredEventsZipParams) WithContext(ctx context.Context) *GetStructuredEventsZipParams
- func (o *GetStructuredEventsZipParams) WithHTTPClient(client *http.Client) *GetStructuredEventsZipParams
- func (o *GetStructuredEventsZipParams) WithStackID(stackID int64) *GetStructuredEventsZipParams
- func (o *GetStructuredEventsZipParams) WithTimeout(timeout time.Duration) *GetStructuredEventsZipParams
- func (o *GetStructuredEventsZipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStructuredEventsZipReader
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 v1events API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1events 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) GetStructuredEvents ¶
func (a *Client) GetStructuredEvents(params *GetStructuredEventsParams) (*GetStructuredEventsOK, error)
GetStructuredEvents get structured events API
func (*Client) GetStructuredEventsZip ¶
func (a *Client) GetStructuredEventsZip(params *GetStructuredEventsZipParams) error
GetStructuredEventsZip get structured events zip API
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.
type GetStructuredEventsOK ¶
type GetStructuredEventsOK struct {
Payload *models_cloudbreak.StructuredEventContainer
}
GetStructuredEventsOK handles this case with default header values.
successful operation
func NewGetStructuredEventsOK ¶
func NewGetStructuredEventsOK() *GetStructuredEventsOK
NewGetStructuredEventsOK creates a GetStructuredEventsOK with default headers values
func (*GetStructuredEventsOK) Error ¶
func (o *GetStructuredEventsOK) Error() string
type GetStructuredEventsParams ¶
type GetStructuredEventsParams struct { /*StackID*/ StackID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStructuredEventsParams contains all the parameters to send to the API endpoint for the get structured events operation typically these are written to a http.Request
func NewGetStructuredEventsParams ¶
func NewGetStructuredEventsParams() *GetStructuredEventsParams
NewGetStructuredEventsParams creates a new GetStructuredEventsParams object with the default values initialized.
func NewGetStructuredEventsParamsWithContext ¶
func NewGetStructuredEventsParamsWithContext(ctx context.Context) *GetStructuredEventsParams
NewGetStructuredEventsParamsWithContext creates a new GetStructuredEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetStructuredEventsParamsWithHTTPClient ¶
func NewGetStructuredEventsParamsWithHTTPClient(client *http.Client) *GetStructuredEventsParams
NewGetStructuredEventsParamsWithHTTPClient creates a new GetStructuredEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStructuredEventsParamsWithTimeout ¶
func NewGetStructuredEventsParamsWithTimeout(timeout time.Duration) *GetStructuredEventsParams
NewGetStructuredEventsParamsWithTimeout creates a new GetStructuredEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStructuredEventsParams) SetContext ¶
func (o *GetStructuredEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get structured events params
func (*GetStructuredEventsParams) SetHTTPClient ¶
func (o *GetStructuredEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get structured events params
func (*GetStructuredEventsParams) SetStackID ¶
func (o *GetStructuredEventsParams) SetStackID(stackID int64)
SetStackID adds the stackId to the get structured events params
func (*GetStructuredEventsParams) SetTimeout ¶
func (o *GetStructuredEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get structured events params
func (*GetStructuredEventsParams) WithContext ¶
func (o *GetStructuredEventsParams) WithContext(ctx context.Context) *GetStructuredEventsParams
WithContext adds the context to the get structured events params
func (*GetStructuredEventsParams) WithHTTPClient ¶
func (o *GetStructuredEventsParams) WithHTTPClient(client *http.Client) *GetStructuredEventsParams
WithHTTPClient adds the HTTPClient to the get structured events params
func (*GetStructuredEventsParams) WithStackID ¶
func (o *GetStructuredEventsParams) WithStackID(stackID int64) *GetStructuredEventsParams
WithStackID adds the stackID to the get structured events params
func (*GetStructuredEventsParams) WithTimeout ¶
func (o *GetStructuredEventsParams) WithTimeout(timeout time.Duration) *GetStructuredEventsParams
WithTimeout adds the timeout to the get structured events params
func (*GetStructuredEventsParams) WriteToRequest ¶
func (o *GetStructuredEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStructuredEventsReader ¶
type GetStructuredEventsReader struct {
// contains filtered or unexported fields
}
GetStructuredEventsReader is a Reader for the GetStructuredEvents structure.
func (*GetStructuredEventsReader) ReadResponse ¶
func (o *GetStructuredEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetStructuredEventsZipDefault ¶
type GetStructuredEventsZipDefault struct {
// contains filtered or unexported fields
}
GetStructuredEventsZipDefault handles this case with default header values.
successful operation
func NewGetStructuredEventsZipDefault ¶
func NewGetStructuredEventsZipDefault(code int) *GetStructuredEventsZipDefault
NewGetStructuredEventsZipDefault creates a GetStructuredEventsZipDefault with default headers values
func (*GetStructuredEventsZipDefault) Code ¶
func (o *GetStructuredEventsZipDefault) Code() int
Code gets the status code for the get structured events zip default response
func (*GetStructuredEventsZipDefault) Error ¶
func (o *GetStructuredEventsZipDefault) Error() string
type GetStructuredEventsZipParams ¶
type GetStructuredEventsZipParams struct { /*StackID*/ StackID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetStructuredEventsZipParams contains all the parameters to send to the API endpoint for the get structured events zip operation typically these are written to a http.Request
func NewGetStructuredEventsZipParams ¶
func NewGetStructuredEventsZipParams() *GetStructuredEventsZipParams
NewGetStructuredEventsZipParams creates a new GetStructuredEventsZipParams object with the default values initialized.
func NewGetStructuredEventsZipParamsWithContext ¶
func NewGetStructuredEventsZipParamsWithContext(ctx context.Context) *GetStructuredEventsZipParams
NewGetStructuredEventsZipParamsWithContext creates a new GetStructuredEventsZipParams object with the default values initialized, and the ability to set a context for a request
func NewGetStructuredEventsZipParamsWithHTTPClient ¶
func NewGetStructuredEventsZipParamsWithHTTPClient(client *http.Client) *GetStructuredEventsZipParams
NewGetStructuredEventsZipParamsWithHTTPClient creates a new GetStructuredEventsZipParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetStructuredEventsZipParamsWithTimeout ¶
func NewGetStructuredEventsZipParamsWithTimeout(timeout time.Duration) *GetStructuredEventsZipParams
NewGetStructuredEventsZipParamsWithTimeout creates a new GetStructuredEventsZipParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetStructuredEventsZipParams) SetContext ¶
func (o *GetStructuredEventsZipParams) SetContext(ctx context.Context)
SetContext adds the context to the get structured events zip params
func (*GetStructuredEventsZipParams) SetHTTPClient ¶
func (o *GetStructuredEventsZipParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get structured events zip params
func (*GetStructuredEventsZipParams) SetStackID ¶
func (o *GetStructuredEventsZipParams) SetStackID(stackID int64)
SetStackID adds the stackId to the get structured events zip params
func (*GetStructuredEventsZipParams) SetTimeout ¶
func (o *GetStructuredEventsZipParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get structured events zip params
func (*GetStructuredEventsZipParams) WithContext ¶
func (o *GetStructuredEventsZipParams) WithContext(ctx context.Context) *GetStructuredEventsZipParams
WithContext adds the context to the get structured events zip params
func (*GetStructuredEventsZipParams) WithHTTPClient ¶
func (o *GetStructuredEventsZipParams) WithHTTPClient(client *http.Client) *GetStructuredEventsZipParams
WithHTTPClient adds the HTTPClient to the get structured events zip params
func (*GetStructuredEventsZipParams) WithStackID ¶
func (o *GetStructuredEventsZipParams) WithStackID(stackID int64) *GetStructuredEventsZipParams
WithStackID adds the stackID to the get structured events zip params
func (*GetStructuredEventsZipParams) WithTimeout ¶
func (o *GetStructuredEventsZipParams) WithTimeout(timeout time.Duration) *GetStructuredEventsZipParams
WithTimeout adds the timeout to the get structured events zip params
func (*GetStructuredEventsZipParams) WriteToRequest ¶
func (o *GetStructuredEventsZipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetStructuredEventsZipReader ¶
type GetStructuredEventsZipReader struct {
// contains filtered or unexported fields
}
GetStructuredEventsZipReader is a Reader for the GetStructuredEventsZip structure.
func (*GetStructuredEventsZipReader) ReadResponse ¶
func (o *GetStructuredEventsZipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.