v3_workspace_id_events

package
v2.8.1-rc.27+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 v3 workspace id events API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v3 workspace id events API client.

func (*Client) GetEventsByStackIDInWorkspace

func (a *Client) GetEventsByStackIDInWorkspace(params *GetEventsByStackIDInWorkspaceParams) (*GetEventsByStackIDInWorkspaceOK, error)

GetEventsByStackIDInWorkspace retrieves events by name

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

func (a *Client) GetEventsInWorkspace(params *GetEventsInWorkspaceParams) (*GetEventsInWorkspaceOK, error)

GetEventsInWorkspace 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) GetStructuredEventsInWorkspace

func (a *Client) GetStructuredEventsInWorkspace(params *GetStructuredEventsInWorkspaceParams) (*GetStructuredEventsInWorkspaceOK, error)

GetStructuredEventsInWorkspace retrieves events by name

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

func (a *Client) GetStructuredEventsZipInWorkspace(params *GetStructuredEventsZipInWorkspaceParams) error

GetStructuredEventsZipInWorkspace retrieves events in zip by name

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 GetEventsByStackIDInWorkspaceOK

type GetEventsByStackIDInWorkspaceOK struct {
	Payload []*models_cloudbreak.CloudbreakEvent
}

GetEventsByStackIDInWorkspaceOK handles this case with default header values.

successful operation

func NewGetEventsByStackIDInWorkspaceOK

func NewGetEventsByStackIDInWorkspaceOK() *GetEventsByStackIDInWorkspaceOK

NewGetEventsByStackIDInWorkspaceOK creates a GetEventsByStackIDInWorkspaceOK with default headers values

func (*GetEventsByStackIDInWorkspaceOK) Error

type GetEventsByStackIDInWorkspaceParams

type GetEventsByStackIDInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEventsByStackIDInWorkspaceParams contains all the parameters to send to the API endpoint for the get events by stack Id in workspace operation typically these are written to a http.Request

func NewGetEventsByStackIDInWorkspaceParams

func NewGetEventsByStackIDInWorkspaceParams() *GetEventsByStackIDInWorkspaceParams

NewGetEventsByStackIDInWorkspaceParams creates a new GetEventsByStackIDInWorkspaceParams object with the default values initialized.

func NewGetEventsByStackIDInWorkspaceParamsWithContext

func NewGetEventsByStackIDInWorkspaceParamsWithContext(ctx context.Context) *GetEventsByStackIDInWorkspaceParams

NewGetEventsByStackIDInWorkspaceParamsWithContext creates a new GetEventsByStackIDInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetEventsByStackIDInWorkspaceParamsWithHTTPClient

func NewGetEventsByStackIDInWorkspaceParamsWithHTTPClient(client *http.Client) *GetEventsByStackIDInWorkspaceParams

NewGetEventsByStackIDInWorkspaceParamsWithHTTPClient creates a new GetEventsByStackIDInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetEventsByStackIDInWorkspaceParamsWithTimeout

func NewGetEventsByStackIDInWorkspaceParamsWithTimeout(timeout time.Duration) *GetEventsByStackIDInWorkspaceParams

NewGetEventsByStackIDInWorkspaceParamsWithTimeout creates a new GetEventsByStackIDInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetEventsByStackIDInWorkspaceParams) SetContext

SetContext adds the context to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) SetHTTPClient

func (o *GetEventsByStackIDInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) SetName

SetName adds the name to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) SetTimeout

func (o *GetEventsByStackIDInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) SetWorkspaceID

func (o *GetEventsByStackIDInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) WithContext

WithContext adds the context to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) WithName

WithName adds the name to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get events by stack Id in workspace params

