operations

package
v0.7.21 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 14 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) DeleteAlertSubscription added in v0.7.9

func (a *Client) DeleteAlertSubscription(params *DeleteAlertSubscriptionParams, opts ...ClientOption) (*DeleteAlertSubscriptionOK, error)

DeleteAlertSubscription deletes existing siren subscription

Delete an existing Siren's alert subscription.

func (*Client) GetAlertPolicy added in v0.7.16

func (a *Client) GetAlertPolicy(params *GetAlertPolicyParams, opts ...ClientOption) (*GetAlertPolicyOK, error)

GetAlertPolicy gets alert policies

Get alert policies for a resource.

func (*Client) GetAlertSubscription added in v0.7.9

func (a *Client) GetAlertSubscription(params *GetAlertSubscriptionParams, opts ...ClientOption) (*GetAlertSubscriptionOK, error)

GetAlertSubscription gets existing siren subscription

Get an existing Siren's alert subscription.

func (*Client) GetAlerts added in v0.7.16

func (a *Client) GetAlerts(params *GetAlertsParams, opts ...ClientOption) (*GetAlertsOK, error)

GetAlerts triggereds alerts for a resource

Triggered alerts for a resource.

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

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) GetGroupAlertChannels added in v0.7.9

func (a *Client) GetGroupAlertChannels(params *GetGroupAlertChannelsParams, opts ...ClientOption) (*GetGroupAlertChannelsOK, error)

GetGroupAlertChannels gets group alert channels

Get Group available alert channels

func (*Client) GetOptimusJob added in v0.7.9

func (a *Client) GetOptimusJob(params *GetOptimusJobParams, opts ...ClientOption) (*GetOptimusJobOK, error)

GetOptimusJob gets optimus job specification

Get list of kubernetes in this project.

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) GetSubscriptionList added in v0.7.9

func (a *Client) GetSubscriptionList(params *GetSubscriptionListParams, opts ...ClientOption) (*GetSubscriptionListOK, error)

GetSubscriptionList gets a list of subscriptions

Get a list of Siren's alert subscription.

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

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) NewAlertSubscription added in v0.7.9

func (a *Client) NewAlertSubscription(params *NewAlertSubscriptionParams, opts ...ClientOption) (*NewAlertSubscriptionCreated, error)

NewAlertSubscription creates a new alert subscription

Create a new Siren's alert subscription.

func (*Client) PartialUpdateFirehose added in v0.7.1

func (a *Client) PartialUpdateFirehose(params *PartialUpdateFirehoseParams, opts ...ClientOption) (*PartialUpdateFirehoseOK, error)

PartialUpdateFirehose updates firehose configurations partially

Update firehose configurations partially.

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) SetGroupAlertChannels added in v0.7.11

func (a *Client) SetGroupAlertChannels(params *SetGroupAlertChannelsParams, opts ...ClientOption) (*SetGroupAlertChannelsOK, error)

SetGroupAlertChannels sets group alert channels

Set Group alert channels and assign subscription

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) UpdateAlertSubscription added in v0.7.9

func (a *Client) UpdateAlertSubscription(params *UpdateAlertSubscriptionParams, opts ...ClientOption) (*UpdateAlertSubscriptionOK, error)

UpdateAlertSubscription updates existing siren subscription

Update an existing Siren's alert subscription.

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)

	DeleteAlertSubscription(params *DeleteAlertSubscriptionParams, opts ...ClientOption) (*DeleteAlertSubscriptionOK, error)

	GetAlertPolicy(params *GetAlertPolicyParams, opts ...ClientOption) (*GetAlertPolicyOK, error)

	GetAlertSubscription(params *GetAlertSubscriptionParams, opts ...ClientOption) (*GetAlertSubscriptionOK, error)

	GetAlerts(params *GetAlertsParams, opts ...ClientOption) (*GetAlertsOK, 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)

	GetGroupAlertChannels(params *GetGroupAlertChannelsParams, opts ...ClientOption) (*GetGroupAlertChannelsOK, error)

	GetOptimusJob(params *GetOptimusJobParams, opts ...ClientOption) (*GetOptimusJobOK, error)

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

	GetSubscriptionList(params *GetSubscriptionListParams, opts ...ClientOption) (*GetSubscriptionListOK, 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)

	NewAlertSubscription(params *NewAlertSubscriptionParams, opts ...ClientOption) (*NewAlertSubscriptionCreated, error)

	PartialUpdateFirehose(params *PartialUpdateFirehoseParams, opts ...ClientOption) (*PartialUpdateFirehoseOK, error)

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

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

	SetGroupAlertChannels(params *SetGroupAlertChannelsParams, opts ...ClientOption) (*SetGroupAlertChannelsOK, error)

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

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

	UpdateAlertSubscription(params *UpdateAlertSubscriptionParams, opts ...ClientOption) (*UpdateAlertSubscriptionOK, 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

type CreateFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}
CreateFirehoseBadRequest describes a response with status code 400, with default header values.

Request was invalid.

func NewCreateFirehoseBadRequest

func NewCreateFirehoseBadRequest() *CreateFirehoseBadRequest

NewCreateFirehoseBadRequest creates a CreateFirehoseBadRequest with default headers values

func (*CreateFirehoseBadRequest) Error

func (o *CreateFirehoseBadRequest) Error() string

func (*CreateFirehoseBadRequest) GetPayload

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

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

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

type CreateFirehoseParams

type CreateFirehoseParams struct {

	// Body.
	Body *models.Firehose

	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) 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) 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 DeleteAlertSubscriptionNotFound added in v0.7.9

type DeleteAlertSubscriptionNotFound struct {
	Payload *models.ErrorResponse
}
DeleteAlertSubscriptionNotFound describes a response with status code 404, with default header values.

Not Found Error

func NewDeleteAlertSubscriptionNotFound added in v0.7.9

func NewDeleteAlertSubscriptionNotFound() *DeleteAlertSubscriptionNotFound

NewDeleteAlertSubscriptionNotFound creates a DeleteAlertSubscriptionNotFound with default headers values

func (*DeleteAlertSubscriptionNotFound) Error added in v0.7.9

func (*DeleteAlertSubscriptionNotFound) GetPayload added in v0.7.9

type DeleteAlertSubscriptionOK added in v0.7.9

type DeleteAlertSubscriptionOK struct {
	Payload *models.Response
}
DeleteAlertSubscriptionOK describes a response with status code 200, with default header values.

Successful Operation.

func NewDeleteAlertSubscriptionOK added in v0.7.9

func NewDeleteAlertSubscriptionOK() *DeleteAlertSubscriptionOK

NewDeleteAlertSubscriptionOK creates a DeleteAlertSubscriptionOK with default headers values

func (*DeleteAlertSubscriptionOK) Error added in v0.7.9

func (o *DeleteAlertSubscriptionOK) Error() string

func (*DeleteAlertSubscriptionOK) GetPayload added in v0.7.9

func (o *DeleteAlertSubscriptionOK) GetPayload() *models.Response

type DeleteAlertSubscriptionParams added in v0.7.9

type DeleteAlertSubscriptionParams struct {

	// ID.
	ID string

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

DeleteAlertSubscriptionParams contains all the parameters to send to the API endpoint

for the delete alert subscription operation.

Typically these are written to a http.Request.

func NewDeleteAlertSubscriptionParams added in v0.7.9

func NewDeleteAlertSubscriptionParams() *DeleteAlertSubscriptionParams

NewDeleteAlertSubscriptionParams creates a new DeleteAlertSubscriptionParams 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 NewDeleteAlertSubscriptionParamsWithContext added in v0.7.9

func NewDeleteAlertSubscriptionParamsWithContext(ctx context.Context) *DeleteAlertSubscriptionParams

NewDeleteAlertSubscriptionParamsWithContext creates a new DeleteAlertSubscriptionParams object with the ability to set a context for a request.

func NewDeleteAlertSubscriptionParamsWithHTTPClient added in v0.7.9

func NewDeleteAlertSubscriptionParamsWithHTTPClient(client *http.Client) *DeleteAlertSubscriptionParams

NewDeleteAlertSubscriptionParamsWithHTTPClient creates a new DeleteAlertSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteAlertSubscriptionParamsWithTimeout added in v0.7.9

func NewDeleteAlertSubscriptionParamsWithTimeout(timeout time.Duration) *DeleteAlertSubscriptionParams

NewDeleteAlertSubscriptionParamsWithTimeout creates a new DeleteAlertSubscriptionParams object with the ability to set a timeout on a request.

func (*DeleteAlertSubscriptionParams) SetContext added in v0.7.9

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

SetContext adds the context to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) SetDefaults added in v0.7.9

func (o *DeleteAlertSubscriptionParams) SetDefaults()

SetDefaults hydrates default values in the delete alert subscription params (not the query body).

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

func (*DeleteAlertSubscriptionParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) SetID added in v0.7.9

SetID adds the id to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) WithContext added in v0.7.9

WithContext adds the context to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) WithDefaults added in v0.7.9

WithDefaults hydrates default values in the delete alert subscription params (not the query body).

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

func (*DeleteAlertSubscriptionParams) WithHTTPClient added in v0.7.9

WithHTTPClient adds the HTTPClient to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) WithID added in v0.7.9

WithID adds the id to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) WithTimeout added in v0.7.9

WithTimeout adds the timeout to the delete alert subscription params

func (*DeleteAlertSubscriptionParams) WriteToRequest added in v0.7.9

WriteToRequest writes these params to a swagger request

type DeleteAlertSubscriptionReader added in v0.7.9

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

DeleteAlertSubscriptionReader is a Reader for the DeleteAlertSubscription structure.

func (*DeleteAlertSubscriptionReader) ReadResponse added in v0.7.9

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

ReadResponse reads a server response into the received o.

type GetAlertPolicyInternalServerError added in v0.7.16

type GetAlertPolicyInternalServerError struct {
	Payload *models.ErrorResponse
}
GetAlertPolicyInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetAlertPolicyInternalServerError added in v0.7.16

func NewGetAlertPolicyInternalServerError() *GetAlertPolicyInternalServerError

NewGetAlertPolicyInternalServerError creates a GetAlertPolicyInternalServerError with default headers values

func (*GetAlertPolicyInternalServerError) Error added in v0.7.16

func (*GetAlertPolicyInternalServerError) GetPayload added in v0.7.16

