operations

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ResetOffsetBodyToDATETIME captures enum value "DATETIME"
	ResetOffsetBodyToDATETIME string = "DATETIME"

	// ResetOffsetBodyToEARLIEST captures enum value "EARLIEST"
	ResetOffsetBodyToEARLIEST string = "EARLIEST"

	// ResetOffsetBodyToLATEST captures enum value "LATEST"
	ResetOffsetBodyToLATEST string = "LATEST"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for operations API

func (*Client) CreateFirehose

func (a *Client) CreateFirehose(params *CreateFirehoseParams, opts ...ClientOption) (*CreateFirehoseCreated, error)

CreateFirehose creates a new firehose

Create and deploy a new firehose as per the configurations in the body.

func (*Client) GetFirehose

func (a *Client) GetFirehose(params *GetFirehoseParams, opts ...ClientOption) (*GetFirehoseOK, error)

GetFirehose gets firehose by u r n

Get firehose by URN.

func (*Client) GetFirehoseAlertPolicy

func (a *Client) GetFirehoseAlertPolicy(params *GetFirehoseAlertPolicyParams, opts ...ClientOption) (*GetFirehoseAlertPolicyOK, error)

GetFirehoseAlertPolicy alerts policy for a firehose

Alert policy for a Firehose.

func (*Client) GetFirehoseAlerts

func (a *Client) GetFirehoseAlerts(params *GetFirehoseAlertsParams, opts ...ClientOption) (*GetFirehoseAlertsOK, error)

GetFirehoseAlerts triggereds alerts for a firehose

Triggered alerts for a Firehose.

func (*Client) GetFirehoseHistory added in v0.2.0

func (a *Client) GetFirehoseHistory(params *GetFirehoseHistoryParams, opts ...ClientOption) (*GetFirehoseHistoryOK, error)

GetFirehoseHistory histories for a firehose

History for a Firehose.

func (*Client) GetFirehoseLogs

func (a *Client) GetFirehoseLogs(params *GetFirehoseLogsParams, writer io.Writer, opts ...ClientOption) (*GetFirehoseLogsOK, error)

GetFirehoseLogs streams logs for a firehose

Stream logs for a Firehose.

func (*Client) GetProjectBySlug

func (a *Client) GetProjectBySlug(params *GetProjectBySlugParams, opts ...ClientOption) (*GetProjectBySlugOK, error)

GetProjectBySlug gets project by slug

Get project by its unique slug name.

func (*Client) ListAlertTemplates

func (a *Client) ListAlertTemplates(params *ListAlertTemplatesParams, opts ...ClientOption) (*ListAlertTemplatesOK, error)

ListAlertTemplates gets list of alert templates for firehose

Get list of alert templates for firehose.

func (*Client) ListFirehoses

func (a *Client) ListFirehoses(params *ListFirehosesParams, opts ...ClientOption) (*ListFirehosesOK, error)

ListFirehoses gets list of firehoses

Get list of firehoses in this project.

func (*Client) ListKubernetes added in v0.2.1

func (a *Client) ListKubernetes(params *ListKubernetesParams, opts ...ClientOption) (*ListKubernetesOK, error)

ListKubernetes gets list of kubernetes

Get list of kubernetes in this project.

func (*Client) ListProjects

func (a *Client) ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error)

ListProjects gets list of projects

Get list of projects.

func (*Client) ResetOffset

func (a *Client) ResetOffset(params *ResetOffsetParams, opts ...ClientOption) (*ResetOffsetOK, error)

ResetOffset resets firehose consumption offset

Reset firehose consumption offset.

func (*Client) ScaleFirehose

func (a *Client) ScaleFirehose(params *ScaleFirehoseParams, opts ...ClientOption) (*ScaleFirehoseOK, error)

ScaleFirehose scales the number of instances of firehose

Scale the number of instances of firehose.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) StartFirehose

func (a *Client) StartFirehose(params *StartFirehoseParams, opts ...ClientOption) (*StartFirehoseOK, error)

StartFirehose starts the firehose if it is currently stopped

Start the Firehose if it is currently stopped.

func (*Client) StopFirehose

func (a *Client) StopFirehose(params *StopFirehoseParams, opts ...ClientOption) (*StopFirehoseOK, error)

StopFirehose stops the firehose if it is currently running

Stop the Firehose if it is currently running.

func (*Client) UpdateFirehose

func (a *Client) UpdateFirehose(params *UpdateFirehoseParams, opts ...ClientOption) (*UpdateFirehoseOK, error)

UpdateFirehose updates firehose configurations

Update firehose configurations.

func (*Client) UpgradeFirehose

func (a *Client) UpgradeFirehose(params *UpgradeFirehoseParams, opts ...ClientOption) (*UpgradeFirehoseOK, error)

UpgradeFirehose upgrades the firehose to the latest version supported

Upgrade the firehose to the latest version supported.

func (*Client) UpsertFirehoseAlertPolicy

func (a *Client) UpsertFirehoseAlertPolicy(params *UpsertFirehoseAlertPolicyParams, opts ...ClientOption) (*UpsertFirehoseAlertPolicyOK, error)

UpsertFirehoseAlertPolicy upserts alert policy for a firehose

Upsert alert policy for a Firehose.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateFirehose(params *CreateFirehoseParams, opts ...ClientOption) (*CreateFirehoseCreated, error)

	GetFirehose(params *GetFirehoseParams, opts ...ClientOption) (*GetFirehoseOK, error)

	GetFirehoseAlertPolicy(params *GetFirehoseAlertPolicyParams, opts ...ClientOption) (*GetFirehoseAlertPolicyOK, error)

	GetFirehoseAlerts(params *GetFirehoseAlertsParams, opts ...ClientOption) (*GetFirehoseAlertsOK, error)

	GetFirehoseHistory(params *GetFirehoseHistoryParams, opts ...ClientOption) (*GetFirehoseHistoryOK, error)

	GetFirehoseLogs(params *GetFirehoseLogsParams, writer io.Writer, opts ...ClientOption) (*GetFirehoseLogsOK, error)

	GetProjectBySlug(params *GetProjectBySlugParams, opts ...ClientOption) (*GetProjectBySlugOK, error)

	ListAlertTemplates(params *ListAlertTemplatesParams, opts ...ClientOption) (*ListAlertTemplatesOK, error)

	ListFirehoses(params *ListFirehosesParams, opts ...ClientOption) (*ListFirehosesOK, error)

	ListKubernetes(params *ListKubernetesParams, opts ...ClientOption) (*ListKubernetesOK, error)

	ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error)

	ResetOffset(params *ResetOffsetParams, opts ...ClientOption) (*ResetOffsetOK, error)

	ScaleFirehose(params *ScaleFirehoseParams, opts ...ClientOption) (*ScaleFirehoseOK, error)

	StartFirehose(params *StartFirehoseParams, opts ...ClientOption) (*StartFirehoseOK, error)

	StopFirehose(params *StopFirehoseParams, opts ...ClientOption) (*StopFirehoseOK, error)

	UpdateFirehose(params *UpdateFirehoseParams, opts ...ClientOption) (*UpdateFirehoseOK, error)

	UpgradeFirehose(params *UpgradeFirehoseParams, opts ...ClientOption) (*UpgradeFirehoseOK, error)

	UpsertFirehoseAlertPolicy(params *UpsertFirehoseAlertPolicyParams, opts ...ClientOption) (*UpsertFirehoseAlertPolicyOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new operations API client.

type CreateFirehoseBadRequest added in v0.2.1

type CreateFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}

CreateFirehoseBadRequest describes a response with status code 400, with default header values.

Request was invalid.

func NewCreateFirehoseBadRequest added in v0.2.1

func NewCreateFirehoseBadRequest() *CreateFirehoseBadRequest

NewCreateFirehoseBadRequest creates a CreateFirehoseBadRequest with default headers values

func (*CreateFirehoseBadRequest) Error added in v0.2.1

func (o *CreateFirehoseBadRequest) Error() string

func (*CreateFirehoseBadRequest) GetPayload added in v0.2.1

func (*CreateFirehoseBadRequest) IsClientError added in v0.2.1

func (o *CreateFirehoseBadRequest) IsClientError() bool

IsClientError returns true when this create firehose bad request response has a 4xx status code

func (*CreateFirehoseBadRequest) IsCode added in v0.2.1

func (o *CreateFirehoseBadRequest) IsCode(code int) bool

IsCode returns true when this create firehose bad request response a status code equal to that given

func (*CreateFirehoseBadRequest) IsRedirect added in v0.2.1

func (o *CreateFirehoseBadRequest) IsRedirect() bool

IsRedirect returns true when this create firehose bad request response has a 3xx status code

func (*CreateFirehoseBadRequest) IsServerError added in v0.2.1

func (o *CreateFirehoseBadRequest) IsServerError() bool

IsServerError returns true when this create firehose bad request response has a 5xx status code

func (*CreateFirehoseBadRequest) IsSuccess added in v0.2.1

func (o *CreateFirehoseBadRequest) IsSuccess() bool

IsSuccess returns true when this create firehose bad request response has a 2xx status code

func (*CreateFirehoseBadRequest) String added in v0.2.1

func (o *CreateFirehoseBadRequest) String() string

type CreateFirehoseConflict

type CreateFirehoseConflict struct {
	Payload *models.ErrorResponse
}

CreateFirehoseConflict describes a response with status code 409, with default header values.

A firehose with same unique identifier already exists.

func NewCreateFirehoseConflict

func NewCreateFirehoseConflict() *CreateFirehoseConflict

NewCreateFirehoseConflict creates a CreateFirehoseConflict with default headers values

func (*CreateFirehoseConflict) Error

func (o *CreateFirehoseConflict) Error() string

func (*CreateFirehoseConflict) GetPayload

func (o *CreateFirehoseConflict) GetPayload() *models.ErrorResponse

func (*CreateFirehoseConflict) IsClientError

func (o *CreateFirehoseConflict) IsClientError() bool

IsClientError returns true when this create firehose conflict response has a 4xx status code

func (*CreateFirehoseConflict) IsCode

func (o *CreateFirehoseConflict) IsCode(code int) bool

IsCode returns true when this create firehose conflict response a status code equal to that given

func (*CreateFirehoseConflict) IsRedirect

func (o *CreateFirehoseConflict) IsRedirect() bool

IsRedirect returns true when this create firehose conflict response has a 3xx status code

func (*CreateFirehoseConflict) IsServerError

func (o *CreateFirehoseConflict) IsServerError() bool

IsServerError returns true when this create firehose conflict response has a 5xx status code

func (*CreateFirehoseConflict) IsSuccess

func (o *CreateFirehoseConflict) IsSuccess() bool

IsSuccess returns true when this create firehose conflict response has a 2xx status code

func (*CreateFirehoseConflict) String

func (o *CreateFirehoseConflict) String() string

type CreateFirehoseCreated

type CreateFirehoseCreated struct {
	Payload *models.Firehose
}

CreateFirehoseCreated describes a response with status code 201, with default header values.

Successfully created

func NewCreateFirehoseCreated

func NewCreateFirehoseCreated() *CreateFirehoseCreated

NewCreateFirehoseCreated creates a CreateFirehoseCreated with default headers values

func (*CreateFirehoseCreated) Error

func (o *CreateFirehoseCreated) Error() string

func (*CreateFirehoseCreated) GetPayload

func (o *CreateFirehoseCreated) GetPayload() *models.Firehose

func (*CreateFirehoseCreated) IsClientError

func (o *CreateFirehoseCreated) IsClientError() bool

IsClientError returns true when this create firehose created response has a 4xx status code

func (*CreateFirehoseCreated) IsCode

func (o *CreateFirehoseCreated) IsCode(code int) bool

IsCode returns true when this create firehose created response a status code equal to that given

func (*CreateFirehoseCreated) IsRedirect

func (o *CreateFirehoseCreated) IsRedirect() bool

IsRedirect returns true when this create firehose created response has a 3xx status code

func (*CreateFirehoseCreated) IsServerError

func (o *CreateFirehoseCreated) IsServerError() bool

IsServerError returns true when this create firehose created response has a 5xx status code

func (*CreateFirehoseCreated) IsSuccess

func (o *CreateFirehoseCreated) IsSuccess() bool

IsSuccess returns true when this create firehose created response has a 2xx status code

func (*CreateFirehoseCreated) String

func (o *CreateFirehoseCreated) String() string

type CreateFirehoseInternalServerError

type CreateFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

CreateFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewCreateFirehoseInternalServerError

func NewCreateFirehoseInternalServerError() *CreateFirehoseInternalServerError

NewCreateFirehoseInternalServerError creates a CreateFirehoseInternalServerError with default headers values

func (*CreateFirehoseInternalServerError) Error

func (*CreateFirehoseInternalServerError) GetPayload

func (*CreateFirehoseInternalServerError) IsClientError

func (o *CreateFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this create firehose internal server error response has a 4xx status code

func (*CreateFirehoseInternalServerError) IsCode

func (o *CreateFirehoseInternalServerError) IsCode(code int) bool

IsCode returns true when this create firehose internal server error response a status code equal to that given

func (*CreateFirehoseInternalServerError) IsRedirect

func (o *CreateFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this create firehose internal server error response has a 3xx status code

func (*CreateFirehoseInternalServerError) IsServerError

func (o *CreateFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this create firehose internal server error response has a 5xx status code

func (*CreateFirehoseInternalServerError) IsSuccess

func (o *CreateFirehoseInternalServerError) IsSuccess() bool

IsSuccess returns true when this create firehose internal server error response has a 2xx status code

func (*CreateFirehoseInternalServerError) String

type CreateFirehoseParams

type CreateFirehoseParams struct {

	// Body.
	Body *models.Firehose

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

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

CreateFirehoseParams contains all the parameters to send to the API endpoint

for the create firehose operation.

Typically these are written to a http.Request.

func NewCreateFirehoseParams

func NewCreateFirehoseParams() *CreateFirehoseParams

NewCreateFirehoseParams creates a new CreateFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateFirehoseParamsWithContext

func NewCreateFirehoseParamsWithContext(ctx context.Context) *CreateFirehoseParams

NewCreateFirehoseParamsWithContext creates a new CreateFirehoseParams object with the ability to set a context for a request.

func NewCreateFirehoseParamsWithHTTPClient

func NewCreateFirehoseParamsWithHTTPClient(client *http.Client) *CreateFirehoseParams

NewCreateFirehoseParamsWithHTTPClient creates a new CreateFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFirehoseParamsWithTimeout

func NewCreateFirehoseParamsWithTimeout(timeout time.Duration) *CreateFirehoseParams

NewCreateFirehoseParamsWithTimeout creates a new CreateFirehoseParams object with the ability to set a timeout on a request.

func (*CreateFirehoseParams) SetBody

func (o *CreateFirehoseParams) SetBody(body *models.Firehose)

SetBody adds the body to the create firehose params

func (*CreateFirehoseParams) SetContext

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

SetContext adds the context to the create firehose params

func (*CreateFirehoseParams) SetDefaults

func (o *CreateFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the create firehose params (not the query body).

All values with no default are reset to their zero value.

func (*CreateFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create firehose params

func (*CreateFirehoseParams) SetProjectSlug

func (o *CreateFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the create firehose params

func (*CreateFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the create firehose params

func (*CreateFirehoseParams) WithBody

WithBody adds the body to the create firehose params

func (*CreateFirehoseParams) WithContext

WithContext adds the context to the create firehose params

func (*CreateFirehoseParams) WithDefaults

func (o *CreateFirehoseParams) WithDefaults() *CreateFirehoseParams

WithDefaults hydrates default values in the create firehose params (not the query body).

All values with no default are reset to their zero value.

func (*CreateFirehoseParams) WithHTTPClient

func (o *CreateFirehoseParams) WithHTTPClient(client *http.Client) *CreateFirehoseParams

WithHTTPClient adds the HTTPClient to the create firehose params

func (*CreateFirehoseParams) WithProjectSlug

func (o *CreateFirehoseParams) WithProjectSlug(projectSlug string) *CreateFirehoseParams

WithProjectSlug adds the projectSlug to the create firehose params

func (*CreateFirehoseParams) WithTimeout

func (o *CreateFirehoseParams) WithTimeout(timeout time.Duration) *CreateFirehoseParams

WithTimeout adds the timeout to the create firehose params

func (*CreateFirehoseParams) WriteToRequest

func (o *CreateFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateFirehoseReader

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

CreateFirehoseReader is a Reader for the CreateFirehose structure.

func (*CreateFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFirehoseAlertPolicyInternalServerError

type GetFirehoseAlertPolicyInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFirehoseAlertPolicyInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetFirehoseAlertPolicyInternalServerError

func NewGetFirehoseAlertPolicyInternalServerError() *GetFirehoseAlertPolicyInternalServerError

NewGetFirehoseAlertPolicyInternalServerError creates a GetFirehoseAlertPolicyInternalServerError with default headers values

func (*GetFirehoseAlertPolicyInternalServerError) Error

func (*GetFirehoseAlertPolicyInternalServerError) GetPayload

func (*GetFirehoseAlertPolicyInternalServerError) IsClientError

IsClientError returns true when this get firehose alert policy internal server error response has a 4xx status code

func (*GetFirehoseAlertPolicyInternalServerError) IsCode

IsCode returns true when this get firehose alert policy internal server error response a status code equal to that given

func (*GetFirehoseAlertPolicyInternalServerError) IsRedirect

IsRedirect returns true when this get firehose alert policy internal server error response has a 3xx status code

func (*GetFirehoseAlertPolicyInternalServerError) IsServerError

IsServerError returns true when this get firehose alert policy internal server error response has a 5xx status code

func (*GetFirehoseAlertPolicyInternalServerError) IsSuccess

IsSuccess returns true when this get firehose alert policy internal server error response has a 2xx status code

func (*GetFirehoseAlertPolicyInternalServerError) String

type GetFirehoseAlertPolicyNotFound

type GetFirehoseAlertPolicyNotFound struct {
	Payload *models.ErrorResponse
}

GetFirehoseAlertPolicyNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewGetFirehoseAlertPolicyNotFound

func NewGetFirehoseAlertPolicyNotFound() *GetFirehoseAlertPolicyNotFound

NewGetFirehoseAlertPolicyNotFound creates a GetFirehoseAlertPolicyNotFound with default headers values

func (*GetFirehoseAlertPolicyNotFound) Error

func (*GetFirehoseAlertPolicyNotFound) GetPayload

func (*GetFirehoseAlertPolicyNotFound) IsClientError

func (o *GetFirehoseAlertPolicyNotFound) IsClientError() bool

IsClientError returns true when this get firehose alert policy not found response has a 4xx status code

func (*GetFirehoseAlertPolicyNotFound) IsCode

func (o *GetFirehoseAlertPolicyNotFound) IsCode(code int) bool

IsCode returns true when this get firehose alert policy not found response a status code equal to that given

func (*GetFirehoseAlertPolicyNotFound) IsRedirect

func (o *GetFirehoseAlertPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this get firehose alert policy not found response has a 3xx status code

func (*GetFirehoseAlertPolicyNotFound) IsServerError

func (o *GetFirehoseAlertPolicyNotFound) IsServerError() bool

IsServerError returns true when this get firehose alert policy not found response has a 5xx status code

func (*GetFirehoseAlertPolicyNotFound) IsSuccess

func (o *GetFirehoseAlertPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this get firehose alert policy not found response has a 2xx status code

func (*GetFirehoseAlertPolicyNotFound) String

type GetFirehoseAlertPolicyOK

type GetFirehoseAlertPolicyOK struct {
	Payload *models.AlertPolicy
}

GetFirehoseAlertPolicyOK describes a response with status code 200, with default header values.

Found alert policy for given firehose URN.

func NewGetFirehoseAlertPolicyOK

func NewGetFirehoseAlertPolicyOK() *GetFirehoseAlertPolicyOK

NewGetFirehoseAlertPolicyOK creates a GetFirehoseAlertPolicyOK with default headers values

func (*GetFirehoseAlertPolicyOK) Error

func (o *GetFirehoseAlertPolicyOK) Error() string

func (*GetFirehoseAlertPolicyOK) GetPayload

func (o *GetFirehoseAlertPolicyOK) GetPayload() *models.AlertPolicy

func (*GetFirehoseAlertPolicyOK) IsClientError

func (o *GetFirehoseAlertPolicyOK) IsClientError() bool

IsClientError returns true when this get firehose alert policy o k response has a 4xx status code

func (*GetFirehoseAlertPolicyOK) IsCode

func (o *GetFirehoseAlertPolicyOK) IsCode(code int) bool

IsCode returns true when this get firehose alert policy o k response a status code equal to that given

func (*GetFirehoseAlertPolicyOK) IsRedirect

func (o *GetFirehoseAlertPolicyOK) IsRedirect() bool

IsRedirect returns true when this get firehose alert policy o k response has a 3xx status code

func (*GetFirehoseAlertPolicyOK) IsServerError

func (o *GetFirehoseAlertPolicyOK) IsServerError() bool

IsServerError returns true when this get firehose alert policy o k response has a 5xx status code

func (*GetFirehoseAlertPolicyOK) IsSuccess

func (o *GetFirehoseAlertPolicyOK) IsSuccess() bool

IsSuccess returns true when this get firehose alert policy o k response has a 2xx status code

func (*GetFirehoseAlertPolicyOK) String

func (o *GetFirehoseAlertPolicyOK) String() string

type GetFirehoseAlertPolicyParams

type GetFirehoseAlertPolicyParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Unique slug name of the project.
	*/
	ProjectSlug string

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

GetFirehoseAlertPolicyParams contains all the parameters to send to the API endpoint

for the get firehose alert policy operation.

Typically these are written to a http.Request.

func NewGetFirehoseAlertPolicyParams

func NewGetFirehoseAlertPolicyParams() *GetFirehoseAlertPolicyParams

NewGetFirehoseAlertPolicyParams creates a new GetFirehoseAlertPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFirehoseAlertPolicyParamsWithContext

func NewGetFirehoseAlertPolicyParamsWithContext(ctx context.Context) *GetFirehoseAlertPolicyParams

NewGetFirehoseAlertPolicyParamsWithContext creates a new GetFirehoseAlertPolicyParams object with the ability to set a context for a request.

func NewGetFirehoseAlertPolicyParamsWithHTTPClient

func NewGetFirehoseAlertPolicyParamsWithHTTPClient(client *http.Client) *GetFirehoseAlertPolicyParams

NewGetFirehoseAlertPolicyParamsWithHTTPClient creates a new GetFirehoseAlertPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirehoseAlertPolicyParamsWithTimeout

func NewGetFirehoseAlertPolicyParamsWithTimeout(timeout time.Duration) *GetFirehoseAlertPolicyParams

NewGetFirehoseAlertPolicyParamsWithTimeout creates a new GetFirehoseAlertPolicyParams object with the ability to set a timeout on a request.

func (*GetFirehoseAlertPolicyParams) SetContext

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

SetContext adds the context to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) SetDefaults

func (o *GetFirehoseAlertPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get firehose alert policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseAlertPolicyParams) SetFirehoseUrn

func (o *GetFirehoseAlertPolicyParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) SetProjectSlug

func (o *GetFirehoseAlertPolicyParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) WithContext

WithContext adds the context to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) WithDefaults

WithDefaults hydrates default values in the get firehose alert policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseAlertPolicyParams) WithFirehoseUrn

func (o *GetFirehoseAlertPolicyParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseAlertPolicyParams

WithFirehoseUrn adds the firehoseUrn to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) WithProjectSlug

func (o *GetFirehoseAlertPolicyParams) WithProjectSlug(projectSlug string) *GetFirehoseAlertPolicyParams

WithProjectSlug adds the projectSlug to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) WithTimeout

WithTimeout adds the timeout to the get firehose alert policy params

func (*GetFirehoseAlertPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFirehoseAlertPolicyReader

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

GetFirehoseAlertPolicyReader is a Reader for the GetFirehoseAlertPolicy structure.

func (*GetFirehoseAlertPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFirehoseAlertsInternalServerError

type GetFirehoseAlertsInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFirehoseAlertsInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetFirehoseAlertsInternalServerError

func NewGetFirehoseAlertsInternalServerError() *GetFirehoseAlertsInternalServerError

NewGetFirehoseAlertsInternalServerError creates a GetFirehoseAlertsInternalServerError with default headers values

func (*GetFirehoseAlertsInternalServerError) Error

func (*GetFirehoseAlertsInternalServerError) GetPayload

func (*GetFirehoseAlertsInternalServerError) IsClientError

func (o *GetFirehoseAlertsInternalServerError) IsClientError() bool

IsClientError returns true when this get firehose alerts internal server error response has a 4xx status code

func (*GetFirehoseAlertsInternalServerError) IsCode

IsCode returns true when this get firehose alerts internal server error response a status code equal to that given

func (*GetFirehoseAlertsInternalServerError) IsRedirect

IsRedirect returns true when this get firehose alerts internal server error response has a 3xx status code

func (*GetFirehoseAlertsInternalServerError) IsServerError

func (o *GetFirehoseAlertsInternalServerError) IsServerError() bool

IsServerError returns true when this get firehose alerts internal server error response has a 5xx status code

func (*GetFirehoseAlertsInternalServerError) IsSuccess

IsSuccess returns true when this get firehose alerts internal server error response has a 2xx status code

func (*GetFirehoseAlertsInternalServerError) String

type GetFirehoseAlertsNotFound

type GetFirehoseAlertsNotFound struct {
	Payload *models.ErrorResponse
}

GetFirehoseAlertsNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewGetFirehoseAlertsNotFound

func NewGetFirehoseAlertsNotFound() *GetFirehoseAlertsNotFound

NewGetFirehoseAlertsNotFound creates a GetFirehoseAlertsNotFound with default headers values

func (*GetFirehoseAlertsNotFound) Error

func (o *GetFirehoseAlertsNotFound) Error() string

func (*GetFirehoseAlertsNotFound) GetPayload

func (*GetFirehoseAlertsNotFound) IsClientError

func (o *GetFirehoseAlertsNotFound) IsClientError() bool

IsClientError returns true when this get firehose alerts not found response has a 4xx status code

func (*GetFirehoseAlertsNotFound) IsCode

func (o *GetFirehoseAlertsNotFound) IsCode(code int) bool

IsCode returns true when this get firehose alerts not found response a status code equal to that given

func (*GetFirehoseAlertsNotFound) IsRedirect

func (o *GetFirehoseAlertsNotFound) IsRedirect() bool

IsRedirect returns true when this get firehose alerts not found response has a 3xx status code

func (*GetFirehoseAlertsNotFound) IsServerError

func (o *GetFirehoseAlertsNotFound) IsServerError() bool

IsServerError returns true when this get firehose alerts not found response has a 5xx status code

func (*GetFirehoseAlertsNotFound) IsSuccess

func (o *GetFirehoseAlertsNotFound) IsSuccess() bool

IsSuccess returns true when this get firehose alerts not found response has a 2xx status code

func (*GetFirehoseAlertsNotFound) String

func (o *GetFirehoseAlertsNotFound) String() string

type GetFirehoseAlertsOK

type GetFirehoseAlertsOK struct {
	Payload *models.AlertArray
}

GetFirehoseAlertsOK describes a response with status code 200, with default header values.

alerts for given firehose URN.

func NewGetFirehoseAlertsOK

func NewGetFirehoseAlertsOK() *GetFirehoseAlertsOK

NewGetFirehoseAlertsOK creates a GetFirehoseAlertsOK with default headers values

func (*GetFirehoseAlertsOK) Error

func (o *GetFirehoseAlertsOK) Error() string

func (*GetFirehoseAlertsOK) GetPayload

func (o *GetFirehoseAlertsOK) GetPayload() *models.AlertArray

func (*GetFirehoseAlertsOK) IsClientError

func (o *GetFirehoseAlertsOK) IsClientError() bool

IsClientError returns true when this get firehose alerts o k response has a 4xx status code

func (*GetFirehoseAlertsOK) IsCode

func (o *GetFirehoseAlertsOK) IsCode(code int) bool

IsCode returns true when this get firehose alerts o k response a status code equal to that given

func (*GetFirehoseAlertsOK) IsRedirect

func (o *GetFirehoseAlertsOK) IsRedirect() bool

IsRedirect returns true when this get firehose alerts o k response has a 3xx status code

func (*GetFirehoseAlertsOK) IsServerError

func (o *GetFirehoseAlertsOK) IsServerError() bool

IsServerError returns true when this get firehose alerts o k response has a 5xx status code

func (*GetFirehoseAlertsOK) IsSuccess

func (o *GetFirehoseAlertsOK) IsSuccess() bool

IsSuccess returns true when this get firehose alerts o k response has a 2xx status code

func (*GetFirehoseAlertsOK) String

func (o *GetFirehoseAlertsOK) String() string

type GetFirehoseAlertsParams

type GetFirehoseAlertsParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Unique slug name of the project.
	*/
	ProjectSlug string

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

GetFirehoseAlertsParams contains all the parameters to send to the API endpoint

for the get firehose alerts operation.

Typically these are written to a http.Request.

func NewGetFirehoseAlertsParams

func NewGetFirehoseAlertsParams() *GetFirehoseAlertsParams

NewGetFirehoseAlertsParams creates a new GetFirehoseAlertsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFirehoseAlertsParamsWithContext

func NewGetFirehoseAlertsParamsWithContext(ctx context.Context) *GetFirehoseAlertsParams

NewGetFirehoseAlertsParamsWithContext creates a new GetFirehoseAlertsParams object with the ability to set a context for a request.

func NewGetFirehoseAlertsParamsWithHTTPClient

func NewGetFirehoseAlertsParamsWithHTTPClient(client *http.Client) *GetFirehoseAlertsParams

NewGetFirehoseAlertsParamsWithHTTPClient creates a new GetFirehoseAlertsParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirehoseAlertsParamsWithTimeout

func NewGetFirehoseAlertsParamsWithTimeout(timeout time.Duration) *GetFirehoseAlertsParams

NewGetFirehoseAlertsParamsWithTimeout creates a new GetFirehoseAlertsParams object with the ability to set a timeout on a request.

func (*GetFirehoseAlertsParams) SetContext

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

SetContext adds the context to the get firehose alerts params

func (*GetFirehoseAlertsParams) SetDefaults

func (o *GetFirehoseAlertsParams) SetDefaults()

SetDefaults hydrates default values in the get firehose alerts params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseAlertsParams) SetFirehoseUrn

func (o *GetFirehoseAlertsParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the get firehose alerts params

func (*GetFirehoseAlertsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firehose alerts params

func (*GetFirehoseAlertsParams) SetProjectSlug

func (o *GetFirehoseAlertsParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get firehose alerts params

func (*GetFirehoseAlertsParams) SetTimeout

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

SetTimeout adds the timeout to the get firehose alerts params

func (*GetFirehoseAlertsParams) WithContext

WithContext adds the context to the get firehose alerts params

func (*GetFirehoseAlertsParams) WithDefaults

WithDefaults hydrates default values in the get firehose alerts params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseAlertsParams) WithFirehoseUrn

func (o *GetFirehoseAlertsParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseAlertsParams

WithFirehoseUrn adds the firehoseUrn to the get firehose alerts params

func (*GetFirehoseAlertsParams) WithHTTPClient

func (o *GetFirehoseAlertsParams) WithHTTPClient(client *http.Client) *GetFirehoseAlertsParams

WithHTTPClient adds the HTTPClient to the get firehose alerts params

func (*GetFirehoseAlertsParams) WithProjectSlug

func (o *GetFirehoseAlertsParams) WithProjectSlug(projectSlug string) *GetFirehoseAlertsParams

WithProjectSlug adds the projectSlug to the get firehose alerts params

func (*GetFirehoseAlertsParams) WithTimeout

WithTimeout adds the timeout to the get firehose alerts params

func (*GetFirehoseAlertsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFirehoseAlertsReader

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

GetFirehoseAlertsReader is a Reader for the GetFirehoseAlerts structure.

func (*GetFirehoseAlertsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFirehoseHistoryInternalServerError added in v0.2.0

type GetFirehoseHistoryInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFirehoseHistoryInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetFirehoseHistoryInternalServerError added in v0.2.0

func NewGetFirehoseHistoryInternalServerError() *GetFirehoseHistoryInternalServerError

NewGetFirehoseHistoryInternalServerError creates a GetFirehoseHistoryInternalServerError with default headers values

func (*GetFirehoseHistoryInternalServerError) Error added in v0.2.0

func (*GetFirehoseHistoryInternalServerError) GetPayload added in v0.2.0

func (*GetFirehoseHistoryInternalServerError) IsClientError added in v0.2.0

func (o *GetFirehoseHistoryInternalServerError) IsClientError() bool

IsClientError returns true when this get firehose history internal server error response has a 4xx status code

func (*GetFirehoseHistoryInternalServerError) IsCode added in v0.2.0

IsCode returns true when this get firehose history internal server error response a status code equal to that given

func (*GetFirehoseHistoryInternalServerError) IsRedirect added in v0.2.0

IsRedirect returns true when this get firehose history internal server error response has a 3xx status code

func (*GetFirehoseHistoryInternalServerError) IsServerError added in v0.2.0

func (o *GetFirehoseHistoryInternalServerError) IsServerError() bool

IsServerError returns true when this get firehose history internal server error response has a 5xx status code

func (*GetFirehoseHistoryInternalServerError) IsSuccess added in v0.2.0

IsSuccess returns true when this get firehose history internal server error response has a 2xx status code

func (*GetFirehoseHistoryInternalServerError) String added in v0.2.0

type GetFirehoseHistoryNotFound added in v0.2.0

type GetFirehoseHistoryNotFound struct {
	Payload *models.ErrorResponse
}

GetFirehoseHistoryNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewGetFirehoseHistoryNotFound added in v0.2.0

func NewGetFirehoseHistoryNotFound() *GetFirehoseHistoryNotFound

NewGetFirehoseHistoryNotFound creates a GetFirehoseHistoryNotFound with default headers values

func (*GetFirehoseHistoryNotFound) Error added in v0.2.0

func (*GetFirehoseHistoryNotFound) GetPayload added in v0.2.0

func (*GetFirehoseHistoryNotFound) IsClientError added in v0.2.0

func (o *GetFirehoseHistoryNotFound) IsClientError() bool

IsClientError returns true when this get firehose history not found response has a 4xx status code

func (*GetFirehoseHistoryNotFound) IsCode added in v0.2.0

func (o *GetFirehoseHistoryNotFound) IsCode(code int) bool

IsCode returns true when this get firehose history not found response a status code equal to that given

func (*GetFirehoseHistoryNotFound) IsRedirect added in v0.2.0

func (o *GetFirehoseHistoryNotFound) IsRedirect() bool

IsRedirect returns true when this get firehose history not found response has a 3xx status code

func (*GetFirehoseHistoryNotFound) IsServerError added in v0.2.0

func (o *GetFirehoseHistoryNotFound) IsServerError() bool

IsServerError returns true when this get firehose history not found response has a 5xx status code

func (*GetFirehoseHistoryNotFound) IsSuccess added in v0.2.0

func (o *GetFirehoseHistoryNotFound) IsSuccess() bool

IsSuccess returns true when this get firehose history not found response has a 2xx status code

func (*GetFirehoseHistoryNotFound) String added in v0.2.0

func (o *GetFirehoseHistoryNotFound) String() string

type GetFirehoseHistoryOK added in v0.2.0

type GetFirehoseHistoryOK struct {
	Payload *models.History
}

GetFirehoseHistoryOK describes a response with status code 200, with default header values.

History for given firehose URN.

func NewGetFirehoseHistoryOK added in v0.2.0

func NewGetFirehoseHistoryOK() *GetFirehoseHistoryOK

NewGetFirehoseHistoryOK creates a GetFirehoseHistoryOK with default headers values

func (*GetFirehoseHistoryOK) Error added in v0.2.0

func (o *GetFirehoseHistoryOK) Error() string

func (*GetFirehoseHistoryOK) GetPayload added in v0.2.0

func (o *GetFirehoseHistoryOK) GetPayload() *models.History

func (*GetFirehoseHistoryOK) IsClientError added in v0.2.0

func (o *GetFirehoseHistoryOK) IsClientError() bool

IsClientError returns true when this get firehose history o k response has a 4xx status code

func (*GetFirehoseHistoryOK) IsCode added in v0.2.0

func (o *GetFirehoseHistoryOK) IsCode(code int) bool

IsCode returns true when this get firehose history o k response a status code equal to that given

func (*GetFirehoseHistoryOK) IsRedirect added in v0.2.0

func (o *GetFirehoseHistoryOK) IsRedirect() bool

IsRedirect returns true when this get firehose history o k response has a 3xx status code

func (*GetFirehoseHistoryOK) IsServerError added in v0.2.0

func (o *GetFirehoseHistoryOK) IsServerError() bool

IsServerError returns true when this get firehose history o k response has a 5xx status code

func (*GetFirehoseHistoryOK) IsSuccess added in v0.2.0

func (o *GetFirehoseHistoryOK) IsSuccess() bool

IsSuccess returns true when this get firehose history o k response has a 2xx status code

func (*GetFirehoseHistoryOK) String added in v0.2.0

func (o *GetFirehoseHistoryOK) String() string

type GetFirehoseHistoryParams added in v0.2.0

type GetFirehoseHistoryParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Unique slug name of the project.
	*/
	ProjectSlug string

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

GetFirehoseHistoryParams contains all the parameters to send to the API endpoint

for the get firehose history operation.

Typically these are written to a http.Request.

func NewGetFirehoseHistoryParams added in v0.2.0

func NewGetFirehoseHistoryParams() *GetFirehoseHistoryParams

NewGetFirehoseHistoryParams creates a new GetFirehoseHistoryParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFirehoseHistoryParamsWithContext added in v0.2.0

func NewGetFirehoseHistoryParamsWithContext(ctx context.Context) *GetFirehoseHistoryParams

NewGetFirehoseHistoryParamsWithContext creates a new GetFirehoseHistoryParams object with the ability to set a context for a request.

func NewGetFirehoseHistoryParamsWithHTTPClient added in v0.2.0

func NewGetFirehoseHistoryParamsWithHTTPClient(client *http.Client) *GetFirehoseHistoryParams

NewGetFirehoseHistoryParamsWithHTTPClient creates a new GetFirehoseHistoryParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirehoseHistoryParamsWithTimeout added in v0.2.0

func NewGetFirehoseHistoryParamsWithTimeout(timeout time.Duration) *GetFirehoseHistoryParams

NewGetFirehoseHistoryParamsWithTimeout creates a new GetFirehoseHistoryParams object with the ability to set a timeout on a request.

func (*GetFirehoseHistoryParams) SetContext added in v0.2.0

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

SetContext adds the context to the get firehose history params

func (*GetFirehoseHistoryParams) SetDefaults added in v0.2.0

func (o *GetFirehoseHistoryParams) SetDefaults()

SetDefaults hydrates default values in the get firehose history params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseHistoryParams) SetFirehoseUrn added in v0.2.0

func (o *GetFirehoseHistoryParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the get firehose history params

func (*GetFirehoseHistoryParams) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get firehose history params

func (*GetFirehoseHistoryParams) SetProjectSlug added in v0.2.0

func (o *GetFirehoseHistoryParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get firehose history params

func (*GetFirehoseHistoryParams) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get firehose history params

func (*GetFirehoseHistoryParams) WithContext added in v0.2.0

WithContext adds the context to the get firehose history params

func (*GetFirehoseHistoryParams) WithDefaults added in v0.2.0

WithDefaults hydrates default values in the get firehose history params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseHistoryParams) WithFirehoseUrn added in v0.2.0

func (o *GetFirehoseHistoryParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseHistoryParams

WithFirehoseUrn adds the firehoseUrn to the get firehose history params

func (*GetFirehoseHistoryParams) WithHTTPClient added in v0.2.0

func (o *GetFirehoseHistoryParams) WithHTTPClient(client *http.Client) *GetFirehoseHistoryParams

WithHTTPClient adds the HTTPClient to the get firehose history params

func (*GetFirehoseHistoryParams) WithProjectSlug added in v0.2.0

func (o *GetFirehoseHistoryParams) WithProjectSlug(projectSlug string) *GetFirehoseHistoryParams

WithProjectSlug adds the projectSlug to the get firehose history params

func (*GetFirehoseHistoryParams) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get firehose history params

func (*GetFirehoseHistoryParams) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type GetFirehoseHistoryReader added in v0.2.0

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

GetFirehoseHistoryReader is a Reader for the GetFirehoseHistory structure.

func (*GetFirehoseHistoryReader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetFirehoseInternalServerError

type GetFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetFirehoseInternalServerError

func NewGetFirehoseInternalServerError() *GetFirehoseInternalServerError

NewGetFirehoseInternalServerError creates a GetFirehoseInternalServerError with default headers values

func (*GetFirehoseInternalServerError) Error

func (*GetFirehoseInternalServerError) GetPayload

func (*GetFirehoseInternalServerError) IsClientError

func (o *GetFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this get firehose internal server error response has a 4xx status code

func (*GetFirehoseInternalServerError) IsCode

func (o *GetFirehoseInternalServerError) IsCode(code int) bool

IsCode returns true when this get firehose internal server error response a status code equal to that given

func (*GetFirehoseInternalServerError) IsRedirect

func (o *GetFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this get firehose internal server error response has a 3xx status code

func (*GetFirehoseInternalServerError) IsServerError

func (o *GetFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this get firehose internal server error response has a 5xx status code

func (*GetFirehoseInternalServerError) IsSuccess

func (o *GetFirehoseInternalServerError) IsSuccess() bool

IsSuccess returns true when this get firehose internal server error response has a 2xx status code

func (*GetFirehoseInternalServerError) String

type GetFirehoseLogsBadRequest

type GetFirehoseLogsBadRequest struct {
	Payload *models.ErrorResponse
}

GetFirehoseLogsBadRequest describes a response with status code 400, with default header values.

Get logs request is not valid.

func NewGetFirehoseLogsBadRequest

func NewGetFirehoseLogsBadRequest() *GetFirehoseLogsBadRequest

NewGetFirehoseLogsBadRequest creates a GetFirehoseLogsBadRequest with default headers values

func (*GetFirehoseLogsBadRequest) Error

func (o *GetFirehoseLogsBadRequest) Error() string

func (*GetFirehoseLogsBadRequest) GetPayload

func (*GetFirehoseLogsBadRequest) IsClientError

func (o *GetFirehoseLogsBadRequest) IsClientError() bool

IsClientError returns true when this get firehose logs bad request response has a 4xx status code

func (*GetFirehoseLogsBadRequest) IsCode

func (o *GetFirehoseLogsBadRequest) IsCode(code int) bool

IsCode returns true when this get firehose logs bad request response a status code equal to that given

func (*GetFirehoseLogsBadRequest) IsRedirect

func (o *GetFirehoseLogsBadRequest) IsRedirect() bool

IsRedirect returns true when this get firehose logs bad request response has a 3xx status code

func (*GetFirehoseLogsBadRequest) IsServerError

func (o *GetFirehoseLogsBadRequest) IsServerError() bool

IsServerError returns true when this get firehose logs bad request response has a 5xx status code

func (*GetFirehoseLogsBadRequest) IsSuccess

func (o *GetFirehoseLogsBadRequest) IsSuccess() bool

IsSuccess returns true when this get firehose logs bad request response has a 2xx status code

func (*GetFirehoseLogsBadRequest) String

func (o *GetFirehoseLogsBadRequest) String() string

type GetFirehoseLogsInternalServerError

type GetFirehoseLogsInternalServerError struct {
	Payload *models.ErrorResponse
}

GetFirehoseLogsInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetFirehoseLogsInternalServerError

func NewGetFirehoseLogsInternalServerError() *GetFirehoseLogsInternalServerError

NewGetFirehoseLogsInternalServerError creates a GetFirehoseLogsInternalServerError with default headers values

func (*GetFirehoseLogsInternalServerError) Error

func (*GetFirehoseLogsInternalServerError) GetPayload

func (*GetFirehoseLogsInternalServerError) IsClientError

func (o *GetFirehoseLogsInternalServerError) IsClientError() bool

IsClientError returns true when this get firehose logs internal server error response has a 4xx status code

func (*GetFirehoseLogsInternalServerError) IsCode

IsCode returns true when this get firehose logs internal server error response a status code equal to that given

func (*GetFirehoseLogsInternalServerError) IsRedirect

func (o *GetFirehoseLogsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get firehose logs internal server error response has a 3xx status code

func (*GetFirehoseLogsInternalServerError) IsServerError

func (o *GetFirehoseLogsInternalServerError) IsServerError() bool

IsServerError returns true when this get firehose logs internal server error response has a 5xx status code

func (*GetFirehoseLogsInternalServerError) IsSuccess

IsSuccess returns true when this get firehose logs internal server error response has a 2xx status code

func (*GetFirehoseLogsInternalServerError) String

type GetFirehoseLogsNotFound

type GetFirehoseLogsNotFound struct {
	Payload *models.ErrorResponse
}

GetFirehoseLogsNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewGetFirehoseLogsNotFound

func NewGetFirehoseLogsNotFound() *GetFirehoseLogsNotFound

NewGetFirehoseLogsNotFound creates a GetFirehoseLogsNotFound with default headers values

func (*GetFirehoseLogsNotFound) Error

func (o *GetFirehoseLogsNotFound) Error() string

func (*GetFirehoseLogsNotFound) GetPayload

func (o *GetFirehoseLogsNotFound) GetPayload() *models.ErrorResponse

func (*GetFirehoseLogsNotFound) IsClientError

func (o *GetFirehoseLogsNotFound) IsClientError() bool

IsClientError returns true when this get firehose logs not found response has a 4xx status code

func (*GetFirehoseLogsNotFound) IsCode

func (o *GetFirehoseLogsNotFound) IsCode(code int) bool

IsCode returns true when this get firehose logs not found response a status code equal to that given

func (*GetFirehoseLogsNotFound) IsRedirect

func (o *GetFirehoseLogsNotFound) IsRedirect() bool

IsRedirect returns true when this get firehose logs not found response has a 3xx status code

func (*GetFirehoseLogsNotFound) IsServerError

func (o *GetFirehoseLogsNotFound) IsServerError() bool

IsServerError returns true when this get firehose logs not found response has a 5xx status code

func (*GetFirehoseLogsNotFound) IsSuccess

func (o *GetFirehoseLogsNotFound) IsSuccess() bool

IsSuccess returns true when this get firehose logs not found response has a 2xx status code

func (*GetFirehoseLogsNotFound) String

func (o *GetFirehoseLogsNotFound) String() string

type GetFirehoseLogsOK

type GetFirehoseLogsOK struct {
	Payload io.Writer
}

GetFirehoseLogsOK describes a response with status code 200, with default header values.

Found logs for given firehose URN.

func NewGetFirehoseLogsOK

func NewGetFirehoseLogsOK(writer io.Writer) *GetFirehoseLogsOK

NewGetFirehoseLogsOK creates a GetFirehoseLogsOK with default headers values

func (*GetFirehoseLogsOK) Error

func (o *GetFirehoseLogsOK) Error() string

func (*GetFirehoseLogsOK) GetPayload

func (o *GetFirehoseLogsOK) GetPayload() io.Writer

func (*GetFirehoseLogsOK) IsClientError

func (o *GetFirehoseLogsOK) IsClientError() bool

IsClientError returns true when this get firehose logs o k response has a 4xx status code

func (*GetFirehoseLogsOK) IsCode

func (o *GetFirehoseLogsOK) IsCode(code int) bool

IsCode returns true when this get firehose logs o k response a status code equal to that given

func (*GetFirehoseLogsOK) IsRedirect

func (o *GetFirehoseLogsOK) IsRedirect() bool

IsRedirect returns true when this get firehose logs o k response has a 3xx status code

func (*GetFirehoseLogsOK) IsServerError

func (o *GetFirehoseLogsOK) IsServerError() bool

IsServerError returns true when this get firehose logs o k response has a 5xx status code

func (*GetFirehoseLogsOK) IsSuccess

func (o *GetFirehoseLogsOK) IsSuccess() bool

IsSuccess returns true when this get firehose logs o k response has a 2xx status code

func (*GetFirehoseLogsOK) String

func (o *GetFirehoseLogsOK) String() string

type GetFirehoseLogsParams

type GetFirehoseLogsParams struct {

	/* Container.

	   Return logs for selected container.
	*/
	Container *string

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* Follow.

	   Follow the log stream of the firehose.

	   Default: true
	*/
	Follow *bool

	/* Pod.

	   Return logs for selected pod.
	*/
	Pod *string

	/* Previous.

	   Return previous terminated container logs.
	*/
	Previous *bool

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

	/* SinceSeconds.

	   Return logs since given seconds ago
	*/
	SinceSeconds *int64

	/* TailLines.

	   Number of lines from the end of the logs to show.
	*/
	TailLines *int64

	/* Timestamps.

	   Add a timestamp at the beginning of every line of log output.
	*/
	Timestamps *bool

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

GetFirehoseLogsParams contains all the parameters to send to the API endpoint

for the get firehose logs operation.

Typically these are written to a http.Request.

func NewGetFirehoseLogsParams

func NewGetFirehoseLogsParams() *GetFirehoseLogsParams

NewGetFirehoseLogsParams creates a new GetFirehoseLogsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFirehoseLogsParamsWithContext

func NewGetFirehoseLogsParamsWithContext(ctx context.Context) *GetFirehoseLogsParams

NewGetFirehoseLogsParamsWithContext creates a new GetFirehoseLogsParams object with the ability to set a context for a request.

func NewGetFirehoseLogsParamsWithHTTPClient

func NewGetFirehoseLogsParamsWithHTTPClient(client *http.Client) *GetFirehoseLogsParams

NewGetFirehoseLogsParamsWithHTTPClient creates a new GetFirehoseLogsParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirehoseLogsParamsWithTimeout

func NewGetFirehoseLogsParamsWithTimeout(timeout time.Duration) *GetFirehoseLogsParams

NewGetFirehoseLogsParamsWithTimeout creates a new GetFirehoseLogsParams object with the ability to set a timeout on a request.

func (*GetFirehoseLogsParams) SetContainer

func (o *GetFirehoseLogsParams) SetContainer(container *string)

SetContainer adds the container to the get firehose logs params

func (*GetFirehoseLogsParams) SetContext

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

SetContext adds the context to the get firehose logs params

func (*GetFirehoseLogsParams) SetDefaults

func (o *GetFirehoseLogsParams) SetDefaults()

SetDefaults hydrates default values in the get firehose logs params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseLogsParams) SetFirehoseUrn

func (o *GetFirehoseLogsParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the get firehose logs params

func (*GetFirehoseLogsParams) SetFollow

func (o *GetFirehoseLogsParams) SetFollow(follow *bool)

SetFollow adds the follow to the get firehose logs params

func (*GetFirehoseLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firehose logs params

func (*GetFirehoseLogsParams) SetPod

func (o *GetFirehoseLogsParams) SetPod(pod *string)

SetPod adds the pod to the get firehose logs params

func (*GetFirehoseLogsParams) SetPrevious

func (o *GetFirehoseLogsParams) SetPrevious(previous *bool)

SetPrevious adds the previous to the get firehose logs params

func (*GetFirehoseLogsParams) SetProjectSlug

func (o *GetFirehoseLogsParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get firehose logs params

func (*GetFirehoseLogsParams) SetSinceSeconds

func (o *GetFirehoseLogsParams) SetSinceSeconds(sinceSeconds *int64)

SetSinceSeconds adds the sinceSeconds to the get firehose logs params

func (*GetFirehoseLogsParams) SetTailLines

func (o *GetFirehoseLogsParams) SetTailLines(tailLines *int64)

SetTailLines adds the tailLines to the get firehose logs params

func (*GetFirehoseLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get firehose logs params

func (*GetFirehoseLogsParams) SetTimestamps

func (o *GetFirehoseLogsParams) SetTimestamps(timestamps *bool)

SetTimestamps adds the timestamps to the get firehose logs params

func (*GetFirehoseLogsParams) WithContainer

func (o *GetFirehoseLogsParams) WithContainer(container *string) *GetFirehoseLogsParams

WithContainer adds the container to the get firehose logs params

func (*GetFirehoseLogsParams) WithContext

WithContext adds the context to the get firehose logs params

func (*GetFirehoseLogsParams) WithDefaults

func (o *GetFirehoseLogsParams) WithDefaults() *GetFirehoseLogsParams

WithDefaults hydrates default values in the get firehose logs params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseLogsParams) WithFirehoseUrn

func (o *GetFirehoseLogsParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseLogsParams

WithFirehoseUrn adds the firehoseUrn to the get firehose logs params

func (*GetFirehoseLogsParams) WithFollow

func (o *GetFirehoseLogsParams) WithFollow(follow *bool) *GetFirehoseLogsParams

WithFollow adds the follow to the get firehose logs params

func (*GetFirehoseLogsParams) WithHTTPClient

func (o *GetFirehoseLogsParams) WithHTTPClient(client *http.Client) *GetFirehoseLogsParams

WithHTTPClient adds the HTTPClient to the get firehose logs params

func (*GetFirehoseLogsParams) WithPod

WithPod adds the pod to the get firehose logs params

func (*GetFirehoseLogsParams) WithPrevious

func (o *GetFirehoseLogsParams) WithPrevious(previous *bool) *GetFirehoseLogsParams

WithPrevious adds the previous to the get firehose logs params

func (*GetFirehoseLogsParams) WithProjectSlug

func (o *GetFirehoseLogsParams) WithProjectSlug(projectSlug string) *GetFirehoseLogsParams

WithProjectSlug adds the projectSlug to the get firehose logs params

func (*GetFirehoseLogsParams) WithSinceSeconds

func (o *GetFirehoseLogsParams) WithSinceSeconds(sinceSeconds *int64) *GetFirehoseLogsParams

WithSinceSeconds adds the sinceSeconds to the get firehose logs params

func (*GetFirehoseLogsParams) WithTailLines

func (o *GetFirehoseLogsParams) WithTailLines(tailLines *int64) *GetFirehoseLogsParams

WithTailLines adds the tailLines to the get firehose logs params

func (*GetFirehoseLogsParams) WithTimeout

func (o *GetFirehoseLogsParams) WithTimeout(timeout time.Duration) *GetFirehoseLogsParams

WithTimeout adds the timeout to the get firehose logs params

func (*GetFirehoseLogsParams) WithTimestamps

func (o *GetFirehoseLogsParams) WithTimestamps(timestamps *bool) *GetFirehoseLogsParams

WithTimestamps adds the timestamps to the get firehose logs params

func (*GetFirehoseLogsParams) WriteToRequest

func (o *GetFirehoseLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFirehoseLogsReader

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

GetFirehoseLogsReader is a Reader for the GetFirehoseLogs structure.

func (*GetFirehoseLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFirehoseNotFound

type GetFirehoseNotFound struct {
	Payload *models.ErrorResponse
}

GetFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewGetFirehoseNotFound

func NewGetFirehoseNotFound() *GetFirehoseNotFound

NewGetFirehoseNotFound creates a GetFirehoseNotFound with default headers values

func (*GetFirehoseNotFound) Error

func (o *GetFirehoseNotFound) Error() string

func (*GetFirehoseNotFound) GetPayload

func (o *GetFirehoseNotFound) GetPayload() *models.ErrorResponse

func (*GetFirehoseNotFound) IsClientError

func (o *GetFirehoseNotFound) IsClientError() bool

IsClientError returns true when this get firehose not found response has a 4xx status code

func (*GetFirehoseNotFound) IsCode

func (o *GetFirehoseNotFound) IsCode(code int) bool

IsCode returns true when this get firehose not found response a status code equal to that given

func (*GetFirehoseNotFound) IsRedirect

func (o *GetFirehoseNotFound) IsRedirect() bool

IsRedirect returns true when this get firehose not found response has a 3xx status code

func (*GetFirehoseNotFound) IsServerError

func (o *GetFirehoseNotFound) IsServerError() bool

IsServerError returns true when this get firehose not found response has a 5xx status code

func (*GetFirehoseNotFound) IsSuccess

func (o *GetFirehoseNotFound) IsSuccess() bool

IsSuccess returns true when this get firehose not found response has a 2xx status code

func (*GetFirehoseNotFound) String

func (o *GetFirehoseNotFound) String() string

type GetFirehoseOK

type GetFirehoseOK struct {
	Payload *models.Firehose
}

GetFirehoseOK describes a response with status code 200, with default header values.

Found firehose with given URN

func NewGetFirehoseOK

func NewGetFirehoseOK() *GetFirehoseOK

NewGetFirehoseOK creates a GetFirehoseOK with default headers values

func (*GetFirehoseOK) Error

func (o *GetFirehoseOK) Error() string

func (*GetFirehoseOK) GetPayload

func (o *GetFirehoseOK) GetPayload() *models.Firehose

func (*GetFirehoseOK) IsClientError

func (o *GetFirehoseOK) IsClientError() bool

IsClientError returns true when this get firehose o k response has a 4xx status code

func (*GetFirehoseOK) IsCode

func (o *GetFirehoseOK) IsCode(code int) bool

IsCode returns true when this get firehose o k response a status code equal to that given

func (*GetFirehoseOK) IsRedirect

func (o *GetFirehoseOK) IsRedirect() bool

IsRedirect returns true when this get firehose o k response has a 3xx status code

func (*GetFirehoseOK) IsServerError

func (o *GetFirehoseOK) IsServerError() bool

IsServerError returns true when this get firehose o k response has a 5xx status code

func (*GetFirehoseOK) IsSuccess

func (o *GetFirehoseOK) IsSuccess() bool

IsSuccess returns true when this get firehose o k response has a 2xx status code

func (*GetFirehoseOK) String

func (o *GetFirehoseOK) String() string

type GetFirehoseParams

type GetFirehoseParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

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

GetFirehoseParams contains all the parameters to send to the API endpoint

for the get firehose operation.

Typically these are written to a http.Request.

func NewGetFirehoseParams

func NewGetFirehoseParams() *GetFirehoseParams

NewGetFirehoseParams creates a new GetFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFirehoseParamsWithContext

func NewGetFirehoseParamsWithContext(ctx context.Context) *GetFirehoseParams

NewGetFirehoseParamsWithContext creates a new GetFirehoseParams object with the ability to set a context for a request.

func NewGetFirehoseParamsWithHTTPClient

func NewGetFirehoseParamsWithHTTPClient(client *http.Client) *GetFirehoseParams

NewGetFirehoseParamsWithHTTPClient creates a new GetFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewGetFirehoseParamsWithTimeout

func NewGetFirehoseParamsWithTimeout(timeout time.Duration) *GetFirehoseParams

NewGetFirehoseParamsWithTimeout creates a new GetFirehoseParams object with the ability to set a timeout on a request.

func (*GetFirehoseParams) SetContext

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

SetContext adds the context to the get firehose params

func (*GetFirehoseParams) SetDefaults

func (o *GetFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the get firehose params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseParams) SetFirehoseUrn

func (o *GetFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the get firehose params

func (*GetFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firehose params

func (*GetFirehoseParams) SetProjectSlug

func (o *GetFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get firehose params

func (*GetFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the get firehose params

func (*GetFirehoseParams) WithContext

func (o *GetFirehoseParams) WithContext(ctx context.Context) *GetFirehoseParams

WithContext adds the context to the get firehose params

func (*GetFirehoseParams) WithDefaults

func (o *GetFirehoseParams) WithDefaults() *GetFirehoseParams

WithDefaults hydrates default values in the get firehose params (not the query body).

All values with no default are reset to their zero value.

func (*GetFirehoseParams) WithFirehoseUrn

func (o *GetFirehoseParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseParams

WithFirehoseUrn adds the firehoseUrn to the get firehose params

func (*GetFirehoseParams) WithHTTPClient

func (o *GetFirehoseParams) WithHTTPClient(client *http.Client) *GetFirehoseParams

WithHTTPClient adds the HTTPClient to the get firehose params

func (*GetFirehoseParams) WithProjectSlug

func (o *GetFirehoseParams) WithProjectSlug(projectSlug string) *GetFirehoseParams

WithProjectSlug adds the projectSlug to the get firehose params

func (*GetFirehoseParams) WithTimeout

func (o *GetFirehoseParams) WithTimeout(timeout time.Duration) *GetFirehoseParams

WithTimeout adds the timeout to the get firehose params

func (*GetFirehoseParams) WriteToRequest

func (o *GetFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetFirehoseReader

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

GetFirehoseReader is a Reader for the GetFirehose structure.

func (*GetFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProjectBySlugInternalServerError

type GetProjectBySlugInternalServerError struct {
	Payload *models.ErrorResponse
}

GetProjectBySlugInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetProjectBySlugInternalServerError

func NewGetProjectBySlugInternalServerError() *GetProjectBySlugInternalServerError

NewGetProjectBySlugInternalServerError creates a GetProjectBySlugInternalServerError with default headers values

func (*GetProjectBySlugInternalServerError) Error

func (*GetProjectBySlugInternalServerError) GetPayload

func (*GetProjectBySlugInternalServerError) IsClientError

func (o *GetProjectBySlugInternalServerError) IsClientError() bool

IsClientError returns true when this get project by slug internal server error response has a 4xx status code

func (*GetProjectBySlugInternalServerError) IsCode

IsCode returns true when this get project by slug internal server error response a status code equal to that given

func (*GetProjectBySlugInternalServerError) IsRedirect

func (o *GetProjectBySlugInternalServerError) IsRedirect() bool

IsRedirect returns true when this get project by slug internal server error response has a 3xx status code

func (*GetProjectBySlugInternalServerError) IsServerError

func (o *GetProjectBySlugInternalServerError) IsServerError() bool

IsServerError returns true when this get project by slug internal server error response has a 5xx status code

func (*GetProjectBySlugInternalServerError) IsSuccess

IsSuccess returns true when this get project by slug internal server error response has a 2xx status code

func (*GetProjectBySlugInternalServerError) String

type GetProjectBySlugNotFound

type GetProjectBySlugNotFound struct {
	Payload *models.ErrorResponse
}

GetProjectBySlugNotFound describes a response with status code 404, with default header values.

project not found

func NewGetProjectBySlugNotFound

func NewGetProjectBySlugNotFound() *GetProjectBySlugNotFound

NewGetProjectBySlugNotFound creates a GetProjectBySlugNotFound with default headers values

func (*GetProjectBySlugNotFound) Error

func (o *GetProjectBySlugNotFound) Error() string

func (*GetProjectBySlugNotFound) GetPayload

func (*GetProjectBySlugNotFound) IsClientError

func (o *GetProjectBySlugNotFound) IsClientError() bool

IsClientError returns true when this get project by slug not found response has a 4xx status code

func (*GetProjectBySlugNotFound) IsCode

func (o *GetProjectBySlugNotFound) IsCode(code int) bool

IsCode returns true when this get project by slug not found response a status code equal to that given

func (*GetProjectBySlugNotFound) IsRedirect

func (o *GetProjectBySlugNotFound) IsRedirect() bool

IsRedirect returns true when this get project by slug not found response has a 3xx status code

func (*GetProjectBySlugNotFound) IsServerError

func (o *GetProjectBySlugNotFound) IsServerError() bool

IsServerError returns true when this get project by slug not found response has a 5xx status code

func (*GetProjectBySlugNotFound) IsSuccess

func (o *GetProjectBySlugNotFound) IsSuccess() bool

IsSuccess returns true when this get project by slug not found response has a 2xx status code

func (*GetProjectBySlugNotFound) String

func (o *GetProjectBySlugNotFound) String() string

type GetProjectBySlugOK

type GetProjectBySlugOK struct {
	Payload *models.Project
}

GetProjectBySlugOK describes a response with status code 200, with default header values.

successful operation

func NewGetProjectBySlugOK

func NewGetProjectBySlugOK() *GetProjectBySlugOK

NewGetProjectBySlugOK creates a GetProjectBySlugOK with default headers values

func (*GetProjectBySlugOK) Error

func (o *GetProjectBySlugOK) Error() string

func (*GetProjectBySlugOK) GetPayload

func (o *GetProjectBySlugOK) GetPayload() *models.Project

func (*GetProjectBySlugOK) IsClientError

func (o *GetProjectBySlugOK) IsClientError() bool

IsClientError returns true when this get project by slug o k response has a 4xx status code

func (*GetProjectBySlugOK) IsCode

func (o *GetProjectBySlugOK) IsCode(code int) bool

IsCode returns true when this get project by slug o k response a status code equal to that given

func (*GetProjectBySlugOK) IsRedirect

func (o *GetProjectBySlugOK) IsRedirect() bool

IsRedirect returns true when this get project by slug o k response has a 3xx status code

func (*GetProjectBySlugOK) IsServerError

func (o *GetProjectBySlugOK) IsServerError() bool

IsServerError returns true when this get project by slug o k response has a 5xx status code

func (*GetProjectBySlugOK) IsSuccess

func (o *GetProjectBySlugOK) IsSuccess() bool

IsSuccess returns true when this get project by slug o k response has a 2xx status code

func (*GetProjectBySlugOK) String

func (o *GetProjectBySlugOK) String() string

type GetProjectBySlugParams

type GetProjectBySlugParams struct {

	/* Slug.

	   Unique slug of the project.
	*/
	Slug string

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

GetProjectBySlugParams contains all the parameters to send to the API endpoint

for the get project by slug operation.

Typically these are written to a http.Request.

func NewGetProjectBySlugParams

func NewGetProjectBySlugParams() *GetProjectBySlugParams

NewGetProjectBySlugParams creates a new GetProjectBySlugParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectBySlugParamsWithContext

func NewGetProjectBySlugParamsWithContext(ctx context.Context) *GetProjectBySlugParams

NewGetProjectBySlugParamsWithContext creates a new GetProjectBySlugParams object with the ability to set a context for a request.

func NewGetProjectBySlugParamsWithHTTPClient

func NewGetProjectBySlugParamsWithHTTPClient(client *http.Client) *GetProjectBySlugParams

NewGetProjectBySlugParamsWithHTTPClient creates a new GetProjectBySlugParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectBySlugParamsWithTimeout

func NewGetProjectBySlugParamsWithTimeout(timeout time.Duration) *GetProjectBySlugParams

NewGetProjectBySlugParamsWithTimeout creates a new GetProjectBySlugParams object with the ability to set a timeout on a request.

func (*GetProjectBySlugParams) SetContext

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

SetContext adds the context to the get project by slug params

func (*GetProjectBySlugParams) SetDefaults

func (o *GetProjectBySlugParams) SetDefaults()

SetDefaults hydrates default values in the get project by slug params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectBySlugParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get project by slug params

func (*GetProjectBySlugParams) SetSlug

func (o *GetProjectBySlugParams) SetSlug(slug string)

SetSlug adds the slug to the get project by slug params

func (*GetProjectBySlugParams) SetTimeout

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

SetTimeout adds the timeout to the get project by slug params

func (*GetProjectBySlugParams) WithContext

WithContext adds the context to the get project by slug params

func (*GetProjectBySlugParams) WithDefaults

WithDefaults hydrates default values in the get project by slug params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectBySlugParams) WithHTTPClient

func (o *GetProjectBySlugParams) WithHTTPClient(client *http.Client) *GetProjectBySlugParams

WithHTTPClient adds the HTTPClient to the get project by slug params

func (*GetProjectBySlugParams) WithSlug

WithSlug adds the slug to the get project by slug params

func (*GetProjectBySlugParams) WithTimeout

WithTimeout adds the timeout to the get project by slug params

func (*GetProjectBySlugParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectBySlugReader

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

GetProjectBySlugReader is a Reader for the GetProjectBySlug structure.

func (*GetProjectBySlugReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAlertTemplatesInternalServerError

type ListAlertTemplatesInternalServerError struct {
	Payload *models.ErrorResponse
}

ListAlertTemplatesInternalServerError describes a response with status code 500, with default header values.

internal error

func NewListAlertTemplatesInternalServerError

func NewListAlertTemplatesInternalServerError() *ListAlertTemplatesInternalServerError

NewListAlertTemplatesInternalServerError creates a ListAlertTemplatesInternalServerError with default headers values

func (*ListAlertTemplatesInternalServerError) Error

func (*ListAlertTemplatesInternalServerError) GetPayload

func (*ListAlertTemplatesInternalServerError) IsClientError

func (o *ListAlertTemplatesInternalServerError) IsClientError() bool

IsClientError returns true when this list alert templates internal server error response has a 4xx status code

func (*ListAlertTemplatesInternalServerError) IsCode

IsCode returns true when this list alert templates internal server error response a status code equal to that given

func (*ListAlertTemplatesInternalServerError) IsRedirect

IsRedirect returns true when this list alert templates internal server error response has a 3xx status code

func (*ListAlertTemplatesInternalServerError) IsServerError

func (o *ListAlertTemplatesInternalServerError) IsServerError() bool

IsServerError returns true when this list alert templates internal server error response has a 5xx status code

func (*ListAlertTemplatesInternalServerError) IsSuccess

IsSuccess returns true when this list alert templates internal server error response has a 2xx status code

func (*ListAlertTemplatesInternalServerError) String

type ListAlertTemplatesOK

type ListAlertTemplatesOK struct {
	Payload *models.AlertTemplatesArray
}

ListAlertTemplatesOK describes a response with status code 200, with default header values.

successful operation

func NewListAlertTemplatesOK

func NewListAlertTemplatesOK() *ListAlertTemplatesOK

NewListAlertTemplatesOK creates a ListAlertTemplatesOK with default headers values

func (*ListAlertTemplatesOK) Error

func (o *ListAlertTemplatesOK) Error() string

func (*ListAlertTemplatesOK) GetPayload

func (*ListAlertTemplatesOK) IsClientError

func (o *ListAlertTemplatesOK) IsClientError() bool

IsClientError returns true when this list alert templates o k response has a 4xx status code

func (*ListAlertTemplatesOK) IsCode

func (o *ListAlertTemplatesOK) IsCode(code int) bool

IsCode returns true when this list alert templates o k response a status code equal to that given

func (*ListAlertTemplatesOK) IsRedirect

func (o *ListAlertTemplatesOK) IsRedirect() bool

IsRedirect returns true when this list alert templates o k response has a 3xx status code

func (*ListAlertTemplatesOK) IsServerError

func (o *ListAlertTemplatesOK) IsServerError() bool

IsServerError returns true when this list alert templates o k response has a 5xx status code

func (*ListAlertTemplatesOK) IsSuccess

func (o *ListAlertTemplatesOK) IsSuccess() bool

IsSuccess returns true when this list alert templates o k response has a 2xx status code

func (*ListAlertTemplatesOK) String

func (o *ListAlertTemplatesOK) String() string

type ListAlertTemplatesParams

type ListAlertTemplatesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListAlertTemplatesParams contains all the parameters to send to the API endpoint

for the list alert templates operation.

Typically these are written to a http.Request.

func NewListAlertTemplatesParams

func NewListAlertTemplatesParams() *ListAlertTemplatesParams

NewListAlertTemplatesParams creates a new ListAlertTemplatesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListAlertTemplatesParamsWithContext

func NewListAlertTemplatesParamsWithContext(ctx context.Context) *ListAlertTemplatesParams

NewListAlertTemplatesParamsWithContext creates a new ListAlertTemplatesParams object with the ability to set a context for a request.

func NewListAlertTemplatesParamsWithHTTPClient

func NewListAlertTemplatesParamsWithHTTPClient(client *http.Client) *ListAlertTemplatesParams

NewListAlertTemplatesParamsWithHTTPClient creates a new ListAlertTemplatesParams object with the ability to set a custom HTTPClient for a request.

func NewListAlertTemplatesParamsWithTimeout

func NewListAlertTemplatesParamsWithTimeout(timeout time.Duration) *ListAlertTemplatesParams

NewListAlertTemplatesParamsWithTimeout creates a new ListAlertTemplatesParams object with the ability to set a timeout on a request.

func (*ListAlertTemplatesParams) SetContext

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

SetContext adds the context to the list alert templates params

func (*ListAlertTemplatesParams) SetDefaults

func (o *ListAlertTemplatesParams) SetDefaults()

SetDefaults hydrates default values in the list alert templates params (not the query body).

All values with no default are reset to their zero value.

func (*ListAlertTemplatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list alert templates params

func (*ListAlertTemplatesParams) SetTimeout

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

SetTimeout adds the timeout to the list alert templates params

func (*ListAlertTemplatesParams) WithContext

WithContext adds the context to the list alert templates params

func (*ListAlertTemplatesParams) WithDefaults

WithDefaults hydrates default values in the list alert templates params (not the query body).

All values with no default are reset to their zero value.

func (*ListAlertTemplatesParams) WithHTTPClient

func (o *ListAlertTemplatesParams) WithHTTPClient(client *http.Client) *ListAlertTemplatesParams

WithHTTPClient adds the HTTPClient to the list alert templates params

func (*ListAlertTemplatesParams) WithTimeout

WithTimeout adds the timeout to the list alert templates params

func (*ListAlertTemplatesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAlertTemplatesReader

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

ListAlertTemplatesReader is a Reader for the ListAlertTemplates structure.

func (*ListAlertTemplatesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListFirehosesInternalServerError

type ListFirehosesInternalServerError struct {
	Payload *models.ErrorResponse
}

ListFirehosesInternalServerError describes a response with status code 500, with default header values.

internal error

func NewListFirehosesInternalServerError

func NewListFirehosesInternalServerError() *ListFirehosesInternalServerError

NewListFirehosesInternalServerError creates a ListFirehosesInternalServerError with default headers values

func (*ListFirehosesInternalServerError) Error

func (*ListFirehosesInternalServerError) GetPayload

func (*ListFirehosesInternalServerError) IsClientError

func (o *ListFirehosesInternalServerError) IsClientError() bool

IsClientError returns true when this list firehoses internal server error response has a 4xx status code

func (*ListFirehosesInternalServerError) IsCode

func (o *ListFirehosesInternalServerError) IsCode(code int) bool

IsCode returns true when this list firehoses internal server error response a status code equal to that given

func (*ListFirehosesInternalServerError) IsRedirect

func (o *ListFirehosesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list firehoses internal server error response has a 3xx status code

func (*ListFirehosesInternalServerError) IsServerError

func (o *ListFirehosesInternalServerError) IsServerError() bool

IsServerError returns true when this list firehoses internal server error response has a 5xx status code

func (*ListFirehosesInternalServerError) IsSuccess

func (o *ListFirehosesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list firehoses internal server error response has a 2xx status code

func (*ListFirehosesInternalServerError) String

type ListFirehosesOK

type ListFirehosesOK struct {
	Payload *models.FirehoseArray
}

ListFirehosesOK describes a response with status code 200, with default header values.

successful operation

func NewListFirehosesOK

func NewListFirehosesOK() *ListFirehosesOK

NewListFirehosesOK creates a ListFirehosesOK with default headers values

func (*ListFirehosesOK) Error

func (o *ListFirehosesOK) Error() string

func (*ListFirehosesOK) GetPayload

func (o *ListFirehosesOK) GetPayload() *models.FirehoseArray

func (*ListFirehosesOK) IsClientError

func (o *ListFirehosesOK) IsClientError() bool

IsClientError returns true when this list firehoses o k response has a 4xx status code

func (*ListFirehosesOK) IsCode

func (o *ListFirehosesOK) IsCode(code int) bool

IsCode returns true when this list firehoses o k response a status code equal to that given

func (*ListFirehosesOK) IsRedirect

func (o *ListFirehosesOK) IsRedirect() bool

IsRedirect returns true when this list firehoses o k response has a 3xx status code

func (*ListFirehosesOK) IsServerError

func (o *ListFirehosesOK) IsServerError() bool

IsServerError returns true when this list firehoses o k response has a 5xx status code

func (*ListFirehosesOK) IsSuccess

func (o *ListFirehosesOK) IsSuccess() bool

IsSuccess returns true when this list firehoses o k response has a 2xx status code

func (*ListFirehosesOK) String

func (o *ListFirehosesOK) String() string

type ListFirehosesParams

type ListFirehosesParams struct {

	/* Group.

	   Return firehoses belonging to only this group.
	*/
	Group *string

	/* KubeCluster.

	   Return firehoses belonging to only this kubernetes cluster.
	*/
	KubeCluster *string

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

	/* SinkType.

	   Return firehoses with this sink type.
	*/
	SinkType *string

	/* Status.

	   Return firehoses only with this status.
	*/
	Status *string

	/* StreamName.

	     Return firehoses that are consuming from this stream.
	Usually stream refers to the kafka cluster.

	*/
	StreamName *string

	/* TopicName.

	   Return firehoses that are consuming from this topic.
	*/
	TopicName *string

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

ListFirehosesParams contains all the parameters to send to the API endpoint

for the list firehoses operation.

Typically these are written to a http.Request.

func NewListFirehosesParams

func NewListFirehosesParams() *ListFirehosesParams

NewListFirehosesParams creates a new ListFirehosesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListFirehosesParamsWithContext

func NewListFirehosesParamsWithContext(ctx context.Context) *ListFirehosesParams

NewListFirehosesParamsWithContext creates a new ListFirehosesParams object with the ability to set a context for a request.

func NewListFirehosesParamsWithHTTPClient

func NewListFirehosesParamsWithHTTPClient(client *http.Client) *ListFirehosesParams

NewListFirehosesParamsWithHTTPClient creates a new ListFirehosesParams object with the ability to set a custom HTTPClient for a request.

func NewListFirehosesParamsWithTimeout

func NewListFirehosesParamsWithTimeout(timeout time.Duration) *ListFirehosesParams

NewListFirehosesParamsWithTimeout creates a new ListFirehosesParams object with the ability to set a timeout on a request.

func (*ListFirehosesParams) SetContext

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

SetContext adds the context to the list firehoses params

func (*ListFirehosesParams) SetDefaults

func (o *ListFirehosesParams) SetDefaults()

SetDefaults hydrates default values in the list firehoses params (not the query body).

All values with no default are reset to their zero value.

func (*ListFirehosesParams) SetGroup added in v0.2.1

func (o *ListFirehosesParams) SetGroup(group *string)

SetGroup adds the group to the list firehoses params

func (*ListFirehosesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list firehoses params

func (*ListFirehosesParams) SetKubeCluster added in v0.2.1

func (o *ListFirehosesParams) SetKubeCluster(kubeCluster *string)

SetKubeCluster adds the kubeCluster to the list firehoses params

func (*ListFirehosesParams) SetProjectSlug

func (o *ListFirehosesParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the list firehoses params

func (*ListFirehosesParams) SetSinkType

func (o *ListFirehosesParams) SetSinkType(sinkType *string)

SetSinkType adds the sinkType to the list firehoses params

func (*ListFirehosesParams) SetStatus

func (o *ListFirehosesParams) SetStatus(status *string)

SetStatus adds the status to the list firehoses params

func (*ListFirehosesParams) SetStreamName

func (o *ListFirehosesParams) SetStreamName(streamName *string)

SetStreamName adds the streamName to the list firehoses params

func (*ListFirehosesParams) SetTimeout

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

SetTimeout adds the timeout to the list firehoses params

func (*ListFirehosesParams) SetTopicName

func (o *ListFirehosesParams) SetTopicName(topicName *string)

SetTopicName adds the topicName to the list firehoses params

func (*ListFirehosesParams) WithContext

WithContext adds the context to the list firehoses params

func (*ListFirehosesParams) WithDefaults

func (o *ListFirehosesParams) WithDefaults() *ListFirehosesParams

WithDefaults hydrates default values in the list firehoses params (not the query body).

All values with no default are reset to their zero value.

func (*ListFirehosesParams) WithGroup added in v0.2.1

func (o *ListFirehosesParams) WithGroup(group *string) *ListFirehosesParams

WithGroup adds the group to the list firehoses params

func (*ListFirehosesParams) WithHTTPClient

func (o *ListFirehosesParams) WithHTTPClient(client *http.Client) *ListFirehosesParams

WithHTTPClient adds the HTTPClient to the list firehoses params

func (*ListFirehosesParams) WithKubeCluster added in v0.2.1

func (o *ListFirehosesParams) WithKubeCluster(kubeCluster *string) *ListFirehosesParams

WithKubeCluster adds the kubeCluster to the list firehoses params

func (*ListFirehosesParams) WithProjectSlug

func (o *ListFirehosesParams) WithProjectSlug(projectSlug string) *ListFirehosesParams

WithProjectSlug adds the projectSlug to the list firehoses params

func (*ListFirehosesParams) WithSinkType

func (o *ListFirehosesParams) WithSinkType(sinkType *string) *ListFirehosesParams

WithSinkType adds the sinkType to the list firehoses params

func (*ListFirehosesParams) WithStatus

func (o *ListFirehosesParams) WithStatus(status *string) *ListFirehosesParams

WithStatus adds the status to the list firehoses params

func (*ListFirehosesParams) WithStreamName

func (o *ListFirehosesParams) WithStreamName(streamName *string) *ListFirehosesParams

WithStreamName adds the streamName to the list firehoses params

func (*ListFirehosesParams) WithTimeout

func (o *ListFirehosesParams) WithTimeout(timeout time.Duration) *ListFirehosesParams

WithTimeout adds the timeout to the list firehoses params

func (*ListFirehosesParams) WithTopicName

func (o *ListFirehosesParams) WithTopicName(topicName *string) *ListFirehosesParams

WithTopicName adds the topicName to the list firehoses params

func (*ListFirehosesParams) WriteToRequest

func (o *ListFirehosesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListFirehosesReader

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

ListFirehosesReader is a Reader for the ListFirehoses structure.

func (*ListFirehosesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListKubernetesInternalServerError added in v0.2.1

type ListKubernetesInternalServerError struct {
	Payload *models.ErrorResponse
}

ListKubernetesInternalServerError describes a response with status code 500, with default header values.

internal error

func NewListKubernetesInternalServerError added in v0.2.1

func NewListKubernetesInternalServerError() *ListKubernetesInternalServerError

NewListKubernetesInternalServerError creates a ListKubernetesInternalServerError with default headers values

func (*ListKubernetesInternalServerError) Error added in v0.2.1

func (*ListKubernetesInternalServerError) GetPayload added in v0.2.1

func (*ListKubernetesInternalServerError) IsClientError added in v0.2.1

func (o *ListKubernetesInternalServerError) IsClientError() bool

IsClientError returns true when this list kubernetes internal server error response has a 4xx status code

func (*ListKubernetesInternalServerError) IsCode added in v0.2.1

func (o *ListKubernetesInternalServerError) IsCode(code int) bool

IsCode returns true when this list kubernetes internal server error response a status code equal to that given

func (*ListKubernetesInternalServerError) IsRedirect added in v0.2.1

func (o *ListKubernetesInternalServerError) IsRedirect() bool

IsRedirect returns true when this list kubernetes internal server error response has a 3xx status code

func (*ListKubernetesInternalServerError) IsServerError added in v0.2.1

func (o *ListKubernetesInternalServerError) IsServerError() bool

IsServerError returns true when this list kubernetes internal server error response has a 5xx status code

func (*ListKubernetesInternalServerError) IsSuccess added in v0.2.1

func (o *ListKubernetesInternalServerError) IsSuccess() bool

IsSuccess returns true when this list kubernetes internal server error response has a 2xx status code

func (*ListKubernetesInternalServerError) String added in v0.2.1

type ListKubernetesOK added in v0.2.1

type ListKubernetesOK struct {
	Payload *models.KubernetesArray
}

ListKubernetesOK describes a response with status code 200, with default header values.

successful operation

func NewListKubernetesOK added in v0.2.1

func NewListKubernetesOK() *ListKubernetesOK

NewListKubernetesOK creates a ListKubernetesOK with default headers values

func (*ListKubernetesOK) Error added in v0.2.1

func (o *ListKubernetesOK) Error() string

func (*ListKubernetesOK) GetPayload added in v0.2.1

func (o *ListKubernetesOK) GetPayload() *models.KubernetesArray

func (*ListKubernetesOK) IsClientError added in v0.2.1

func (o *ListKubernetesOK) IsClientError() bool

IsClientError returns true when this list kubernetes o k response has a 4xx status code

func (*ListKubernetesOK) IsCode added in v0.2.1

func (o *ListKubernetesOK) IsCode(code int) bool

IsCode returns true when this list kubernetes o k response a status code equal to that given

func (*ListKubernetesOK) IsRedirect added in v0.2.1

func (o *ListKubernetesOK) IsRedirect() bool

IsRedirect returns true when this list kubernetes o k response has a 3xx status code

func (*ListKubernetesOK) IsServerError added in v0.2.1

func (o *ListKubernetesOK) IsServerError() bool

IsServerError returns true when this list kubernetes o k response has a 5xx status code

func (*ListKubernetesOK) IsSuccess added in v0.2.1

func (o *ListKubernetesOK) IsSuccess() bool

IsSuccess returns true when this list kubernetes o k response has a 2xx status code

func (*ListKubernetesOK) String added in v0.2.1

func (o *ListKubernetesOK) String() string

type ListKubernetesParams added in v0.2.1

type ListKubernetesParams struct {

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

	/* Tag.

	   Return kubernetes clusters with given tag.
	*/
	Tag *string

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

ListKubernetesParams contains all the parameters to send to the API endpoint

for the list kubernetes operation.

Typically these are written to a http.Request.

func NewListKubernetesParams added in v0.2.1

func NewListKubernetesParams() *ListKubernetesParams

NewListKubernetesParams creates a new ListKubernetesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListKubernetesParamsWithContext added in v0.2.1

func NewListKubernetesParamsWithContext(ctx context.Context) *ListKubernetesParams

NewListKubernetesParamsWithContext creates a new ListKubernetesParams object with the ability to set a context for a request.

func NewListKubernetesParamsWithHTTPClient added in v0.2.1

func NewListKubernetesParamsWithHTTPClient(client *http.Client) *ListKubernetesParams

NewListKubernetesParamsWithHTTPClient creates a new ListKubernetesParams object with the ability to set a custom HTTPClient for a request.

func NewListKubernetesParamsWithTimeout added in v0.2.1

func NewListKubernetesParamsWithTimeout(timeout time.Duration) *ListKubernetesParams

NewListKubernetesParamsWithTimeout creates a new ListKubernetesParams object with the ability to set a timeout on a request.

func (*ListKubernetesParams) SetContext added in v0.2.1

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

SetContext adds the context to the list kubernetes params

func (*ListKubernetesParams) SetDefaults added in v0.2.1

func (o *ListKubernetesParams) SetDefaults()

SetDefaults hydrates default values in the list kubernetes params (not the query body).

All values with no default are reset to their zero value.

func (*ListKubernetesParams) SetHTTPClient added in v0.2.1

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

SetHTTPClient adds the HTTPClient to the list kubernetes params

func (*ListKubernetesParams) SetProjectSlug added in v0.2.1

func (o *ListKubernetesParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the list kubernetes params

func (*ListKubernetesParams) SetTag added in v0.2.1

func (o *ListKubernetesParams) SetTag(tag *string)

SetTag adds the tag to the list kubernetes params

func (*ListKubernetesParams) SetTimeout added in v0.2.1

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

SetTimeout adds the timeout to the list kubernetes params

func (*ListKubernetesParams) WithContext added in v0.2.1

WithContext adds the context to the list kubernetes params

func (*ListKubernetesParams) WithDefaults added in v0.2.1

func (o *ListKubernetesParams) WithDefaults() *ListKubernetesParams

WithDefaults hydrates default values in the list kubernetes params (not the query body).

All values with no default are reset to their zero value.

func (*ListKubernetesParams) WithHTTPClient added in v0.2.1

func (o *ListKubernetesParams) WithHTTPClient(client *http.Client) *ListKubernetesParams

WithHTTPClient adds the HTTPClient to the list kubernetes params

func (*ListKubernetesParams) WithProjectSlug added in v0.2.1

func (o *ListKubernetesParams) WithProjectSlug(projectSlug string) *ListKubernetesParams

WithProjectSlug adds the projectSlug to the list kubernetes params

func (*ListKubernetesParams) WithTag added in v0.2.1

WithTag adds the tag to the list kubernetes params

func (*ListKubernetesParams) WithTimeout added in v0.2.1

func (o *ListKubernetesParams) WithTimeout(timeout time.Duration) *ListKubernetesParams

WithTimeout adds the timeout to the list kubernetes params

func (*ListKubernetesParams) WriteToRequest added in v0.2.1

func (o *ListKubernetesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListKubernetesReader added in v0.2.1

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

ListKubernetesReader is a Reader for the ListKubernetes structure.

func (*ListKubernetesReader) ReadResponse added in v0.2.1

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

ReadResponse reads a server response into the received o.

type ListProjectsInternalServerError

type ListProjectsInternalServerError struct {
	Payload *models.ErrorResponse
}

ListProjectsInternalServerError describes a response with status code 500, with default header values.

internal error

func NewListProjectsInternalServerError

func NewListProjectsInternalServerError() *ListProjectsInternalServerError

NewListProjectsInternalServerError creates a ListProjectsInternalServerError with default headers values

func (*ListProjectsInternalServerError) Error

func (*ListProjectsInternalServerError) GetPayload

func (*ListProjectsInternalServerError) IsClientError

func (o *ListProjectsInternalServerError) IsClientError() bool

IsClientError returns true when this list projects internal server error response has a 4xx status code

func (*ListProjectsInternalServerError) IsCode

func (o *ListProjectsInternalServerError) IsCode(code int) bool

IsCode returns true when this list projects internal server error response a status code equal to that given

func (*ListProjectsInternalServerError) IsRedirect

func (o *ListProjectsInternalServerError) IsRedirect() bool

IsRedirect returns true when this list projects internal server error response has a 3xx status code

func (*ListProjectsInternalServerError) IsServerError

func (o *ListProjectsInternalServerError) IsServerError() bool

IsServerError returns true when this list projects internal server error response has a 5xx status code

func (*ListProjectsInternalServerError) IsSuccess

func (o *ListProjectsInternalServerError) IsSuccess() bool

IsSuccess returns true when this list projects internal server error response has a 2xx status code

func (*ListProjectsInternalServerError) String

type ListProjectsOK

type ListProjectsOK struct {
	Payload *models.ProjectArray
}

ListProjectsOK describes a response with status code 200, with default header values.

successful operation

func NewListProjectsOK

func NewListProjectsOK() *ListProjectsOK

NewListProjectsOK creates a ListProjectsOK with default headers values

func (*ListProjectsOK) Error

func (o *ListProjectsOK) Error() string

func (*ListProjectsOK) GetPayload

func (o *ListProjectsOK) GetPayload() *models.ProjectArray

func (*ListProjectsOK) IsClientError

func (o *ListProjectsOK) IsClientError() bool

IsClientError returns true when this list projects o k response has a 4xx status code

func (*ListProjectsOK) IsCode

func (o *ListProjectsOK) IsCode(code int) bool

IsCode returns true when this list projects o k response a status code equal to that given

func (*ListProjectsOK) IsRedirect

func (o *ListProjectsOK) IsRedirect() bool

IsRedirect returns true when this list projects o k response has a 3xx status code

func (*ListProjectsOK) IsServerError

func (o *ListProjectsOK) IsServerError() bool

IsServerError returns true when this list projects o k response has a 5xx status code

func (*ListProjectsOK) IsSuccess

func (o *ListProjectsOK) IsSuccess() bool

IsSuccess returns true when this list projects o k response has a 2xx status code

func (*ListProjectsOK) String

func (o *ListProjectsOK) String() string

type ListProjectsParams

type ListProjectsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectsParams contains all the parameters to send to the API endpoint

for the list projects operation.

Typically these are written to a http.Request.

func NewListProjectsParams

func NewListProjectsParams() *ListProjectsParams

NewListProjectsParams creates a new ListProjectsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectsParamsWithContext

func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams

NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.

func NewListProjectsParamsWithHTTPClient

func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams

NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectsParamsWithTimeout

func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams

NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.

func (*ListProjectsParams) SetContext

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

SetContext adds the context to the list projects params

func (*ListProjectsParams) SetDefaults

func (o *ListProjectsParams) SetDefaults()

SetDefaults hydrates default values in the list projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list projects params

func (*ListProjectsParams) SetTimeout

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

SetTimeout adds the timeout to the list projects params

func (*ListProjectsParams) WithContext

WithContext adds the context to the list projects params

func (*ListProjectsParams) WithDefaults

func (o *ListProjectsParams) WithDefaults() *ListProjectsParams

WithDefaults hydrates default values in the list projects params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectsParams) WithHTTPClient

func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams

WithHTTPClient adds the HTTPClient to the list projects params

func (*ListProjectsParams) WithTimeout

func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams

WithTimeout adds the timeout to the list projects params

func (*ListProjectsParams) WriteToRequest

func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListProjectsReader

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

ListProjectsReader is a Reader for the ListProjects structure.

func (*ListProjectsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResetOffsetBadRequest

type ResetOffsetBadRequest struct {
	Payload *models.ErrorResponse
}

ResetOffsetBadRequest describes a response with status code 400, with default header values.

Update request is not valid.

func NewResetOffsetBadRequest

func NewResetOffsetBadRequest() *ResetOffsetBadRequest

NewResetOffsetBadRequest creates a ResetOffsetBadRequest with default headers values

func (*ResetOffsetBadRequest) Error

func (o *ResetOffsetBadRequest) Error() string

func (*ResetOffsetBadRequest) GetPayload

func (o *ResetOffsetBadRequest) GetPayload() *models.ErrorResponse

func (*ResetOffsetBadRequest) IsClientError

func (o *ResetOffsetBadRequest) IsClientError() bool

IsClientError returns true when this reset offset bad request response has a 4xx status code

func (*ResetOffsetBadRequest) IsCode

func (o *ResetOffsetBadRequest) IsCode(code int) bool

IsCode returns true when this reset offset bad request response a status code equal to that given

func (*ResetOffsetBadRequest) IsRedirect

func (o *ResetOffsetBadRequest) IsRedirect() bool

IsRedirect returns true when this reset offset bad request response has a 3xx status code

func (*ResetOffsetBadRequest) IsServerError

func (o *ResetOffsetBadRequest) IsServerError() bool

IsServerError returns true when this reset offset bad request response has a 5xx status code

func (*ResetOffsetBadRequest) IsSuccess

func (o *ResetOffsetBadRequest) IsSuccess() bool

IsSuccess returns true when this reset offset bad request response has a 2xx status code

func (*ResetOffsetBadRequest) String

func (o *ResetOffsetBadRequest) String() string

type ResetOffsetBody

type ResetOffsetBody struct {

	// datetime
	// Example: 2022-10-10T10:10:10.100Z
	// Format: date-time
	Datetime strfmt.DateTime `json:"datetime,omitempty"`

	// to
	// Required: true
	// Enum: [DATETIME EARLIEST LATEST]
	To *string `json:"to"`
}

ResetOffsetBody reset offset body swagger:model ResetOffsetBody

func (*ResetOffsetBody) ContextValidate

func (o *ResetOffsetBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reset offset body based on context it is used

func (*ResetOffsetBody) MarshalBinary

func (o *ResetOffsetBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResetOffsetBody) UnmarshalBinary

func (o *ResetOffsetBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResetOffsetBody) Validate

func (o *ResetOffsetBody) Validate(formats strfmt.Registry) error

Validate validates this reset offset body

type ResetOffsetInternalServerError

type ResetOffsetInternalServerError struct {
	Payload *models.ErrorResponse
}

ResetOffsetInternalServerError describes a response with status code 500, with default header values.

internal error

func NewResetOffsetInternalServerError

func NewResetOffsetInternalServerError() *ResetOffsetInternalServerError

NewResetOffsetInternalServerError creates a ResetOffsetInternalServerError with default headers values

func (*ResetOffsetInternalServerError) Error

func (*ResetOffsetInternalServerError) GetPayload

func (*ResetOffsetInternalServerError) IsClientError

func (o *ResetOffsetInternalServerError) IsClientError() bool

IsClientError returns true when this reset offset internal server error response has a 4xx status code

func (*ResetOffsetInternalServerError) IsCode

func (o *ResetOffsetInternalServerError) IsCode(code int) bool

IsCode returns true when this reset offset internal server error response a status code equal to that given

func (*ResetOffsetInternalServerError) IsRedirect

func (o *ResetOffsetInternalServerError) IsRedirect() bool

IsRedirect returns true when this reset offset internal server error response has a 3xx status code

func (*ResetOffsetInternalServerError) IsServerError

func (o *ResetOffsetInternalServerError) IsServerError() bool

IsServerError returns true when this reset offset internal server error response has a 5xx status code

func (*ResetOffsetInternalServerError) IsSuccess

func (o *ResetOffsetInternalServerError) IsSuccess() bool

IsSuccess returns true when this reset offset internal server error response has a 2xx status code

func (*ResetOffsetInternalServerError) String

type ResetOffsetNotFound

type ResetOffsetNotFound struct {
	Payload *models.ErrorResponse
}

ResetOffsetNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewResetOffsetNotFound

func NewResetOffsetNotFound() *ResetOffsetNotFound

NewResetOffsetNotFound creates a ResetOffsetNotFound with default headers values

func (*ResetOffsetNotFound) Error

func (o *ResetOffsetNotFound) Error() string

func (*ResetOffsetNotFound) GetPayload

func (o *ResetOffsetNotFound) GetPayload() *models.ErrorResponse

func (*ResetOffsetNotFound) IsClientError

func (o *ResetOffsetNotFound) IsClientError() bool

IsClientError returns true when this reset offset not found response has a 4xx status code

func (*ResetOffsetNotFound) IsCode

func (o *ResetOffsetNotFound) IsCode(code int) bool

IsCode returns true when this reset offset not found response a status code equal to that given

func (*ResetOffsetNotFound) IsRedirect

func (o *ResetOffsetNotFound) IsRedirect() bool

IsRedirect returns true when this reset offset not found response has a 3xx status code

func (*ResetOffsetNotFound) IsServerError

func (o *ResetOffsetNotFound) IsServerError() bool

IsServerError returns true when this reset offset not found response has a 5xx status code

func (*ResetOffsetNotFound) IsSuccess

func (o *ResetOffsetNotFound) IsSuccess() bool

IsSuccess returns true when this reset offset not found response has a 2xx status code

func (*ResetOffsetNotFound) String

func (o *ResetOffsetNotFound) String() string

type ResetOffsetOK

type ResetOffsetOK struct {
	Payload *models.Firehose
}

ResetOffsetOK describes a response with status code 200, with default header values.

Found firehose with given URN

func NewResetOffsetOK

func NewResetOffsetOK() *ResetOffsetOK

NewResetOffsetOK creates a ResetOffsetOK with default headers values

func (*ResetOffsetOK) Error

func (o *ResetOffsetOK) Error() string

func (*ResetOffsetOK) GetPayload

func (o *ResetOffsetOK) GetPayload() *models.Firehose

func (*ResetOffsetOK) IsClientError

func (o *ResetOffsetOK) IsClientError() bool

IsClientError returns true when this reset offset o k response has a 4xx status code

func (*ResetOffsetOK) IsCode

func (o *ResetOffsetOK) IsCode(code int) bool

IsCode returns true when this reset offset o k response a status code equal to that given

func (*ResetOffsetOK) IsRedirect

func (o *ResetOffsetOK) IsRedirect() bool

IsRedirect returns true when this reset offset o k response has a 3xx status code

func (*ResetOffsetOK) IsServerError

func (o *ResetOffsetOK) IsServerError() bool

IsServerError returns true when this reset offset o k response has a 5xx status code

func (*ResetOffsetOK) IsSuccess

func (o *ResetOffsetOK) IsSuccess() bool

IsSuccess returns true when this reset offset o k response has a 2xx status code

func (*ResetOffsetOK) String

func (o *ResetOffsetOK) String() string

type ResetOffsetParams

type ResetOffsetParams struct {

	// Body.
	Body ResetOffsetBody

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Identifier for the project.
	*/
	ProjectSlug string

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

ResetOffsetParams contains all the parameters to send to the API endpoint

for the reset offset operation.

Typically these are written to a http.Request.

func NewResetOffsetParams

func NewResetOffsetParams() *ResetOffsetParams

NewResetOffsetParams creates a new ResetOffsetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewResetOffsetParamsWithContext

func NewResetOffsetParamsWithContext(ctx context.Context) *ResetOffsetParams

NewResetOffsetParamsWithContext creates a new ResetOffsetParams object with the ability to set a context for a request.

func NewResetOffsetParamsWithHTTPClient

func NewResetOffsetParamsWithHTTPClient(client *http.Client) *ResetOffsetParams

NewResetOffsetParamsWithHTTPClient creates a new ResetOffsetParams object with the ability to set a custom HTTPClient for a request.

func NewResetOffsetParamsWithTimeout

func NewResetOffsetParamsWithTimeout(timeout time.Duration) *ResetOffsetParams

NewResetOffsetParamsWithTimeout creates a new ResetOffsetParams object with the ability to set a timeout on a request.

func (*ResetOffsetParams) SetBody

func (o *ResetOffsetParams) SetBody(body ResetOffsetBody)

SetBody adds the body to the reset offset params

func (*ResetOffsetParams) SetContext

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

SetContext adds the context to the reset offset params

func (*ResetOffsetParams) SetDefaults

func (o *ResetOffsetParams) SetDefaults()

SetDefaults hydrates default values in the reset offset params (not the query body).

All values with no default are reset to their zero value.

func (*ResetOffsetParams) SetFirehoseUrn

func (o *ResetOffsetParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the reset offset params

func (*ResetOffsetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reset offset params

func (*ResetOffsetParams) SetProjectSlug

func (o *ResetOffsetParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the reset offset params

func (*ResetOffsetParams) SetTimeout

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

SetTimeout adds the timeout to the reset offset params

func (*ResetOffsetParams) WithBody

WithBody adds the body to the reset offset params

func (*ResetOffsetParams) WithContext

func (o *ResetOffsetParams) WithContext(ctx context.Context) *ResetOffsetParams

WithContext adds the context to the reset offset params

func (*ResetOffsetParams) WithDefaults

func (o *ResetOffsetParams) WithDefaults() *ResetOffsetParams

WithDefaults hydrates default values in the reset offset params (not the query body).

All values with no default are reset to their zero value.

func (*ResetOffsetParams) WithFirehoseUrn

func (o *ResetOffsetParams) WithFirehoseUrn(firehoseUrn string) *ResetOffsetParams

WithFirehoseUrn adds the firehoseUrn to the reset offset params

func (*ResetOffsetParams) WithHTTPClient

func (o *ResetOffsetParams) WithHTTPClient(client *http.Client) *ResetOffsetParams

WithHTTPClient adds the HTTPClient to the reset offset params

func (*ResetOffsetParams) WithProjectSlug

func (o *ResetOffsetParams) WithProjectSlug(projectSlug string) *ResetOffsetParams

WithProjectSlug adds the projectSlug to the reset offset params

func (*ResetOffsetParams) WithTimeout

func (o *ResetOffsetParams) WithTimeout(timeout time.Duration) *ResetOffsetParams

WithTimeout adds the timeout to the reset offset params

func (*ResetOffsetParams) WriteToRequest

func (o *ResetOffsetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResetOffsetReader

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

ResetOffsetReader is a Reader for the ResetOffset structure.

func (*ResetOffsetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ScaleFirehoseBadRequest

type ScaleFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}

ScaleFirehoseBadRequest describes a response with status code 400, with default header values.

Update request is not valid.

func NewScaleFirehoseBadRequest

func NewScaleFirehoseBadRequest() *ScaleFirehoseBadRequest

NewScaleFirehoseBadRequest creates a ScaleFirehoseBadRequest with default headers values

func (*ScaleFirehoseBadRequest) Error

func (o *ScaleFirehoseBadRequest) Error() string

func (*ScaleFirehoseBadRequest) GetPayload

func (o *ScaleFirehoseBadRequest) GetPayload() *models.ErrorResponse

func (*ScaleFirehoseBadRequest) IsClientError

func (o *ScaleFirehoseBadRequest) IsClientError() bool

IsClientError returns true when this scale firehose bad request response has a 4xx status code

func (*ScaleFirehoseBadRequest) IsCode

func (o *ScaleFirehoseBadRequest) IsCode(code int) bool

IsCode returns true when this scale firehose bad request response a status code equal to that given

func (*ScaleFirehoseBadRequest) IsRedirect

func (o *ScaleFirehoseBadRequest) IsRedirect() bool

IsRedirect returns true when this scale firehose bad request response has a 3xx status code

func (*ScaleFirehoseBadRequest) IsServerError

func (o *ScaleFirehoseBadRequest) IsServerError() bool

IsServerError returns true when this scale firehose bad request response has a 5xx status code

func (*ScaleFirehoseBadRequest) IsSuccess

func (o *ScaleFirehoseBadRequest) IsSuccess() bool

IsSuccess returns true when this scale firehose bad request response has a 2xx status code

func (*ScaleFirehoseBadRequest) String

func (o *ScaleFirehoseBadRequest) String() string

type ScaleFirehoseBody

type ScaleFirehoseBody struct {

	// Number of replicas to run.
	// Example: 2
	// Required: true
	Replicas *float64 `json:"replicas"`
}

ScaleFirehoseBody scale firehose body swagger:model ScaleFirehoseBody

func (*ScaleFirehoseBody) ContextValidate

func (o *ScaleFirehoseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scale firehose body based on context it is used

func (*ScaleFirehoseBody) MarshalBinary

func (o *ScaleFirehoseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScaleFirehoseBody) UnmarshalBinary

func (o *ScaleFirehoseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScaleFirehoseBody) Validate

func (o *ScaleFirehoseBody) Validate(formats strfmt.Registry) error

Validate validates this scale firehose body

type ScaleFirehoseInternalServerError

type ScaleFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

ScaleFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewScaleFirehoseInternalServerError

func NewScaleFirehoseInternalServerError() *ScaleFirehoseInternalServerError

NewScaleFirehoseInternalServerError creates a ScaleFirehoseInternalServerError with default headers values

func (*ScaleFirehoseInternalServerError) Error

func (*ScaleFirehoseInternalServerError) GetPayload

func (*ScaleFirehoseInternalServerError) IsClientError

func (o *ScaleFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this scale firehose internal server error response has a 4xx status code

func (*ScaleFirehoseInternalServerError) IsCode

func (o *ScaleFirehoseInternalServerError) IsCode(code int) bool

IsCode returns true when this scale firehose internal server error response a status code equal to that given

func (*ScaleFirehoseInternalServerError) IsRedirect

func (o *ScaleFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this scale firehose internal server error response has a 3xx status code

func (*ScaleFirehoseInternalServerError) IsServerError

func (o *ScaleFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this scale firehose internal server error response has a 5xx status code

func (*ScaleFirehoseInternalServerError) IsSuccess

func (o *ScaleFirehoseInternalServerError) IsSuccess() bool

IsSuccess returns true when this scale firehose internal server error response has a 2xx status code

func (*ScaleFirehoseInternalServerError) String

type ScaleFirehoseNotFound

type ScaleFirehoseNotFound struct {
	Payload *models.ErrorResponse
}

ScaleFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewScaleFirehoseNotFound

func NewScaleFirehoseNotFound() *ScaleFirehoseNotFound

NewScaleFirehoseNotFound creates a ScaleFirehoseNotFound with default headers values

func (*ScaleFirehoseNotFound) Error

func (o *ScaleFirehoseNotFound) Error() string

func (*ScaleFirehoseNotFound) GetPayload

func (o *ScaleFirehoseNotFound) GetPayload() *models.ErrorResponse

func (*ScaleFirehoseNotFound) IsClientError

func (o *ScaleFirehoseNotFound) IsClientError() bool

IsClientError returns true when this scale firehose not found response has a 4xx status code

func (*ScaleFirehoseNotFound) IsCode

func (o *ScaleFirehoseNotFound) IsCode(code int) bool

IsCode returns true when this scale firehose not found response a status code equal to that given

func (*ScaleFirehoseNotFound) IsRedirect

func (o *ScaleFirehoseNotFound) IsRedirect() bool

IsRedirect returns true when this scale firehose not found response has a 3xx status code

func (*ScaleFirehoseNotFound) IsServerError

func (o *ScaleFirehoseNotFound) IsServerError() bool

IsServerError returns true when this scale firehose not found response has a 5xx status code

func (*ScaleFirehoseNotFound) IsSuccess

func (o *ScaleFirehoseNotFound) IsSuccess() bool

IsSuccess returns true when this scale firehose not found response has a 2xx status code

func (*ScaleFirehoseNotFound) String

func (o *ScaleFirehoseNotFound) String() string

type ScaleFirehoseOK

type ScaleFirehoseOK struct {
	Payload *models.Firehose
}

ScaleFirehoseOK describes a response with status code 200, with default header values.

Successfully applied update.

func NewScaleFirehoseOK

func NewScaleFirehoseOK() *ScaleFirehoseOK

NewScaleFirehoseOK creates a ScaleFirehoseOK with default headers values

func (*ScaleFirehoseOK) Error

func (o *ScaleFirehoseOK) Error() string

func (*ScaleFirehoseOK) GetPayload

func (o *ScaleFirehoseOK) GetPayload() *models.Firehose

func (*ScaleFirehoseOK) IsClientError

func (o *ScaleFirehoseOK) IsClientError() bool

IsClientError returns true when this scale firehose o k response has a 4xx status code

func (*ScaleFirehoseOK) IsCode

func (o *ScaleFirehoseOK) IsCode(code int) bool

IsCode returns true when this scale firehose o k response a status code equal to that given

func (*ScaleFirehoseOK) IsRedirect

func (o *ScaleFirehoseOK) IsRedirect() bool

IsRedirect returns true when this scale firehose o k response has a 3xx status code

func (*ScaleFirehoseOK) IsServerError

func (o *ScaleFirehoseOK) IsServerError() bool

IsServerError returns true when this scale firehose o k response has a 5xx status code

func (*ScaleFirehoseOK) IsSuccess

func (o *ScaleFirehoseOK) IsSuccess() bool

IsSuccess returns true when this scale firehose o k response has a 2xx status code

func (*ScaleFirehoseOK) String

func (o *ScaleFirehoseOK) String() string

type ScaleFirehoseParams

type ScaleFirehoseParams struct {

	// Body.
	Body ScaleFirehoseBody

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Identifier for the project.
	*/
	ProjectSlug string

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

ScaleFirehoseParams contains all the parameters to send to the API endpoint

for the scale firehose operation.

Typically these are written to a http.Request.

func NewScaleFirehoseParams

func NewScaleFirehoseParams() *ScaleFirehoseParams

NewScaleFirehoseParams creates a new ScaleFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewScaleFirehoseParamsWithContext

func NewScaleFirehoseParamsWithContext(ctx context.Context) *ScaleFirehoseParams

NewScaleFirehoseParamsWithContext creates a new ScaleFirehoseParams object with the ability to set a context for a request.

func NewScaleFirehoseParamsWithHTTPClient

func NewScaleFirehoseParamsWithHTTPClient(client *http.Client) *ScaleFirehoseParams

NewScaleFirehoseParamsWithHTTPClient creates a new ScaleFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewScaleFirehoseParamsWithTimeout

func NewScaleFirehoseParamsWithTimeout(timeout time.Duration) *ScaleFirehoseParams

NewScaleFirehoseParamsWithTimeout creates a new ScaleFirehoseParams object with the ability to set a timeout on a request.

func (*ScaleFirehoseParams) SetBody

func (o *ScaleFirehoseParams) SetBody(body ScaleFirehoseBody)

SetBody adds the body to the scale firehose params

func (*ScaleFirehoseParams) SetContext

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

SetContext adds the context to the scale firehose params

func (*ScaleFirehoseParams) SetDefaults

func (o *ScaleFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the scale firehose params (not the query body).

All values with no default are reset to their zero value.

func (*ScaleFirehoseParams) SetFirehoseUrn

func (o *ScaleFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the scale firehose params

func (*ScaleFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the scale firehose params

func (*ScaleFirehoseParams) SetProjectSlug

func (o *ScaleFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the scale firehose params

func (*ScaleFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the scale firehose params

func (*ScaleFirehoseParams) WithBody

WithBody adds the body to the scale firehose params

func (*ScaleFirehoseParams) WithContext

WithContext adds the context to the scale firehose params

func (*ScaleFirehoseParams) WithDefaults

func (o *ScaleFirehoseParams) WithDefaults() *ScaleFirehoseParams

WithDefaults hydrates default values in the scale firehose params (not the query body).

All values with no default are reset to their zero value.

func (*ScaleFirehoseParams) WithFirehoseUrn

func (o *ScaleFirehoseParams) WithFirehoseUrn(firehoseUrn string) *ScaleFirehoseParams

WithFirehoseUrn adds the firehoseUrn to the scale firehose params

func (*ScaleFirehoseParams) WithHTTPClient

func (o *ScaleFirehoseParams) WithHTTPClient(client *http.Client) *ScaleFirehoseParams

WithHTTPClient adds the HTTPClient to the scale firehose params

func (*ScaleFirehoseParams) WithProjectSlug

func (o *ScaleFirehoseParams) WithProjectSlug(projectSlug string) *ScaleFirehoseParams

WithProjectSlug adds the projectSlug to the scale firehose params

func (*ScaleFirehoseParams) WithTimeout

func (o *ScaleFirehoseParams) WithTimeout(timeout time.Duration) *ScaleFirehoseParams

WithTimeout adds the timeout to the scale firehose params

func (*ScaleFirehoseParams) WriteToRequest

func (o *ScaleFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ScaleFirehoseReader

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

ScaleFirehoseReader is a Reader for the ScaleFirehose structure.

func (*ScaleFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartFirehoseBadRequest

type StartFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}

StartFirehoseBadRequest describes a response with status code 400, with default header values.

Update request is not valid.

func NewStartFirehoseBadRequest

func NewStartFirehoseBadRequest() *StartFirehoseBadRequest

NewStartFirehoseBadRequest creates a StartFirehoseBadRequest with default headers values

func (*StartFirehoseBadRequest) Error

func (o *StartFirehoseBadRequest) Error() string

func (*StartFirehoseBadRequest) GetPayload

func (o *StartFirehoseBadRequest) GetPayload() *models.ErrorResponse

func (*StartFirehoseBadRequest) IsClientError

func (o *StartFirehoseBadRequest) IsClientError() bool

IsClientError returns true when this start firehose bad request response has a 4xx status code

func (*StartFirehoseBadRequest) IsCode

func (o *StartFirehoseBadRequest) IsCode(code int) bool

IsCode returns true when this start firehose bad request response a status code equal to that given

func (*StartFirehoseBadRequest) IsRedirect

func (o *StartFirehoseBadRequest) IsRedirect() bool

IsRedirect returns true when this start firehose bad request response has a 3xx status code

func (*StartFirehoseBadRequest) IsServerError

func (o *StartFirehoseBadRequest) IsServerError() bool

IsServerError returns true when this start firehose bad request response has a 5xx status code

func (*StartFirehoseBadRequest) IsSuccess

func (o *StartFirehoseBadRequest) IsSuccess() bool

IsSuccess returns true when this start firehose bad request response has a 2xx status code

func (*StartFirehoseBadRequest) String

func (o *StartFirehoseBadRequest) String() string

type StartFirehoseInternalServerError

type StartFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

StartFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewStartFirehoseInternalServerError

func NewStartFirehoseInternalServerError() *StartFirehoseInternalServerError

NewStartFirehoseInternalServerError creates a StartFirehoseInternalServerError with default headers values

func (*StartFirehoseInternalServerError) Error

func (*StartFirehoseInternalServerError) GetPayload

func (*StartFirehoseInternalServerError) IsClientError

func (o *StartFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this start firehose internal server error response has a 4xx status code

func (*StartFirehoseInternalServerError) IsCode

func (o *StartFirehoseInternalServerError) IsCode(code int) bool

IsCode returns true when this start firehose internal server error response a status code equal to that given

func (*StartFirehoseInternalServerError) IsRedirect

func (o *StartFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this start firehose internal server error response has a 3xx status code

func (*StartFirehoseInternalServerError) IsServerError

func (o *StartFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this start firehose internal server error response has a 5xx status code

func (*StartFirehoseInternalServerError) IsSuccess

func (o *StartFirehoseInternalServerError) IsSuccess() bool

IsSuccess returns true when this start firehose internal server error response has a 2xx status code

func (*StartFirehoseInternalServerError) String

type StartFirehoseNotFound

type StartFirehoseNotFound struct {
	Payload *models.ErrorResponse
}

StartFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewStartFirehoseNotFound

func NewStartFirehoseNotFound() *StartFirehoseNotFound

NewStartFirehoseNotFound creates a StartFirehoseNotFound with default headers values

func (*StartFirehoseNotFound) Error

func (o *StartFirehoseNotFound) Error() string

func (*StartFirehoseNotFound) GetPayload

func (o *StartFirehoseNotFound) GetPayload() *models.ErrorResponse

func (*StartFirehoseNotFound) IsClientError

func (o *StartFirehoseNotFound) IsClientError() bool

IsClientError returns true when this start firehose not found response has a 4xx status code

func (*StartFirehoseNotFound) IsCode

func (o *StartFirehoseNotFound) IsCode(code int) bool

IsCode returns true when this start firehose not found response a status code equal to that given

func (*StartFirehoseNotFound) IsRedirect

func (o *StartFirehoseNotFound) IsRedirect() bool

IsRedirect returns true when this start firehose not found response has a 3xx status code

func (*StartFirehoseNotFound) IsServerError

func (o *StartFirehoseNotFound) IsServerError() bool

IsServerError returns true when this start firehose not found response has a 5xx status code

func (*StartFirehoseNotFound) IsSuccess

func (o *StartFirehoseNotFound) IsSuccess() bool

IsSuccess returns true when this start firehose not found response has a 2xx status code

func (*StartFirehoseNotFound) String

func (o *StartFirehoseNotFound) String() string

type StartFirehoseOK

type StartFirehoseOK struct {
	Payload *models.Firehose
}

StartFirehoseOK describes a response with status code 200, with default header values.

Successfully applied update.

func NewStartFirehoseOK

func NewStartFirehoseOK() *StartFirehoseOK

NewStartFirehoseOK creates a StartFirehoseOK with default headers values

func (*StartFirehoseOK) Error

func (o *StartFirehoseOK) Error() string

func (*StartFirehoseOK) GetPayload

func (o *StartFirehoseOK) GetPayload() *models.Firehose

func (*StartFirehoseOK) IsClientError

func (o *StartFirehoseOK) IsClientError() bool

IsClientError returns true when this start firehose o k response has a 4xx status code

func (*StartFirehoseOK) IsCode

func (o *StartFirehoseOK) IsCode(code int) bool

IsCode returns true when this start firehose o k response a status code equal to that given

func (*StartFirehoseOK) IsRedirect

func (o *StartFirehoseOK) IsRedirect() bool

IsRedirect returns true when this start firehose o k response has a 3xx status code

func (*StartFirehoseOK) IsServerError

func (o *StartFirehoseOK) IsServerError() bool

IsServerError returns true when this start firehose o k response has a 5xx status code

func (*StartFirehoseOK) IsSuccess

func (o *StartFirehoseOK) IsSuccess() bool

IsSuccess returns true when this start firehose o k response has a 2xx status code

func (*StartFirehoseOK) String

func (o *StartFirehoseOK) String() string

type StartFirehoseParams

type StartFirehoseParams struct {

	// Body.
	Body interface{}

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Identifier for the project.
	*/
	ProjectSlug string

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

StartFirehoseParams contains all the parameters to send to the API endpoint

for the start firehose operation.

Typically these are written to a http.Request.

func NewStartFirehoseParams

func NewStartFirehoseParams() *StartFirehoseParams

NewStartFirehoseParams creates a new StartFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStartFirehoseParamsWithContext

func NewStartFirehoseParamsWithContext(ctx context.Context) *StartFirehoseParams

NewStartFirehoseParamsWithContext creates a new StartFirehoseParams object with the ability to set a context for a request.

func NewStartFirehoseParamsWithHTTPClient

func NewStartFirehoseParamsWithHTTPClient(client *http.Client) *StartFirehoseParams

NewStartFirehoseParamsWithHTTPClient creates a new StartFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewStartFirehoseParamsWithTimeout

func NewStartFirehoseParamsWithTimeout(timeout time.Duration) *StartFirehoseParams

NewStartFirehoseParamsWithTimeout creates a new StartFirehoseParams object with the ability to set a timeout on a request.

func (*StartFirehoseParams) SetBody

func (o *StartFirehoseParams) SetBody(body interface{})

SetBody adds the body to the start firehose params

func (*StartFirehoseParams) SetContext

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

SetContext adds the context to the start firehose params

func (*StartFirehoseParams) SetDefaults

func (o *StartFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the start firehose params (not the query body).

All values with no default are reset to their zero value.

func (*StartFirehoseParams) SetFirehoseUrn

func (o *StartFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the start firehose params

func (*StartFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start firehose params

func (*StartFirehoseParams) SetProjectSlug

func (o *StartFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the start firehose params

func (*StartFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the start firehose params

func (*StartFirehoseParams) WithBody

func (o *StartFirehoseParams) WithBody(body interface{}) *StartFirehoseParams

WithBody adds the body to the start firehose params

func (*StartFirehoseParams) WithContext

WithContext adds the context to the start firehose params

func (*StartFirehoseParams) WithDefaults

func (o *StartFirehoseParams) WithDefaults() *StartFirehoseParams

WithDefaults hydrates default values in the start firehose params (not the query body).

All values with no default are reset to their zero value.

func (*StartFirehoseParams) WithFirehoseUrn

func (o *StartFirehoseParams) WithFirehoseUrn(firehoseUrn string) *StartFirehoseParams

WithFirehoseUrn adds the firehoseUrn to the start firehose params

func (*StartFirehoseParams) WithHTTPClient

func (o *StartFirehoseParams) WithHTTPClient(client *http.Client) *StartFirehoseParams

WithHTTPClient adds the HTTPClient to the start firehose params

func (*StartFirehoseParams) WithProjectSlug

func (o *StartFirehoseParams) WithProjectSlug(projectSlug string) *StartFirehoseParams

WithProjectSlug adds the projectSlug to the start firehose params

func (*StartFirehoseParams) WithTimeout

func (o *StartFirehoseParams) WithTimeout(timeout time.Duration) *StartFirehoseParams

WithTimeout adds the timeout to the start firehose params

func (*StartFirehoseParams) WriteToRequest

func (o *StartFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StartFirehoseReader

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

StartFirehoseReader is a Reader for the StartFirehose structure.

func (*StartFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StopFirehoseBadRequest

type StopFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}

StopFirehoseBadRequest describes a response with status code 400, with default header values.

Update request is not valid.

func NewStopFirehoseBadRequest

func NewStopFirehoseBadRequest() *StopFirehoseBadRequest

NewStopFirehoseBadRequest creates a StopFirehoseBadRequest with default headers values

func (*StopFirehoseBadRequest) Error

func (o *StopFirehoseBadRequest) Error() string

func (*StopFirehoseBadRequest) GetPayload

func (o *StopFirehoseBadRequest) GetPayload() *models.ErrorResponse

func (*StopFirehoseBadRequest) IsClientError

func (o *StopFirehoseBadRequest) IsClientError() bool

IsClientError returns true when this stop firehose bad request response has a 4xx status code

func (*StopFirehoseBadRequest) IsCode

func (o *StopFirehoseBadRequest) IsCode(code int) bool

IsCode returns true when this stop firehose bad request response a status code equal to that given

func (*StopFirehoseBadRequest) IsRedirect

func (o *StopFirehoseBadRequest) IsRedirect() bool

IsRedirect returns true when this stop firehose bad request response has a 3xx status code

func (*StopFirehoseBadRequest) IsServerError

func (o *StopFirehoseBadRequest) IsServerError() bool

IsServerError returns true when this stop firehose bad request response has a 5xx status code

func (*StopFirehoseBadRequest) IsSuccess

func (o *StopFirehoseBadRequest) IsSuccess() bool

IsSuccess returns true when this stop firehose bad request response has a 2xx status code

func (*StopFirehoseBadRequest) String

func (o *StopFirehoseBadRequest) String() string

type StopFirehoseInternalServerError

type StopFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

StopFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewStopFirehoseInternalServerError

func NewStopFirehoseInternalServerError() *StopFirehoseInternalServerError

NewStopFirehoseInternalServerError creates a StopFirehoseInternalServerError with default headers values

func (*StopFirehoseInternalServerError) Error

func (*StopFirehoseInternalServerError) GetPayload

func (*StopFirehoseInternalServerError) IsClientError

func (o *StopFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this stop firehose internal server error response has a 4xx status code

func (*StopFirehoseInternalServerError) IsCode

func (o *StopFirehoseInternalServerError) IsCode(code int) bool

IsCode returns true when this stop firehose internal server error response a status code equal to that given

func (*StopFirehoseInternalServerError) IsRedirect

func (o *StopFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this stop firehose internal server error response has a 3xx status code

func (*StopFirehoseInternalServerError) IsServerError

func (o *StopFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this stop firehose internal server error response has a 5xx status code

func (*StopFirehoseInternalServerError) IsSuccess

func (o *StopFirehoseInternalServerError) IsSuccess() bool

IsSuccess returns true when this stop firehose internal server error response has a 2xx status code

func (*StopFirehoseInternalServerError) String

type StopFirehoseNotFound

type StopFirehoseNotFound struct {
	Payload *models.ErrorResponse
}

StopFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewStopFirehoseNotFound

func NewStopFirehoseNotFound() *StopFirehoseNotFound

NewStopFirehoseNotFound creates a StopFirehoseNotFound with default headers values

func (*StopFirehoseNotFound) Error

func (o *StopFirehoseNotFound) Error() string

func (*StopFirehoseNotFound) GetPayload

func (o *StopFirehoseNotFound) GetPayload() *models.ErrorResponse

func (*StopFirehoseNotFound) IsClientError

func (o *StopFirehoseNotFound) IsClientError() bool

IsClientError returns true when this stop firehose not found response has a 4xx status code

func (*StopFirehoseNotFound) IsCode

func (o *StopFirehoseNotFound) IsCode(code int) bool

IsCode returns true when this stop firehose not found response a status code equal to that given

func (*StopFirehoseNotFound) IsRedirect

func (o *StopFirehoseNotFound) IsRedirect() bool

IsRedirect returns true when this stop firehose not found response has a 3xx status code

func (*StopFirehoseNotFound) IsServerError

func (o *StopFirehoseNotFound) IsServerError() bool

IsServerError returns true when this stop firehose not found response has a 5xx status code

func (*StopFirehoseNotFound) IsSuccess

func (o *StopFirehoseNotFound) IsSuccess() bool

IsSuccess returns true when this stop firehose not found response has a 2xx status code

func (*StopFirehoseNotFound) String

func (o *StopFirehoseNotFound) String() string

type StopFirehoseOK

type StopFirehoseOK struct {
	Payload *models.Firehose
}

StopFirehoseOK describes a response with status code 200, with default header values.

Successfully applied update.

func NewStopFirehoseOK

func NewStopFirehoseOK() *StopFirehoseOK

NewStopFirehoseOK creates a StopFirehoseOK with default headers values

func (*StopFirehoseOK) Error

func (o *StopFirehoseOK) Error() string

func (*StopFirehoseOK) GetPayload

func (o *StopFirehoseOK) GetPayload() *models.Firehose

func (*StopFirehoseOK) IsClientError

func (o *StopFirehoseOK) IsClientError() bool

IsClientError returns true when this stop firehose o k response has a 4xx status code

func (*StopFirehoseOK) IsCode

func (o *StopFirehoseOK) IsCode(code int) bool

IsCode returns true when this stop firehose o k response a status code equal to that given

func (*StopFirehoseOK) IsRedirect

func (o *StopFirehoseOK) IsRedirect() bool

IsRedirect returns true when this stop firehose o k response has a 3xx status code

func (*StopFirehoseOK) IsServerError

func (o *StopFirehoseOK) IsServerError() bool

IsServerError returns true when this stop firehose o k response has a 5xx status code

func (*StopFirehoseOK) IsSuccess

func (o *StopFirehoseOK) IsSuccess() bool

IsSuccess returns true when this stop firehose o k response has a 2xx status code

func (*StopFirehoseOK) String

func (o *StopFirehoseOK) String() string

type StopFirehoseParams

type StopFirehoseParams struct {

	// Body.
	Body interface{}

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Identifier for the project.
	*/
	ProjectSlug string

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

StopFirehoseParams contains all the parameters to send to the API endpoint

for the stop firehose operation.

Typically these are written to a http.Request.

func NewStopFirehoseParams

func NewStopFirehoseParams() *StopFirehoseParams

NewStopFirehoseParams creates a new StopFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewStopFirehoseParamsWithContext

func NewStopFirehoseParamsWithContext(ctx context.Context) *StopFirehoseParams

NewStopFirehoseParamsWithContext creates a new StopFirehoseParams object with the ability to set a context for a request.

func NewStopFirehoseParamsWithHTTPClient

func NewStopFirehoseParamsWithHTTPClient(client *http.Client) *StopFirehoseParams

NewStopFirehoseParamsWithHTTPClient creates a new StopFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewStopFirehoseParamsWithTimeout

func NewStopFirehoseParamsWithTimeout(timeout time.Duration) *StopFirehoseParams

NewStopFirehoseParamsWithTimeout creates a new StopFirehoseParams object with the ability to set a timeout on a request.

func (*StopFirehoseParams) SetBody

func (o *StopFirehoseParams) SetBody(body interface{})

SetBody adds the body to the stop firehose params

func (*StopFirehoseParams) SetContext

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

SetContext adds the context to the stop firehose params

func (*StopFirehoseParams) SetDefaults

func (o *StopFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the stop firehose params (not the query body).

All values with no default are reset to their zero value.

func (*StopFirehoseParams) SetFirehoseUrn

func (o *StopFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the stop firehose params

func (*StopFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the stop firehose params

func (*StopFirehoseParams) SetProjectSlug

func (o *StopFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the stop firehose params

func (*StopFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the stop firehose params

func (*StopFirehoseParams) WithBody

func (o *StopFirehoseParams) WithBody(body interface{}) *StopFirehoseParams

WithBody adds the body to the stop firehose params

func (*StopFirehoseParams) WithContext

WithContext adds the context to the stop firehose params

func (*StopFirehoseParams) WithDefaults

func (o *StopFirehoseParams) WithDefaults() *StopFirehoseParams

WithDefaults hydrates default values in the stop firehose params (not the query body).

All values with no default are reset to their zero value.

func (*StopFirehoseParams) WithFirehoseUrn

func (o *StopFirehoseParams) WithFirehoseUrn(firehoseUrn string) *StopFirehoseParams

WithFirehoseUrn adds the firehoseUrn to the stop firehose params

func (*StopFirehoseParams) WithHTTPClient

func (o *StopFirehoseParams) WithHTTPClient(client *http.Client) *StopFirehoseParams

WithHTTPClient adds the HTTPClient to the stop firehose params

func (*StopFirehoseParams) WithProjectSlug

func (o *StopFirehoseParams) WithProjectSlug(projectSlug string) *StopFirehoseParams

WithProjectSlug adds the projectSlug to the stop firehose params

func (*StopFirehoseParams) WithTimeout

func (o *StopFirehoseParams) WithTimeout(timeout time.Duration) *StopFirehoseParams

WithTimeout adds the timeout to the stop firehose params

func (*StopFirehoseParams) WriteToRequest

func (o *StopFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type StopFirehoseReader

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

StopFirehoseReader is a Reader for the StopFirehose structure.

func (*StopFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateFirehoseBadRequest

type UpdateFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}

UpdateFirehoseBadRequest describes a response with status code 400, with default header values.

Update request is not valid.

func NewUpdateFirehoseBadRequest

func NewUpdateFirehoseBadRequest() *UpdateFirehoseBadRequest

NewUpdateFirehoseBadRequest creates a UpdateFirehoseBadRequest with default headers values

func (*UpdateFirehoseBadRequest) Error

func (o *UpdateFirehoseBadRequest) Error() string

func (*UpdateFirehoseBadRequest) GetPayload

func (*UpdateFirehoseBadRequest) IsClientError

func (o *UpdateFirehoseBadRequest) IsClientError() bool

IsClientError returns true when this update firehose bad request response has a 4xx status code

func (*UpdateFirehoseBadRequest) IsCode

func (o *UpdateFirehoseBadRequest) IsCode(code int) bool

IsCode returns true when this update firehose bad request response a status code equal to that given

func (*UpdateFirehoseBadRequest) IsRedirect

func (o *UpdateFirehoseBadRequest) IsRedirect() bool

IsRedirect returns true when this update firehose bad request response has a 3xx status code

func (*UpdateFirehoseBadRequest) IsServerError

func (o *UpdateFirehoseBadRequest) IsServerError() bool

IsServerError returns true when this update firehose bad request response has a 5xx status code

func (*UpdateFirehoseBadRequest) IsSuccess

func (o *UpdateFirehoseBadRequest) IsSuccess() bool

IsSuccess returns true when this update firehose bad request response has a 2xx status code

func (*UpdateFirehoseBadRequest) String

func (o *UpdateFirehoseBadRequest) String() string

type UpdateFirehoseBody

type UpdateFirehoseBody struct {

	// configs
	Configs *models.FirehoseConfig `json:"configs,omitempty"`

	// description
	// Example: This firehose consumes from booking events and ingests to redis
	Description string `json:"description,omitempty"`
}

UpdateFirehoseBody update firehose body swagger:model UpdateFirehoseBody

func (*UpdateFirehoseBody) ContextValidate

func (o *UpdateFirehoseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update firehose body based on the context it is used

func (*UpdateFirehoseBody) MarshalBinary

func (o *UpdateFirehoseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateFirehoseBody) UnmarshalBinary

func (o *UpdateFirehoseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateFirehoseBody) Validate

func (o *UpdateFirehoseBody) Validate(formats strfmt.Registry) error

Validate validates this update firehose body

type UpdateFirehoseInternalServerError

type UpdateFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

UpdateFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewUpdateFirehoseInternalServerError

func NewUpdateFirehoseInternalServerError() *UpdateFirehoseInternalServerError

NewUpdateFirehoseInternalServerError creates a UpdateFirehoseInternalServerError with default headers values

func (*UpdateFirehoseInternalServerError) Error

func (*UpdateFirehoseInternalServerError) GetPayload

func (*UpdateFirehoseInternalServerError) IsClientError

func (o *UpdateFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this update firehose internal server error response has a 4xx status code

func (*UpdateFirehoseInternalServerError) IsCode

func (o *UpdateFirehoseInternalServerError) IsCode(code int) bool

IsCode returns true when this update firehose internal server error response a status code equal to that given

func (*UpdateFirehoseInternalServerError) IsRedirect

func (o *UpdateFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this update firehose internal server error response has a 3xx status code

func (*UpdateFirehoseInternalServerError) IsServerError

func (o *UpdateFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this update firehose internal server error response has a 5xx status code

func (*UpdateFirehoseInternalServerError) IsSuccess

func (o *UpdateFirehoseInternalServerError) IsSuccess() bool

IsSuccess returns true when this update firehose internal server error response has a 2xx status code

func (*UpdateFirehoseInternalServerError) String

type UpdateFirehoseNotFound

type UpdateFirehoseNotFound struct {
	Payload *models.ErrorResponse
}

UpdateFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewUpdateFirehoseNotFound

func NewUpdateFirehoseNotFound() *UpdateFirehoseNotFound

NewUpdateFirehoseNotFound creates a UpdateFirehoseNotFound with default headers values

func (*UpdateFirehoseNotFound) Error

func (o *UpdateFirehoseNotFound) Error() string

func (*UpdateFirehoseNotFound) GetPayload

func (o *UpdateFirehoseNotFound) GetPayload() *models.ErrorResponse

func (*UpdateFirehoseNotFound) IsClientError

func (o *UpdateFirehoseNotFound) IsClientError() bool

IsClientError returns true when this update firehose not found response has a 4xx status code

func (*UpdateFirehoseNotFound) IsCode

func (o *UpdateFirehoseNotFound) IsCode(code int) bool

IsCode returns true when this update firehose not found response a status code equal to that given

func (*UpdateFirehoseNotFound) IsRedirect

func (o *UpdateFirehoseNotFound) IsRedirect() bool

IsRedirect returns true when this update firehose not found response has a 3xx status code

func (*UpdateFirehoseNotFound) IsServerError

func (o *UpdateFirehoseNotFound) IsServerError() bool

IsServerError returns true when this update firehose not found response has a 5xx status code

func (*UpdateFirehoseNotFound) IsSuccess

func (o *UpdateFirehoseNotFound) IsSuccess() bool

IsSuccess returns true when this update firehose not found response has a 2xx status code

func (*UpdateFirehoseNotFound) String

func (o *UpdateFirehoseNotFound) String() string

type UpdateFirehoseOK

type UpdateFirehoseOK struct {
	Payload *models.Firehose
}

UpdateFirehoseOK describes a response with status code 200, with default header values.

Found firehose with given URN

func NewUpdateFirehoseOK

func NewUpdateFirehoseOK() *UpdateFirehoseOK

NewUpdateFirehoseOK creates a UpdateFirehoseOK with default headers values

func (*UpdateFirehoseOK) Error

func (o *UpdateFirehoseOK) Error() string

func (*UpdateFirehoseOK) GetPayload

func (o *UpdateFirehoseOK) GetPayload() *models.Firehose

func (*UpdateFirehoseOK) IsClientError

func (o *UpdateFirehoseOK) IsClientError() bool

IsClientError returns true when this update firehose o k response has a 4xx status code

func (*UpdateFirehoseOK) IsCode

func (o *UpdateFirehoseOK) IsCode(code int) bool

IsCode returns true when this update firehose o k response a status code equal to that given

func (*UpdateFirehoseOK) IsRedirect

func (o *UpdateFirehoseOK) IsRedirect() bool

IsRedirect returns true when this update firehose o k response has a 3xx status code

func (*UpdateFirehoseOK) IsServerError

func (o *UpdateFirehoseOK) IsServerError() bool

IsServerError returns true when this update firehose o k response has a 5xx status code

func (*UpdateFirehoseOK) IsSuccess

func (o *UpdateFirehoseOK) IsSuccess() bool

IsSuccess returns true when this update firehose o k response has a 2xx status code

func (*UpdateFirehoseOK) String

func (o *UpdateFirehoseOK) String() string

type UpdateFirehoseParams

type UpdateFirehoseParams struct {

	// Body.
	Body UpdateFirehoseBody

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

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

UpdateFirehoseParams contains all the parameters to send to the API endpoint

for the update firehose operation.

Typically these are written to a http.Request.

func NewUpdateFirehoseParams

func NewUpdateFirehoseParams() *UpdateFirehoseParams

NewUpdateFirehoseParams creates a new UpdateFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateFirehoseParamsWithContext

func NewUpdateFirehoseParamsWithContext(ctx context.Context) *UpdateFirehoseParams

NewUpdateFirehoseParamsWithContext creates a new UpdateFirehoseParams object with the ability to set a context for a request.

func NewUpdateFirehoseParamsWithHTTPClient

func NewUpdateFirehoseParamsWithHTTPClient(client *http.Client) *UpdateFirehoseParams

NewUpdateFirehoseParamsWithHTTPClient creates a new UpdateFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateFirehoseParamsWithTimeout

func NewUpdateFirehoseParamsWithTimeout(timeout time.Duration) *UpdateFirehoseParams

NewUpdateFirehoseParamsWithTimeout creates a new UpdateFirehoseParams object with the ability to set a timeout on a request.

func (*UpdateFirehoseParams) SetBody

func (o *UpdateFirehoseParams) SetBody(body UpdateFirehoseBody)

SetBody adds the body to the update firehose params

func (*UpdateFirehoseParams) SetContext

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

SetContext adds the context to the update firehose params

func (*UpdateFirehoseParams) SetDefaults

func (o *UpdateFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the update firehose params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFirehoseParams) SetFirehoseUrn

func (o *UpdateFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the update firehose params

func (*UpdateFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update firehose params

func (*UpdateFirehoseParams) SetProjectSlug

func (o *UpdateFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the update firehose params

func (*UpdateFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the update firehose params

func (*UpdateFirehoseParams) WithBody

WithBody adds the body to the update firehose params

func (*UpdateFirehoseParams) WithContext

WithContext adds the context to the update firehose params

func (*UpdateFirehoseParams) WithDefaults

func (o *UpdateFirehoseParams) WithDefaults() *UpdateFirehoseParams

WithDefaults hydrates default values in the update firehose params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateFirehoseParams) WithFirehoseUrn

func (o *UpdateFirehoseParams) WithFirehoseUrn(firehoseUrn string) *UpdateFirehoseParams

WithFirehoseUrn adds the firehoseUrn to the update firehose params

func (*UpdateFirehoseParams) WithHTTPClient

func (o *UpdateFirehoseParams) WithHTTPClient(client *http.Client) *UpdateFirehoseParams

WithHTTPClient adds the HTTPClient to the update firehose params

func (*UpdateFirehoseParams) WithProjectSlug

func (o *UpdateFirehoseParams) WithProjectSlug(projectSlug string) *UpdateFirehoseParams

WithProjectSlug adds the projectSlug to the update firehose params

func (*UpdateFirehoseParams) WithTimeout

func (o *UpdateFirehoseParams) WithTimeout(timeout time.Duration) *UpdateFirehoseParams

WithTimeout adds the timeout to the update firehose params

func (*UpdateFirehoseParams) WriteToRequest

func (o *UpdateFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateFirehoseReader

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

UpdateFirehoseReader is a Reader for the UpdateFirehose structure.

func (*UpdateFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpgradeFirehoseInternalServerError

type UpgradeFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}

UpgradeFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewUpgradeFirehoseInternalServerError

func NewUpgradeFirehoseInternalServerError() *UpgradeFirehoseInternalServerError

NewUpgradeFirehoseInternalServerError creates a UpgradeFirehoseInternalServerError with default headers values

func (*UpgradeFirehoseInternalServerError) Error

func (*UpgradeFirehoseInternalServerError) GetPayload

func (*UpgradeFirehoseInternalServerError) IsClientError

func (o *UpgradeFirehoseInternalServerError) IsClientError() bool

IsClientError returns true when this upgrade firehose internal server error response has a 4xx status code

func (*UpgradeFirehoseInternalServerError) IsCode

IsCode returns true when this upgrade firehose internal server error response a status code equal to that given

func (*UpgradeFirehoseInternalServerError) IsRedirect

func (o *UpgradeFirehoseInternalServerError) IsRedirect() bool

IsRedirect returns true when this upgrade firehose internal server error response has a 3xx status code

func (*UpgradeFirehoseInternalServerError) IsServerError

func (o *UpgradeFirehoseInternalServerError) IsServerError() bool

IsServerError returns true when this upgrade firehose internal server error response has a 5xx status code

func (*UpgradeFirehoseInternalServerError) IsSuccess

IsSuccess returns true when this upgrade firehose internal server error response has a 2xx status code

func (*UpgradeFirehoseInternalServerError) String

type UpgradeFirehoseNotFound

type UpgradeFirehoseNotFound struct {
	Payload *models.ErrorResponse
}

UpgradeFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewUpgradeFirehoseNotFound

func NewUpgradeFirehoseNotFound() *UpgradeFirehoseNotFound

NewUpgradeFirehoseNotFound creates a UpgradeFirehoseNotFound with default headers values

func (*UpgradeFirehoseNotFound) Error

func (o *UpgradeFirehoseNotFound) Error() string

func (*UpgradeFirehoseNotFound) GetPayload

func (o *UpgradeFirehoseNotFound) GetPayload() *models.ErrorResponse

func (*UpgradeFirehoseNotFound) IsClientError

func (o *UpgradeFirehoseNotFound) IsClientError() bool

IsClientError returns true when this upgrade firehose not found response has a 4xx status code

func (*UpgradeFirehoseNotFound) IsCode

func (o *UpgradeFirehoseNotFound) IsCode(code int) bool

IsCode returns true when this upgrade firehose not found response a status code equal to that given

func (*UpgradeFirehoseNotFound) IsRedirect

func (o *UpgradeFirehoseNotFound) IsRedirect() bool

IsRedirect returns true when this upgrade firehose not found response has a 3xx status code

func (*UpgradeFirehoseNotFound) IsServerError

func (o *UpgradeFirehoseNotFound) IsServerError() bool

IsServerError returns true when this upgrade firehose not found response has a 5xx status code

func (*UpgradeFirehoseNotFound) IsSuccess

func (o *UpgradeFirehoseNotFound) IsSuccess() bool

IsSuccess returns true when this upgrade firehose not found response has a 2xx status code

func (*UpgradeFirehoseNotFound) String

func (o *UpgradeFirehoseNotFound) String() string

type UpgradeFirehoseOK

type UpgradeFirehoseOK struct {
	Payload *models.Firehose
}

UpgradeFirehoseOK describes a response with status code 200, with default header values.

Upgrade request accepted.

func NewUpgradeFirehoseOK

func NewUpgradeFirehoseOK() *UpgradeFirehoseOK

NewUpgradeFirehoseOK creates a UpgradeFirehoseOK with default headers values

func (*UpgradeFirehoseOK) Error

func (o *UpgradeFirehoseOK) Error() string

func (*UpgradeFirehoseOK) GetPayload

func (o *UpgradeFirehoseOK) GetPayload() *models.Firehose

func (*UpgradeFirehoseOK) IsClientError

func (o *UpgradeFirehoseOK) IsClientError() bool

IsClientError returns true when this upgrade firehose o k response has a 4xx status code

func (*UpgradeFirehoseOK) IsCode

func (o *UpgradeFirehoseOK) IsCode(code int) bool

IsCode returns true when this upgrade firehose o k response a status code equal to that given

func (*UpgradeFirehoseOK) IsRedirect

func (o *UpgradeFirehoseOK) IsRedirect() bool

IsRedirect returns true when this upgrade firehose o k response has a 3xx status code

func (*UpgradeFirehoseOK) IsServerError

func (o *UpgradeFirehoseOK) IsServerError() bool

IsServerError returns true when this upgrade firehose o k response has a 5xx status code

func (*UpgradeFirehoseOK) IsSuccess

func (o *UpgradeFirehoseOK) IsSuccess() bool

IsSuccess returns true when this upgrade firehose o k response has a 2xx status code

func (*UpgradeFirehoseOK) String

func (o *UpgradeFirehoseOK) String() string

type UpgradeFirehoseParams

type UpgradeFirehoseParams struct {

	// Body.
	Body interface{}

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Identifier for the project.
	*/
	ProjectSlug string

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

UpgradeFirehoseParams contains all the parameters to send to the API endpoint

for the upgrade firehose operation.

Typically these are written to a http.Request.

func NewUpgradeFirehoseParams

func NewUpgradeFirehoseParams() *UpgradeFirehoseParams

NewUpgradeFirehoseParams creates a new UpgradeFirehoseParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpgradeFirehoseParamsWithContext

func NewUpgradeFirehoseParamsWithContext(ctx context.Context) *UpgradeFirehoseParams

NewUpgradeFirehoseParamsWithContext creates a new UpgradeFirehoseParams object with the ability to set a context for a request.

func NewUpgradeFirehoseParamsWithHTTPClient

func NewUpgradeFirehoseParamsWithHTTPClient(client *http.Client) *UpgradeFirehoseParams

NewUpgradeFirehoseParamsWithHTTPClient creates a new UpgradeFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewUpgradeFirehoseParamsWithTimeout

func NewUpgradeFirehoseParamsWithTimeout(timeout time.Duration) *UpgradeFirehoseParams

NewUpgradeFirehoseParamsWithTimeout creates a new UpgradeFirehoseParams object with the ability to set a timeout on a request.

func (*UpgradeFirehoseParams) SetBody

func (o *UpgradeFirehoseParams) SetBody(body interface{})

SetBody adds the body to the upgrade firehose params

func (*UpgradeFirehoseParams) SetContext

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

SetContext adds the context to the upgrade firehose params

func (*UpgradeFirehoseParams) SetDefaults

func (o *UpgradeFirehoseParams) SetDefaults()

SetDefaults hydrates default values in the upgrade firehose params (not the query body).

All values with no default are reset to their zero value.

func (*UpgradeFirehoseParams) SetFirehoseUrn

func (o *UpgradeFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the upgrade firehose params

func (*UpgradeFirehoseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upgrade firehose params

func (*UpgradeFirehoseParams) SetProjectSlug

func (o *UpgradeFirehoseParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the upgrade firehose params

func (*UpgradeFirehoseParams) SetTimeout

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

SetTimeout adds the timeout to the upgrade firehose params

func (*UpgradeFirehoseParams) WithBody

func (o *UpgradeFirehoseParams) WithBody(body interface{}) *UpgradeFirehoseParams

WithBody adds the body to the upgrade firehose params

func (*UpgradeFirehoseParams) WithContext

WithContext adds the context to the upgrade firehose params

func (*UpgradeFirehoseParams) WithDefaults

func (o *UpgradeFirehoseParams) WithDefaults() *UpgradeFirehoseParams

WithDefaults hydrates default values in the upgrade firehose params (not the query body).

All values with no default are reset to their zero value.

func (*UpgradeFirehoseParams) WithFirehoseUrn

func (o *UpgradeFirehoseParams) WithFirehoseUrn(firehoseUrn string) *UpgradeFirehoseParams

WithFirehoseUrn adds the firehoseUrn to the upgrade firehose params

func (*UpgradeFirehoseParams) WithHTTPClient

func (o *UpgradeFirehoseParams) WithHTTPClient(client *http.Client) *UpgradeFirehoseParams

WithHTTPClient adds the HTTPClient to the upgrade firehose params

func (*UpgradeFirehoseParams) WithProjectSlug

func (o *UpgradeFirehoseParams) WithProjectSlug(projectSlug string) *UpgradeFirehoseParams

WithProjectSlug adds the projectSlug to the upgrade firehose params

func (*UpgradeFirehoseParams) WithTimeout

func (o *UpgradeFirehoseParams) WithTimeout(timeout time.Duration) *UpgradeFirehoseParams

WithTimeout adds the timeout to the upgrade firehose params

func (*UpgradeFirehoseParams) WriteToRequest

func (o *UpgradeFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpgradeFirehoseReader

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

UpgradeFirehoseReader is a Reader for the UpgradeFirehose structure.

func (*UpgradeFirehoseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpsertFirehoseAlertPolicyInternalServerError

type UpsertFirehoseAlertPolicyInternalServerError struct {
	Payload *models.ErrorResponse
}

UpsertFirehoseAlertPolicyInternalServerError describes a response with status code 500, with default header values.

internal error

func NewUpsertFirehoseAlertPolicyInternalServerError

func NewUpsertFirehoseAlertPolicyInternalServerError() *UpsertFirehoseAlertPolicyInternalServerError

NewUpsertFirehoseAlertPolicyInternalServerError creates a UpsertFirehoseAlertPolicyInternalServerError with default headers values

func (*UpsertFirehoseAlertPolicyInternalServerError) Error

func (*UpsertFirehoseAlertPolicyInternalServerError) GetPayload

func (*UpsertFirehoseAlertPolicyInternalServerError) IsClientError

IsClientError returns true when this upsert firehose alert policy internal server error response has a 4xx status code

func (*UpsertFirehoseAlertPolicyInternalServerError) IsCode

IsCode returns true when this upsert firehose alert policy internal server error response a status code equal to that given

func (*UpsertFirehoseAlertPolicyInternalServerError) IsRedirect

IsRedirect returns true when this upsert firehose alert policy internal server error response has a 3xx status code

func (*UpsertFirehoseAlertPolicyInternalServerError) IsServerError

IsServerError returns true when this upsert firehose alert policy internal server error response has a 5xx status code

func (*UpsertFirehoseAlertPolicyInternalServerError) IsSuccess

IsSuccess returns true when this upsert firehose alert policy internal server error response has a 2xx status code

func (*UpsertFirehoseAlertPolicyInternalServerError) String

type UpsertFirehoseAlertPolicyNotFound

type UpsertFirehoseAlertPolicyNotFound struct {
	Payload *models.ErrorResponse
}

UpsertFirehoseAlertPolicyNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewUpsertFirehoseAlertPolicyNotFound

func NewUpsertFirehoseAlertPolicyNotFound() *UpsertFirehoseAlertPolicyNotFound

NewUpsertFirehoseAlertPolicyNotFound creates a UpsertFirehoseAlertPolicyNotFound with default headers values

func (*UpsertFirehoseAlertPolicyNotFound) Error

func (*UpsertFirehoseAlertPolicyNotFound) GetPayload

func (*UpsertFirehoseAlertPolicyNotFound) IsClientError

func (o *UpsertFirehoseAlertPolicyNotFound) IsClientError() bool

IsClientError returns true when this upsert firehose alert policy not found response has a 4xx status code

func (*UpsertFirehoseAlertPolicyNotFound) IsCode

func (o *UpsertFirehoseAlertPolicyNotFound) IsCode(code int) bool

IsCode returns true when this upsert firehose alert policy not found response a status code equal to that given

func (*UpsertFirehoseAlertPolicyNotFound) IsRedirect

func (o *UpsertFirehoseAlertPolicyNotFound) IsRedirect() bool

IsRedirect returns true when this upsert firehose alert policy not found response has a 3xx status code

func (*UpsertFirehoseAlertPolicyNotFound) IsServerError

func (o *UpsertFirehoseAlertPolicyNotFound) IsServerError() bool

IsServerError returns true when this upsert firehose alert policy not found response has a 5xx status code

func (*UpsertFirehoseAlertPolicyNotFound) IsSuccess

func (o *UpsertFirehoseAlertPolicyNotFound) IsSuccess() bool

IsSuccess returns true when this upsert firehose alert policy not found response has a 2xx status code

func (*UpsertFirehoseAlertPolicyNotFound) String

type UpsertFirehoseAlertPolicyOK

type UpsertFirehoseAlertPolicyOK struct {
	Payload *models.AlertPolicy
}

UpsertFirehoseAlertPolicyOK describes a response with status code 200, with default header values.

Updated alert policy for firehose.

func NewUpsertFirehoseAlertPolicyOK

func NewUpsertFirehoseAlertPolicyOK() *UpsertFirehoseAlertPolicyOK

NewUpsertFirehoseAlertPolicyOK creates a UpsertFirehoseAlertPolicyOK with default headers values

func (*UpsertFirehoseAlertPolicyOK) Error

func (*UpsertFirehoseAlertPolicyOK) GetPayload

func (*UpsertFirehoseAlertPolicyOK) IsClientError

func (o *UpsertFirehoseAlertPolicyOK) IsClientError() bool

IsClientError returns true when this upsert firehose alert policy o k response has a 4xx status code

func (*UpsertFirehoseAlertPolicyOK) IsCode

func (o *UpsertFirehoseAlertPolicyOK) IsCode(code int) bool

IsCode returns true when this upsert firehose alert policy o k response a status code equal to that given

func (*UpsertFirehoseAlertPolicyOK) IsRedirect

func (o *UpsertFirehoseAlertPolicyOK) IsRedirect() bool

IsRedirect returns true when this upsert firehose alert policy o k response has a 3xx status code

func (*UpsertFirehoseAlertPolicyOK) IsServerError

func (o *UpsertFirehoseAlertPolicyOK) IsServerError() bool

IsServerError returns true when this upsert firehose alert policy o k response has a 5xx status code

func (*UpsertFirehoseAlertPolicyOK) IsSuccess

func (o *UpsertFirehoseAlertPolicyOK) IsSuccess() bool

IsSuccess returns true when this upsert firehose alert policy o k response has a 2xx status code

func (*UpsertFirehoseAlertPolicyOK) String

func (o *UpsertFirehoseAlertPolicyOK) String() string

type UpsertFirehoseAlertPolicyParams

type UpsertFirehoseAlertPolicyParams struct {

	// Body.
	Body *models.AlertPolicy

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

	/* ProjectSlug.

	   Unique slug name of the project.
	*/
	ProjectSlug string

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

UpsertFirehoseAlertPolicyParams contains all the parameters to send to the API endpoint

for the upsert firehose alert policy operation.

Typically these are written to a http.Request.

func NewUpsertFirehoseAlertPolicyParams

func NewUpsertFirehoseAlertPolicyParams() *UpsertFirehoseAlertPolicyParams

NewUpsertFirehoseAlertPolicyParams creates a new UpsertFirehoseAlertPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpsertFirehoseAlertPolicyParamsWithContext

func NewUpsertFirehoseAlertPolicyParamsWithContext(ctx context.Context) *UpsertFirehoseAlertPolicyParams

NewUpsertFirehoseAlertPolicyParamsWithContext creates a new UpsertFirehoseAlertPolicyParams object with the ability to set a context for a request.

func NewUpsertFirehoseAlertPolicyParamsWithHTTPClient

func NewUpsertFirehoseAlertPolicyParamsWithHTTPClient(client *http.Client) *UpsertFirehoseAlertPolicyParams

NewUpsertFirehoseAlertPolicyParamsWithHTTPClient creates a new UpsertFirehoseAlertPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpsertFirehoseAlertPolicyParamsWithTimeout

func NewUpsertFirehoseAlertPolicyParamsWithTimeout(timeout time.Duration) *UpsertFirehoseAlertPolicyParams

NewUpsertFirehoseAlertPolicyParamsWithTimeout creates a new UpsertFirehoseAlertPolicyParams object with the ability to set a timeout on a request.

func (*UpsertFirehoseAlertPolicyParams) SetBody

SetBody adds the body to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) SetContext

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

SetContext adds the context to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) SetDefaults

func (o *UpsertFirehoseAlertPolicyParams) SetDefaults()

SetDefaults hydrates default values in the upsert firehose alert policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpsertFirehoseAlertPolicyParams) SetFirehoseUrn

func (o *UpsertFirehoseAlertPolicyParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) SetProjectSlug

func (o *UpsertFirehoseAlertPolicyParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WithBody

WithBody adds the body to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WithContext

WithContext adds the context to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WithDefaults

WithDefaults hydrates default values in the upsert firehose alert policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpsertFirehoseAlertPolicyParams) WithFirehoseUrn

WithFirehoseUrn adds the firehoseUrn to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WithProjectSlug

WithProjectSlug adds the projectSlug to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WithTimeout

WithTimeout adds the timeout to the upsert firehose alert policy params

func (*UpsertFirehoseAlertPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpsertFirehoseAlertPolicyReader

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

UpsertFirehoseAlertPolicyReader is a Reader for the UpsertFirehoseAlertPolicy structure.

func (*UpsertFirehoseAlertPolicyReader) ReadResponse

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