func (*GetEventsByStackIDInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventsByStackIDInWorkspaceReader

type GetEventsByStackIDInWorkspaceReader struct {
	// contains filtered or unexported fields
}

GetEventsByStackIDInWorkspaceReader is a Reader for the GetEventsByStackIDInWorkspace structure.

func (*GetEventsByStackIDInWorkspaceReader) ReadResponse

func (o *GetEventsByStackIDInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetEventsInWorkspaceOK

type GetEventsInWorkspaceOK struct {
	Payload []*models_cloudbreak.CloudbreakEvent
}

GetEventsInWorkspaceOK handles this case with default header values.

successful operation

func NewGetEventsInWorkspaceOK

func NewGetEventsInWorkspaceOK() *GetEventsInWorkspaceOK

NewGetEventsInWorkspaceOK creates a GetEventsInWorkspaceOK with default headers values

func (*GetEventsInWorkspaceOK) Error

func (o *GetEventsInWorkspaceOK) Error() string

type GetEventsInWorkspaceParams

type GetEventsInWorkspaceParams struct {

	/*Since*/
	Since *int64
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetEventsInWorkspaceParams contains all the parameters to send to the API endpoint for the get events in workspace operation typically these are written to a http.Request

func NewGetEventsInWorkspaceParams

func NewGetEventsInWorkspaceParams() *GetEventsInWorkspaceParams

NewGetEventsInWorkspaceParams creates a new GetEventsInWorkspaceParams object with the default values initialized.

func NewGetEventsInWorkspaceParamsWithContext

func NewGetEventsInWorkspaceParamsWithContext(ctx context.Context) *GetEventsInWorkspaceParams

NewGetEventsInWorkspaceParamsWithContext creates a new GetEventsInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetEventsInWorkspaceParamsWithHTTPClient

func NewGetEventsInWorkspaceParamsWithHTTPClient(client *http.Client) *GetEventsInWorkspaceParams

NewGetEventsInWorkspaceParamsWithHTTPClient creates a new GetEventsInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetEventsInWorkspaceParamsWithTimeout

func NewGetEventsInWorkspaceParamsWithTimeout(timeout time.Duration) *GetEventsInWorkspaceParams

NewGetEventsInWorkspaceParamsWithTimeout creates a new GetEventsInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetEventsInWorkspaceParams) SetContext

func (o *GetEventsInWorkspaceParams) SetContext(ctx context.Context)

SetContext adds the context to the get events in workspace params

func (*GetEventsInWorkspaceParams) SetHTTPClient

func (o *GetEventsInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get events in workspace params

func (*GetEventsInWorkspaceParams) SetSince

func (o *GetEventsInWorkspaceParams) SetSince(since *int64)

SetSince adds the since to the get events in workspace params

func (*GetEventsInWorkspaceParams) SetTimeout

func (o *GetEventsInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get events in workspace params

func (*GetEventsInWorkspaceParams) SetWorkspaceID

func (o *GetEventsInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get events in workspace params

func (*GetEventsInWorkspaceParams) WithContext

WithContext adds the context to the get events in workspace params

func (*GetEventsInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get events in workspace params

func (*GetEventsInWorkspaceParams) WithSince

WithSince adds the since to the get events in workspace params

func (*GetEventsInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get events in workspace params

func (*GetEventsInWorkspaceParams) WithWorkspaceID

func (o *GetEventsInWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetEventsInWorkspaceParams

WithWorkspaceID adds the workspaceID to the get events in workspace params

func (*GetEventsInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventsInWorkspaceReader

type GetEventsInWorkspaceReader struct {
	// contains filtered or unexported fields
}

GetEventsInWorkspaceReader is a Reader for the GetEventsInWorkspace structure.

func (*GetEventsInWorkspaceReader) ReadResponse

func (o *GetEventsInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStructuredEventsInWorkspaceOK

type GetStructuredEventsInWorkspaceOK struct {
	Payload *models_cloudbreak.StructuredEventContainer
}

GetStructuredEventsInWorkspaceOK handles this case with default header values.

successful operation

func NewGetStructuredEventsInWorkspaceOK

func NewGetStructuredEventsInWorkspaceOK() *GetStructuredEventsInWorkspaceOK

NewGetStructuredEventsInWorkspaceOK creates a GetStructuredEventsInWorkspaceOK with default headers values

func (*GetStructuredEventsInWorkspaceOK) Error

type GetStructuredEventsInWorkspaceParams

type GetStructuredEventsInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStructuredEventsInWorkspaceParams contains all the parameters to send to the API endpoint for the get structured events in workspace operation typically these are written to a http.Request

func NewGetStructuredEventsInWorkspaceParams

func NewGetStructuredEventsInWorkspaceParams() *GetStructuredEventsInWorkspaceParams

NewGetStructuredEventsInWorkspaceParams creates a new GetStructuredEventsInWorkspaceParams object with the default values initialized.

func NewGetStructuredEventsInWorkspaceParamsWithContext

func NewGetStructuredEventsInWorkspaceParamsWithContext(ctx context.Context) *GetStructuredEventsInWorkspaceParams

NewGetStructuredEventsInWorkspaceParamsWithContext creates a new GetStructuredEventsInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetStructuredEventsInWorkspaceParamsWithHTTPClient

func NewGetStructuredEventsInWorkspaceParamsWithHTTPClient(client *http.Client) *GetStructuredEventsInWorkspaceParams

NewGetStructuredEventsInWorkspaceParamsWithHTTPClient creates a new GetStructuredEventsInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStructuredEventsInWorkspaceParamsWithTimeout

func NewGetStructuredEventsInWorkspaceParamsWithTimeout(timeout time.Duration) *GetStructuredEventsInWorkspaceParams

NewGetStructuredEventsInWorkspaceParamsWithTimeout creates a new GetStructuredEventsInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStructuredEventsInWorkspaceParams) SetContext

SetContext adds the context to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) SetHTTPClient

func (o *GetStructuredEventsInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) SetName

SetName adds the name to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) SetTimeout

func (o *GetStructuredEventsInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) SetWorkspaceID

func (o *GetStructuredEventsInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) WithContext

WithContext adds the context to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) WithName

WithName adds the name to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get structured events in workspace params

func (*GetStructuredEventsInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStructuredEventsInWorkspaceReader

type GetStructuredEventsInWorkspaceReader struct {
	// contains filtered or unexported fields
}

GetStructuredEventsInWorkspaceReader is a Reader for the GetStructuredEventsInWorkspace structure.

func (*GetStructuredEventsInWorkspaceReader) ReadResponse

func (o *GetStructuredEventsInWorkspaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStructuredEventsZipInWorkspaceDefault

type GetStructuredEventsZipInWorkspaceDefault struct {
	// contains filtered or unexported fields
}

GetStructuredEventsZipInWorkspaceDefault handles this case with default header values.

successful operation

func NewGetStructuredEventsZipInWorkspaceDefault

func NewGetStructuredEventsZipInWorkspaceDefault(code int) *GetStructuredEventsZipInWorkspaceDefault

NewGetStructuredEventsZipInWorkspaceDefault creates a GetStructuredEventsZipInWorkspaceDefault with default headers values

func (*GetStructuredEventsZipInWorkspaceDefault) Code

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

func (*GetStructuredEventsZipInWorkspaceDefault) Error

type GetStructuredEventsZipInWorkspaceParams

type GetStructuredEventsZipInWorkspaceParams struct {

	/*Name*/
	Name string
	/*WorkspaceID*/
	WorkspaceID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStructuredEventsZipInWorkspaceParams contains all the parameters to send to the API endpoint for the get structured events zip in workspace operation typically these are written to a http.Request

func NewGetStructuredEventsZipInWorkspaceParams

func NewGetStructuredEventsZipInWorkspaceParams() *GetStructuredEventsZipInWorkspaceParams

NewGetStructuredEventsZipInWorkspaceParams creates a new GetStructuredEventsZipInWorkspaceParams object with the default values initialized.

func NewGetStructuredEventsZipInWorkspaceParamsWithContext

func NewGetStructuredEventsZipInWorkspaceParamsWithContext(ctx context.Context) *GetStructuredEventsZipInWorkspaceParams

NewGetStructuredEventsZipInWorkspaceParamsWithContext creates a new GetStructuredEventsZipInWorkspaceParams object with the default values initialized, and the ability to set a context for a request

func NewGetStructuredEventsZipInWorkspaceParamsWithHTTPClient

func NewGetStructuredEventsZipInWorkspaceParamsWithHTTPClient(client *http.Client) *GetStructuredEventsZipInWorkspaceParams

NewGetStructuredEventsZipInWorkspaceParamsWithHTTPClient creates a new GetStructuredEventsZipInWorkspaceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetStructuredEventsZipInWorkspaceParamsWithTimeout

func NewGetStructuredEventsZipInWorkspaceParamsWithTimeout(timeout time.Duration) *GetStructuredEventsZipInWorkspaceParams

NewGetStructuredEventsZipInWorkspaceParamsWithTimeout creates a new GetStructuredEventsZipInWorkspaceParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetStructuredEventsZipInWorkspaceParams) SetContext

SetContext adds the context to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) SetHTTPClient

func (o *GetStructuredEventsZipInWorkspaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) SetName

SetName adds the name to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) SetTimeout

func (o *GetStructuredEventsZipInWorkspaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) SetWorkspaceID

func (o *GetStructuredEventsZipInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) WithContext

WithContext adds the context to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) WithName

WithName adds the name to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get structured events zip in workspace params

func (*GetStructuredEventsZipInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStructuredEventsZipInWorkspaceReader

type GetStructuredEventsZipInWorkspaceReader struct {
	// contains filtered or unexported fields
}

GetStructuredEventsZipInWorkspaceReader is a Reader for the GetStructuredEventsZipInWorkspace structure.

func (*GetStructuredEventsZipInWorkspaceReader) ReadResponse

func (o *GetStructuredEventsZipInWorkspaceReader) 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