type GetAlertPolicyNotFound added in v0.7.16

type GetAlertPolicyNotFound struct {
	Payload *models.ErrorResponse
}
GetAlertPolicyNotFound describes a response with status code 404, with default header values.

Could not find policies for given URN

func NewGetAlertPolicyNotFound added in v0.7.16

func NewGetAlertPolicyNotFound() *GetAlertPolicyNotFound

NewGetAlertPolicyNotFound creates a GetAlertPolicyNotFound with default headers values

func (*GetAlertPolicyNotFound) Error added in v0.7.16

func (o *GetAlertPolicyNotFound) Error() string

func (*GetAlertPolicyNotFound) GetPayload added in v0.7.16

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

type GetAlertPolicyOK added in v0.7.16

type GetAlertPolicyOK struct {
	Payload *models.AlertPolicy
}
GetAlertPolicyOK describes a response with status code 200, with default header values.

Found alert policy for given URN.

func NewGetAlertPolicyOK added in v0.7.16

func NewGetAlertPolicyOK() *GetAlertPolicyOK

NewGetAlertPolicyOK creates a GetAlertPolicyOK with default headers values

func (*GetAlertPolicyOK) Error added in v0.7.16

func (o *GetAlertPolicyOK) Error() string

func (*GetAlertPolicyOK) GetPayload added in v0.7.16

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

type GetAlertPolicyParams added in v0.7.16

type GetAlertPolicyParams struct {

	/* ProjectSlug.

	   Shield project slug.
	*/
	ProjectSlug string

	/* ResourceUrn.

	   Siren resource identifier.
	*/
	ResourceUrn string

	/* Template.

	   Siren template tag.
	*/
	Template string

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

GetAlertPolicyParams contains all the parameters to send to the API endpoint

for the get alert policy operation.

Typically these are written to a http.Request.

func NewGetAlertPolicyParams added in v0.7.16

func NewGetAlertPolicyParams() *GetAlertPolicyParams

NewGetAlertPolicyParams creates a new GetAlertPolicyParams 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 NewGetAlertPolicyParamsWithContext added in v0.7.16

func NewGetAlertPolicyParamsWithContext(ctx context.Context) *GetAlertPolicyParams

NewGetAlertPolicyParamsWithContext creates a new GetAlertPolicyParams object with the ability to set a context for a request.

func NewGetAlertPolicyParamsWithHTTPClient added in v0.7.16

func NewGetAlertPolicyParamsWithHTTPClient(client *http.Client) *GetAlertPolicyParams

NewGetAlertPolicyParamsWithHTTPClient creates a new GetAlertPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertPolicyParamsWithTimeout added in v0.7.16

func NewGetAlertPolicyParamsWithTimeout(timeout time.Duration) *GetAlertPolicyParams

NewGetAlertPolicyParamsWithTimeout creates a new GetAlertPolicyParams object with the ability to set a timeout on a request.

func (*GetAlertPolicyParams) SetContext added in v0.7.16

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

SetContext adds the context to the get alert policy params

func (*GetAlertPolicyParams) SetDefaults added in v0.7.16

func (o *GetAlertPolicyParams) SetDefaults()

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

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

func (*GetAlertPolicyParams) SetHTTPClient added in v0.7.16

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

SetHTTPClient adds the HTTPClient to the get alert policy params

func (*GetAlertPolicyParams) SetProjectSlug added in v0.7.16

func (o *GetAlertPolicyParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get alert policy params

func (*GetAlertPolicyParams) SetResourceUrn added in v0.7.16

func (o *GetAlertPolicyParams) SetResourceUrn(resourceUrn string)

SetResourceUrn adds the resourceUrn to the get alert policy params

func (*GetAlertPolicyParams) SetTemplate added in v0.7.16

func (o *GetAlertPolicyParams) SetTemplate(template string)

SetTemplate adds the template to the get alert policy params

func (*GetAlertPolicyParams) SetTimeout added in v0.7.16

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

SetTimeout adds the timeout to the get alert policy params

func (*GetAlertPolicyParams) WithContext added in v0.7.16

WithContext adds the context to the get alert policy params

func (*GetAlertPolicyParams) WithDefaults added in v0.7.16

func (o *GetAlertPolicyParams) WithDefaults() *GetAlertPolicyParams

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

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

func (*GetAlertPolicyParams) WithHTTPClient added in v0.7.16

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

WithHTTPClient adds the HTTPClient to the get alert policy params

func (*GetAlertPolicyParams) WithProjectSlug added in v0.7.16

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

WithProjectSlug adds the projectSlug to the get alert policy params

func (*GetAlertPolicyParams) WithResourceUrn added in v0.7.16

func (o *GetAlertPolicyParams) WithResourceUrn(resourceUrn string) *GetAlertPolicyParams

WithResourceUrn adds the resourceUrn to the get alert policy params

func (*GetAlertPolicyParams) WithTemplate added in v0.7.16

func (o *GetAlertPolicyParams) WithTemplate(template string) *GetAlertPolicyParams

WithTemplate adds the template to the get alert policy params

func (*GetAlertPolicyParams) WithTimeout added in v0.7.16

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

WithTimeout adds the timeout to the get alert policy params

func (*GetAlertPolicyParams) WriteToRequest added in v0.7.16

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

WriteToRequest writes these params to a swagger request

type GetAlertPolicyReader added in v0.7.16

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

GetAlertPolicyReader is a Reader for the GetAlertPolicy structure.

func (*GetAlertPolicyReader) ReadResponse added in v0.7.16

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

ReadResponse reads a server response into the received o.

type GetAlertSubscriptionInternalServerError added in v0.7.9

type GetAlertSubscriptionInternalServerError struct {
	Payload *models.ErrorResponse
}
GetAlertSubscriptionInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetAlertSubscriptionInternalServerError added in v0.7.9

func NewGetAlertSubscriptionInternalServerError() *GetAlertSubscriptionInternalServerError

NewGetAlertSubscriptionInternalServerError creates a GetAlertSubscriptionInternalServerError with default headers values

func (*GetAlertSubscriptionInternalServerError) Error added in v0.7.9

func (*GetAlertSubscriptionInternalServerError) GetPayload added in v0.7.9

type GetAlertSubscriptionNotFound added in v0.7.9

type GetAlertSubscriptionNotFound struct {
	Payload *models.ErrorResponse
}
GetAlertSubscriptionNotFound describes a response with status code 404, with default header values.

Not Found Error

func NewGetAlertSubscriptionNotFound added in v0.7.9

func NewGetAlertSubscriptionNotFound() *GetAlertSubscriptionNotFound

NewGetAlertSubscriptionNotFound creates a GetAlertSubscriptionNotFound with default headers values

func (*GetAlertSubscriptionNotFound) Error added in v0.7.9

func (*GetAlertSubscriptionNotFound) GetPayload added in v0.7.9

type GetAlertSubscriptionOK added in v0.7.9

type GetAlertSubscriptionOK struct {
	Payload *GetAlertSubscriptionOKBody
}
GetAlertSubscriptionOK describes a response with status code 200, with default header values.

Successful Operation.

func NewGetAlertSubscriptionOK added in v0.7.9

func NewGetAlertSubscriptionOK() *GetAlertSubscriptionOK

NewGetAlertSubscriptionOK creates a GetAlertSubscriptionOK with default headers values

func (*GetAlertSubscriptionOK) Error added in v0.7.9

func (o *GetAlertSubscriptionOK) Error() string

func (*GetAlertSubscriptionOK) GetPayload added in v0.7.9

type GetAlertSubscriptionOKBody added in v0.7.9

type GetAlertSubscriptionOKBody struct {

	// subscription
	Subscription *models.Subscription `json:"subscription,omitempty"`
}

GetAlertSubscriptionOKBody get alert subscription o k body swagger:model GetAlertSubscriptionOKBody

func (*GetAlertSubscriptionOKBody) ContextValidate added in v0.7.9

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

ContextValidate validate this get alert subscription o k body based on the context it is used

func (*GetAlertSubscriptionOKBody) MarshalBinary added in v0.7.9

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

MarshalBinary interface implementation

func (*GetAlertSubscriptionOKBody) UnmarshalBinary added in v0.7.9

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

UnmarshalBinary interface implementation

func (*GetAlertSubscriptionOKBody) Validate added in v0.7.9

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

Validate validates this get alert subscription o k body

type GetAlertSubscriptionParams added in v0.7.9

type GetAlertSubscriptionParams struct {

	// ID.
	ID string

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

GetAlertSubscriptionParams contains all the parameters to send to the API endpoint

for the get alert subscription operation.

Typically these are written to a http.Request.

func NewGetAlertSubscriptionParams added in v0.7.9

func NewGetAlertSubscriptionParams() *GetAlertSubscriptionParams

NewGetAlertSubscriptionParams creates a new GetAlertSubscriptionParams 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 NewGetAlertSubscriptionParamsWithContext added in v0.7.9

func NewGetAlertSubscriptionParamsWithContext(ctx context.Context) *GetAlertSubscriptionParams

NewGetAlertSubscriptionParamsWithContext creates a new GetAlertSubscriptionParams object with the ability to set a context for a request.

func NewGetAlertSubscriptionParamsWithHTTPClient added in v0.7.9

func NewGetAlertSubscriptionParamsWithHTTPClient(client *http.Client) *GetAlertSubscriptionParams

NewGetAlertSubscriptionParamsWithHTTPClient creates a new GetAlertSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertSubscriptionParamsWithTimeout added in v0.7.9

func NewGetAlertSubscriptionParamsWithTimeout(timeout time.Duration) *GetAlertSubscriptionParams

NewGetAlertSubscriptionParamsWithTimeout creates a new GetAlertSubscriptionParams object with the ability to set a timeout on a request.

func (*GetAlertSubscriptionParams) SetContext added in v0.7.9

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

SetContext adds the context to the get alert subscription params

func (*GetAlertSubscriptionParams) SetDefaults added in v0.7.9

func (o *GetAlertSubscriptionParams) SetDefaults()

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

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

func (*GetAlertSubscriptionParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the get alert subscription params

func (*GetAlertSubscriptionParams) SetID added in v0.7.9

func (o *GetAlertSubscriptionParams) SetID(id string)

SetID adds the id to the get alert subscription params

func (*GetAlertSubscriptionParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the get alert subscription params

func (*GetAlertSubscriptionParams) WithContext added in v0.7.9

WithContext adds the context to the get alert subscription params

func (*GetAlertSubscriptionParams) WithDefaults added in v0.7.9

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

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

func (*GetAlertSubscriptionParams) WithHTTPClient added in v0.7.9

WithHTTPClient adds the HTTPClient to the get alert subscription params

func (*GetAlertSubscriptionParams) WithID added in v0.7.9

WithID adds the id to the get alert subscription params

func (*GetAlertSubscriptionParams) WithTimeout added in v0.7.9

WithTimeout adds the timeout to the get alert subscription params

func (*GetAlertSubscriptionParams) WriteToRequest added in v0.7.9

WriteToRequest writes these params to a swagger request

type GetAlertSubscriptionReader added in v0.7.9

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

GetAlertSubscriptionReader is a Reader for the GetAlertSubscription structure.

func (*GetAlertSubscriptionReader) ReadResponse added in v0.7.9

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

ReadResponse reads a server response into the received o.

type GetAlertsInternalServerError added in v0.7.16

type GetAlertsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetAlertsInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetAlertsInternalServerError added in v0.7.16

func NewGetAlertsInternalServerError() *GetAlertsInternalServerError

NewGetAlertsInternalServerError creates a GetAlertsInternalServerError with default headers values

func (*GetAlertsInternalServerError) Error added in v0.7.16

func (*GetAlertsInternalServerError) GetPayload added in v0.7.16

type GetAlertsNotFound added in v0.7.16

type GetAlertsNotFound struct {
	Payload *models.ErrorResponse
}
GetAlertsNotFound describes a response with status code 404, with default header values.

Could not find alerts for given URN

func NewGetAlertsNotFound added in v0.7.16

func NewGetAlertsNotFound() *GetAlertsNotFound

NewGetAlertsNotFound creates a GetAlertsNotFound with default headers values

func (*GetAlertsNotFound) Error added in v0.7.16

func (o *GetAlertsNotFound) Error() string

func (*GetAlertsNotFound) GetPayload added in v0.7.16

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

type GetAlertsOK added in v0.7.16

type GetAlertsOK struct {
	Payload *models.AlertArray
}
GetAlertsOK describes a response with status code 200, with default header values.

alerts for given firehose URN.

func NewGetAlertsOK added in v0.7.16

func NewGetAlertsOK() *GetAlertsOK

NewGetAlertsOK creates a GetAlertsOK with default headers values

func (*GetAlertsOK) Error added in v0.7.16

func (o *GetAlertsOK) Error() string

func (*GetAlertsOK) GetPayload added in v0.7.16

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

type GetAlertsParams added in v0.7.16

type GetAlertsParams struct {

	/* ProjectSlug.

	   Shield project slug.
	*/
	ProjectSlug string

	/* ResourceUrn.

	   Siren resource identifier.
	*/
	ResourceUrn string

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

GetAlertsParams contains all the parameters to send to the API endpoint

for the get alerts operation.

Typically these are written to a http.Request.

func NewGetAlertsParams added in v0.7.16

func NewGetAlertsParams() *GetAlertsParams

NewGetAlertsParams creates a new GetAlertsParams 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 NewGetAlertsParamsWithContext added in v0.7.16

func NewGetAlertsParamsWithContext(ctx context.Context) *GetAlertsParams

NewGetAlertsParamsWithContext creates a new GetAlertsParams object with the ability to set a context for a request.

func NewGetAlertsParamsWithHTTPClient added in v0.7.16

func NewGetAlertsParamsWithHTTPClient(client *http.Client) *GetAlertsParams

NewGetAlertsParamsWithHTTPClient creates a new GetAlertsParams object with the ability to set a custom HTTPClient for a request.

func NewGetAlertsParamsWithTimeout added in v0.7.16

func NewGetAlertsParamsWithTimeout(timeout time.Duration) *GetAlertsParams

NewGetAlertsParamsWithTimeout creates a new GetAlertsParams object with the ability to set a timeout on a request.

func (*GetAlertsParams) SetContext added in v0.7.16

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

SetContext adds the context to the get alerts params

func (*GetAlertsParams) SetDefaults added in v0.7.16

func (o *GetAlertsParams) SetDefaults()

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

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

func (*GetAlertsParams) SetHTTPClient added in v0.7.16

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

SetHTTPClient adds the HTTPClient to the get alerts params

func (*GetAlertsParams) SetProjectSlug added in v0.7.16

func (o *GetAlertsParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the get alerts params

func (*GetAlertsParams) SetResourceUrn added in v0.7.16

func (o *GetAlertsParams) SetResourceUrn(resourceUrn string)

SetResourceUrn adds the resourceUrn to the get alerts params

func (*GetAlertsParams) SetTimeout added in v0.7.16

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

SetTimeout adds the timeout to the get alerts params

func (*GetAlertsParams) WithContext added in v0.7.16

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

WithContext adds the context to the get alerts params

func (*GetAlertsParams) WithDefaults added in v0.7.16

func (o *GetAlertsParams) WithDefaults() *GetAlertsParams

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

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

func (*GetAlertsParams) WithHTTPClient added in v0.7.16

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

WithHTTPClient adds the HTTPClient to the get alerts params

func (*GetAlertsParams) WithProjectSlug added in v0.7.16

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

WithProjectSlug adds the projectSlug to the get alerts params

func (*GetAlertsParams) WithResourceUrn added in v0.7.16

func (o *GetAlertsParams) WithResourceUrn(resourceUrn string) *GetAlertsParams

WithResourceUrn adds the resourceUrn to the get alerts params

func (*GetAlertsParams) WithTimeout added in v0.7.16

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

WithTimeout adds the timeout to the get alerts params

func (*GetAlertsParams) WriteToRequest added in v0.7.16

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

WriteToRequest writes these params to a swagger request

type GetAlertsReader added in v0.7.16

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

GetAlertsReader is a Reader for the GetAlerts structure.

func (*GetAlertsReader) ReadResponse added in v0.7.16

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

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

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

type GetFirehoseAlertPolicyParams

type GetFirehoseAlertPolicyParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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

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

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

type GetFirehoseAlertsParams

type GetFirehoseAlertsParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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

type GetFirehoseHistoryInternalServerError struct {
	Payload *models.ErrorResponse
}
GetFirehoseHistoryInternalServerError describes a response with status code 500, with default header values.

internal error

func NewGetFirehoseHistoryInternalServerError

func NewGetFirehoseHistoryInternalServerError() *GetFirehoseHistoryInternalServerError

NewGetFirehoseHistoryInternalServerError creates a GetFirehoseHistoryInternalServerError with default headers values

func (*GetFirehoseHistoryInternalServerError) Error

func (*GetFirehoseHistoryInternalServerError) GetPayload

type GetFirehoseHistoryNotFound

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

func NewGetFirehoseHistoryNotFound() *GetFirehoseHistoryNotFound

NewGetFirehoseHistoryNotFound creates a GetFirehoseHistoryNotFound with default headers values

func (*GetFirehoseHistoryNotFound) Error

func (*GetFirehoseHistoryNotFound) GetPayload

type GetFirehoseHistoryOK

type GetFirehoseHistoryOK struct {
	Payload *models.HistoryResponse
}
GetFirehoseHistoryOK describes a response with status code 200, with default header values.

History for given firehose URN.

func NewGetFirehoseHistoryOK

func NewGetFirehoseHistoryOK() *GetFirehoseHistoryOK

NewGetFirehoseHistoryOK creates a GetFirehoseHistoryOK with default headers values

func (*GetFirehoseHistoryOK) Error

func (o *GetFirehoseHistoryOK) Error() string

func (*GetFirehoseHistoryOK) GetPayload

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

type GetFirehoseHistoryParams

type GetFirehoseHistoryParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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

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

func NewGetFirehoseHistoryParamsWithContext(ctx context.Context) *GetFirehoseHistoryParams

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

func NewGetFirehoseHistoryParamsWithHTTPClient

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

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

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

SetContext adds the context to the get firehose history params

func (*GetFirehoseHistoryParams) SetDefaults

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

func (o *GetFirehoseHistoryParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the get firehose history params

func (*GetFirehoseHistoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get firehose history params

func (*GetFirehoseHistoryParams) SetTimeout

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

SetTimeout adds the timeout to the get firehose history params

func (*GetFirehoseHistoryParams) WithContext

WithContext adds the context to the get firehose history params

func (*GetFirehoseHistoryParams) WithDefaults

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

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

WithFirehoseUrn adds the firehoseUrn to the get firehose history params

func (*GetFirehoseHistoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get firehose history params

func (*GetFirehoseHistoryParams) WithTimeout

WithTimeout adds the timeout to the get firehose history params

func (*GetFirehoseHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetFirehoseHistoryReader

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

GetFirehoseHistoryReader is a Reader for the GetFirehoseHistory structure.

func (*GetFirehoseHistoryReader) ReadResponse

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

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

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

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

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

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

	/* 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) 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) 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

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

type GetFirehoseParams

type GetFirehoseParams struct {

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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 GetGroupAlertChannelsInternalServerError added in v0.7.9

type GetGroupAlertChannelsInternalServerError struct {
	Payload *models.ErrorResponse
}
GetGroupAlertChannelsInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetGroupAlertChannelsInternalServerError added in v0.7.9

func NewGetGroupAlertChannelsInternalServerError() *GetGroupAlertChannelsInternalServerError

NewGetGroupAlertChannelsInternalServerError creates a GetGroupAlertChannelsInternalServerError with default headers values

func (*GetGroupAlertChannelsInternalServerError) Error added in v0.7.9

func (*GetGroupAlertChannelsInternalServerError) GetPayload added in v0.7.9

type GetGroupAlertChannelsNotFound added in v0.7.9

type GetGroupAlertChannelsNotFound struct {
	Payload *models.ErrorResponse
}
GetGroupAlertChannelsNotFound describes a response with status code 404, with default header values.

Group Not Found Error

func NewGetGroupAlertChannelsNotFound added in v0.7.9

func NewGetGroupAlertChannelsNotFound() *GetGroupAlertChannelsNotFound

NewGetGroupAlertChannelsNotFound creates a GetGroupAlertChannelsNotFound with default headers values

func (*GetGroupAlertChannelsNotFound) Error added in v0.7.9

func (*GetGroupAlertChannelsNotFound) GetPayload added in v0.7.9

type GetGroupAlertChannelsOK added in v0.7.9

type GetGroupAlertChannelsOK struct {
	Payload *GetGroupAlertChannelsOKBody
}
GetGroupAlertChannelsOK describes a response with status code 200, with default header values.

Successful Operation.

func NewGetGroupAlertChannelsOK added in v0.7.9

func NewGetGroupAlertChannelsOK() *GetGroupAlertChannelsOK

NewGetGroupAlertChannelsOK creates a GetGroupAlertChannelsOK with default headers values

func (*GetGroupAlertChannelsOK) Error added in v0.7.9

func (o *GetGroupAlertChannelsOK) Error() string

func (*GetGroupAlertChannelsOK) GetPayload added in v0.7.9

type GetGroupAlertChannelsOKBody added in v0.7.9

type GetGroupAlertChannelsOKBody struct {

	// alert channels
	AlertChannels []*models.AlertChannel `json:"alert_channels"`
}

GetGroupAlertChannelsOKBody get group alert channels o k body swagger:model GetGroupAlertChannelsOKBody

func (*GetGroupAlertChannelsOKBody) ContextValidate added in v0.7.9

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

ContextValidate validate this get group alert channels o k body based on the context it is used

func (*GetGroupAlertChannelsOKBody) MarshalBinary added in v0.7.9

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

MarshalBinary interface implementation

func (*GetGroupAlertChannelsOKBody) UnmarshalBinary added in v0.7.9

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

UnmarshalBinary interface implementation

func (*GetGroupAlertChannelsOKBody) Validate added in v0.7.9

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

Validate validates this get group alert channels o k body

type GetGroupAlertChannelsParams added in v0.7.9

type GetGroupAlertChannelsParams struct {

	/* ID.

	   Shield Group's ID
	*/
	ID string

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

GetGroupAlertChannelsParams contains all the parameters to send to the API endpoint

for the get group alert channels operation.

Typically these are written to a http.Request.

func NewGetGroupAlertChannelsParams added in v0.7.9

func NewGetGroupAlertChannelsParams() *GetGroupAlertChannelsParams

NewGetGroupAlertChannelsParams creates a new GetGroupAlertChannelsParams 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 NewGetGroupAlertChannelsParamsWithContext added in v0.7.9

func NewGetGroupAlertChannelsParamsWithContext(ctx context.Context) *GetGroupAlertChannelsParams

NewGetGroupAlertChannelsParamsWithContext creates a new GetGroupAlertChannelsParams object with the ability to set a context for a request.

func NewGetGroupAlertChannelsParamsWithHTTPClient added in v0.7.9

func NewGetGroupAlertChannelsParamsWithHTTPClient(client *http.Client) *GetGroupAlertChannelsParams

NewGetGroupAlertChannelsParamsWithHTTPClient creates a new GetGroupAlertChannelsParams object with the ability to set a custom HTTPClient for a request.

func NewGetGroupAlertChannelsParamsWithTimeout added in v0.7.9

func NewGetGroupAlertChannelsParamsWithTimeout(timeout time.Duration) *GetGroupAlertChannelsParams

NewGetGroupAlertChannelsParamsWithTimeout creates a new GetGroupAlertChannelsParams object with the ability to set a timeout on a request.

func (*GetGroupAlertChannelsParams) SetContext added in v0.7.9

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

SetContext adds the context to the get group alert channels params

func (*GetGroupAlertChannelsParams) SetDefaults added in v0.7.9

func (o *GetGroupAlertChannelsParams) SetDefaults()

SetDefaults hydrates default values in the get group alert channels params (not the query body).

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

func (*GetGroupAlertChannelsParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the get group alert channels params

func (*GetGroupAlertChannelsParams) SetID added in v0.7.9

func (o *GetGroupAlertChannelsParams) SetID(id string)

SetID adds the id to the get group alert channels params

func (*GetGroupAlertChannelsParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the get group alert channels params

func (*GetGroupAlertChannelsParams) WithContext added in v0.7.9

WithContext adds the context to the get group alert channels params

func (*GetGroupAlertChannelsParams) WithDefaults added in v0.7.9

WithDefaults hydrates default values in the get group alert channels params (not the query body).

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

func (*GetGroupAlertChannelsParams) WithHTTPClient added in v0.7.9

WithHTTPClient adds the HTTPClient to the get group alert channels params

func (*GetGroupAlertChannelsParams) WithID added in v0.7.9

WithID adds the id to the get group alert channels params

func (*GetGroupAlertChannelsParams) WithTimeout added in v0.7.9

WithTimeout adds the timeout to the get group alert channels params

func (*GetGroupAlertChannelsParams) WriteToRequest added in v0.7.9

WriteToRequest writes these params to a swagger request

type GetGroupAlertChannelsReader added in v0.7.9

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

GetGroupAlertChannelsReader is a Reader for the GetGroupAlertChannels structure.

func (*GetGroupAlertChannelsReader) ReadResponse added in v0.7.9

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

ReadResponse reads a server response into the received o.

type GetOptimusJobInternalServerError added in v0.7.9

type GetOptimusJobInternalServerError struct {
	Payload *models.ErrorResponse
}
GetOptimusJobInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetOptimusJobInternalServerError added in v0.7.9

func NewGetOptimusJobInternalServerError() *GetOptimusJobInternalServerError

NewGetOptimusJobInternalServerError creates a GetOptimusJobInternalServerError with default headers values

func (*GetOptimusJobInternalServerError) Error added in v0.7.9

func (*GetOptimusJobInternalServerError) GetPayload added in v0.7.9

type GetOptimusJobOK added in v0.7.9

type GetOptimusJobOK struct {
	Payload interface{}
}
GetOptimusJobOK describes a response with status code 200, with default header values.

Success

func NewGetOptimusJobOK added in v0.7.9

func NewGetOptimusJobOK() *GetOptimusJobOK

NewGetOptimusJobOK creates a GetOptimusJobOK with default headers values

func (*GetOptimusJobOK) Error added in v0.7.9

func (o *GetOptimusJobOK) Error() string

func (*GetOptimusJobOK) GetPayload added in v0.7.9

func (o *GetOptimusJobOK) GetPayload() interface{}

type GetOptimusJobParams added in v0.7.9

type GetOptimusJobParams struct {

	/* Job.

	   Optimus job's name.
	*/
	Job string

	/* Project.

	   Unique identifier of the project.
	*/
	Project string

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

GetOptimusJobParams contains all the parameters to send to the API endpoint

for the get optimus job operation.

Typically these are written to a http.Request.

func NewGetOptimusJobParams added in v0.7.9

func NewGetOptimusJobParams() *GetOptimusJobParams

NewGetOptimusJobParams creates a new GetOptimusJobParams 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 NewGetOptimusJobParamsWithContext added in v0.7.9

func NewGetOptimusJobParamsWithContext(ctx context.Context) *GetOptimusJobParams

NewGetOptimusJobParamsWithContext creates a new GetOptimusJobParams object with the ability to set a context for a request.

func NewGetOptimusJobParamsWithHTTPClient added in v0.7.9

func NewGetOptimusJobParamsWithHTTPClient(client *http.Client) *GetOptimusJobParams

NewGetOptimusJobParamsWithHTTPClient creates a new GetOptimusJobParams object with the ability to set a custom HTTPClient for a request.

func NewGetOptimusJobParamsWithTimeout added in v0.7.9

func NewGetOptimusJobParamsWithTimeout(timeout time.Duration) *GetOptimusJobParams

NewGetOptimusJobParamsWithTimeout creates a new GetOptimusJobParams object with the ability to set a timeout on a request.

func (*GetOptimusJobParams) SetContext added in v0.7.9

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

SetContext adds the context to the get optimus job params

func (*GetOptimusJobParams) SetDefaults added in v0.7.9

func (o *GetOptimusJobParams) SetDefaults()

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

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

func (*GetOptimusJobParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the get optimus job params

func (*GetOptimusJobParams) SetJob added in v0.7.9

func (o *GetOptimusJobParams) SetJob(job string)

SetJob adds the job to the get optimus job params

func (*GetOptimusJobParams) SetProject added in v0.7.9

func (o *GetOptimusJobParams) SetProject(project string)

SetProject adds the project to the get optimus job params

func (*GetOptimusJobParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the get optimus job params

func (*GetOptimusJobParams) WithContext added in v0.7.9

WithContext adds the context to the get optimus job params

func (*GetOptimusJobParams) WithDefaults added in v0.7.9

func (o *GetOptimusJobParams) WithDefaults() *GetOptimusJobParams

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

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

func (*GetOptimusJobParams) WithHTTPClient added in v0.7.9

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

WithHTTPClient adds the HTTPClient to the get optimus job params

func (*GetOptimusJobParams) WithJob added in v0.7.9

WithJob adds the job to the get optimus job params

func (*GetOptimusJobParams) WithProject added in v0.7.9

func (o *GetOptimusJobParams) WithProject(project string) *GetOptimusJobParams

WithProject adds the project to the get optimus job params

func (*GetOptimusJobParams) WithTimeout added in v0.7.9

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

WithTimeout adds the timeout to the get optimus job params

func (*GetOptimusJobParams) WriteToRequest added in v0.7.9

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

WriteToRequest writes these params to a swagger request

type GetOptimusJobReader added in v0.7.9

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

GetOptimusJobReader is a Reader for the GetOptimusJob structure.

func (*GetOptimusJobReader) ReadResponse added in v0.7.9

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

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

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

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 GetSubscriptionListBadRequest added in v0.7.9

type GetSubscriptionListBadRequest struct {
	Payload *models.ErrorResponse
}
GetSubscriptionListBadRequest describes a response with status code 400, with default header values.

Validation Error

func NewGetSubscriptionListBadRequest added in v0.7.9

func NewGetSubscriptionListBadRequest() *GetSubscriptionListBadRequest

NewGetSubscriptionListBadRequest creates a GetSubscriptionListBadRequest with default headers values

func (*GetSubscriptionListBadRequest) Error added in v0.7.9

func (*GetSubscriptionListBadRequest) GetPayload added in v0.7.9

type GetSubscriptionListInternalServerError added in v0.7.9

type GetSubscriptionListInternalServerError struct {
	Payload *models.ErrorResponse
}
GetSubscriptionListInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewGetSubscriptionListInternalServerError added in v0.7.9

func NewGetSubscriptionListInternalServerError() *GetSubscriptionListInternalServerError

NewGetSubscriptionListInternalServerError creates a GetSubscriptionListInternalServerError with default headers values

func (*GetSubscriptionListInternalServerError) Error added in v0.7.9

func (*GetSubscriptionListInternalServerError) GetPayload added in v0.7.9

type GetSubscriptionListOK added in v0.7.9

type GetSubscriptionListOK struct {
	Payload *GetSubscriptionListOKBody
}
GetSubscriptionListOK describes a response with status code 200, with default header values.

Successful Operation.

func NewGetSubscriptionListOK added in v0.7.9

func NewGetSubscriptionListOK() *GetSubscriptionListOK

NewGetSubscriptionListOK creates a GetSubscriptionListOK with default headers values

func (*GetSubscriptionListOK) Error added in v0.7.9

func (o *GetSubscriptionListOK) Error() string

func (*GetSubscriptionListOK) GetPayload added in v0.7.9

type GetSubscriptionListOKBody added in v0.7.9

type GetSubscriptionListOKBody struct {

	// subscriptions
	Subscriptions []*models.Subscription `json:"subscriptions"`
}

GetSubscriptionListOKBody get subscription list o k body swagger:model GetSubscriptionListOKBody

func (*GetSubscriptionListOKBody) ContextValidate added in v0.7.9

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

ContextValidate validate this get subscription list o k body based on the context it is used

func (*GetSubscriptionListOKBody) MarshalBinary added in v0.7.9

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

MarshalBinary interface implementation

func (*GetSubscriptionListOKBody) UnmarshalBinary added in v0.7.9

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

UnmarshalBinary interface implementation

func (*GetSubscriptionListOKBody) Validate added in v0.7.9

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

Validate validates this get subscription list o k body

type GetSubscriptionListParams added in v0.7.9

type GetSubscriptionListParams struct {

	/* GroupID.

	   Shield's group id
	*/
	GroupID *string

	/* ResourceID.

	   Resource unique identifier, e.g. firehose's urn
	*/
	ResourceID *string

	/* ResourceType.

	   Resource type, e.g. firehose, dagger, optimus, etc. This is required if "resource_id" is passed.
	*/
	ResourceType *string

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

GetSubscriptionListParams contains all the parameters to send to the API endpoint

for the get subscription list operation.

Typically these are written to a http.Request.

func NewGetSubscriptionListParams added in v0.7.9

func NewGetSubscriptionListParams() *GetSubscriptionListParams

NewGetSubscriptionListParams creates a new GetSubscriptionListParams 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 NewGetSubscriptionListParamsWithContext added in v0.7.9

func NewGetSubscriptionListParamsWithContext(ctx context.Context) *GetSubscriptionListParams

NewGetSubscriptionListParamsWithContext creates a new GetSubscriptionListParams object with the ability to set a context for a request.

func NewGetSubscriptionListParamsWithHTTPClient added in v0.7.9

func NewGetSubscriptionListParamsWithHTTPClient(client *http.Client) *GetSubscriptionListParams

NewGetSubscriptionListParamsWithHTTPClient creates a new GetSubscriptionListParams object with the ability to set a custom HTTPClient for a request.

func NewGetSubscriptionListParamsWithTimeout added in v0.7.9

func NewGetSubscriptionListParamsWithTimeout(timeout time.Duration) *GetSubscriptionListParams

NewGetSubscriptionListParamsWithTimeout creates a new GetSubscriptionListParams object with the ability to set a timeout on a request.

func (*GetSubscriptionListParams) SetContext added in v0.7.9

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

SetContext adds the context to the get subscription list params

func (*GetSubscriptionListParams) SetDefaults added in v0.7.9

func (o *GetSubscriptionListParams) SetDefaults()

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

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

func (*GetSubscriptionListParams) SetGroupID added in v0.7.9

func (o *GetSubscriptionListParams) SetGroupID(groupID *string)

SetGroupID adds the groupId to the get subscription list params

func (*GetSubscriptionListParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the get subscription list params

func (*GetSubscriptionListParams) SetResourceID added in v0.7.9

func (o *GetSubscriptionListParams) SetResourceID(resourceID *string)

SetResourceID adds the resourceId to the get subscription list params

func (*GetSubscriptionListParams) SetResourceType added in v0.7.9

func (o *GetSubscriptionListParams) SetResourceType(resourceType *string)

SetResourceType adds the resourceType to the get subscription list params

func (*GetSubscriptionListParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the get subscription list params

func (*GetSubscriptionListParams) WithContext added in v0.7.9

WithContext adds the context to the get subscription list params

func (*GetSubscriptionListParams) WithDefaults added in v0.7.9

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

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

func (*GetSubscriptionListParams) WithGroupID added in v0.7.9

WithGroupID adds the groupID to the get subscription list params

func (*GetSubscriptionListParams) WithHTTPClient added in v0.7.9

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

WithHTTPClient adds the HTTPClient to the get subscription list params

func (*GetSubscriptionListParams) WithResourceID added in v0.7.9

func (o *GetSubscriptionListParams) WithResourceID(resourceID *string) *GetSubscriptionListParams

WithResourceID adds the resourceID to the get subscription list params

func (*GetSubscriptionListParams) WithResourceType added in v0.7.9

func (o *GetSubscriptionListParams) WithResourceType(resourceType *string) *GetSubscriptionListParams

WithResourceType adds the resourceType to the get subscription list params

func (*GetSubscriptionListParams) WithTimeout added in v0.7.9

WithTimeout adds the timeout to the get subscription list params

func (*GetSubscriptionListParams) WriteToRequest added in v0.7.9

WriteToRequest writes these params to a swagger request

type GetSubscriptionListReader added in v0.7.9

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

GetSubscriptionListReader is a Reader for the GetSubscriptionList structure.

func (*GetSubscriptionListReader) ReadResponse added in v0.7.9

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

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

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

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

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

	/* Project.

	   Unique identifier of the project.
	*/
	Project 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

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

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

SetKubeCluster adds the kubeCluster to the list firehoses params

func (*ListFirehosesParams) SetProject added in v0.6.2

func (o *ListFirehosesParams) SetProject(project string)

SetProject adds the project 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

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

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

WithKubeCluster adds the kubeCluster to the list firehoses params

func (*ListFirehosesParams) WithProject added in v0.6.2

func (o *ListFirehosesParams) WithProject(project string) *ListFirehosesParams

WithProject adds the project 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

type ListKubernetesInternalServerError struct {
	Payload *models.ErrorResponse
}
ListKubernetesInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewListKubernetesInternalServerError

func NewListKubernetesInternalServerError() *ListKubernetesInternalServerError

NewListKubernetesInternalServerError creates a ListKubernetesInternalServerError with default headers values

func (*ListKubernetesInternalServerError) Error

func (*ListKubernetesInternalServerError) GetPayload

type ListKubernetesOK

type ListKubernetesOK struct {
	Payload *models.KubernetesArray
}
ListKubernetesOK describes a response with status code 200, with default header values.

Successful Operation.

func NewListKubernetesOK

func NewListKubernetesOK() *ListKubernetesOK

NewListKubernetesOK creates a ListKubernetesOK with default headers values

func (*ListKubernetesOK) Error

func (o *ListKubernetesOK) Error() string

func (*ListKubernetesOK) GetPayload

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

type ListKubernetesParams

type ListKubernetesParams struct {

	/* ProjectSlug.

	   Unique identifier of the project.
	*/
	ProjectSlug string

	/* Tag.

	   Tags to filter by (e.g., `firehose:true`).
	*/
	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

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

func NewListKubernetesParamsWithContext(ctx context.Context) *ListKubernetesParams

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

func NewListKubernetesParamsWithHTTPClient

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

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

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

SetContext adds the context to the list kubernetes params

func (*ListKubernetesParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the list kubernetes params

func (*ListKubernetesParams) SetProjectSlug

func (o *ListKubernetesParams) SetProjectSlug(projectSlug string)

SetProjectSlug adds the projectSlug to the list kubernetes params

func (*ListKubernetesParams) SetTag

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

SetTag adds the tag to the list kubernetes params

func (*ListKubernetesParams) SetTimeout

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

SetTimeout adds the timeout to the list kubernetes params

func (*ListKubernetesParams) WithContext

WithContext adds the context to the list kubernetes params

func (*ListKubernetesParams) WithDefaults

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

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

WithHTTPClient adds the HTTPClient to the list kubernetes params

func (*ListKubernetesParams) WithProjectSlug

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

WithProjectSlug adds the projectSlug to the list kubernetes params

func (*ListKubernetesParams) WithTag

WithTag adds the tag to the list kubernetes params

func (*ListKubernetesParams) WithTimeout

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

WithTimeout adds the timeout to the list kubernetes params

func (*ListKubernetesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListKubernetesReader

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

ListKubernetesReader is a Reader for the ListKubernetes structure.

func (*ListKubernetesReader) ReadResponse

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

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

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 NewAlertSubscriptionBadRequest added in v0.7.9

type NewAlertSubscriptionBadRequest struct {
	Payload *models.ErrorResponse
}
NewAlertSubscriptionBadRequest describes a response with status code 400, with default header values.

Validation Error

func NewNewAlertSubscriptionBadRequest added in v0.7.9

func NewNewAlertSubscriptionBadRequest() *NewAlertSubscriptionBadRequest

NewNewAlertSubscriptionBadRequest creates a NewAlertSubscriptionBadRequest with default headers values

func (*NewAlertSubscriptionBadRequest) Error added in v0.7.9

func (*NewAlertSubscriptionBadRequest) GetPayload added in v0.7.9

type NewAlertSubscriptionConflict added in v0.7.9

type NewAlertSubscriptionConflict struct {
	Payload *models.ErrorResponse
}
NewAlertSubscriptionConflict describes a response with status code 409, with default header values.

Duplicate subscription

func NewNewAlertSubscriptionConflict added in v0.7.9

func NewNewAlertSubscriptionConflict() *NewAlertSubscriptionConflict

NewNewAlertSubscriptionConflict creates a NewAlertSubscriptionConflict with default headers values

func (*NewAlertSubscriptionConflict) Error added in v0.7.9

func (*NewAlertSubscriptionConflict) GetPayload added in v0.7.9

type NewAlertSubscriptionCreated added in v0.7.9

type NewAlertSubscriptionCreated struct {
	Payload *NewAlertSubscriptionCreatedBody
}
NewAlertSubscriptionCreated describes a response with status code 201, with default header values.

Successful Operation.

func NewNewAlertSubscriptionCreated added in v0.7.9

func NewNewAlertSubscriptionCreated() *NewAlertSubscriptionCreated

NewNewAlertSubscriptionCreated creates a NewAlertSubscriptionCreated with default headers values

func (*NewAlertSubscriptionCreated) Error added in v0.7.9

func (*NewAlertSubscriptionCreated) GetPayload added in v0.7.9

type NewAlertSubscriptionCreatedBody added in v0.7.9

type NewAlertSubscriptionCreatedBody struct {

	// subscription
	Subscription *models.Subscription `json:"subscription,omitempty"`
}

NewAlertSubscriptionCreatedBody new alert subscription created body swagger:model NewAlertSubscriptionCreatedBody

func (*NewAlertSubscriptionCreatedBody) ContextValidate added in v0.7.9

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

ContextValidate validate this new alert subscription created body based on the context it is used

func (*NewAlertSubscriptionCreatedBody) MarshalBinary added in v0.7.9

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

MarshalBinary interface implementation

func (*NewAlertSubscriptionCreatedBody) UnmarshalBinary added in v0.7.9

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

UnmarshalBinary interface implementation

func (*NewAlertSubscriptionCreatedBody) Validate added in v0.7.9

Validate validates this new alert subscription created body

type NewAlertSubscriptionInternalServerError added in v0.7.9

type NewAlertSubscriptionInternalServerError struct {
	Payload *models.ErrorResponse
}
NewAlertSubscriptionInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewNewAlertSubscriptionInternalServerError added in v0.7.9

func NewNewAlertSubscriptionInternalServerError() *NewAlertSubscriptionInternalServerError

NewNewAlertSubscriptionInternalServerError creates a NewAlertSubscriptionInternalServerError with default headers values

func (*NewAlertSubscriptionInternalServerError) Error added in v0.7.9

func (*NewAlertSubscriptionInternalServerError) GetPayload added in v0.7.9

type NewAlertSubscriptionParams added in v0.7.9

type NewAlertSubscriptionParams struct {

	// Body.
	Body *models.SubscriptionForm

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

NewAlertSubscriptionParams contains all the parameters to send to the API endpoint

for the new alert subscription operation.

Typically these are written to a http.Request.

func NewNewAlertSubscriptionParams added in v0.7.9

func NewNewAlertSubscriptionParams() *NewAlertSubscriptionParams

NewNewAlertSubscriptionParams creates a new NewAlertSubscriptionParams 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 NewNewAlertSubscriptionParamsWithContext added in v0.7.9

func NewNewAlertSubscriptionParamsWithContext(ctx context.Context) *NewAlertSubscriptionParams

NewNewAlertSubscriptionParamsWithContext creates a new NewAlertSubscriptionParams object with the ability to set a context for a request.

func NewNewAlertSubscriptionParamsWithHTTPClient added in v0.7.9

func NewNewAlertSubscriptionParamsWithHTTPClient(client *http.Client) *NewAlertSubscriptionParams

NewNewAlertSubscriptionParamsWithHTTPClient creates a new NewAlertSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewNewAlertSubscriptionParamsWithTimeout added in v0.7.9

func NewNewAlertSubscriptionParamsWithTimeout(timeout time.Duration) *NewAlertSubscriptionParams

NewNewAlertSubscriptionParamsWithTimeout creates a new NewAlertSubscriptionParams object with the ability to set a timeout on a request.

func (*NewAlertSubscriptionParams) SetBody added in v0.7.9

SetBody adds the body to the new alert subscription params

func (*NewAlertSubscriptionParams) SetContext added in v0.7.9

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

SetContext adds the context to the new alert subscription params

func (*NewAlertSubscriptionParams) SetDefaults added in v0.7.9

func (o *NewAlertSubscriptionParams) SetDefaults()

SetDefaults hydrates default values in the new alert subscription params (not the query body).

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

func (*NewAlertSubscriptionParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the new alert subscription params

func (*NewAlertSubscriptionParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the new alert subscription params

func (*NewAlertSubscriptionParams) WithBody added in v0.7.9

WithBody adds the body to the new alert subscription params

func (*NewAlertSubscriptionParams) WithContext added in v0.7.9

WithContext adds the context to the new alert subscription params

func (*NewAlertSubscriptionParams) WithDefaults added in v0.7.9

WithDefaults hydrates default values in the new alert subscription params (not the query body).

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

func (*NewAlertSubscriptionParams) WithHTTPClient added in v0.7.9

WithHTTPClient adds the HTTPClient to the new alert subscription params

func (*NewAlertSubscriptionParams) WithTimeout added in v0.7.9

WithTimeout adds the timeout to the new alert subscription params

func (*NewAlertSubscriptionParams) WriteToRequest added in v0.7.9

WriteToRequest writes these params to a swagger request

type NewAlertSubscriptionReader added in v0.7.9

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

NewAlertSubscriptionReader is a Reader for the NewAlertSubscription structure.

func (*NewAlertSubscriptionReader) ReadResponse added in v0.7.9

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

ReadResponse reads a server response into the received o.

type NewAlertSubscriptionUnprocessableEntity added in v0.7.9

type NewAlertSubscriptionUnprocessableEntity struct {
	Payload *models.ErrorResponse
}
NewAlertSubscriptionUnprocessableEntity describes a response with status code 422, with default header values.

Missing namespace and slack channel in shield

func NewNewAlertSubscriptionUnprocessableEntity added in v0.7.9

func NewNewAlertSubscriptionUnprocessableEntity() *NewAlertSubscriptionUnprocessableEntity

NewNewAlertSubscriptionUnprocessableEntity creates a NewAlertSubscriptionUnprocessableEntity with default headers values

func (*NewAlertSubscriptionUnprocessableEntity) Error added in v0.7.9

func (*NewAlertSubscriptionUnprocessableEntity) GetPayload added in v0.7.9

type PartialUpdateFirehoseBadRequest added in v0.7.1

type PartialUpdateFirehoseBadRequest struct {
	Payload *models.ErrorResponse
}
PartialUpdateFirehoseBadRequest describes a response with status code 400, with default header values.

Update request is not valid.

func NewPartialUpdateFirehoseBadRequest added in v0.7.1

func NewPartialUpdateFirehoseBadRequest() *PartialUpdateFirehoseBadRequest

NewPartialUpdateFirehoseBadRequest creates a PartialUpdateFirehoseBadRequest with default headers values

func (*PartialUpdateFirehoseBadRequest) Error added in v0.7.1

func (*PartialUpdateFirehoseBadRequest) GetPayload added in v0.7.1

type PartialUpdateFirehoseBody added in v0.7.1

type PartialUpdateFirehoseBody struct {

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

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

PartialUpdateFirehoseBody partial update firehose body swagger:model PartialUpdateFirehoseBody

func (*PartialUpdateFirehoseBody) ContextValidate added in v0.7.1

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

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

func (*PartialUpdateFirehoseBody) MarshalBinary added in v0.7.1

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

MarshalBinary interface implementation

func (*PartialUpdateFirehoseBody) UnmarshalBinary added in v0.7.1

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

UnmarshalBinary interface implementation

func (*PartialUpdateFirehoseBody) Validate added in v0.7.1

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

Validate validates this partial update firehose body

type PartialUpdateFirehoseInternalServerError added in v0.7.1

type PartialUpdateFirehoseInternalServerError struct {
	Payload *models.ErrorResponse
}
PartialUpdateFirehoseInternalServerError describes a response with status code 500, with default header values.

internal error

func NewPartialUpdateFirehoseInternalServerError added in v0.7.1

func NewPartialUpdateFirehoseInternalServerError() *PartialUpdateFirehoseInternalServerError

NewPartialUpdateFirehoseInternalServerError creates a PartialUpdateFirehoseInternalServerError with default headers values

func (*PartialUpdateFirehoseInternalServerError) Error added in v0.7.1

func (*PartialUpdateFirehoseInternalServerError) GetPayload added in v0.7.1

type PartialUpdateFirehoseNotFound added in v0.7.1

type PartialUpdateFirehoseNotFound struct {
	Payload *models.ErrorResponse
}
PartialUpdateFirehoseNotFound describes a response with status code 404, with default header values.

Firehose with given URN was not found

func NewPartialUpdateFirehoseNotFound added in v0.7.1

func NewPartialUpdateFirehoseNotFound() *PartialUpdateFirehoseNotFound

NewPartialUpdateFirehoseNotFound creates a PartialUpdateFirehoseNotFound with default headers values

func (*PartialUpdateFirehoseNotFound) Error added in v0.7.1

func (*PartialUpdateFirehoseNotFound) GetPayload added in v0.7.1

type PartialUpdateFirehoseOK added in v0.7.1

type PartialUpdateFirehoseOK struct {
	Payload *models.Firehose
}
PartialUpdateFirehoseOK describes a response with status code 200, with default header values.

Found firehose with given URN

func NewPartialUpdateFirehoseOK added in v0.7.1

func NewPartialUpdateFirehoseOK() *PartialUpdateFirehoseOK

NewPartialUpdateFirehoseOK creates a PartialUpdateFirehoseOK with default headers values

func (*PartialUpdateFirehoseOK) Error added in v0.7.1

func (o *PartialUpdateFirehoseOK) Error() string

func (*PartialUpdateFirehoseOK) GetPayload added in v0.7.1

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

type PartialUpdateFirehoseParams added in v0.7.1

type PartialUpdateFirehoseParams struct {

	// Body.
	Body PartialUpdateFirehoseBody

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn string

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

PartialUpdateFirehoseParams contains all the parameters to send to the API endpoint

for the partial update firehose operation.

Typically these are written to a http.Request.

func NewPartialUpdateFirehoseParams added in v0.7.1

func NewPartialUpdateFirehoseParams() *PartialUpdateFirehoseParams

NewPartialUpdateFirehoseParams creates a new PartialUpdateFirehoseParams 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 NewPartialUpdateFirehoseParamsWithContext added in v0.7.1

func NewPartialUpdateFirehoseParamsWithContext(ctx context.Context) *PartialUpdateFirehoseParams

NewPartialUpdateFirehoseParamsWithContext creates a new PartialUpdateFirehoseParams object with the ability to set a context for a request.

func NewPartialUpdateFirehoseParamsWithHTTPClient added in v0.7.1

func NewPartialUpdateFirehoseParamsWithHTTPClient(client *http.Client) *PartialUpdateFirehoseParams

NewPartialUpdateFirehoseParamsWithHTTPClient creates a new PartialUpdateFirehoseParams object with the ability to set a custom HTTPClient for a request.

func NewPartialUpdateFirehoseParamsWithTimeout added in v0.7.1

func NewPartialUpdateFirehoseParamsWithTimeout(timeout time.Duration) *PartialUpdateFirehoseParams

NewPartialUpdateFirehoseParamsWithTimeout creates a new PartialUpdateFirehoseParams object with the ability to set a timeout on a request.

func (*PartialUpdateFirehoseParams) SetBody added in v0.7.1

SetBody adds the body to the partial update firehose params

func (*PartialUpdateFirehoseParams) SetContext added in v0.7.1

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

SetContext adds the context to the partial update firehose params

func (*PartialUpdateFirehoseParams) SetDefaults added in v0.7.1

func (o *PartialUpdateFirehoseParams) SetDefaults()

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

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

func (*PartialUpdateFirehoseParams) SetFirehoseUrn added in v0.7.1

func (o *PartialUpdateFirehoseParams) SetFirehoseUrn(firehoseUrn string)

SetFirehoseUrn adds the firehoseUrn to the partial update firehose params

func (*PartialUpdateFirehoseParams) SetHTTPClient added in v0.7.1

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

SetHTTPClient adds the HTTPClient to the partial update firehose params

func (*PartialUpdateFirehoseParams) SetTimeout added in v0.7.1

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

SetTimeout adds the timeout to the partial update firehose params

func (*PartialUpdateFirehoseParams) WithBody added in v0.7.1

WithBody adds the body to the partial update firehose params

func (*PartialUpdateFirehoseParams) WithContext added in v0.7.1

WithContext adds the context to the partial update firehose params

func (*PartialUpdateFirehoseParams) WithDefaults added in v0.7.1

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

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

func (*PartialUpdateFirehoseParams) WithFirehoseUrn added in v0.7.1

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

WithFirehoseUrn adds the firehoseUrn to the partial update firehose params

func (*PartialUpdateFirehoseParams) WithHTTPClient added in v0.7.1

WithHTTPClient adds the HTTPClient to the partial update firehose params

func (*PartialUpdateFirehoseParams) WithTimeout added in v0.7.1

WithTimeout adds the timeout to the partial update firehose params

func (*PartialUpdateFirehoseParams) WriteToRequest added in v0.7.1

WriteToRequest writes these params to a swagger request

type PartialUpdateFirehoseReader added in v0.7.1

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

PartialUpdateFirehoseReader is a Reader for the PartialUpdateFirehose structure.

func (*PartialUpdateFirehoseReader) ReadResponse added in v0.7.1

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

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

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

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

type ResetOffsetParams

type ResetOffsetParams struct {

	// Body.
	Body ResetOffsetBody

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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

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

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

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

type ScaleFirehoseParams

type ScaleFirehoseParams struct {

	// Body.
	Body ScaleFirehoseBody

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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 SetGroupAlertChannelsBody added in v0.7.11

type SetGroupAlertChannelsBody struct {

	// alert channels
	// Required: true
	// Min Items: 1
	AlertChannels []*models.AlertChannelForm `json:"alert_channels"`
}

SetGroupAlertChannelsBody set group alert channels body swagger:model SetGroupAlertChannelsBody

func (*SetGroupAlertChannelsBody) ContextValidate added in v0.7.11

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

ContextValidate validate this set group alert channels body based on the context it is used

func (*SetGroupAlertChannelsBody) MarshalBinary added in v0.7.11

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

MarshalBinary interface implementation

func (*SetGroupAlertChannelsBody) UnmarshalBinary added in v0.7.11

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

UnmarshalBinary interface implementation

func (*SetGroupAlertChannelsBody) Validate added in v0.7.11

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

Validate validates this set group alert channels body

type SetGroupAlertChannelsInternalServerError added in v0.7.11

type SetGroupAlertChannelsInternalServerError struct {
	Payload *models.ErrorResponse
}
SetGroupAlertChannelsInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewSetGroupAlertChannelsInternalServerError added in v0.7.11

func NewSetGroupAlertChannelsInternalServerError() *SetGroupAlertChannelsInternalServerError

NewSetGroupAlertChannelsInternalServerError creates a SetGroupAlertChannelsInternalServerError with default headers values

func (*SetGroupAlertChannelsInternalServerError) Error added in v0.7.11

func (*SetGroupAlertChannelsInternalServerError) GetPayload added in v0.7.11

type SetGroupAlertChannelsNotFound added in v0.7.11

type SetGroupAlertChannelsNotFound struct {
	Payload *models.ErrorResponse
}
SetGroupAlertChannelsNotFound describes a response with status code 404, with default header values.

Group Not Found Error

func NewSetGroupAlertChannelsNotFound added in v0.7.11

func NewSetGroupAlertChannelsNotFound() *SetGroupAlertChannelsNotFound

NewSetGroupAlertChannelsNotFound creates a SetGroupAlertChannelsNotFound with default headers values

func (*SetGroupAlertChannelsNotFound) Error added in v0.7.11

func (*SetGroupAlertChannelsNotFound) GetPayload added in v0.7.11

type SetGroupAlertChannelsOK added in v0.7.11

type SetGroupAlertChannelsOK struct {
	Payload *SetGroupAlertChannelsOKBody
}
SetGroupAlertChannelsOK describes a response with status code 200, with default header values.

Successful Operation.

func NewSetGroupAlertChannelsOK added in v0.7.11

func NewSetGroupAlertChannelsOK() *SetGroupAlertChannelsOK

NewSetGroupAlertChannelsOK creates a SetGroupAlertChannelsOK with default headers values

func (*SetGroupAlertChannelsOK) Error added in v0.7.11

func (o *SetGroupAlertChannelsOK) Error() string

func (*SetGroupAlertChannelsOK) GetPayload added in v0.7.11

type SetGroupAlertChannelsOKBody added in v0.7.11

type SetGroupAlertChannelsOKBody struct {

	// alert channels
	AlertChannels []*models.AlertChannel `json:"alert_channels"`
}

SetGroupAlertChannelsOKBody set group alert channels o k body swagger:model SetGroupAlertChannelsOKBody

func (*SetGroupAlertChannelsOKBody) ContextValidate added in v0.7.11

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

ContextValidate validate this set group alert channels o k body based on the context it is used

func (*SetGroupAlertChannelsOKBody) MarshalBinary added in v0.7.11

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

MarshalBinary interface implementation

func (*SetGroupAlertChannelsOKBody) UnmarshalBinary added in v0.7.11

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

UnmarshalBinary interface implementation

func (*SetGroupAlertChannelsOKBody) Validate added in v0.7.11

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

Validate validates this set group alert channels o k body

type SetGroupAlertChannelsParams added in v0.7.11

type SetGroupAlertChannelsParams struct {

	// Body.
	Body SetGroupAlertChannelsBody

	/* ID.

	   Shield Group's ID
	*/
	ID string

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

SetGroupAlertChannelsParams contains all the parameters to send to the API endpoint

for the set group alert channels operation.

Typically these are written to a http.Request.

func NewSetGroupAlertChannelsParams added in v0.7.11

func NewSetGroupAlertChannelsParams() *SetGroupAlertChannelsParams

NewSetGroupAlertChannelsParams creates a new SetGroupAlertChannelsParams 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 NewSetGroupAlertChannelsParamsWithContext added in v0.7.11

func NewSetGroupAlertChannelsParamsWithContext(ctx context.Context) *SetGroupAlertChannelsParams

NewSetGroupAlertChannelsParamsWithContext creates a new SetGroupAlertChannelsParams object with the ability to set a context for a request.

func NewSetGroupAlertChannelsParamsWithHTTPClient added in v0.7.11

func NewSetGroupAlertChannelsParamsWithHTTPClient(client *http.Client) *SetGroupAlertChannelsParams

NewSetGroupAlertChannelsParamsWithHTTPClient creates a new SetGroupAlertChannelsParams object with the ability to set a custom HTTPClient for a request.

func NewSetGroupAlertChannelsParamsWithTimeout added in v0.7.11

func NewSetGroupAlertChannelsParamsWithTimeout(timeout time.Duration) *SetGroupAlertChannelsParams

NewSetGroupAlertChannelsParamsWithTimeout creates a new SetGroupAlertChannelsParams object with the ability to set a timeout on a request.

func (*SetGroupAlertChannelsParams) SetBody added in v0.7.11

SetBody adds the body to the set group alert channels params

func (*SetGroupAlertChannelsParams) SetContext added in v0.7.11

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

SetContext adds the context to the set group alert channels params

func (*SetGroupAlertChannelsParams) SetDefaults added in v0.7.11

func (o *SetGroupAlertChannelsParams) SetDefaults()

SetDefaults hydrates default values in the set group alert channels params (not the query body).

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

func (*SetGroupAlertChannelsParams) SetHTTPClient added in v0.7.11

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

SetHTTPClient adds the HTTPClient to the set group alert channels params

func (*SetGroupAlertChannelsParams) SetID added in v0.7.11

func (o *SetGroupAlertChannelsParams) SetID(id string)

SetID adds the id to the set group alert channels params

func (*SetGroupAlertChannelsParams) SetTimeout added in v0.7.11

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

SetTimeout adds the timeout to the set group alert channels params

func (*SetGroupAlertChannelsParams) WithBody added in v0.7.11

WithBody adds the body to the set group alert channels params

func (*SetGroupAlertChannelsParams) WithContext added in v0.7.11

WithContext adds the context to the set group alert channels params

func (*SetGroupAlertChannelsParams) WithDefaults added in v0.7.11

WithDefaults hydrates default values in the set group alert channels params (not the query body).

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

func (*SetGroupAlertChannelsParams) WithHTTPClient added in v0.7.11

WithHTTPClient adds the HTTPClient to the set group alert channels params

func (*SetGroupAlertChannelsParams) WithID added in v0.7.11

WithID adds the id to the set group alert channels params

func (*SetGroupAlertChannelsParams) WithTimeout added in v0.7.11

WithTimeout adds the timeout to the set group alert channels params

func (*SetGroupAlertChannelsParams) WriteToRequest added in v0.7.11

WriteToRequest writes these params to a swagger request

type SetGroupAlertChannelsReader added in v0.7.11

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

SetGroupAlertChannelsReader is a Reader for the SetGroupAlertChannels structure.

func (*SetGroupAlertChannelsReader) ReadResponse added in v0.7.11

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

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

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

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

type StartFirehoseParams

type StartFirehoseParams struct {

	// Body.
	Body interface{}

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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

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

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

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

type StopFirehoseParams

type StopFirehoseParams struct {

	// Body.
	Body interface{}

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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 UpdateAlertSubscriptionBadRequest added in v0.7.9

type UpdateAlertSubscriptionBadRequest struct {
	Payload *models.ErrorResponse
}
UpdateAlertSubscriptionBadRequest describes a response with status code 400, with default header values.

Validation Error

func NewUpdateAlertSubscriptionBadRequest added in v0.7.9

func NewUpdateAlertSubscriptionBadRequest() *UpdateAlertSubscriptionBadRequest

NewUpdateAlertSubscriptionBadRequest creates a UpdateAlertSubscriptionBadRequest with default headers values

func (*UpdateAlertSubscriptionBadRequest) Error added in v0.7.9

func (*UpdateAlertSubscriptionBadRequest) GetPayload added in v0.7.9

type UpdateAlertSubscriptionConflict added in v0.7.9

type UpdateAlertSubscriptionConflict struct {
	Payload *models.ErrorResponse
}
UpdateAlertSubscriptionConflict describes a response with status code 409, with default header values.

Duplicate subscription

func NewUpdateAlertSubscriptionConflict added in v0.7.9

func NewUpdateAlertSubscriptionConflict() *UpdateAlertSubscriptionConflict

NewUpdateAlertSubscriptionConflict creates a UpdateAlertSubscriptionConflict with default headers values

func (*UpdateAlertSubscriptionConflict) Error added in v0.7.9

func (*UpdateAlertSubscriptionConflict) GetPayload added in v0.7.9

type UpdateAlertSubscriptionInternalServerError added in v0.7.9

type UpdateAlertSubscriptionInternalServerError struct {
	Payload *models.ErrorResponse
}
UpdateAlertSubscriptionInternalServerError describes a response with status code 500, with default header values.

Internal Error

func NewUpdateAlertSubscriptionInternalServerError added in v0.7.9

func NewUpdateAlertSubscriptionInternalServerError() *UpdateAlertSubscriptionInternalServerError

NewUpdateAlertSubscriptionInternalServerError creates a UpdateAlertSubscriptionInternalServerError with default headers values

func (*UpdateAlertSubscriptionInternalServerError) Error added in v0.7.9

func (*UpdateAlertSubscriptionInternalServerError) GetPayload added in v0.7.9

type UpdateAlertSubscriptionNotFound added in v0.7.9

type UpdateAlertSubscriptionNotFound struct {
	Payload *models.ErrorResponse
}
UpdateAlertSubscriptionNotFound describes a response with status code 404, with default header values.

Not Found Error

func NewUpdateAlertSubscriptionNotFound added in v0.7.9

func NewUpdateAlertSubscriptionNotFound() *UpdateAlertSubscriptionNotFound

NewUpdateAlertSubscriptionNotFound creates a UpdateAlertSubscriptionNotFound with default headers values

func (*UpdateAlertSubscriptionNotFound) Error added in v0.7.9

func (*UpdateAlertSubscriptionNotFound) GetPayload added in v0.7.9

type UpdateAlertSubscriptionOK added in v0.7.9

type UpdateAlertSubscriptionOK struct {
	Payload *UpdateAlertSubscriptionOKBody
}
UpdateAlertSubscriptionOK describes a response with status code 200, with default header values.

Successful Operation.

func NewUpdateAlertSubscriptionOK added in v0.7.9

func NewUpdateAlertSubscriptionOK() *UpdateAlertSubscriptionOK

NewUpdateAlertSubscriptionOK creates a UpdateAlertSubscriptionOK with default headers values

func (*UpdateAlertSubscriptionOK) Error added in v0.7.9

func (o *UpdateAlertSubscriptionOK) Error() string

func (*UpdateAlertSubscriptionOK) GetPayload added in v0.7.9

type UpdateAlertSubscriptionOKBody added in v0.7.9

type UpdateAlertSubscriptionOKBody struct {

	// subscription
	Subscription *models.Subscription `json:"subscription,omitempty"`
}

UpdateAlertSubscriptionOKBody update alert subscription o k body swagger:model UpdateAlertSubscriptionOKBody

func (*UpdateAlertSubscriptionOKBody) ContextValidate added in v0.7.9

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

ContextValidate validate this update alert subscription o k body based on the context it is used

func (*UpdateAlertSubscriptionOKBody) MarshalBinary added in v0.7.9

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

MarshalBinary interface implementation

func (*UpdateAlertSubscriptionOKBody) UnmarshalBinary added in v0.7.9

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

UnmarshalBinary interface implementation

func (*UpdateAlertSubscriptionOKBody) Validate added in v0.7.9

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

Validate validates this update alert subscription o k body

type UpdateAlertSubscriptionParams added in v0.7.9

type UpdateAlertSubscriptionParams struct {

	// Body.
	Body *models.SubscriptionForm

	// ID.
	ID string

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

UpdateAlertSubscriptionParams contains all the parameters to send to the API endpoint

for the update alert subscription operation.

Typically these are written to a http.Request.

func NewUpdateAlertSubscriptionParams added in v0.7.9

func NewUpdateAlertSubscriptionParams() *UpdateAlertSubscriptionParams

NewUpdateAlertSubscriptionParams creates a new UpdateAlertSubscriptionParams 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 NewUpdateAlertSubscriptionParamsWithContext added in v0.7.9

func NewUpdateAlertSubscriptionParamsWithContext(ctx context.Context) *UpdateAlertSubscriptionParams

NewUpdateAlertSubscriptionParamsWithContext creates a new UpdateAlertSubscriptionParams object with the ability to set a context for a request.

func NewUpdateAlertSubscriptionParamsWithHTTPClient added in v0.7.9

func NewUpdateAlertSubscriptionParamsWithHTTPClient(client *http.Client) *UpdateAlertSubscriptionParams

NewUpdateAlertSubscriptionParamsWithHTTPClient creates a new UpdateAlertSubscriptionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAlertSubscriptionParamsWithTimeout added in v0.7.9

func NewUpdateAlertSubscriptionParamsWithTimeout(timeout time.Duration) *UpdateAlertSubscriptionParams

NewUpdateAlertSubscriptionParamsWithTimeout creates a new UpdateAlertSubscriptionParams object with the ability to set a timeout on a request.

func (*UpdateAlertSubscriptionParams) SetBody added in v0.7.9

SetBody adds the body to the update alert subscription params

func (*UpdateAlertSubscriptionParams) SetContext added in v0.7.9

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

SetContext adds the context to the update alert subscription params

func (*UpdateAlertSubscriptionParams) SetDefaults added in v0.7.9

func (o *UpdateAlertSubscriptionParams) SetDefaults()

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

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

func (*UpdateAlertSubscriptionParams) SetHTTPClient added in v0.7.9

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

SetHTTPClient adds the HTTPClient to the update alert subscription params

func (*UpdateAlertSubscriptionParams) SetID added in v0.7.9

SetID adds the id to the update alert subscription params

func (*UpdateAlertSubscriptionParams) SetTimeout added in v0.7.9

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

SetTimeout adds the timeout to the update alert subscription params

func (*UpdateAlertSubscriptionParams) WithBody added in v0.7.9

WithBody adds the body to the update alert subscription params

func (*UpdateAlertSubscriptionParams) WithContext added in v0.7.9

WithContext adds the context to the update alert subscription params

func (*UpdateAlertSubscriptionParams) WithDefaults added in v0.7.9

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

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

func (*UpdateAlertSubscriptionParams) WithHTTPClient added in v0.7.9

WithHTTPClient adds the HTTPClient to the update alert subscription params

func (*UpdateAlertSubscriptionParams) WithID added in v0.7.9

WithID adds the id to the update alert subscription params

func (*UpdateAlertSubscriptionParams) WithTimeout added in v0.7.9

WithTimeout adds the timeout to the update alert subscription params

func (*UpdateAlertSubscriptionParams) WriteToRequest added in v0.7.9

WriteToRequest writes these params to a swagger request

type UpdateAlertSubscriptionReader added in v0.7.9

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

UpdateAlertSubscriptionReader is a Reader for the UpdateAlertSubscription structure.

func (*UpdateAlertSubscriptionReader) ReadResponse added in v0.7.9

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

ReadResponse reads a server response into the received o.

type UpdateAlertSubscriptionUnprocessableEntity added in v0.7.9

type UpdateAlertSubscriptionUnprocessableEntity struct {
	Payload *models.ErrorResponse
}
UpdateAlertSubscriptionUnprocessableEntity describes a response with status code 422, with default header values.

Missing namespace and slack channel in shield

func NewUpdateAlertSubscriptionUnprocessableEntity added in v0.7.9

func NewUpdateAlertSubscriptionUnprocessableEntity() *UpdateAlertSubscriptionUnprocessableEntity

NewUpdateAlertSubscriptionUnprocessableEntity creates a UpdateAlertSubscriptionUnprocessableEntity with default headers values

func (*UpdateAlertSubscriptionUnprocessableEntity) Error added in v0.7.9

func (*UpdateAlertSubscriptionUnprocessableEntity) GetPayload added in v0.7.9

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

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

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

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

type UpdateFirehoseParams

type UpdateFirehoseParams struct {

	// Body.
	Body *models.FirehoseUpdateRequest

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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

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

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

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

type UpgradeFirehoseParams

type UpgradeFirehoseParams struct {

	// Body.
	Body interface{}

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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

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

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

type UpsertFirehoseAlertPolicyParams

type UpsertFirehoseAlertPolicyParams struct {

	// Body.
	Body *models.AlertPolicy

	/* FirehoseUrn.

	   URN of the firehose.
	*/
	FirehoseUrn 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) 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) 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.

Source Files

Jump to

Keyboard shortcuts

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