v1events

package
v2.7.0-dev.109+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

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 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

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

WithTimeout adds the timeout to the get events by s tack Id params

func (*GetEventsBySTackIDParams) WriteToRequest

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.StructuredEvent
}

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

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

WithStackID adds the stackID to the get structured events params

func (*GetStructuredEventsParams) WithTimeout

WithTimeout adds the timeout to the get structured events params

func (*GetStructuredEventsParams) WriteToRequest

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

Code gets the status code for the get structured events zip default response

func (*GetStructuredEventsZipDefault) Error

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

WithContext adds the context to the get structured events zip params

func (*GetStructuredEventsZipParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get structured events zip params

func (*GetStructuredEventsZipParams) WithStackID

WithStackID adds the stackID to the get structured events zip params

func (*GetStructuredEventsZipParams) WithTimeout

WithTimeout adds the timeout to the get structured events zip params

func (*GetStructuredEventsZipParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL