Documentation ¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateFirehose(params *CreateFirehoseParams, opts ...ClientOption) (*CreateFirehoseCreated, error)
- func (a *Client) GetFirehose(params *GetFirehoseParams, opts ...ClientOption) (*GetFirehoseOK, error)
- func (a *Client) GetFirehoseAlertPolicy(params *GetFirehoseAlertPolicyParams, opts ...ClientOption) (*GetFirehoseAlertPolicyOK, error)
- func (a *Client) GetFirehoseAlerts(params *GetFirehoseAlertsParams, opts ...ClientOption) (*GetFirehoseAlertsOK, error)
- func (a *Client) GetFirehoseHistory(params *GetFirehoseHistoryParams, opts ...ClientOption) (*GetFirehoseHistoryOK, error)
- func (a *Client) GetFirehoseLogs(params *GetFirehoseLogsParams, writer io.Writer, opts ...ClientOption) (*GetFirehoseLogsOK, error)
- func (a *Client) GetProjectBySlug(params *GetProjectBySlugParams, opts ...ClientOption) (*GetProjectBySlugOK, error)
- func (a *Client) ListAlertTemplates(params *ListAlertTemplatesParams, opts ...ClientOption) (*ListAlertTemplatesOK, error)
- func (a *Client) ListFirehoses(params *ListFirehosesParams, opts ...ClientOption) (*ListFirehosesOK, error)
- func (a *Client) ListKubernetes(params *ListKubernetesParams, opts ...ClientOption) (*ListKubernetesOK, error)
- func (a *Client) ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error)
- func (a *Client) ResetOffset(params *ResetOffsetParams, opts ...ClientOption) (*ResetOffsetOK, error)
- func (a *Client) ScaleFirehose(params *ScaleFirehoseParams, opts ...ClientOption) (*ScaleFirehoseOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartFirehose(params *StartFirehoseParams, opts ...ClientOption) (*StartFirehoseOK, error)
- func (a *Client) StopFirehose(params *StopFirehoseParams, opts ...ClientOption) (*StopFirehoseOK, error)
- func (a *Client) UpdateFirehose(params *UpdateFirehoseParams, opts ...ClientOption) (*UpdateFirehoseOK, error)
- func (a *Client) UpgradeFirehose(params *UpgradeFirehoseParams, opts ...ClientOption) (*UpgradeFirehoseOK, error)
- func (a *Client) UpsertFirehoseAlertPolicy(params *UpsertFirehoseAlertPolicyParams, opts ...ClientOption) (*UpsertFirehoseAlertPolicyOK, error)
- type ClientOption
- type ClientService
- type CreateFirehoseBadRequest
- func (o *CreateFirehoseBadRequest) Error() string
- func (o *CreateFirehoseBadRequest) GetPayload() *models.ErrorResponse
- func (o *CreateFirehoseBadRequest) IsClientError() bool
- func (o *CreateFirehoseBadRequest) IsCode(code int) bool
- func (o *CreateFirehoseBadRequest) IsRedirect() bool
- func (o *CreateFirehoseBadRequest) IsServerError() bool
- func (o *CreateFirehoseBadRequest) IsSuccess() bool
- func (o *CreateFirehoseBadRequest) String() string
- type CreateFirehoseConflict
- func (o *CreateFirehoseConflict) Error() string
- func (o *CreateFirehoseConflict) GetPayload() *models.ErrorResponse
- func (o *CreateFirehoseConflict) IsClientError() bool
- func (o *CreateFirehoseConflict) IsCode(code int) bool
- func (o *CreateFirehoseConflict) IsRedirect() bool
- func (o *CreateFirehoseConflict) IsServerError() bool
- func (o *CreateFirehoseConflict) IsSuccess() bool
- func (o *CreateFirehoseConflict) String() string
- type CreateFirehoseCreated
- func (o *CreateFirehoseCreated) Error() string
- func (o *CreateFirehoseCreated) GetPayload() *models.Firehose
- func (o *CreateFirehoseCreated) IsClientError() bool
- func (o *CreateFirehoseCreated) IsCode(code int) bool
- func (o *CreateFirehoseCreated) IsRedirect() bool
- func (o *CreateFirehoseCreated) IsServerError() bool
- func (o *CreateFirehoseCreated) IsSuccess() bool
- func (o *CreateFirehoseCreated) String() string
- type CreateFirehoseInternalServerError
- func (o *CreateFirehoseInternalServerError) Error() string
- func (o *CreateFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *CreateFirehoseInternalServerError) IsClientError() bool
- func (o *CreateFirehoseInternalServerError) IsCode(code int) bool
- func (o *CreateFirehoseInternalServerError) IsRedirect() bool
- func (o *CreateFirehoseInternalServerError) IsServerError() bool
- func (o *CreateFirehoseInternalServerError) IsSuccess() bool
- func (o *CreateFirehoseInternalServerError) String() string
- type CreateFirehoseParams
- func NewCreateFirehoseParams() *CreateFirehoseParams
- func NewCreateFirehoseParamsWithContext(ctx context.Context) *CreateFirehoseParams
- func NewCreateFirehoseParamsWithHTTPClient(client *http.Client) *CreateFirehoseParams
- func NewCreateFirehoseParamsWithTimeout(timeout time.Duration) *CreateFirehoseParams
- func (o *CreateFirehoseParams) SetBody(body *models.Firehose)
- func (o *CreateFirehoseParams) SetContext(ctx context.Context)
- func (o *CreateFirehoseParams) SetDefaults()
- func (o *CreateFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *CreateFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *CreateFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *CreateFirehoseParams) WithBody(body *models.Firehose) *CreateFirehoseParams
- func (o *CreateFirehoseParams) WithContext(ctx context.Context) *CreateFirehoseParams
- func (o *CreateFirehoseParams) WithDefaults() *CreateFirehoseParams
- func (o *CreateFirehoseParams) WithHTTPClient(client *http.Client) *CreateFirehoseParams
- func (o *CreateFirehoseParams) WithProjectSlug(projectSlug string) *CreateFirehoseParams
- func (o *CreateFirehoseParams) WithTimeout(timeout time.Duration) *CreateFirehoseParams
- func (o *CreateFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFirehoseReader
- type GetFirehoseAlertPolicyInternalServerError
- func (o *GetFirehoseAlertPolicyInternalServerError) Error() string
- func (o *GetFirehoseAlertPolicyInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseAlertPolicyInternalServerError) IsClientError() bool
- func (o *GetFirehoseAlertPolicyInternalServerError) IsCode(code int) bool
- func (o *GetFirehoseAlertPolicyInternalServerError) IsRedirect() bool
- func (o *GetFirehoseAlertPolicyInternalServerError) IsServerError() bool
- func (o *GetFirehoseAlertPolicyInternalServerError) IsSuccess() bool
- func (o *GetFirehoseAlertPolicyInternalServerError) String() string
- type GetFirehoseAlertPolicyNotFound
- func (o *GetFirehoseAlertPolicyNotFound) Error() string
- func (o *GetFirehoseAlertPolicyNotFound) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseAlertPolicyNotFound) IsClientError() bool
- func (o *GetFirehoseAlertPolicyNotFound) IsCode(code int) bool
- func (o *GetFirehoseAlertPolicyNotFound) IsRedirect() bool
- func (o *GetFirehoseAlertPolicyNotFound) IsServerError() bool
- func (o *GetFirehoseAlertPolicyNotFound) IsSuccess() bool
- func (o *GetFirehoseAlertPolicyNotFound) String() string
- type GetFirehoseAlertPolicyOK
- func (o *GetFirehoseAlertPolicyOK) Error() string
- func (o *GetFirehoseAlertPolicyOK) GetPayload() *models.AlertPolicy
- func (o *GetFirehoseAlertPolicyOK) IsClientError() bool
- func (o *GetFirehoseAlertPolicyOK) IsCode(code int) bool
- func (o *GetFirehoseAlertPolicyOK) IsRedirect() bool
- func (o *GetFirehoseAlertPolicyOK) IsServerError() bool
- func (o *GetFirehoseAlertPolicyOK) IsSuccess() bool
- func (o *GetFirehoseAlertPolicyOK) String() string
- type GetFirehoseAlertPolicyParams
- func NewGetFirehoseAlertPolicyParams() *GetFirehoseAlertPolicyParams
- func NewGetFirehoseAlertPolicyParamsWithContext(ctx context.Context) *GetFirehoseAlertPolicyParams
- func NewGetFirehoseAlertPolicyParamsWithHTTPClient(client *http.Client) *GetFirehoseAlertPolicyParams
- func NewGetFirehoseAlertPolicyParamsWithTimeout(timeout time.Duration) *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) SetContext(ctx context.Context)
- func (o *GetFirehoseAlertPolicyParams) SetDefaults()
- func (o *GetFirehoseAlertPolicyParams) SetFirehoseUrn(firehoseUrn string)
- func (o *GetFirehoseAlertPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetFirehoseAlertPolicyParams) SetProjectSlug(projectSlug string)
- func (o *GetFirehoseAlertPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetFirehoseAlertPolicyParams) WithContext(ctx context.Context) *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) WithDefaults() *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) WithHTTPClient(client *http.Client) *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) WithProjectSlug(projectSlug string) *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) WithTimeout(timeout time.Duration) *GetFirehoseAlertPolicyParams
- func (o *GetFirehoseAlertPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFirehoseAlertPolicyReader
- type GetFirehoseAlertsInternalServerError
- func (o *GetFirehoseAlertsInternalServerError) Error() string
- func (o *GetFirehoseAlertsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseAlertsInternalServerError) IsClientError() bool
- func (o *GetFirehoseAlertsInternalServerError) IsCode(code int) bool
- func (o *GetFirehoseAlertsInternalServerError) IsRedirect() bool
- func (o *GetFirehoseAlertsInternalServerError) IsServerError() bool
- func (o *GetFirehoseAlertsInternalServerError) IsSuccess() bool
- func (o *GetFirehoseAlertsInternalServerError) String() string
- type GetFirehoseAlertsNotFound
- func (o *GetFirehoseAlertsNotFound) Error() string
- func (o *GetFirehoseAlertsNotFound) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseAlertsNotFound) IsClientError() bool
- func (o *GetFirehoseAlertsNotFound) IsCode(code int) bool
- func (o *GetFirehoseAlertsNotFound) IsRedirect() bool
- func (o *GetFirehoseAlertsNotFound) IsServerError() bool
- func (o *GetFirehoseAlertsNotFound) IsSuccess() bool
- func (o *GetFirehoseAlertsNotFound) String() string
- type GetFirehoseAlertsOK
- func (o *GetFirehoseAlertsOK) Error() string
- func (o *GetFirehoseAlertsOK) GetPayload() *models.AlertArray
- func (o *GetFirehoseAlertsOK) IsClientError() bool
- func (o *GetFirehoseAlertsOK) IsCode(code int) bool
- func (o *GetFirehoseAlertsOK) IsRedirect() bool
- func (o *GetFirehoseAlertsOK) IsServerError() bool
- func (o *GetFirehoseAlertsOK) IsSuccess() bool
- func (o *GetFirehoseAlertsOK) String() string
- type GetFirehoseAlertsParams
- func NewGetFirehoseAlertsParams() *GetFirehoseAlertsParams
- func NewGetFirehoseAlertsParamsWithContext(ctx context.Context) *GetFirehoseAlertsParams
- func NewGetFirehoseAlertsParamsWithHTTPClient(client *http.Client) *GetFirehoseAlertsParams
- func NewGetFirehoseAlertsParamsWithTimeout(timeout time.Duration) *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) SetContext(ctx context.Context)
- func (o *GetFirehoseAlertsParams) SetDefaults()
- func (o *GetFirehoseAlertsParams) SetFirehoseUrn(firehoseUrn string)
- func (o *GetFirehoseAlertsParams) SetHTTPClient(client *http.Client)
- func (o *GetFirehoseAlertsParams) SetProjectSlug(projectSlug string)
- func (o *GetFirehoseAlertsParams) SetTimeout(timeout time.Duration)
- func (o *GetFirehoseAlertsParams) WithContext(ctx context.Context) *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) WithDefaults() *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) WithHTTPClient(client *http.Client) *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) WithProjectSlug(projectSlug string) *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) WithTimeout(timeout time.Duration) *GetFirehoseAlertsParams
- func (o *GetFirehoseAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFirehoseAlertsReader
- type GetFirehoseHistoryInternalServerError
- func (o *GetFirehoseHistoryInternalServerError) Error() string
- func (o *GetFirehoseHistoryInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseHistoryInternalServerError) IsClientError() bool
- func (o *GetFirehoseHistoryInternalServerError) IsCode(code int) bool
- func (o *GetFirehoseHistoryInternalServerError) IsRedirect() bool
- func (o *GetFirehoseHistoryInternalServerError) IsServerError() bool
- func (o *GetFirehoseHistoryInternalServerError) IsSuccess() bool
- func (o *GetFirehoseHistoryInternalServerError) String() string
- type GetFirehoseHistoryNotFound
- func (o *GetFirehoseHistoryNotFound) Error() string
- func (o *GetFirehoseHistoryNotFound) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseHistoryNotFound) IsClientError() bool
- func (o *GetFirehoseHistoryNotFound) IsCode(code int) bool
- func (o *GetFirehoseHistoryNotFound) IsRedirect() bool
- func (o *GetFirehoseHistoryNotFound) IsServerError() bool
- func (o *GetFirehoseHistoryNotFound) IsSuccess() bool
- func (o *GetFirehoseHistoryNotFound) String() string
- type GetFirehoseHistoryOK
- func (o *GetFirehoseHistoryOK) Error() string
- func (o *GetFirehoseHistoryOK) GetPayload() *models.History
- func (o *GetFirehoseHistoryOK) IsClientError() bool
- func (o *GetFirehoseHistoryOK) IsCode(code int) bool
- func (o *GetFirehoseHistoryOK) IsRedirect() bool
- func (o *GetFirehoseHistoryOK) IsServerError() bool
- func (o *GetFirehoseHistoryOK) IsSuccess() bool
- func (o *GetFirehoseHistoryOK) String() string
- type GetFirehoseHistoryParams
- func NewGetFirehoseHistoryParams() *GetFirehoseHistoryParams
- func NewGetFirehoseHistoryParamsWithContext(ctx context.Context) *GetFirehoseHistoryParams
- func NewGetFirehoseHistoryParamsWithHTTPClient(client *http.Client) *GetFirehoseHistoryParams
- func NewGetFirehoseHistoryParamsWithTimeout(timeout time.Duration) *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) SetContext(ctx context.Context)
- func (o *GetFirehoseHistoryParams) SetDefaults()
- func (o *GetFirehoseHistoryParams) SetFirehoseUrn(firehoseUrn string)
- func (o *GetFirehoseHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetFirehoseHistoryParams) SetProjectSlug(projectSlug string)
- func (o *GetFirehoseHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetFirehoseHistoryParams) WithContext(ctx context.Context) *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) WithDefaults() *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) WithHTTPClient(client *http.Client) *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) WithProjectSlug(projectSlug string) *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) WithTimeout(timeout time.Duration) *GetFirehoseHistoryParams
- func (o *GetFirehoseHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFirehoseHistoryReader
- type GetFirehoseInternalServerError
- func (o *GetFirehoseInternalServerError) Error() string
- func (o *GetFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseInternalServerError) IsClientError() bool
- func (o *GetFirehoseInternalServerError) IsCode(code int) bool
- func (o *GetFirehoseInternalServerError) IsRedirect() bool
- func (o *GetFirehoseInternalServerError) IsServerError() bool
- func (o *GetFirehoseInternalServerError) IsSuccess() bool
- func (o *GetFirehoseInternalServerError) String() string
- type GetFirehoseLogsBadRequest
- func (o *GetFirehoseLogsBadRequest) Error() string
- func (o *GetFirehoseLogsBadRequest) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseLogsBadRequest) IsClientError() bool
- func (o *GetFirehoseLogsBadRequest) IsCode(code int) bool
- func (o *GetFirehoseLogsBadRequest) IsRedirect() bool
- func (o *GetFirehoseLogsBadRequest) IsServerError() bool
- func (o *GetFirehoseLogsBadRequest) IsSuccess() bool
- func (o *GetFirehoseLogsBadRequest) String() string
- type GetFirehoseLogsInternalServerError
- func (o *GetFirehoseLogsInternalServerError) Error() string
- func (o *GetFirehoseLogsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseLogsInternalServerError) IsClientError() bool
- func (o *GetFirehoseLogsInternalServerError) IsCode(code int) bool
- func (o *GetFirehoseLogsInternalServerError) IsRedirect() bool
- func (o *GetFirehoseLogsInternalServerError) IsServerError() bool
- func (o *GetFirehoseLogsInternalServerError) IsSuccess() bool
- func (o *GetFirehoseLogsInternalServerError) String() string
- type GetFirehoseLogsNotFound
- func (o *GetFirehoseLogsNotFound) Error() string
- func (o *GetFirehoseLogsNotFound) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseLogsNotFound) IsClientError() bool
- func (o *GetFirehoseLogsNotFound) IsCode(code int) bool
- func (o *GetFirehoseLogsNotFound) IsRedirect() bool
- func (o *GetFirehoseLogsNotFound) IsServerError() bool
- func (o *GetFirehoseLogsNotFound) IsSuccess() bool
- func (o *GetFirehoseLogsNotFound) String() string
- type GetFirehoseLogsOK
- func (o *GetFirehoseLogsOK) Error() string
- func (o *GetFirehoseLogsOK) GetPayload() io.Writer
- func (o *GetFirehoseLogsOK) IsClientError() bool
- func (o *GetFirehoseLogsOK) IsCode(code int) bool
- func (o *GetFirehoseLogsOK) IsRedirect() bool
- func (o *GetFirehoseLogsOK) IsServerError() bool
- func (o *GetFirehoseLogsOK) IsSuccess() bool
- func (o *GetFirehoseLogsOK) String() string
- type GetFirehoseLogsParams
- func NewGetFirehoseLogsParams() *GetFirehoseLogsParams
- func NewGetFirehoseLogsParamsWithContext(ctx context.Context) *GetFirehoseLogsParams
- func NewGetFirehoseLogsParamsWithHTTPClient(client *http.Client) *GetFirehoseLogsParams
- func NewGetFirehoseLogsParamsWithTimeout(timeout time.Duration) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) SetContainer(container *string)
- func (o *GetFirehoseLogsParams) SetContext(ctx context.Context)
- func (o *GetFirehoseLogsParams) SetDefaults()
- func (o *GetFirehoseLogsParams) SetFirehoseUrn(firehoseUrn string)
- func (o *GetFirehoseLogsParams) SetFollow(follow *bool)
- func (o *GetFirehoseLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetFirehoseLogsParams) SetPod(pod *string)
- func (o *GetFirehoseLogsParams) SetPrevious(previous *bool)
- func (o *GetFirehoseLogsParams) SetProjectSlug(projectSlug string)
- func (o *GetFirehoseLogsParams) SetSinceSeconds(sinceSeconds *int64)
- func (o *GetFirehoseLogsParams) SetTailLines(tailLines *int64)
- func (o *GetFirehoseLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetFirehoseLogsParams) SetTimestamps(timestamps *bool)
- func (o *GetFirehoseLogsParams) WithContainer(container *string) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithContext(ctx context.Context) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithDefaults() *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithFollow(follow *bool) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithHTTPClient(client *http.Client) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithPod(pod *string) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithPrevious(previous *bool) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithProjectSlug(projectSlug string) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithSinceSeconds(sinceSeconds *int64) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithTailLines(tailLines *int64) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithTimeout(timeout time.Duration) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WithTimestamps(timestamps *bool) *GetFirehoseLogsParams
- func (o *GetFirehoseLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFirehoseLogsReader
- type GetFirehoseNotFound
- func (o *GetFirehoseNotFound) Error() string
- func (o *GetFirehoseNotFound) GetPayload() *models.ErrorResponse
- func (o *GetFirehoseNotFound) IsClientError() bool
- func (o *GetFirehoseNotFound) IsCode(code int) bool
- func (o *GetFirehoseNotFound) IsRedirect() bool
- func (o *GetFirehoseNotFound) IsServerError() bool
- func (o *GetFirehoseNotFound) IsSuccess() bool
- func (o *GetFirehoseNotFound) String() string
- type GetFirehoseOK
- func (o *GetFirehoseOK) Error() string
- func (o *GetFirehoseOK) GetPayload() *models.Firehose
- func (o *GetFirehoseOK) IsClientError() bool
- func (o *GetFirehoseOK) IsCode(code int) bool
- func (o *GetFirehoseOK) IsRedirect() bool
- func (o *GetFirehoseOK) IsServerError() bool
- func (o *GetFirehoseOK) IsSuccess() bool
- func (o *GetFirehoseOK) String() string
- type GetFirehoseParams
- func (o *GetFirehoseParams) SetContext(ctx context.Context)
- func (o *GetFirehoseParams) SetDefaults()
- func (o *GetFirehoseParams) SetFirehoseUrn(firehoseUrn string)
- func (o *GetFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *GetFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *GetFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *GetFirehoseParams) WithContext(ctx context.Context) *GetFirehoseParams
- func (o *GetFirehoseParams) WithDefaults() *GetFirehoseParams
- func (o *GetFirehoseParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseParams
- func (o *GetFirehoseParams) WithHTTPClient(client *http.Client) *GetFirehoseParams
- func (o *GetFirehoseParams) WithProjectSlug(projectSlug string) *GetFirehoseParams
- func (o *GetFirehoseParams) WithTimeout(timeout time.Duration) *GetFirehoseParams
- func (o *GetFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFirehoseReader
- type GetProjectBySlugInternalServerError
- func (o *GetProjectBySlugInternalServerError) Error() string
- func (o *GetProjectBySlugInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetProjectBySlugInternalServerError) IsClientError() bool
- func (o *GetProjectBySlugInternalServerError) IsCode(code int) bool
- func (o *GetProjectBySlugInternalServerError) IsRedirect() bool
- func (o *GetProjectBySlugInternalServerError) IsServerError() bool
- func (o *GetProjectBySlugInternalServerError) IsSuccess() bool
- func (o *GetProjectBySlugInternalServerError) String() string
- type GetProjectBySlugNotFound
- func (o *GetProjectBySlugNotFound) Error() string
- func (o *GetProjectBySlugNotFound) GetPayload() *models.ErrorResponse
- func (o *GetProjectBySlugNotFound) IsClientError() bool
- func (o *GetProjectBySlugNotFound) IsCode(code int) bool
- func (o *GetProjectBySlugNotFound) IsRedirect() bool
- func (o *GetProjectBySlugNotFound) IsServerError() bool
- func (o *GetProjectBySlugNotFound) IsSuccess() bool
- func (o *GetProjectBySlugNotFound) String() string
- type GetProjectBySlugOK
- func (o *GetProjectBySlugOK) Error() string
- func (o *GetProjectBySlugOK) GetPayload() *models.Project
- func (o *GetProjectBySlugOK) IsClientError() bool
- func (o *GetProjectBySlugOK) IsCode(code int) bool
- func (o *GetProjectBySlugOK) IsRedirect() bool
- func (o *GetProjectBySlugOK) IsServerError() bool
- func (o *GetProjectBySlugOK) IsSuccess() bool
- func (o *GetProjectBySlugOK) String() string
- type GetProjectBySlugParams
- func NewGetProjectBySlugParams() *GetProjectBySlugParams
- func NewGetProjectBySlugParamsWithContext(ctx context.Context) *GetProjectBySlugParams
- func NewGetProjectBySlugParamsWithHTTPClient(client *http.Client) *GetProjectBySlugParams
- func NewGetProjectBySlugParamsWithTimeout(timeout time.Duration) *GetProjectBySlugParams
- func (o *GetProjectBySlugParams) SetContext(ctx context.Context)
- func (o *GetProjectBySlugParams) SetDefaults()
- func (o *GetProjectBySlugParams) SetHTTPClient(client *http.Client)
- func (o *GetProjectBySlugParams) SetSlug(slug string)
- func (o *GetProjectBySlugParams) SetTimeout(timeout time.Duration)
- func (o *GetProjectBySlugParams) WithContext(ctx context.Context) *GetProjectBySlugParams
- func (o *GetProjectBySlugParams) WithDefaults() *GetProjectBySlugParams
- func (o *GetProjectBySlugParams) WithHTTPClient(client *http.Client) *GetProjectBySlugParams
- func (o *GetProjectBySlugParams) WithSlug(slug string) *GetProjectBySlugParams
- func (o *GetProjectBySlugParams) WithTimeout(timeout time.Duration) *GetProjectBySlugParams
- func (o *GetProjectBySlugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjectBySlugReader
- type ListAlertTemplatesInternalServerError
- func (o *ListAlertTemplatesInternalServerError) Error() string
- func (o *ListAlertTemplatesInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListAlertTemplatesInternalServerError) IsClientError() bool
- func (o *ListAlertTemplatesInternalServerError) IsCode(code int) bool
- func (o *ListAlertTemplatesInternalServerError) IsRedirect() bool
- func (o *ListAlertTemplatesInternalServerError) IsServerError() bool
- func (o *ListAlertTemplatesInternalServerError) IsSuccess() bool
- func (o *ListAlertTemplatesInternalServerError) String() string
- type ListAlertTemplatesOK
- func (o *ListAlertTemplatesOK) Error() string
- func (o *ListAlertTemplatesOK) GetPayload() *models.AlertTemplatesArray
- func (o *ListAlertTemplatesOK) IsClientError() bool
- func (o *ListAlertTemplatesOK) IsCode(code int) bool
- func (o *ListAlertTemplatesOK) IsRedirect() bool
- func (o *ListAlertTemplatesOK) IsServerError() bool
- func (o *ListAlertTemplatesOK) IsSuccess() bool
- func (o *ListAlertTemplatesOK) String() string
- type ListAlertTemplatesParams
- func NewListAlertTemplatesParams() *ListAlertTemplatesParams
- func NewListAlertTemplatesParamsWithContext(ctx context.Context) *ListAlertTemplatesParams
- func NewListAlertTemplatesParamsWithHTTPClient(client *http.Client) *ListAlertTemplatesParams
- func NewListAlertTemplatesParamsWithTimeout(timeout time.Duration) *ListAlertTemplatesParams
- func (o *ListAlertTemplatesParams) SetContext(ctx context.Context)
- func (o *ListAlertTemplatesParams) SetDefaults()
- func (o *ListAlertTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *ListAlertTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *ListAlertTemplatesParams) WithContext(ctx context.Context) *ListAlertTemplatesParams
- func (o *ListAlertTemplatesParams) WithDefaults() *ListAlertTemplatesParams
- func (o *ListAlertTemplatesParams) WithHTTPClient(client *http.Client) *ListAlertTemplatesParams
- func (o *ListAlertTemplatesParams) WithTimeout(timeout time.Duration) *ListAlertTemplatesParams
- func (o *ListAlertTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAlertTemplatesReader
- type ListFirehosesInternalServerError
- func (o *ListFirehosesInternalServerError) Error() string
- func (o *ListFirehosesInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListFirehosesInternalServerError) IsClientError() bool
- func (o *ListFirehosesInternalServerError) IsCode(code int) bool
- func (o *ListFirehosesInternalServerError) IsRedirect() bool
- func (o *ListFirehosesInternalServerError) IsServerError() bool
- func (o *ListFirehosesInternalServerError) IsSuccess() bool
- func (o *ListFirehosesInternalServerError) String() string
- type ListFirehosesOK
- func (o *ListFirehosesOK) Error() string
- func (o *ListFirehosesOK) GetPayload() *models.FirehoseArray
- func (o *ListFirehosesOK) IsClientError() bool
- func (o *ListFirehosesOK) IsCode(code int) bool
- func (o *ListFirehosesOK) IsRedirect() bool
- func (o *ListFirehosesOK) IsServerError() bool
- func (o *ListFirehosesOK) IsSuccess() bool
- func (o *ListFirehosesOK) String() string
- type ListFirehosesParams
- func (o *ListFirehosesParams) SetContext(ctx context.Context)
- func (o *ListFirehosesParams) SetDefaults()
- func (o *ListFirehosesParams) SetGroup(group *string)
- func (o *ListFirehosesParams) SetHTTPClient(client *http.Client)
- func (o *ListFirehosesParams) SetKubeCluster(kubeCluster *string)
- func (o *ListFirehosesParams) SetProjectSlug(projectSlug string)
- func (o *ListFirehosesParams) SetSinkType(sinkType *string)
- func (o *ListFirehosesParams) SetStatus(status *string)
- func (o *ListFirehosesParams) SetStreamName(streamName *string)
- func (o *ListFirehosesParams) SetTimeout(timeout time.Duration)
- func (o *ListFirehosesParams) SetTopicName(topicName *string)
- func (o *ListFirehosesParams) WithContext(ctx context.Context) *ListFirehosesParams
- func (o *ListFirehosesParams) WithDefaults() *ListFirehosesParams
- func (o *ListFirehosesParams) WithGroup(group *string) *ListFirehosesParams
- func (o *ListFirehosesParams) WithHTTPClient(client *http.Client) *ListFirehosesParams
- func (o *ListFirehosesParams) WithKubeCluster(kubeCluster *string) *ListFirehosesParams
- func (o *ListFirehosesParams) WithProjectSlug(projectSlug string) *ListFirehosesParams
- func (o *ListFirehosesParams) WithSinkType(sinkType *string) *ListFirehosesParams
- func (o *ListFirehosesParams) WithStatus(status *string) *ListFirehosesParams
- func (o *ListFirehosesParams) WithStreamName(streamName *string) *ListFirehosesParams
- func (o *ListFirehosesParams) WithTimeout(timeout time.Duration) *ListFirehosesParams
- func (o *ListFirehosesParams) WithTopicName(topicName *string) *ListFirehosesParams
- func (o *ListFirehosesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFirehosesReader
- type ListKubernetesInternalServerError
- func (o *ListKubernetesInternalServerError) Error() string
- func (o *ListKubernetesInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListKubernetesInternalServerError) IsClientError() bool
- func (o *ListKubernetesInternalServerError) IsCode(code int) bool
- func (o *ListKubernetesInternalServerError) IsRedirect() bool
- func (o *ListKubernetesInternalServerError) IsServerError() bool
- func (o *ListKubernetesInternalServerError) IsSuccess() bool
- func (o *ListKubernetesInternalServerError) String() string
- type ListKubernetesOK
- func (o *ListKubernetesOK) Error() string
- func (o *ListKubernetesOK) GetPayload() *models.KubernetesArray
- func (o *ListKubernetesOK) IsClientError() bool
- func (o *ListKubernetesOK) IsCode(code int) bool
- func (o *ListKubernetesOK) IsRedirect() bool
- func (o *ListKubernetesOK) IsServerError() bool
- func (o *ListKubernetesOK) IsSuccess() bool
- func (o *ListKubernetesOK) String() string
- type ListKubernetesParams
- func NewListKubernetesParams() *ListKubernetesParams
- func NewListKubernetesParamsWithContext(ctx context.Context) *ListKubernetesParams
- func NewListKubernetesParamsWithHTTPClient(client *http.Client) *ListKubernetesParams
- func NewListKubernetesParamsWithTimeout(timeout time.Duration) *ListKubernetesParams
- func (o *ListKubernetesParams) SetContext(ctx context.Context)
- func (o *ListKubernetesParams) SetDefaults()
- func (o *ListKubernetesParams) SetHTTPClient(client *http.Client)
- func (o *ListKubernetesParams) SetProjectSlug(projectSlug string)
- func (o *ListKubernetesParams) SetTag(tag *string)
- func (o *ListKubernetesParams) SetTimeout(timeout time.Duration)
- func (o *ListKubernetesParams) WithContext(ctx context.Context) *ListKubernetesParams
- func (o *ListKubernetesParams) WithDefaults() *ListKubernetesParams
- func (o *ListKubernetesParams) WithHTTPClient(client *http.Client) *ListKubernetesParams
- func (o *ListKubernetesParams) WithProjectSlug(projectSlug string) *ListKubernetesParams
- func (o *ListKubernetesParams) WithTag(tag *string) *ListKubernetesParams
- func (o *ListKubernetesParams) WithTimeout(timeout time.Duration) *ListKubernetesParams
- func (o *ListKubernetesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListKubernetesReader
- type ListProjectsInternalServerError
- func (o *ListProjectsInternalServerError) Error() string
- func (o *ListProjectsInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ListProjectsInternalServerError) IsClientError() bool
- func (o *ListProjectsInternalServerError) IsCode(code int) bool
- func (o *ListProjectsInternalServerError) IsRedirect() bool
- func (o *ListProjectsInternalServerError) IsServerError() bool
- func (o *ListProjectsInternalServerError) IsSuccess() bool
- func (o *ListProjectsInternalServerError) String() string
- type ListProjectsOK
- func (o *ListProjectsOK) Error() string
- func (o *ListProjectsOK) GetPayload() *models.ProjectArray
- func (o *ListProjectsOK) IsClientError() bool
- func (o *ListProjectsOK) IsCode(code int) bool
- func (o *ListProjectsOK) IsRedirect() bool
- func (o *ListProjectsOK) IsServerError() bool
- func (o *ListProjectsOK) IsSuccess() bool
- func (o *ListProjectsOK) String() string
- type ListProjectsParams
- func (o *ListProjectsParams) SetContext(ctx context.Context)
- func (o *ListProjectsParams) SetDefaults()
- func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
- func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
- func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
- func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
- func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProjectsReader
- type ResetOffsetBadRequest
- func (o *ResetOffsetBadRequest) Error() string
- func (o *ResetOffsetBadRequest) GetPayload() *models.ErrorResponse
- func (o *ResetOffsetBadRequest) IsClientError() bool
- func (o *ResetOffsetBadRequest) IsCode(code int) bool
- func (o *ResetOffsetBadRequest) IsRedirect() bool
- func (o *ResetOffsetBadRequest) IsServerError() bool
- func (o *ResetOffsetBadRequest) IsSuccess() bool
- func (o *ResetOffsetBadRequest) String() string
- type ResetOffsetBody
- type ResetOffsetInternalServerError
- func (o *ResetOffsetInternalServerError) Error() string
- func (o *ResetOffsetInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ResetOffsetInternalServerError) IsClientError() bool
- func (o *ResetOffsetInternalServerError) IsCode(code int) bool
- func (o *ResetOffsetInternalServerError) IsRedirect() bool
- func (o *ResetOffsetInternalServerError) IsServerError() bool
- func (o *ResetOffsetInternalServerError) IsSuccess() bool
- func (o *ResetOffsetInternalServerError) String() string
- type ResetOffsetNotFound
- func (o *ResetOffsetNotFound) Error() string
- func (o *ResetOffsetNotFound) GetPayload() *models.ErrorResponse
- func (o *ResetOffsetNotFound) IsClientError() bool
- func (o *ResetOffsetNotFound) IsCode(code int) bool
- func (o *ResetOffsetNotFound) IsRedirect() bool
- func (o *ResetOffsetNotFound) IsServerError() bool
- func (o *ResetOffsetNotFound) IsSuccess() bool
- func (o *ResetOffsetNotFound) String() string
- type ResetOffsetOK
- func (o *ResetOffsetOK) Error() string
- func (o *ResetOffsetOK) GetPayload() *models.Firehose
- func (o *ResetOffsetOK) IsClientError() bool
- func (o *ResetOffsetOK) IsCode(code int) bool
- func (o *ResetOffsetOK) IsRedirect() bool
- func (o *ResetOffsetOK) IsServerError() bool
- func (o *ResetOffsetOK) IsSuccess() bool
- func (o *ResetOffsetOK) String() string
- type ResetOffsetParams
- func (o *ResetOffsetParams) SetBody(body ResetOffsetBody)
- func (o *ResetOffsetParams) SetContext(ctx context.Context)
- func (o *ResetOffsetParams) SetDefaults()
- func (o *ResetOffsetParams) SetFirehoseUrn(firehoseUrn string)
- func (o *ResetOffsetParams) SetHTTPClient(client *http.Client)
- func (o *ResetOffsetParams) SetProjectSlug(projectSlug string)
- func (o *ResetOffsetParams) SetTimeout(timeout time.Duration)
- func (o *ResetOffsetParams) WithBody(body ResetOffsetBody) *ResetOffsetParams
- func (o *ResetOffsetParams) WithContext(ctx context.Context) *ResetOffsetParams
- func (o *ResetOffsetParams) WithDefaults() *ResetOffsetParams
- func (o *ResetOffsetParams) WithFirehoseUrn(firehoseUrn string) *ResetOffsetParams
- func (o *ResetOffsetParams) WithHTTPClient(client *http.Client) *ResetOffsetParams
- func (o *ResetOffsetParams) WithProjectSlug(projectSlug string) *ResetOffsetParams
- func (o *ResetOffsetParams) WithTimeout(timeout time.Duration) *ResetOffsetParams
- func (o *ResetOffsetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResetOffsetReader
- type ScaleFirehoseBadRequest
- func (o *ScaleFirehoseBadRequest) Error() string
- func (o *ScaleFirehoseBadRequest) GetPayload() *models.ErrorResponse
- func (o *ScaleFirehoseBadRequest) IsClientError() bool
- func (o *ScaleFirehoseBadRequest) IsCode(code int) bool
- func (o *ScaleFirehoseBadRequest) IsRedirect() bool
- func (o *ScaleFirehoseBadRequest) IsServerError() bool
- func (o *ScaleFirehoseBadRequest) IsSuccess() bool
- func (o *ScaleFirehoseBadRequest) String() string
- type ScaleFirehoseBody
- type ScaleFirehoseInternalServerError
- func (o *ScaleFirehoseInternalServerError) Error() string
- func (o *ScaleFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ScaleFirehoseInternalServerError) IsClientError() bool
- func (o *ScaleFirehoseInternalServerError) IsCode(code int) bool
- func (o *ScaleFirehoseInternalServerError) IsRedirect() bool
- func (o *ScaleFirehoseInternalServerError) IsServerError() bool
- func (o *ScaleFirehoseInternalServerError) IsSuccess() bool
- func (o *ScaleFirehoseInternalServerError) String() string
- type ScaleFirehoseNotFound
- func (o *ScaleFirehoseNotFound) Error() string
- func (o *ScaleFirehoseNotFound) GetPayload() *models.ErrorResponse
- func (o *ScaleFirehoseNotFound) IsClientError() bool
- func (o *ScaleFirehoseNotFound) IsCode(code int) bool
- func (o *ScaleFirehoseNotFound) IsRedirect() bool
- func (o *ScaleFirehoseNotFound) IsServerError() bool
- func (o *ScaleFirehoseNotFound) IsSuccess() bool
- func (o *ScaleFirehoseNotFound) String() string
- type ScaleFirehoseOK
- func (o *ScaleFirehoseOK) Error() string
- func (o *ScaleFirehoseOK) GetPayload() *models.Firehose
- func (o *ScaleFirehoseOK) IsClientError() bool
- func (o *ScaleFirehoseOK) IsCode(code int) bool
- func (o *ScaleFirehoseOK) IsRedirect() bool
- func (o *ScaleFirehoseOK) IsServerError() bool
- func (o *ScaleFirehoseOK) IsSuccess() bool
- func (o *ScaleFirehoseOK) String() string
- type ScaleFirehoseParams
- func (o *ScaleFirehoseParams) SetBody(body ScaleFirehoseBody)
- func (o *ScaleFirehoseParams) SetContext(ctx context.Context)
- func (o *ScaleFirehoseParams) SetDefaults()
- func (o *ScaleFirehoseParams) SetFirehoseUrn(firehoseUrn string)
- func (o *ScaleFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *ScaleFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *ScaleFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *ScaleFirehoseParams) WithBody(body ScaleFirehoseBody) *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WithContext(ctx context.Context) *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WithDefaults() *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WithFirehoseUrn(firehoseUrn string) *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WithHTTPClient(client *http.Client) *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WithProjectSlug(projectSlug string) *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WithTimeout(timeout time.Duration) *ScaleFirehoseParams
- func (o *ScaleFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ScaleFirehoseReader
- type StartFirehoseBadRequest
- func (o *StartFirehoseBadRequest) Error() string
- func (o *StartFirehoseBadRequest) GetPayload() *models.ErrorResponse
- func (o *StartFirehoseBadRequest) IsClientError() bool
- func (o *StartFirehoseBadRequest) IsCode(code int) bool
- func (o *StartFirehoseBadRequest) IsRedirect() bool
- func (o *StartFirehoseBadRequest) IsServerError() bool
- func (o *StartFirehoseBadRequest) IsSuccess() bool
- func (o *StartFirehoseBadRequest) String() string
- type StartFirehoseInternalServerError
- func (o *StartFirehoseInternalServerError) Error() string
- func (o *StartFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *StartFirehoseInternalServerError) IsClientError() bool
- func (o *StartFirehoseInternalServerError) IsCode(code int) bool
- func (o *StartFirehoseInternalServerError) IsRedirect() bool
- func (o *StartFirehoseInternalServerError) IsServerError() bool
- func (o *StartFirehoseInternalServerError) IsSuccess() bool
- func (o *StartFirehoseInternalServerError) String() string
- type StartFirehoseNotFound
- func (o *StartFirehoseNotFound) Error() string
- func (o *StartFirehoseNotFound) GetPayload() *models.ErrorResponse
- func (o *StartFirehoseNotFound) IsClientError() bool
- func (o *StartFirehoseNotFound) IsCode(code int) bool
- func (o *StartFirehoseNotFound) IsRedirect() bool
- func (o *StartFirehoseNotFound) IsServerError() bool
- func (o *StartFirehoseNotFound) IsSuccess() bool
- func (o *StartFirehoseNotFound) String() string
- type StartFirehoseOK
- func (o *StartFirehoseOK) Error() string
- func (o *StartFirehoseOK) GetPayload() *models.Firehose
- func (o *StartFirehoseOK) IsClientError() bool
- func (o *StartFirehoseOK) IsCode(code int) bool
- func (o *StartFirehoseOK) IsRedirect() bool
- func (o *StartFirehoseOK) IsServerError() bool
- func (o *StartFirehoseOK) IsSuccess() bool
- func (o *StartFirehoseOK) String() string
- type StartFirehoseParams
- func (o *StartFirehoseParams) SetBody(body interface{})
- func (o *StartFirehoseParams) SetContext(ctx context.Context)
- func (o *StartFirehoseParams) SetDefaults()
- func (o *StartFirehoseParams) SetFirehoseUrn(firehoseUrn string)
- func (o *StartFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *StartFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *StartFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *StartFirehoseParams) WithBody(body interface{}) *StartFirehoseParams
- func (o *StartFirehoseParams) WithContext(ctx context.Context) *StartFirehoseParams
- func (o *StartFirehoseParams) WithDefaults() *StartFirehoseParams
- func (o *StartFirehoseParams) WithFirehoseUrn(firehoseUrn string) *StartFirehoseParams
- func (o *StartFirehoseParams) WithHTTPClient(client *http.Client) *StartFirehoseParams
- func (o *StartFirehoseParams) WithProjectSlug(projectSlug string) *StartFirehoseParams
- func (o *StartFirehoseParams) WithTimeout(timeout time.Duration) *StartFirehoseParams
- func (o *StartFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartFirehoseReader
- type StopFirehoseBadRequest
- func (o *StopFirehoseBadRequest) Error() string
- func (o *StopFirehoseBadRequest) GetPayload() *models.ErrorResponse
- func (o *StopFirehoseBadRequest) IsClientError() bool
- func (o *StopFirehoseBadRequest) IsCode(code int) bool
- func (o *StopFirehoseBadRequest) IsRedirect() bool
- func (o *StopFirehoseBadRequest) IsServerError() bool
- func (o *StopFirehoseBadRequest) IsSuccess() bool
- func (o *StopFirehoseBadRequest) String() string
- type StopFirehoseInternalServerError
- func (o *StopFirehoseInternalServerError) Error() string
- func (o *StopFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *StopFirehoseInternalServerError) IsClientError() bool
- func (o *StopFirehoseInternalServerError) IsCode(code int) bool
- func (o *StopFirehoseInternalServerError) IsRedirect() bool
- func (o *StopFirehoseInternalServerError) IsServerError() bool
- func (o *StopFirehoseInternalServerError) IsSuccess() bool
- func (o *StopFirehoseInternalServerError) String() string
- type StopFirehoseNotFound
- func (o *StopFirehoseNotFound) Error() string
- func (o *StopFirehoseNotFound) GetPayload() *models.ErrorResponse
- func (o *StopFirehoseNotFound) IsClientError() bool
- func (o *StopFirehoseNotFound) IsCode(code int) bool
- func (o *StopFirehoseNotFound) IsRedirect() bool
- func (o *StopFirehoseNotFound) IsServerError() bool
- func (o *StopFirehoseNotFound) IsSuccess() bool
- func (o *StopFirehoseNotFound) String() string
- type StopFirehoseOK
- func (o *StopFirehoseOK) Error() string
- func (o *StopFirehoseOK) GetPayload() *models.Firehose
- func (o *StopFirehoseOK) IsClientError() bool
- func (o *StopFirehoseOK) IsCode(code int) bool
- func (o *StopFirehoseOK) IsRedirect() bool
- func (o *StopFirehoseOK) IsServerError() bool
- func (o *StopFirehoseOK) IsSuccess() bool
- func (o *StopFirehoseOK) String() string
- type StopFirehoseParams
- func (o *StopFirehoseParams) SetBody(body interface{})
- func (o *StopFirehoseParams) SetContext(ctx context.Context)
- func (o *StopFirehoseParams) SetDefaults()
- func (o *StopFirehoseParams) SetFirehoseUrn(firehoseUrn string)
- func (o *StopFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *StopFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *StopFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *StopFirehoseParams) WithBody(body interface{}) *StopFirehoseParams
- func (o *StopFirehoseParams) WithContext(ctx context.Context) *StopFirehoseParams
- func (o *StopFirehoseParams) WithDefaults() *StopFirehoseParams
- func (o *StopFirehoseParams) WithFirehoseUrn(firehoseUrn string) *StopFirehoseParams
- func (o *StopFirehoseParams) WithHTTPClient(client *http.Client) *StopFirehoseParams
- func (o *StopFirehoseParams) WithProjectSlug(projectSlug string) *StopFirehoseParams
- func (o *StopFirehoseParams) WithTimeout(timeout time.Duration) *StopFirehoseParams
- func (o *StopFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StopFirehoseReader
- type UpdateFirehoseBadRequest
- func (o *UpdateFirehoseBadRequest) Error() string
- func (o *UpdateFirehoseBadRequest) GetPayload() *models.ErrorResponse
- func (o *UpdateFirehoseBadRequest) IsClientError() bool
- func (o *UpdateFirehoseBadRequest) IsCode(code int) bool
- func (o *UpdateFirehoseBadRequest) IsRedirect() bool
- func (o *UpdateFirehoseBadRequest) IsServerError() bool
- func (o *UpdateFirehoseBadRequest) IsSuccess() bool
- func (o *UpdateFirehoseBadRequest) String() string
- type UpdateFirehoseBody
- type UpdateFirehoseInternalServerError
- func (o *UpdateFirehoseInternalServerError) Error() string
- func (o *UpdateFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *UpdateFirehoseInternalServerError) IsClientError() bool
- func (o *UpdateFirehoseInternalServerError) IsCode(code int) bool
- func (o *UpdateFirehoseInternalServerError) IsRedirect() bool
- func (o *UpdateFirehoseInternalServerError) IsServerError() bool
- func (o *UpdateFirehoseInternalServerError) IsSuccess() bool
- func (o *UpdateFirehoseInternalServerError) String() string
- type UpdateFirehoseNotFound
- func (o *UpdateFirehoseNotFound) Error() string
- func (o *UpdateFirehoseNotFound) GetPayload() *models.ErrorResponse
- func (o *UpdateFirehoseNotFound) IsClientError() bool
- func (o *UpdateFirehoseNotFound) IsCode(code int) bool
- func (o *UpdateFirehoseNotFound) IsRedirect() bool
- func (o *UpdateFirehoseNotFound) IsServerError() bool
- func (o *UpdateFirehoseNotFound) IsSuccess() bool
- func (o *UpdateFirehoseNotFound) String() string
- type UpdateFirehoseOK
- func (o *UpdateFirehoseOK) Error() string
- func (o *UpdateFirehoseOK) GetPayload() *models.Firehose
- func (o *UpdateFirehoseOK) IsClientError() bool
- func (o *UpdateFirehoseOK) IsCode(code int) bool
- func (o *UpdateFirehoseOK) IsRedirect() bool
- func (o *UpdateFirehoseOK) IsServerError() bool
- func (o *UpdateFirehoseOK) IsSuccess() bool
- func (o *UpdateFirehoseOK) String() string
- type UpdateFirehoseParams
- func NewUpdateFirehoseParams() *UpdateFirehoseParams
- func NewUpdateFirehoseParamsWithContext(ctx context.Context) *UpdateFirehoseParams
- func NewUpdateFirehoseParamsWithHTTPClient(client *http.Client) *UpdateFirehoseParams
- func NewUpdateFirehoseParamsWithTimeout(timeout time.Duration) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) SetBody(body UpdateFirehoseBody)
- func (o *UpdateFirehoseParams) SetContext(ctx context.Context)
- func (o *UpdateFirehoseParams) SetDefaults()
- func (o *UpdateFirehoseParams) SetFirehoseUrn(firehoseUrn string)
- func (o *UpdateFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *UpdateFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFirehoseParams) WithBody(body UpdateFirehoseBody) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WithContext(ctx context.Context) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WithDefaults() *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WithFirehoseUrn(firehoseUrn string) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WithHTTPClient(client *http.Client) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WithProjectSlug(projectSlug string) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WithTimeout(timeout time.Duration) *UpdateFirehoseParams
- func (o *UpdateFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFirehoseReader
- type UpgradeFirehoseInternalServerError
- func (o *UpgradeFirehoseInternalServerError) Error() string
- func (o *UpgradeFirehoseInternalServerError) GetPayload() *models.ErrorResponse
- func (o *UpgradeFirehoseInternalServerError) IsClientError() bool
- func (o *UpgradeFirehoseInternalServerError) IsCode(code int) bool
- func (o *UpgradeFirehoseInternalServerError) IsRedirect() bool
- func (o *UpgradeFirehoseInternalServerError) IsServerError() bool
- func (o *UpgradeFirehoseInternalServerError) IsSuccess() bool
- func (o *UpgradeFirehoseInternalServerError) String() string
- type UpgradeFirehoseNotFound
- func (o *UpgradeFirehoseNotFound) Error() string
- func (o *UpgradeFirehoseNotFound) GetPayload() *models.ErrorResponse
- func (o *UpgradeFirehoseNotFound) IsClientError() bool
- func (o *UpgradeFirehoseNotFound) IsCode(code int) bool
- func (o *UpgradeFirehoseNotFound) IsRedirect() bool
- func (o *UpgradeFirehoseNotFound) IsServerError() bool
- func (o *UpgradeFirehoseNotFound) IsSuccess() bool
- func (o *UpgradeFirehoseNotFound) String() string
- type UpgradeFirehoseOK
- func (o *UpgradeFirehoseOK) Error() string
- func (o *UpgradeFirehoseOK) GetPayload() *models.Firehose
- func (o *UpgradeFirehoseOK) IsClientError() bool
- func (o *UpgradeFirehoseOK) IsCode(code int) bool
- func (o *UpgradeFirehoseOK) IsRedirect() bool
- func (o *UpgradeFirehoseOK) IsServerError() bool
- func (o *UpgradeFirehoseOK) IsSuccess() bool
- func (o *UpgradeFirehoseOK) String() string
- type UpgradeFirehoseParams
- func NewUpgradeFirehoseParams() *UpgradeFirehoseParams
- func NewUpgradeFirehoseParamsWithContext(ctx context.Context) *UpgradeFirehoseParams
- func NewUpgradeFirehoseParamsWithHTTPClient(client *http.Client) *UpgradeFirehoseParams
- func NewUpgradeFirehoseParamsWithTimeout(timeout time.Duration) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) SetBody(body interface{})
- func (o *UpgradeFirehoseParams) SetContext(ctx context.Context)
- func (o *UpgradeFirehoseParams) SetDefaults()
- func (o *UpgradeFirehoseParams) SetFirehoseUrn(firehoseUrn string)
- func (o *UpgradeFirehoseParams) SetHTTPClient(client *http.Client)
- func (o *UpgradeFirehoseParams) SetProjectSlug(projectSlug string)
- func (o *UpgradeFirehoseParams) SetTimeout(timeout time.Duration)
- func (o *UpgradeFirehoseParams) WithBody(body interface{}) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WithContext(ctx context.Context) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WithDefaults() *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WithFirehoseUrn(firehoseUrn string) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WithHTTPClient(client *http.Client) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WithProjectSlug(projectSlug string) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WithTimeout(timeout time.Duration) *UpgradeFirehoseParams
- func (o *UpgradeFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpgradeFirehoseReader
- type UpsertFirehoseAlertPolicyInternalServerError
- func (o *UpsertFirehoseAlertPolicyInternalServerError) Error() string
- func (o *UpsertFirehoseAlertPolicyInternalServerError) GetPayload() *models.ErrorResponse
- func (o *UpsertFirehoseAlertPolicyInternalServerError) IsClientError() bool
- func (o *UpsertFirehoseAlertPolicyInternalServerError) IsCode(code int) bool
- func (o *UpsertFirehoseAlertPolicyInternalServerError) IsRedirect() bool
- func (o *UpsertFirehoseAlertPolicyInternalServerError) IsServerError() bool
- func (o *UpsertFirehoseAlertPolicyInternalServerError) IsSuccess() bool
- func (o *UpsertFirehoseAlertPolicyInternalServerError) String() string
- type UpsertFirehoseAlertPolicyNotFound
- func (o *UpsertFirehoseAlertPolicyNotFound) Error() string
- func (o *UpsertFirehoseAlertPolicyNotFound) GetPayload() *models.ErrorResponse
- func (o *UpsertFirehoseAlertPolicyNotFound) IsClientError() bool
- func (o *UpsertFirehoseAlertPolicyNotFound) IsCode(code int) bool
- func (o *UpsertFirehoseAlertPolicyNotFound) IsRedirect() bool
- func (o *UpsertFirehoseAlertPolicyNotFound) IsServerError() bool
- func (o *UpsertFirehoseAlertPolicyNotFound) IsSuccess() bool
- func (o *UpsertFirehoseAlertPolicyNotFound) String() string
- type UpsertFirehoseAlertPolicyOK
- func (o *UpsertFirehoseAlertPolicyOK) Error() string
- func (o *UpsertFirehoseAlertPolicyOK) GetPayload() *models.AlertPolicy
- func (o *UpsertFirehoseAlertPolicyOK) IsClientError() bool
- func (o *UpsertFirehoseAlertPolicyOK) IsCode(code int) bool
- func (o *UpsertFirehoseAlertPolicyOK) IsRedirect() bool
- func (o *UpsertFirehoseAlertPolicyOK) IsServerError() bool
- func (o *UpsertFirehoseAlertPolicyOK) IsSuccess() bool
- func (o *UpsertFirehoseAlertPolicyOK) String() string
- type UpsertFirehoseAlertPolicyParams
- func NewUpsertFirehoseAlertPolicyParams() *UpsertFirehoseAlertPolicyParams
- func NewUpsertFirehoseAlertPolicyParamsWithContext(ctx context.Context) *UpsertFirehoseAlertPolicyParams
- func NewUpsertFirehoseAlertPolicyParamsWithHTTPClient(client *http.Client) *UpsertFirehoseAlertPolicyParams
- func NewUpsertFirehoseAlertPolicyParamsWithTimeout(timeout time.Duration) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) SetBody(body *models.AlertPolicy)
- func (o *UpsertFirehoseAlertPolicyParams) SetContext(ctx context.Context)
- func (o *UpsertFirehoseAlertPolicyParams) SetDefaults()
- func (o *UpsertFirehoseAlertPolicyParams) SetFirehoseUrn(firehoseUrn string)
- func (o *UpsertFirehoseAlertPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpsertFirehoseAlertPolicyParams) SetProjectSlug(projectSlug string)
- func (o *UpsertFirehoseAlertPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpsertFirehoseAlertPolicyParams) WithBody(body *models.AlertPolicy) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WithContext(ctx context.Context) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WithDefaults() *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WithFirehoseUrn(firehoseUrn string) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WithHTTPClient(client *http.Client) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WithProjectSlug(projectSlug string) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WithTimeout(timeout time.Duration) *UpsertFirehoseAlertPolicyParams
- func (o *UpsertFirehoseAlertPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpsertFirehoseAlertPolicyReader
Constants ¶
const ( // ResetOffsetBodyToDATETIME captures enum value "DATETIME" ResetOffsetBodyToDATETIME string = "DATETIME" // ResetOffsetBodyToEARLIEST captures enum value "EARLIEST" ResetOffsetBodyToEARLIEST string = "EARLIEST" // ResetOffsetBodyToLATEST captures enum value "LATEST" ResetOffsetBodyToLATEST string = "LATEST" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for operations API
func (*Client) CreateFirehose ¶
func (a *Client) CreateFirehose(params *CreateFirehoseParams, opts ...ClientOption) (*CreateFirehoseCreated, error)
CreateFirehose creates a new firehose
Create and deploy a new firehose as per the configurations in the body.
func (*Client) GetFirehose ¶
func (a *Client) GetFirehose(params *GetFirehoseParams, opts ...ClientOption) (*GetFirehoseOK, error)
GetFirehose gets firehose by u r n
Get firehose by URN.
func (*Client) GetFirehoseAlertPolicy ¶
func (a *Client) GetFirehoseAlertPolicy(params *GetFirehoseAlertPolicyParams, opts ...ClientOption) (*GetFirehoseAlertPolicyOK, error)
GetFirehoseAlertPolicy alerts policy for a firehose
Alert policy for a Firehose.
func (*Client) GetFirehoseAlerts ¶
func (a *Client) GetFirehoseAlerts(params *GetFirehoseAlertsParams, opts ...ClientOption) (*GetFirehoseAlertsOK, error)
GetFirehoseAlerts triggereds alerts for a firehose
Triggered alerts for a Firehose.
func (*Client) GetFirehoseHistory ¶ added in v0.2.0
func (a *Client) GetFirehoseHistory(params *GetFirehoseHistoryParams, opts ...ClientOption) (*GetFirehoseHistoryOK, error)
GetFirehoseHistory histories for a firehose
History for a Firehose.
func (*Client) GetFirehoseLogs ¶
func (a *Client) GetFirehoseLogs(params *GetFirehoseLogsParams, writer io.Writer, opts ...ClientOption) (*GetFirehoseLogsOK, error)
GetFirehoseLogs streams logs for a firehose
Stream logs for a Firehose.
func (*Client) GetProjectBySlug ¶
func (a *Client) GetProjectBySlug(params *GetProjectBySlugParams, opts ...ClientOption) (*GetProjectBySlugOK, error)
GetProjectBySlug gets project by slug
Get project by its unique slug name.
func (*Client) ListAlertTemplates ¶
func (a *Client) ListAlertTemplates(params *ListAlertTemplatesParams, opts ...ClientOption) (*ListAlertTemplatesOK, error)
ListAlertTemplates gets list of alert templates for firehose
Get list of alert templates for firehose.
func (*Client) ListFirehoses ¶
func (a *Client) ListFirehoses(params *ListFirehosesParams, opts ...ClientOption) (*ListFirehosesOK, error)
ListFirehoses gets list of firehoses
Get list of firehoses in this project.
func (*Client) ListKubernetes ¶ added in v0.2.1
func (a *Client) ListKubernetes(params *ListKubernetesParams, opts ...ClientOption) (*ListKubernetesOK, error)
ListKubernetes gets list of kubernetes
Get list of kubernetes in this project.
func (*Client) ListProjects ¶
func (a *Client) ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error)
ListProjects gets list of projects
Get list of projects.
func (*Client) ResetOffset ¶
func (a *Client) ResetOffset(params *ResetOffsetParams, opts ...ClientOption) (*ResetOffsetOK, error)
ResetOffset resets firehose consumption offset
Reset firehose consumption offset.
func (*Client) ScaleFirehose ¶
func (a *Client) ScaleFirehose(params *ScaleFirehoseParams, opts ...ClientOption) (*ScaleFirehoseOK, error)
ScaleFirehose scales the number of instances of firehose
Scale the number of instances of firehose.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartFirehose ¶
func (a *Client) StartFirehose(params *StartFirehoseParams, opts ...ClientOption) (*StartFirehoseOK, error)
StartFirehose starts the firehose if it is currently stopped
Start the Firehose if it is currently stopped.
func (*Client) StopFirehose ¶
func (a *Client) StopFirehose(params *StopFirehoseParams, opts ...ClientOption) (*StopFirehoseOK, error)
StopFirehose stops the firehose if it is currently running
Stop the Firehose if it is currently running.
func (*Client) UpdateFirehose ¶
func (a *Client) UpdateFirehose(params *UpdateFirehoseParams, opts ...ClientOption) (*UpdateFirehoseOK, error)
UpdateFirehose updates firehose configurations
Update firehose configurations.
func (*Client) UpgradeFirehose ¶
func (a *Client) UpgradeFirehose(params *UpgradeFirehoseParams, opts ...ClientOption) (*UpgradeFirehoseOK, error)
UpgradeFirehose upgrades the firehose to the latest version supported
Upgrade the firehose to the latest version supported.
func (*Client) UpsertFirehoseAlertPolicy ¶
func (a *Client) UpsertFirehoseAlertPolicy(params *UpsertFirehoseAlertPolicyParams, opts ...ClientOption) (*UpsertFirehoseAlertPolicyOK, error)
UpsertFirehoseAlertPolicy upserts alert policy for a firehose
Upsert alert policy for a Firehose.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateFirehose(params *CreateFirehoseParams, opts ...ClientOption) (*CreateFirehoseCreated, error) GetFirehose(params *GetFirehoseParams, opts ...ClientOption) (*GetFirehoseOK, error) GetFirehoseAlertPolicy(params *GetFirehoseAlertPolicyParams, opts ...ClientOption) (*GetFirehoseAlertPolicyOK, error) GetFirehoseAlerts(params *GetFirehoseAlertsParams, opts ...ClientOption) (*GetFirehoseAlertsOK, error) GetFirehoseHistory(params *GetFirehoseHistoryParams, opts ...ClientOption) (*GetFirehoseHistoryOK, error) GetFirehoseLogs(params *GetFirehoseLogsParams, writer io.Writer, opts ...ClientOption) (*GetFirehoseLogsOK, error) GetProjectBySlug(params *GetProjectBySlugParams, opts ...ClientOption) (*GetProjectBySlugOK, error) ListAlertTemplates(params *ListAlertTemplatesParams, opts ...ClientOption) (*ListAlertTemplatesOK, error) ListFirehoses(params *ListFirehosesParams, opts ...ClientOption) (*ListFirehosesOK, error) ListKubernetes(params *ListKubernetesParams, opts ...ClientOption) (*ListKubernetesOK, error) ListProjects(params *ListProjectsParams, opts ...ClientOption) (*ListProjectsOK, error) ResetOffset(params *ResetOffsetParams, opts ...ClientOption) (*ResetOffsetOK, error) ScaleFirehose(params *ScaleFirehoseParams, opts ...ClientOption) (*ScaleFirehoseOK, error) StartFirehose(params *StartFirehoseParams, opts ...ClientOption) (*StartFirehoseOK, error) StopFirehose(params *StopFirehoseParams, opts ...ClientOption) (*StopFirehoseOK, error) UpdateFirehose(params *UpdateFirehoseParams, opts ...ClientOption) (*UpdateFirehoseOK, error) UpgradeFirehose(params *UpgradeFirehoseParams, opts ...ClientOption) (*UpgradeFirehoseOK, error) UpsertFirehoseAlertPolicy(params *UpsertFirehoseAlertPolicyParams, opts ...ClientOption) (*UpsertFirehoseAlertPolicyOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new operations API client.
type CreateFirehoseBadRequest ¶ added in v0.2.1
type CreateFirehoseBadRequest struct {
Payload *models.ErrorResponse
}
CreateFirehoseBadRequest describes a response with status code 400, with default header values.
Request was invalid.
func NewCreateFirehoseBadRequest ¶ added in v0.2.1
func NewCreateFirehoseBadRequest() *CreateFirehoseBadRequest
NewCreateFirehoseBadRequest creates a CreateFirehoseBadRequest with default headers values
func (*CreateFirehoseBadRequest) Error ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) Error() string
func (*CreateFirehoseBadRequest) GetPayload ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) GetPayload() *models.ErrorResponse
func (*CreateFirehoseBadRequest) IsClientError ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) IsClientError() bool
IsClientError returns true when this create firehose bad request response has a 4xx status code
func (*CreateFirehoseBadRequest) IsCode ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) IsCode(code int) bool
IsCode returns true when this create firehose bad request response a status code equal to that given
func (*CreateFirehoseBadRequest) IsRedirect ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) IsRedirect() bool
IsRedirect returns true when this create firehose bad request response has a 3xx status code
func (*CreateFirehoseBadRequest) IsServerError ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) IsServerError() bool
IsServerError returns true when this create firehose bad request response has a 5xx status code
func (*CreateFirehoseBadRequest) IsSuccess ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) IsSuccess() bool
IsSuccess returns true when this create firehose bad request response has a 2xx status code
func (*CreateFirehoseBadRequest) String ¶ added in v0.2.1
func (o *CreateFirehoseBadRequest) String() string
type CreateFirehoseConflict ¶
type CreateFirehoseConflict struct {
Payload *models.ErrorResponse
}
CreateFirehoseConflict describes a response with status code 409, with default header values.
A firehose with same unique identifier already exists.
func NewCreateFirehoseConflict ¶
func NewCreateFirehoseConflict() *CreateFirehoseConflict
NewCreateFirehoseConflict creates a CreateFirehoseConflict with default headers values
func (*CreateFirehoseConflict) Error ¶
func (o *CreateFirehoseConflict) Error() string
func (*CreateFirehoseConflict) GetPayload ¶
func (o *CreateFirehoseConflict) GetPayload() *models.ErrorResponse
func (*CreateFirehoseConflict) IsClientError ¶
func (o *CreateFirehoseConflict) IsClientError() bool
IsClientError returns true when this create firehose conflict response has a 4xx status code
func (*CreateFirehoseConflict) IsCode ¶
func (o *CreateFirehoseConflict) IsCode(code int) bool
IsCode returns true when this create firehose conflict response a status code equal to that given
func (*CreateFirehoseConflict) IsRedirect ¶
func (o *CreateFirehoseConflict) IsRedirect() bool
IsRedirect returns true when this create firehose conflict response has a 3xx status code
func (*CreateFirehoseConflict) IsServerError ¶
func (o *CreateFirehoseConflict) IsServerError() bool
IsServerError returns true when this create firehose conflict response has a 5xx status code
func (*CreateFirehoseConflict) IsSuccess ¶
func (o *CreateFirehoseConflict) IsSuccess() bool
IsSuccess returns true when this create firehose conflict response has a 2xx status code
func (*CreateFirehoseConflict) String ¶
func (o *CreateFirehoseConflict) String() string
type CreateFirehoseCreated ¶
CreateFirehoseCreated describes a response with status code 201, with default header values.
Successfully created
func NewCreateFirehoseCreated ¶
func NewCreateFirehoseCreated() *CreateFirehoseCreated
NewCreateFirehoseCreated creates a CreateFirehoseCreated with default headers values
func (*CreateFirehoseCreated) Error ¶
func (o *CreateFirehoseCreated) Error() string
func (*CreateFirehoseCreated) GetPayload ¶
func (o *CreateFirehoseCreated) GetPayload() *models.Firehose
func (*CreateFirehoseCreated) IsClientError ¶
func (o *CreateFirehoseCreated) IsClientError() bool
IsClientError returns true when this create firehose created response has a 4xx status code
func (*CreateFirehoseCreated) IsCode ¶
func (o *CreateFirehoseCreated) IsCode(code int) bool
IsCode returns true when this create firehose created response a status code equal to that given
func (*CreateFirehoseCreated) IsRedirect ¶
func (o *CreateFirehoseCreated) IsRedirect() bool
IsRedirect returns true when this create firehose created response has a 3xx status code
func (*CreateFirehoseCreated) IsServerError ¶
func (o *CreateFirehoseCreated) IsServerError() bool
IsServerError returns true when this create firehose created response has a 5xx status code
func (*CreateFirehoseCreated) IsSuccess ¶
func (o *CreateFirehoseCreated) IsSuccess() bool
IsSuccess returns true when this create firehose created response has a 2xx status code
func (*CreateFirehoseCreated) String ¶
func (o *CreateFirehoseCreated) String() string
type CreateFirehoseInternalServerError ¶
type CreateFirehoseInternalServerError struct {
Payload *models.ErrorResponse
}
CreateFirehoseInternalServerError describes a response with status code 500, with default header values.
internal error
func NewCreateFirehoseInternalServerError ¶
func NewCreateFirehoseInternalServerError() *CreateFirehoseInternalServerError
NewCreateFirehoseInternalServerError creates a CreateFirehoseInternalServerError with default headers values
func (*CreateFirehoseInternalServerError) Error ¶
func (o *CreateFirehoseInternalServerError) Error() string
func (*CreateFirehoseInternalServerError) GetPayload ¶
func (o *CreateFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*CreateFirehoseInternalServerError) IsClientError ¶
func (o *CreateFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this create firehose internal server error response has a 4xx status code
func (*CreateFirehoseInternalServerError) IsCode ¶
func (o *CreateFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this create firehose internal server error response a status code equal to that given
func (*CreateFirehoseInternalServerError) IsRedirect ¶
func (o *CreateFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this create firehose internal server error response has a 3xx status code
func (*CreateFirehoseInternalServerError) IsServerError ¶
func (o *CreateFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this create firehose internal server error response has a 5xx status code
func (*CreateFirehoseInternalServerError) IsSuccess ¶
func (o *CreateFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this create firehose internal server error response has a 2xx status code
func (*CreateFirehoseInternalServerError) String ¶
func (o *CreateFirehoseInternalServerError) String() string
type CreateFirehoseParams ¶
type CreateFirehoseParams struct { // Body. Body *models.Firehose /* ProjectSlug. Unique identifier of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFirehoseParams contains all the parameters to send to the API endpoint
for the create firehose operation. Typically these are written to a http.Request.
func NewCreateFirehoseParams ¶
func NewCreateFirehoseParams() *CreateFirehoseParams
NewCreateFirehoseParams creates a new CreateFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateFirehoseParamsWithContext ¶
func NewCreateFirehoseParamsWithContext(ctx context.Context) *CreateFirehoseParams
NewCreateFirehoseParamsWithContext creates a new CreateFirehoseParams object with the ability to set a context for a request.
func NewCreateFirehoseParamsWithHTTPClient ¶
func NewCreateFirehoseParamsWithHTTPClient(client *http.Client) *CreateFirehoseParams
NewCreateFirehoseParamsWithHTTPClient creates a new CreateFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFirehoseParamsWithTimeout ¶
func NewCreateFirehoseParamsWithTimeout(timeout time.Duration) *CreateFirehoseParams
NewCreateFirehoseParamsWithTimeout creates a new CreateFirehoseParams object with the ability to set a timeout on a request.
func (*CreateFirehoseParams) SetBody ¶
func (o *CreateFirehoseParams) SetBody(body *models.Firehose)
SetBody adds the body to the create firehose params
func (*CreateFirehoseParams) SetContext ¶
func (o *CreateFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the create firehose params
func (*CreateFirehoseParams) SetDefaults ¶
func (o *CreateFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the create firehose params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFirehoseParams) SetHTTPClient ¶
func (o *CreateFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create firehose params
func (*CreateFirehoseParams) SetProjectSlug ¶
func (o *CreateFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the create firehose params
func (*CreateFirehoseParams) SetTimeout ¶
func (o *CreateFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create firehose params
func (*CreateFirehoseParams) WithBody ¶
func (o *CreateFirehoseParams) WithBody(body *models.Firehose) *CreateFirehoseParams
WithBody adds the body to the create firehose params
func (*CreateFirehoseParams) WithContext ¶
func (o *CreateFirehoseParams) WithContext(ctx context.Context) *CreateFirehoseParams
WithContext adds the context to the create firehose params
func (*CreateFirehoseParams) WithDefaults ¶
func (o *CreateFirehoseParams) WithDefaults() *CreateFirehoseParams
WithDefaults hydrates default values in the create firehose params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFirehoseParams) WithHTTPClient ¶
func (o *CreateFirehoseParams) WithHTTPClient(client *http.Client) *CreateFirehoseParams
WithHTTPClient adds the HTTPClient to the create firehose params
func (*CreateFirehoseParams) WithProjectSlug ¶
func (o *CreateFirehoseParams) WithProjectSlug(projectSlug string) *CreateFirehoseParams
WithProjectSlug adds the projectSlug to the create firehose params
func (*CreateFirehoseParams) WithTimeout ¶
func (o *CreateFirehoseParams) WithTimeout(timeout time.Duration) *CreateFirehoseParams
WithTimeout adds the timeout to the create firehose params
func (*CreateFirehoseParams) WriteToRequest ¶
func (o *CreateFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFirehoseReader ¶
type CreateFirehoseReader struct {
// contains filtered or unexported fields
}
CreateFirehoseReader is a Reader for the CreateFirehose structure.
func (*CreateFirehoseReader) ReadResponse ¶
func (o *CreateFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFirehoseAlertPolicyInternalServerError ¶
type GetFirehoseAlertPolicyInternalServerError struct {
Payload *models.ErrorResponse
}
GetFirehoseAlertPolicyInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetFirehoseAlertPolicyInternalServerError ¶
func NewGetFirehoseAlertPolicyInternalServerError() *GetFirehoseAlertPolicyInternalServerError
NewGetFirehoseAlertPolicyInternalServerError creates a GetFirehoseAlertPolicyInternalServerError with default headers values
func (*GetFirehoseAlertPolicyInternalServerError) Error ¶
func (o *GetFirehoseAlertPolicyInternalServerError) Error() string
func (*GetFirehoseAlertPolicyInternalServerError) GetPayload ¶
func (o *GetFirehoseAlertPolicyInternalServerError) GetPayload() *models.ErrorResponse
func (*GetFirehoseAlertPolicyInternalServerError) IsClientError ¶
func (o *GetFirehoseAlertPolicyInternalServerError) IsClientError() bool
IsClientError returns true when this get firehose alert policy internal server error response has a 4xx status code
func (*GetFirehoseAlertPolicyInternalServerError) IsCode ¶
func (o *GetFirehoseAlertPolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this get firehose alert policy internal server error response a status code equal to that given
func (*GetFirehoseAlertPolicyInternalServerError) IsRedirect ¶
func (o *GetFirehoseAlertPolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this get firehose alert policy internal server error response has a 3xx status code
func (*GetFirehoseAlertPolicyInternalServerError) IsServerError ¶
func (o *GetFirehoseAlertPolicyInternalServerError) IsServerError() bool
IsServerError returns true when this get firehose alert policy internal server error response has a 5xx status code
func (*GetFirehoseAlertPolicyInternalServerError) IsSuccess ¶
func (o *GetFirehoseAlertPolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this get firehose alert policy internal server error response has a 2xx status code
func (*GetFirehoseAlertPolicyInternalServerError) String ¶
func (o *GetFirehoseAlertPolicyInternalServerError) String() string
type GetFirehoseAlertPolicyNotFound ¶
type GetFirehoseAlertPolicyNotFound struct {
Payload *models.ErrorResponse
}
GetFirehoseAlertPolicyNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewGetFirehoseAlertPolicyNotFound ¶
func NewGetFirehoseAlertPolicyNotFound() *GetFirehoseAlertPolicyNotFound
NewGetFirehoseAlertPolicyNotFound creates a GetFirehoseAlertPolicyNotFound with default headers values
func (*GetFirehoseAlertPolicyNotFound) Error ¶
func (o *GetFirehoseAlertPolicyNotFound) Error() string
func (*GetFirehoseAlertPolicyNotFound) GetPayload ¶
func (o *GetFirehoseAlertPolicyNotFound) GetPayload() *models.ErrorResponse
func (*GetFirehoseAlertPolicyNotFound) IsClientError ¶
func (o *GetFirehoseAlertPolicyNotFound) IsClientError() bool
IsClientError returns true when this get firehose alert policy not found response has a 4xx status code
func (*GetFirehoseAlertPolicyNotFound) IsCode ¶
func (o *GetFirehoseAlertPolicyNotFound) IsCode(code int) bool
IsCode returns true when this get firehose alert policy not found response a status code equal to that given
func (*GetFirehoseAlertPolicyNotFound) IsRedirect ¶
func (o *GetFirehoseAlertPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this get firehose alert policy not found response has a 3xx status code
func (*GetFirehoseAlertPolicyNotFound) IsServerError ¶
func (o *GetFirehoseAlertPolicyNotFound) IsServerError() bool
IsServerError returns true when this get firehose alert policy not found response has a 5xx status code
func (*GetFirehoseAlertPolicyNotFound) IsSuccess ¶
func (o *GetFirehoseAlertPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this get firehose alert policy not found response has a 2xx status code
func (*GetFirehoseAlertPolicyNotFound) String ¶
func (o *GetFirehoseAlertPolicyNotFound) String() string
type GetFirehoseAlertPolicyOK ¶
type GetFirehoseAlertPolicyOK struct {
Payload *models.AlertPolicy
}
GetFirehoseAlertPolicyOK describes a response with status code 200, with default header values.
Found alert policy for given firehose URN.
func NewGetFirehoseAlertPolicyOK ¶
func NewGetFirehoseAlertPolicyOK() *GetFirehoseAlertPolicyOK
NewGetFirehoseAlertPolicyOK creates a GetFirehoseAlertPolicyOK with default headers values
func (*GetFirehoseAlertPolicyOK) Error ¶
func (o *GetFirehoseAlertPolicyOK) Error() string
func (*GetFirehoseAlertPolicyOK) GetPayload ¶
func (o *GetFirehoseAlertPolicyOK) GetPayload() *models.AlertPolicy
func (*GetFirehoseAlertPolicyOK) IsClientError ¶
func (o *GetFirehoseAlertPolicyOK) IsClientError() bool
IsClientError returns true when this get firehose alert policy o k response has a 4xx status code
func (*GetFirehoseAlertPolicyOK) IsCode ¶
func (o *GetFirehoseAlertPolicyOK) IsCode(code int) bool
IsCode returns true when this get firehose alert policy o k response a status code equal to that given
func (*GetFirehoseAlertPolicyOK) IsRedirect ¶
func (o *GetFirehoseAlertPolicyOK) IsRedirect() bool
IsRedirect returns true when this get firehose alert policy o k response has a 3xx status code
func (*GetFirehoseAlertPolicyOK) IsServerError ¶
func (o *GetFirehoseAlertPolicyOK) IsServerError() bool
IsServerError returns true when this get firehose alert policy o k response has a 5xx status code
func (*GetFirehoseAlertPolicyOK) IsSuccess ¶
func (o *GetFirehoseAlertPolicyOK) IsSuccess() bool
IsSuccess returns true when this get firehose alert policy o k response has a 2xx status code
func (*GetFirehoseAlertPolicyOK) String ¶
func (o *GetFirehoseAlertPolicyOK) String() string
type GetFirehoseAlertPolicyParams ¶
type GetFirehoseAlertPolicyParams struct { /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Unique slug name of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFirehoseAlertPolicyParams contains all the parameters to send to the API endpoint
for the get firehose alert policy operation. Typically these are written to a http.Request.
func NewGetFirehoseAlertPolicyParams ¶
func NewGetFirehoseAlertPolicyParams() *GetFirehoseAlertPolicyParams
NewGetFirehoseAlertPolicyParams creates a new GetFirehoseAlertPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFirehoseAlertPolicyParamsWithContext ¶
func NewGetFirehoseAlertPolicyParamsWithContext(ctx context.Context) *GetFirehoseAlertPolicyParams
NewGetFirehoseAlertPolicyParamsWithContext creates a new GetFirehoseAlertPolicyParams object with the ability to set a context for a request.
func NewGetFirehoseAlertPolicyParamsWithHTTPClient ¶
func NewGetFirehoseAlertPolicyParamsWithHTTPClient(client *http.Client) *GetFirehoseAlertPolicyParams
NewGetFirehoseAlertPolicyParamsWithHTTPClient creates a new GetFirehoseAlertPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewGetFirehoseAlertPolicyParamsWithTimeout ¶
func NewGetFirehoseAlertPolicyParamsWithTimeout(timeout time.Duration) *GetFirehoseAlertPolicyParams
NewGetFirehoseAlertPolicyParamsWithTimeout creates a new GetFirehoseAlertPolicyParams object with the ability to set a timeout on a request.
func (*GetFirehoseAlertPolicyParams) SetContext ¶
func (o *GetFirehoseAlertPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) SetDefaults ¶
func (o *GetFirehoseAlertPolicyParams) SetDefaults()
SetDefaults hydrates default values in the get firehose alert policy params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseAlertPolicyParams) SetFirehoseUrn ¶
func (o *GetFirehoseAlertPolicyParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) SetHTTPClient ¶
func (o *GetFirehoseAlertPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) SetProjectSlug ¶
func (o *GetFirehoseAlertPolicyParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) SetTimeout ¶
func (o *GetFirehoseAlertPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) WithContext ¶
func (o *GetFirehoseAlertPolicyParams) WithContext(ctx context.Context) *GetFirehoseAlertPolicyParams
WithContext adds the context to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) WithDefaults ¶
func (o *GetFirehoseAlertPolicyParams) WithDefaults() *GetFirehoseAlertPolicyParams
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 ¶
func (o *GetFirehoseAlertPolicyParams) WithHTTPClient(client *http.Client) *GetFirehoseAlertPolicyParams
WithHTTPClient adds the HTTPClient to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) WithProjectSlug ¶
func (o *GetFirehoseAlertPolicyParams) WithProjectSlug(projectSlug string) *GetFirehoseAlertPolicyParams
WithProjectSlug adds the projectSlug to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) WithTimeout ¶
func (o *GetFirehoseAlertPolicyParams) WithTimeout(timeout time.Duration) *GetFirehoseAlertPolicyParams
WithTimeout adds the timeout to the get firehose alert policy params
func (*GetFirehoseAlertPolicyParams) WriteToRequest ¶
func (o *GetFirehoseAlertPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *GetFirehoseAlertsInternalServerError) Error() string
func (*GetFirehoseAlertsInternalServerError) GetPayload ¶
func (o *GetFirehoseAlertsInternalServerError) GetPayload() *models.ErrorResponse
func (*GetFirehoseAlertsInternalServerError) IsClientError ¶
func (o *GetFirehoseAlertsInternalServerError) IsClientError() bool
IsClientError returns true when this get firehose alerts internal server error response has a 4xx status code
func (*GetFirehoseAlertsInternalServerError) IsCode ¶
func (o *GetFirehoseAlertsInternalServerError) IsCode(code int) bool
IsCode returns true when this get firehose alerts internal server error response a status code equal to that given
func (*GetFirehoseAlertsInternalServerError) IsRedirect ¶
func (o *GetFirehoseAlertsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get firehose alerts internal server error response has a 3xx status code
func (*GetFirehoseAlertsInternalServerError) IsServerError ¶
func (o *GetFirehoseAlertsInternalServerError) IsServerError() bool
IsServerError returns true when this get firehose alerts internal server error response has a 5xx status code
func (*GetFirehoseAlertsInternalServerError) IsSuccess ¶
func (o *GetFirehoseAlertsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get firehose alerts internal server error response has a 2xx status code
func (*GetFirehoseAlertsInternalServerError) String ¶
func (o *GetFirehoseAlertsInternalServerError) String() string
type GetFirehoseAlertsNotFound ¶
type GetFirehoseAlertsNotFound struct {
Payload *models.ErrorResponse
}
GetFirehoseAlertsNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewGetFirehoseAlertsNotFound ¶
func NewGetFirehoseAlertsNotFound() *GetFirehoseAlertsNotFound
NewGetFirehoseAlertsNotFound creates a GetFirehoseAlertsNotFound with default headers values
func (*GetFirehoseAlertsNotFound) Error ¶
func (o *GetFirehoseAlertsNotFound) Error() string
func (*GetFirehoseAlertsNotFound) GetPayload ¶
func (o *GetFirehoseAlertsNotFound) GetPayload() *models.ErrorResponse
func (*GetFirehoseAlertsNotFound) IsClientError ¶
func (o *GetFirehoseAlertsNotFound) IsClientError() bool
IsClientError returns true when this get firehose alerts not found response has a 4xx status code
func (*GetFirehoseAlertsNotFound) IsCode ¶
func (o *GetFirehoseAlertsNotFound) IsCode(code int) bool
IsCode returns true when this get firehose alerts not found response a status code equal to that given
func (*GetFirehoseAlertsNotFound) IsRedirect ¶
func (o *GetFirehoseAlertsNotFound) IsRedirect() bool
IsRedirect returns true when this get firehose alerts not found response has a 3xx status code
func (*GetFirehoseAlertsNotFound) IsServerError ¶
func (o *GetFirehoseAlertsNotFound) IsServerError() bool
IsServerError returns true when this get firehose alerts not found response has a 5xx status code
func (*GetFirehoseAlertsNotFound) IsSuccess ¶
func (o *GetFirehoseAlertsNotFound) IsSuccess() bool
IsSuccess returns true when this get firehose alerts not found response has a 2xx status code
func (*GetFirehoseAlertsNotFound) String ¶
func (o *GetFirehoseAlertsNotFound) String() string
type GetFirehoseAlertsOK ¶
type GetFirehoseAlertsOK struct {
Payload *models.AlertArray
}
GetFirehoseAlertsOK describes a response with status code 200, with default header values.
alerts for given firehose URN.
func NewGetFirehoseAlertsOK ¶
func NewGetFirehoseAlertsOK() *GetFirehoseAlertsOK
NewGetFirehoseAlertsOK creates a GetFirehoseAlertsOK with default headers values
func (*GetFirehoseAlertsOK) Error ¶
func (o *GetFirehoseAlertsOK) Error() string
func (*GetFirehoseAlertsOK) GetPayload ¶
func (o *GetFirehoseAlertsOK) GetPayload() *models.AlertArray
func (*GetFirehoseAlertsOK) IsClientError ¶
func (o *GetFirehoseAlertsOK) IsClientError() bool
IsClientError returns true when this get firehose alerts o k response has a 4xx status code
func (*GetFirehoseAlertsOK) IsCode ¶
func (o *GetFirehoseAlertsOK) IsCode(code int) bool
IsCode returns true when this get firehose alerts o k response a status code equal to that given
func (*GetFirehoseAlertsOK) IsRedirect ¶
func (o *GetFirehoseAlertsOK) IsRedirect() bool
IsRedirect returns true when this get firehose alerts o k response has a 3xx status code
func (*GetFirehoseAlertsOK) IsServerError ¶
func (o *GetFirehoseAlertsOK) IsServerError() bool
IsServerError returns true when this get firehose alerts o k response has a 5xx status code
func (*GetFirehoseAlertsOK) IsSuccess ¶
func (o *GetFirehoseAlertsOK) IsSuccess() bool
IsSuccess returns true when this get firehose alerts o k response has a 2xx status code
func (*GetFirehoseAlertsOK) String ¶
func (o *GetFirehoseAlertsOK) String() string
type GetFirehoseAlertsParams ¶
type GetFirehoseAlertsParams struct { /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Unique slug name of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFirehoseAlertsParams contains all the parameters to send to the API endpoint
for the get firehose alerts operation. Typically these are written to a http.Request.
func NewGetFirehoseAlertsParams ¶
func NewGetFirehoseAlertsParams() *GetFirehoseAlertsParams
NewGetFirehoseAlertsParams creates a new GetFirehoseAlertsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFirehoseAlertsParamsWithContext ¶
func NewGetFirehoseAlertsParamsWithContext(ctx context.Context) *GetFirehoseAlertsParams
NewGetFirehoseAlertsParamsWithContext creates a new GetFirehoseAlertsParams object with the ability to set a context for a request.
func NewGetFirehoseAlertsParamsWithHTTPClient ¶
func NewGetFirehoseAlertsParamsWithHTTPClient(client *http.Client) *GetFirehoseAlertsParams
NewGetFirehoseAlertsParamsWithHTTPClient creates a new GetFirehoseAlertsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFirehoseAlertsParamsWithTimeout ¶
func NewGetFirehoseAlertsParamsWithTimeout(timeout time.Duration) *GetFirehoseAlertsParams
NewGetFirehoseAlertsParamsWithTimeout creates a new GetFirehoseAlertsParams object with the ability to set a timeout on a request.
func (*GetFirehoseAlertsParams) SetContext ¶
func (o *GetFirehoseAlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the get firehose alerts params
func (*GetFirehoseAlertsParams) SetDefaults ¶
func (o *GetFirehoseAlertsParams) SetDefaults()
SetDefaults hydrates default values in the get firehose alerts params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseAlertsParams) SetFirehoseUrn ¶
func (o *GetFirehoseAlertsParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the get firehose alerts params
func (*GetFirehoseAlertsParams) SetHTTPClient ¶
func (o *GetFirehoseAlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get firehose alerts params
func (*GetFirehoseAlertsParams) SetProjectSlug ¶
func (o *GetFirehoseAlertsParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the get firehose alerts params
func (*GetFirehoseAlertsParams) SetTimeout ¶
func (o *GetFirehoseAlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get firehose alerts params
func (*GetFirehoseAlertsParams) WithContext ¶
func (o *GetFirehoseAlertsParams) WithContext(ctx context.Context) *GetFirehoseAlertsParams
WithContext adds the context to the get firehose alerts params
func (*GetFirehoseAlertsParams) WithDefaults ¶
func (o *GetFirehoseAlertsParams) WithDefaults() *GetFirehoseAlertsParams
WithDefaults hydrates default values in the get firehose alerts params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseAlertsParams) WithFirehoseUrn ¶
func (o *GetFirehoseAlertsParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseAlertsParams
WithFirehoseUrn adds the firehoseUrn to the get firehose alerts params
func (*GetFirehoseAlertsParams) WithHTTPClient ¶
func (o *GetFirehoseAlertsParams) WithHTTPClient(client *http.Client) *GetFirehoseAlertsParams
WithHTTPClient adds the HTTPClient to the get firehose alerts params
func (*GetFirehoseAlertsParams) WithProjectSlug ¶
func (o *GetFirehoseAlertsParams) WithProjectSlug(projectSlug string) *GetFirehoseAlertsParams
WithProjectSlug adds the projectSlug to the get firehose alerts params
func (*GetFirehoseAlertsParams) WithTimeout ¶
func (o *GetFirehoseAlertsParams) WithTimeout(timeout time.Duration) *GetFirehoseAlertsParams
WithTimeout adds the timeout to the get firehose alerts params
func (*GetFirehoseAlertsParams) WriteToRequest ¶
func (o *GetFirehoseAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFirehoseAlertsReader ¶
type GetFirehoseAlertsReader struct {
// contains filtered or unexported fields
}
GetFirehoseAlertsReader is a Reader for the GetFirehoseAlerts structure.
func (*GetFirehoseAlertsReader) ReadResponse ¶
func (o *GetFirehoseAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFirehoseHistoryInternalServerError ¶ added in v0.2.0
type GetFirehoseHistoryInternalServerError struct {
Payload *models.ErrorResponse
}
GetFirehoseHistoryInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetFirehoseHistoryInternalServerError ¶ added in v0.2.0
func NewGetFirehoseHistoryInternalServerError() *GetFirehoseHistoryInternalServerError
NewGetFirehoseHistoryInternalServerError creates a GetFirehoseHistoryInternalServerError with default headers values
func (*GetFirehoseHistoryInternalServerError) Error ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) Error() string
func (*GetFirehoseHistoryInternalServerError) GetPayload ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) GetPayload() *models.ErrorResponse
func (*GetFirehoseHistoryInternalServerError) IsClientError ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) IsClientError() bool
IsClientError returns true when this get firehose history internal server error response has a 4xx status code
func (*GetFirehoseHistoryInternalServerError) IsCode ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) IsCode(code int) bool
IsCode returns true when this get firehose history internal server error response a status code equal to that given
func (*GetFirehoseHistoryInternalServerError) IsRedirect ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this get firehose history internal server error response has a 3xx status code
func (*GetFirehoseHistoryInternalServerError) IsServerError ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) IsServerError() bool
IsServerError returns true when this get firehose history internal server error response has a 5xx status code
func (*GetFirehoseHistoryInternalServerError) IsSuccess ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get firehose history internal server error response has a 2xx status code
func (*GetFirehoseHistoryInternalServerError) String ¶ added in v0.2.0
func (o *GetFirehoseHistoryInternalServerError) String() string
type GetFirehoseHistoryNotFound ¶ added in v0.2.0
type GetFirehoseHistoryNotFound struct {
Payload *models.ErrorResponse
}
GetFirehoseHistoryNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewGetFirehoseHistoryNotFound ¶ added in v0.2.0
func NewGetFirehoseHistoryNotFound() *GetFirehoseHistoryNotFound
NewGetFirehoseHistoryNotFound creates a GetFirehoseHistoryNotFound with default headers values
func (*GetFirehoseHistoryNotFound) Error ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) Error() string
func (*GetFirehoseHistoryNotFound) GetPayload ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) GetPayload() *models.ErrorResponse
func (*GetFirehoseHistoryNotFound) IsClientError ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) IsClientError() bool
IsClientError returns true when this get firehose history not found response has a 4xx status code
func (*GetFirehoseHistoryNotFound) IsCode ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) IsCode(code int) bool
IsCode returns true when this get firehose history not found response a status code equal to that given
func (*GetFirehoseHistoryNotFound) IsRedirect ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) IsRedirect() bool
IsRedirect returns true when this get firehose history not found response has a 3xx status code
func (*GetFirehoseHistoryNotFound) IsServerError ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) IsServerError() bool
IsServerError returns true when this get firehose history not found response has a 5xx status code
func (*GetFirehoseHistoryNotFound) IsSuccess ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) IsSuccess() bool
IsSuccess returns true when this get firehose history not found response has a 2xx status code
func (*GetFirehoseHistoryNotFound) String ¶ added in v0.2.0
func (o *GetFirehoseHistoryNotFound) String() string
type GetFirehoseHistoryOK ¶ added in v0.2.0
GetFirehoseHistoryOK describes a response with status code 200, with default header values.
History for given firehose URN.
func NewGetFirehoseHistoryOK ¶ added in v0.2.0
func NewGetFirehoseHistoryOK() *GetFirehoseHistoryOK
NewGetFirehoseHistoryOK creates a GetFirehoseHistoryOK with default headers values
func (*GetFirehoseHistoryOK) Error ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) Error() string
func (*GetFirehoseHistoryOK) GetPayload ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) GetPayload() *models.History
func (*GetFirehoseHistoryOK) IsClientError ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) IsClientError() bool
IsClientError returns true when this get firehose history o k response has a 4xx status code
func (*GetFirehoseHistoryOK) IsCode ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) IsCode(code int) bool
IsCode returns true when this get firehose history o k response a status code equal to that given
func (*GetFirehoseHistoryOK) IsRedirect ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) IsRedirect() bool
IsRedirect returns true when this get firehose history o k response has a 3xx status code
func (*GetFirehoseHistoryOK) IsServerError ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) IsServerError() bool
IsServerError returns true when this get firehose history o k response has a 5xx status code
func (*GetFirehoseHistoryOK) IsSuccess ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) IsSuccess() bool
IsSuccess returns true when this get firehose history o k response has a 2xx status code
func (*GetFirehoseHistoryOK) String ¶ added in v0.2.0
func (o *GetFirehoseHistoryOK) String() string
type GetFirehoseHistoryParams ¶ added in v0.2.0
type GetFirehoseHistoryParams struct { /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Unique slug name of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFirehoseHistoryParams contains all the parameters to send to the API endpoint
for the get firehose history operation. Typically these are written to a http.Request.
func NewGetFirehoseHistoryParams ¶ added in v0.2.0
func NewGetFirehoseHistoryParams() *GetFirehoseHistoryParams
NewGetFirehoseHistoryParams creates a new GetFirehoseHistoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFirehoseHistoryParamsWithContext ¶ added in v0.2.0
func NewGetFirehoseHistoryParamsWithContext(ctx context.Context) *GetFirehoseHistoryParams
NewGetFirehoseHistoryParamsWithContext creates a new GetFirehoseHistoryParams object with the ability to set a context for a request.
func NewGetFirehoseHistoryParamsWithHTTPClient ¶ added in v0.2.0
func NewGetFirehoseHistoryParamsWithHTTPClient(client *http.Client) *GetFirehoseHistoryParams
NewGetFirehoseHistoryParamsWithHTTPClient creates a new GetFirehoseHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetFirehoseHistoryParamsWithTimeout ¶ added in v0.2.0
func NewGetFirehoseHistoryParamsWithTimeout(timeout time.Duration) *GetFirehoseHistoryParams
NewGetFirehoseHistoryParamsWithTimeout creates a new GetFirehoseHistoryParams object with the ability to set a timeout on a request.
func (*GetFirehoseHistoryParams) SetContext ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get firehose history params
func (*GetFirehoseHistoryParams) SetDefaults ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get firehose history params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseHistoryParams) SetFirehoseUrn ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the get firehose history params
func (*GetFirehoseHistoryParams) SetHTTPClient ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get firehose history params
func (*GetFirehoseHistoryParams) SetProjectSlug ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the get firehose history params
func (*GetFirehoseHistoryParams) SetTimeout ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get firehose history params
func (*GetFirehoseHistoryParams) WithContext ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WithContext(ctx context.Context) *GetFirehoseHistoryParams
WithContext adds the context to the get firehose history params
func (*GetFirehoseHistoryParams) WithDefaults ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WithDefaults() *GetFirehoseHistoryParams
WithDefaults hydrates default values in the get firehose history params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseHistoryParams) WithFirehoseUrn ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseHistoryParams
WithFirehoseUrn adds the firehoseUrn to the get firehose history params
func (*GetFirehoseHistoryParams) WithHTTPClient ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WithHTTPClient(client *http.Client) *GetFirehoseHistoryParams
WithHTTPClient adds the HTTPClient to the get firehose history params
func (*GetFirehoseHistoryParams) WithProjectSlug ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WithProjectSlug(projectSlug string) *GetFirehoseHistoryParams
WithProjectSlug adds the projectSlug to the get firehose history params
func (*GetFirehoseHistoryParams) WithTimeout ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WithTimeout(timeout time.Duration) *GetFirehoseHistoryParams
WithTimeout adds the timeout to the get firehose history params
func (*GetFirehoseHistoryParams) WriteToRequest ¶ added in v0.2.0
func (o *GetFirehoseHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFirehoseHistoryReader ¶ added in v0.2.0
type GetFirehoseHistoryReader struct {
// contains filtered or unexported fields
}
GetFirehoseHistoryReader is a Reader for the GetFirehoseHistory structure.
func (*GetFirehoseHistoryReader) ReadResponse ¶ added in v0.2.0
func (o *GetFirehoseHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFirehoseInternalServerError ¶
type GetFirehoseInternalServerError struct {
Payload *models.ErrorResponse
}
GetFirehoseInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetFirehoseInternalServerError ¶
func NewGetFirehoseInternalServerError() *GetFirehoseInternalServerError
NewGetFirehoseInternalServerError creates a GetFirehoseInternalServerError with default headers values
func (*GetFirehoseInternalServerError) Error ¶
func (o *GetFirehoseInternalServerError) Error() string
func (*GetFirehoseInternalServerError) GetPayload ¶
func (o *GetFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*GetFirehoseInternalServerError) IsClientError ¶
func (o *GetFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this get firehose internal server error response has a 4xx status code
func (*GetFirehoseInternalServerError) IsCode ¶
func (o *GetFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this get firehose internal server error response a status code equal to that given
func (*GetFirehoseInternalServerError) IsRedirect ¶
func (o *GetFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this get firehose internal server error response has a 3xx status code
func (*GetFirehoseInternalServerError) IsServerError ¶
func (o *GetFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this get firehose internal server error response has a 5xx status code
func (*GetFirehoseInternalServerError) IsSuccess ¶
func (o *GetFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this get firehose internal server error response has a 2xx status code
func (*GetFirehoseInternalServerError) String ¶
func (o *GetFirehoseInternalServerError) String() string
type GetFirehoseLogsBadRequest ¶
type GetFirehoseLogsBadRequest struct {
Payload *models.ErrorResponse
}
GetFirehoseLogsBadRequest describes a response with status code 400, with default header values.
Get logs request is not valid.
func NewGetFirehoseLogsBadRequest ¶
func NewGetFirehoseLogsBadRequest() *GetFirehoseLogsBadRequest
NewGetFirehoseLogsBadRequest creates a GetFirehoseLogsBadRequest with default headers values
func (*GetFirehoseLogsBadRequest) Error ¶
func (o *GetFirehoseLogsBadRequest) Error() string
func (*GetFirehoseLogsBadRequest) GetPayload ¶
func (o *GetFirehoseLogsBadRequest) GetPayload() *models.ErrorResponse
func (*GetFirehoseLogsBadRequest) IsClientError ¶
func (o *GetFirehoseLogsBadRequest) IsClientError() bool
IsClientError returns true when this get firehose logs bad request response has a 4xx status code
func (*GetFirehoseLogsBadRequest) IsCode ¶
func (o *GetFirehoseLogsBadRequest) IsCode(code int) bool
IsCode returns true when this get firehose logs bad request response a status code equal to that given
func (*GetFirehoseLogsBadRequest) IsRedirect ¶
func (o *GetFirehoseLogsBadRequest) IsRedirect() bool
IsRedirect returns true when this get firehose logs bad request response has a 3xx status code
func (*GetFirehoseLogsBadRequest) IsServerError ¶
func (o *GetFirehoseLogsBadRequest) IsServerError() bool
IsServerError returns true when this get firehose logs bad request response has a 5xx status code
func (*GetFirehoseLogsBadRequest) IsSuccess ¶
func (o *GetFirehoseLogsBadRequest) IsSuccess() bool
IsSuccess returns true when this get firehose logs bad request response has a 2xx status code
func (*GetFirehoseLogsBadRequest) String ¶
func (o *GetFirehoseLogsBadRequest) String() string
type GetFirehoseLogsInternalServerError ¶
type GetFirehoseLogsInternalServerError struct {
Payload *models.ErrorResponse
}
GetFirehoseLogsInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetFirehoseLogsInternalServerError ¶
func NewGetFirehoseLogsInternalServerError() *GetFirehoseLogsInternalServerError
NewGetFirehoseLogsInternalServerError creates a GetFirehoseLogsInternalServerError with default headers values
func (*GetFirehoseLogsInternalServerError) Error ¶
func (o *GetFirehoseLogsInternalServerError) Error() string
func (*GetFirehoseLogsInternalServerError) GetPayload ¶
func (o *GetFirehoseLogsInternalServerError) GetPayload() *models.ErrorResponse
func (*GetFirehoseLogsInternalServerError) IsClientError ¶
func (o *GetFirehoseLogsInternalServerError) IsClientError() bool
IsClientError returns true when this get firehose logs internal server error response has a 4xx status code
func (*GetFirehoseLogsInternalServerError) IsCode ¶
func (o *GetFirehoseLogsInternalServerError) IsCode(code int) bool
IsCode returns true when this get firehose logs internal server error response a status code equal to that given
func (*GetFirehoseLogsInternalServerError) IsRedirect ¶
func (o *GetFirehoseLogsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get firehose logs internal server error response has a 3xx status code
func (*GetFirehoseLogsInternalServerError) IsServerError ¶
func (o *GetFirehoseLogsInternalServerError) IsServerError() bool
IsServerError returns true when this get firehose logs internal server error response has a 5xx status code
func (*GetFirehoseLogsInternalServerError) IsSuccess ¶
func (o *GetFirehoseLogsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get firehose logs internal server error response has a 2xx status code
func (*GetFirehoseLogsInternalServerError) String ¶
func (o *GetFirehoseLogsInternalServerError) String() string
type GetFirehoseLogsNotFound ¶
type GetFirehoseLogsNotFound struct {
Payload *models.ErrorResponse
}
GetFirehoseLogsNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewGetFirehoseLogsNotFound ¶
func NewGetFirehoseLogsNotFound() *GetFirehoseLogsNotFound
NewGetFirehoseLogsNotFound creates a GetFirehoseLogsNotFound with default headers values
func (*GetFirehoseLogsNotFound) Error ¶
func (o *GetFirehoseLogsNotFound) Error() string
func (*GetFirehoseLogsNotFound) GetPayload ¶
func (o *GetFirehoseLogsNotFound) GetPayload() *models.ErrorResponse
func (*GetFirehoseLogsNotFound) IsClientError ¶
func (o *GetFirehoseLogsNotFound) IsClientError() bool
IsClientError returns true when this get firehose logs not found response has a 4xx status code
func (*GetFirehoseLogsNotFound) IsCode ¶
func (o *GetFirehoseLogsNotFound) IsCode(code int) bool
IsCode returns true when this get firehose logs not found response a status code equal to that given
func (*GetFirehoseLogsNotFound) IsRedirect ¶
func (o *GetFirehoseLogsNotFound) IsRedirect() bool
IsRedirect returns true when this get firehose logs not found response has a 3xx status code
func (*GetFirehoseLogsNotFound) IsServerError ¶
func (o *GetFirehoseLogsNotFound) IsServerError() bool
IsServerError returns true when this get firehose logs not found response has a 5xx status code
func (*GetFirehoseLogsNotFound) IsSuccess ¶
func (o *GetFirehoseLogsNotFound) IsSuccess() bool
IsSuccess returns true when this get firehose logs not found response has a 2xx status code
func (*GetFirehoseLogsNotFound) String ¶
func (o *GetFirehoseLogsNotFound) String() string
type GetFirehoseLogsOK ¶
GetFirehoseLogsOK describes a response with status code 200, with default header values.
Found logs for given firehose URN.
func NewGetFirehoseLogsOK ¶
func NewGetFirehoseLogsOK(writer io.Writer) *GetFirehoseLogsOK
NewGetFirehoseLogsOK creates a GetFirehoseLogsOK with default headers values
func (*GetFirehoseLogsOK) Error ¶
func (o *GetFirehoseLogsOK) Error() string
func (*GetFirehoseLogsOK) GetPayload ¶
func (o *GetFirehoseLogsOK) GetPayload() io.Writer
func (*GetFirehoseLogsOK) IsClientError ¶
func (o *GetFirehoseLogsOK) IsClientError() bool
IsClientError returns true when this get firehose logs o k response has a 4xx status code
func (*GetFirehoseLogsOK) IsCode ¶
func (o *GetFirehoseLogsOK) IsCode(code int) bool
IsCode returns true when this get firehose logs o k response a status code equal to that given
func (*GetFirehoseLogsOK) IsRedirect ¶
func (o *GetFirehoseLogsOK) IsRedirect() bool
IsRedirect returns true when this get firehose logs o k response has a 3xx status code
func (*GetFirehoseLogsOK) IsServerError ¶
func (o *GetFirehoseLogsOK) IsServerError() bool
IsServerError returns true when this get firehose logs o k response has a 5xx status code
func (*GetFirehoseLogsOK) IsSuccess ¶
func (o *GetFirehoseLogsOK) IsSuccess() bool
IsSuccess returns true when this get firehose logs o k response has a 2xx status code
func (*GetFirehoseLogsOK) String ¶
func (o *GetFirehoseLogsOK) String() string
type GetFirehoseLogsParams ¶
type GetFirehoseLogsParams struct { /* Container. Return logs for selected container. */ Container *string /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* Follow. Follow the log stream of the firehose. Default: true */ Follow *bool /* Pod. Return logs for selected pod. */ Pod *string /* Previous. Return previous terminated container logs. */ Previous *bool /* ProjectSlug. Unique identifier of the project. */ ProjectSlug string /* SinceSeconds. Return logs since given seconds ago */ SinceSeconds *int64 /* TailLines. Number of lines from the end of the logs to show. */ TailLines *int64 /* Timestamps. Add a timestamp at the beginning of every line of log output. */ Timestamps *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFirehoseLogsParams contains all the parameters to send to the API endpoint
for the get firehose logs operation. Typically these are written to a http.Request.
func NewGetFirehoseLogsParams ¶
func NewGetFirehoseLogsParams() *GetFirehoseLogsParams
NewGetFirehoseLogsParams creates a new GetFirehoseLogsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFirehoseLogsParamsWithContext ¶
func NewGetFirehoseLogsParamsWithContext(ctx context.Context) *GetFirehoseLogsParams
NewGetFirehoseLogsParamsWithContext creates a new GetFirehoseLogsParams object with the ability to set a context for a request.
func NewGetFirehoseLogsParamsWithHTTPClient ¶
func NewGetFirehoseLogsParamsWithHTTPClient(client *http.Client) *GetFirehoseLogsParams
NewGetFirehoseLogsParamsWithHTTPClient creates a new GetFirehoseLogsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFirehoseLogsParamsWithTimeout ¶
func NewGetFirehoseLogsParamsWithTimeout(timeout time.Duration) *GetFirehoseLogsParams
NewGetFirehoseLogsParamsWithTimeout creates a new GetFirehoseLogsParams object with the ability to set a timeout on a request.
func (*GetFirehoseLogsParams) SetContainer ¶
func (o *GetFirehoseLogsParams) SetContainer(container *string)
SetContainer adds the container to the get firehose logs params
func (*GetFirehoseLogsParams) SetContext ¶
func (o *GetFirehoseLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get firehose logs params
func (*GetFirehoseLogsParams) SetDefaults ¶
func (o *GetFirehoseLogsParams) SetDefaults()
SetDefaults hydrates default values in the get firehose logs params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseLogsParams) SetFirehoseUrn ¶
func (o *GetFirehoseLogsParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the get firehose logs params
func (*GetFirehoseLogsParams) SetFollow ¶
func (o *GetFirehoseLogsParams) SetFollow(follow *bool)
SetFollow adds the follow to the get firehose logs params
func (*GetFirehoseLogsParams) SetHTTPClient ¶
func (o *GetFirehoseLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get firehose logs params
func (*GetFirehoseLogsParams) SetPod ¶
func (o *GetFirehoseLogsParams) SetPod(pod *string)
SetPod adds the pod to the get firehose logs params
func (*GetFirehoseLogsParams) SetPrevious ¶
func (o *GetFirehoseLogsParams) SetPrevious(previous *bool)
SetPrevious adds the previous to the get firehose logs params
func (*GetFirehoseLogsParams) SetProjectSlug ¶
func (o *GetFirehoseLogsParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the get firehose logs params
func (*GetFirehoseLogsParams) SetSinceSeconds ¶
func (o *GetFirehoseLogsParams) SetSinceSeconds(sinceSeconds *int64)
SetSinceSeconds adds the sinceSeconds to the get firehose logs params
func (*GetFirehoseLogsParams) SetTailLines ¶
func (o *GetFirehoseLogsParams) SetTailLines(tailLines *int64)
SetTailLines adds the tailLines to the get firehose logs params
func (*GetFirehoseLogsParams) SetTimeout ¶
func (o *GetFirehoseLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get firehose logs params
func (*GetFirehoseLogsParams) SetTimestamps ¶
func (o *GetFirehoseLogsParams) SetTimestamps(timestamps *bool)
SetTimestamps adds the timestamps to the get firehose logs params
func (*GetFirehoseLogsParams) WithContainer ¶
func (o *GetFirehoseLogsParams) WithContainer(container *string) *GetFirehoseLogsParams
WithContainer adds the container to the get firehose logs params
func (*GetFirehoseLogsParams) WithContext ¶
func (o *GetFirehoseLogsParams) WithContext(ctx context.Context) *GetFirehoseLogsParams
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 ¶
func (o *GetFirehoseLogsParams) WithPod(pod *string) *GetFirehoseLogsParams
WithPod adds the pod to the get firehose logs params
func (*GetFirehoseLogsParams) WithPrevious ¶
func (o *GetFirehoseLogsParams) WithPrevious(previous *bool) *GetFirehoseLogsParams
WithPrevious adds the previous to the get firehose logs params
func (*GetFirehoseLogsParams) WithProjectSlug ¶
func (o *GetFirehoseLogsParams) WithProjectSlug(projectSlug string) *GetFirehoseLogsParams
WithProjectSlug adds the projectSlug to the get firehose logs params
func (*GetFirehoseLogsParams) WithSinceSeconds ¶
func (o *GetFirehoseLogsParams) WithSinceSeconds(sinceSeconds *int64) *GetFirehoseLogsParams
WithSinceSeconds adds the sinceSeconds to the get firehose logs params
func (*GetFirehoseLogsParams) WithTailLines ¶
func (o *GetFirehoseLogsParams) WithTailLines(tailLines *int64) *GetFirehoseLogsParams
WithTailLines adds the tailLines to the get firehose logs params
func (*GetFirehoseLogsParams) WithTimeout ¶
func (o *GetFirehoseLogsParams) WithTimeout(timeout time.Duration) *GetFirehoseLogsParams
WithTimeout adds the timeout to the get firehose logs params
func (*GetFirehoseLogsParams) WithTimestamps ¶
func (o *GetFirehoseLogsParams) WithTimestamps(timestamps *bool) *GetFirehoseLogsParams
WithTimestamps adds the timestamps to the get firehose logs params
func (*GetFirehoseLogsParams) WriteToRequest ¶
func (o *GetFirehoseLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFirehoseLogsReader ¶
type GetFirehoseLogsReader struct {
// contains filtered or unexported fields
}
GetFirehoseLogsReader is a Reader for the GetFirehoseLogs structure.
func (*GetFirehoseLogsReader) ReadResponse ¶
func (o *GetFirehoseLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFirehoseNotFound ¶
type GetFirehoseNotFound struct {
Payload *models.ErrorResponse
}
GetFirehoseNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewGetFirehoseNotFound ¶
func NewGetFirehoseNotFound() *GetFirehoseNotFound
NewGetFirehoseNotFound creates a GetFirehoseNotFound with default headers values
func (*GetFirehoseNotFound) Error ¶
func (o *GetFirehoseNotFound) Error() string
func (*GetFirehoseNotFound) GetPayload ¶
func (o *GetFirehoseNotFound) GetPayload() *models.ErrorResponse
func (*GetFirehoseNotFound) IsClientError ¶
func (o *GetFirehoseNotFound) IsClientError() bool
IsClientError returns true when this get firehose not found response has a 4xx status code
func (*GetFirehoseNotFound) IsCode ¶
func (o *GetFirehoseNotFound) IsCode(code int) bool
IsCode returns true when this get firehose not found response a status code equal to that given
func (*GetFirehoseNotFound) IsRedirect ¶
func (o *GetFirehoseNotFound) IsRedirect() bool
IsRedirect returns true when this get firehose not found response has a 3xx status code
func (*GetFirehoseNotFound) IsServerError ¶
func (o *GetFirehoseNotFound) IsServerError() bool
IsServerError returns true when this get firehose not found response has a 5xx status code
func (*GetFirehoseNotFound) IsSuccess ¶
func (o *GetFirehoseNotFound) IsSuccess() bool
IsSuccess returns true when this get firehose not found response has a 2xx status code
func (*GetFirehoseNotFound) String ¶
func (o *GetFirehoseNotFound) String() string
type GetFirehoseOK ¶
GetFirehoseOK describes a response with status code 200, with default header values.
Found firehose with given URN
func NewGetFirehoseOK ¶
func NewGetFirehoseOK() *GetFirehoseOK
NewGetFirehoseOK creates a GetFirehoseOK with default headers values
func (*GetFirehoseOK) Error ¶
func (o *GetFirehoseOK) Error() string
func (*GetFirehoseOK) GetPayload ¶
func (o *GetFirehoseOK) GetPayload() *models.Firehose
func (*GetFirehoseOK) IsClientError ¶
func (o *GetFirehoseOK) IsClientError() bool
IsClientError returns true when this get firehose o k response has a 4xx status code
func (*GetFirehoseOK) IsCode ¶
func (o *GetFirehoseOK) IsCode(code int) bool
IsCode returns true when this get firehose o k response a status code equal to that given
func (*GetFirehoseOK) IsRedirect ¶
func (o *GetFirehoseOK) IsRedirect() bool
IsRedirect returns true when this get firehose o k response has a 3xx status code
func (*GetFirehoseOK) IsServerError ¶
func (o *GetFirehoseOK) IsServerError() bool
IsServerError returns true when this get firehose o k response has a 5xx status code
func (*GetFirehoseOK) IsSuccess ¶
func (o *GetFirehoseOK) IsSuccess() bool
IsSuccess returns true when this get firehose o k response has a 2xx status code
func (*GetFirehoseOK) String ¶
func (o *GetFirehoseOK) String() string
type GetFirehoseParams ¶
type GetFirehoseParams struct { /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Unique identifier of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFirehoseParams contains all the parameters to send to the API endpoint
for the get firehose operation. Typically these are written to a http.Request.
func NewGetFirehoseParams ¶
func NewGetFirehoseParams() *GetFirehoseParams
NewGetFirehoseParams creates a new GetFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetFirehoseParamsWithContext ¶
func NewGetFirehoseParamsWithContext(ctx context.Context) *GetFirehoseParams
NewGetFirehoseParamsWithContext creates a new GetFirehoseParams object with the ability to set a context for a request.
func NewGetFirehoseParamsWithHTTPClient ¶
func NewGetFirehoseParamsWithHTTPClient(client *http.Client) *GetFirehoseParams
NewGetFirehoseParamsWithHTTPClient creates a new GetFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewGetFirehoseParamsWithTimeout ¶
func NewGetFirehoseParamsWithTimeout(timeout time.Duration) *GetFirehoseParams
NewGetFirehoseParamsWithTimeout creates a new GetFirehoseParams object with the ability to set a timeout on a request.
func (*GetFirehoseParams) SetContext ¶
func (o *GetFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the get firehose params
func (*GetFirehoseParams) SetDefaults ¶
func (o *GetFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the get firehose params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseParams) SetFirehoseUrn ¶
func (o *GetFirehoseParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the get firehose params
func (*GetFirehoseParams) SetHTTPClient ¶
func (o *GetFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get firehose params
func (*GetFirehoseParams) SetProjectSlug ¶
func (o *GetFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the get firehose params
func (*GetFirehoseParams) SetTimeout ¶
func (o *GetFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get firehose params
func (*GetFirehoseParams) WithContext ¶
func (o *GetFirehoseParams) WithContext(ctx context.Context) *GetFirehoseParams
WithContext adds the context to the get firehose params
func (*GetFirehoseParams) WithDefaults ¶
func (o *GetFirehoseParams) WithDefaults() *GetFirehoseParams
WithDefaults hydrates default values in the get firehose params (not the query body).
All values with no default are reset to their zero value.
func (*GetFirehoseParams) WithFirehoseUrn ¶
func (o *GetFirehoseParams) WithFirehoseUrn(firehoseUrn string) *GetFirehoseParams
WithFirehoseUrn adds the firehoseUrn to the get firehose params
func (*GetFirehoseParams) WithHTTPClient ¶
func (o *GetFirehoseParams) WithHTTPClient(client *http.Client) *GetFirehoseParams
WithHTTPClient adds the HTTPClient to the get firehose params
func (*GetFirehoseParams) WithProjectSlug ¶
func (o *GetFirehoseParams) WithProjectSlug(projectSlug string) *GetFirehoseParams
WithProjectSlug adds the projectSlug to the get firehose params
func (*GetFirehoseParams) WithTimeout ¶
func (o *GetFirehoseParams) WithTimeout(timeout time.Duration) *GetFirehoseParams
WithTimeout adds the timeout to the get firehose params
func (*GetFirehoseParams) WriteToRequest ¶
func (o *GetFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFirehoseReader ¶
type GetFirehoseReader struct {
// contains filtered or unexported fields
}
GetFirehoseReader is a Reader for the GetFirehose structure.
func (*GetFirehoseReader) ReadResponse ¶
func (o *GetFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjectBySlugInternalServerError ¶
type GetProjectBySlugInternalServerError struct {
Payload *models.ErrorResponse
}
GetProjectBySlugInternalServerError describes a response with status code 500, with default header values.
internal error
func NewGetProjectBySlugInternalServerError ¶
func NewGetProjectBySlugInternalServerError() *GetProjectBySlugInternalServerError
NewGetProjectBySlugInternalServerError creates a GetProjectBySlugInternalServerError with default headers values
func (*GetProjectBySlugInternalServerError) Error ¶
func (o *GetProjectBySlugInternalServerError) Error() string
func (*GetProjectBySlugInternalServerError) GetPayload ¶
func (o *GetProjectBySlugInternalServerError) GetPayload() *models.ErrorResponse
func (*GetProjectBySlugInternalServerError) IsClientError ¶
func (o *GetProjectBySlugInternalServerError) IsClientError() bool
IsClientError returns true when this get project by slug internal server error response has a 4xx status code
func (*GetProjectBySlugInternalServerError) IsCode ¶
func (o *GetProjectBySlugInternalServerError) IsCode(code int) bool
IsCode returns true when this get project by slug internal server error response a status code equal to that given
func (*GetProjectBySlugInternalServerError) IsRedirect ¶
func (o *GetProjectBySlugInternalServerError) IsRedirect() bool
IsRedirect returns true when this get project by slug internal server error response has a 3xx status code
func (*GetProjectBySlugInternalServerError) IsServerError ¶
func (o *GetProjectBySlugInternalServerError) IsServerError() bool
IsServerError returns true when this get project by slug internal server error response has a 5xx status code
func (*GetProjectBySlugInternalServerError) IsSuccess ¶
func (o *GetProjectBySlugInternalServerError) IsSuccess() bool
IsSuccess returns true when this get project by slug internal server error response has a 2xx status code
func (*GetProjectBySlugInternalServerError) String ¶
func (o *GetProjectBySlugInternalServerError) String() string
type GetProjectBySlugNotFound ¶
type GetProjectBySlugNotFound struct {
Payload *models.ErrorResponse
}
GetProjectBySlugNotFound describes a response with status code 404, with default header values.
project not found
func NewGetProjectBySlugNotFound ¶
func NewGetProjectBySlugNotFound() *GetProjectBySlugNotFound
NewGetProjectBySlugNotFound creates a GetProjectBySlugNotFound with default headers values
func (*GetProjectBySlugNotFound) Error ¶
func (o *GetProjectBySlugNotFound) Error() string
func (*GetProjectBySlugNotFound) GetPayload ¶
func (o *GetProjectBySlugNotFound) GetPayload() *models.ErrorResponse
func (*GetProjectBySlugNotFound) IsClientError ¶
func (o *GetProjectBySlugNotFound) IsClientError() bool
IsClientError returns true when this get project by slug not found response has a 4xx status code
func (*GetProjectBySlugNotFound) IsCode ¶
func (o *GetProjectBySlugNotFound) IsCode(code int) bool
IsCode returns true when this get project by slug not found response a status code equal to that given
func (*GetProjectBySlugNotFound) IsRedirect ¶
func (o *GetProjectBySlugNotFound) IsRedirect() bool
IsRedirect returns true when this get project by slug not found response has a 3xx status code
func (*GetProjectBySlugNotFound) IsServerError ¶
func (o *GetProjectBySlugNotFound) IsServerError() bool
IsServerError returns true when this get project by slug not found response has a 5xx status code
func (*GetProjectBySlugNotFound) IsSuccess ¶
func (o *GetProjectBySlugNotFound) IsSuccess() bool
IsSuccess returns true when this get project by slug not found response has a 2xx status code
func (*GetProjectBySlugNotFound) String ¶
func (o *GetProjectBySlugNotFound) String() string
type GetProjectBySlugOK ¶
GetProjectBySlugOK describes a response with status code 200, with default header values.
successful operation
func NewGetProjectBySlugOK ¶
func NewGetProjectBySlugOK() *GetProjectBySlugOK
NewGetProjectBySlugOK creates a GetProjectBySlugOK with default headers values
func (*GetProjectBySlugOK) Error ¶
func (o *GetProjectBySlugOK) Error() string
func (*GetProjectBySlugOK) GetPayload ¶
func (o *GetProjectBySlugOK) GetPayload() *models.Project
func (*GetProjectBySlugOK) IsClientError ¶
func (o *GetProjectBySlugOK) IsClientError() bool
IsClientError returns true when this get project by slug o k response has a 4xx status code
func (*GetProjectBySlugOK) IsCode ¶
func (o *GetProjectBySlugOK) IsCode(code int) bool
IsCode returns true when this get project by slug o k response a status code equal to that given
func (*GetProjectBySlugOK) IsRedirect ¶
func (o *GetProjectBySlugOK) IsRedirect() bool
IsRedirect returns true when this get project by slug o k response has a 3xx status code
func (*GetProjectBySlugOK) IsServerError ¶
func (o *GetProjectBySlugOK) IsServerError() bool
IsServerError returns true when this get project by slug o k response has a 5xx status code
func (*GetProjectBySlugOK) IsSuccess ¶
func (o *GetProjectBySlugOK) IsSuccess() bool
IsSuccess returns true when this get project by slug o k response has a 2xx status code
func (*GetProjectBySlugOK) String ¶
func (o *GetProjectBySlugOK) String() string
type GetProjectBySlugParams ¶
type GetProjectBySlugParams struct { /* Slug. Unique slug of the project. */ Slug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProjectBySlugParams contains all the parameters to send to the API endpoint
for the get project by slug operation. Typically these are written to a http.Request.
func NewGetProjectBySlugParams ¶
func NewGetProjectBySlugParams() *GetProjectBySlugParams
NewGetProjectBySlugParams creates a new GetProjectBySlugParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetProjectBySlugParamsWithContext ¶
func NewGetProjectBySlugParamsWithContext(ctx context.Context) *GetProjectBySlugParams
NewGetProjectBySlugParamsWithContext creates a new GetProjectBySlugParams object with the ability to set a context for a request.
func NewGetProjectBySlugParamsWithHTTPClient ¶
func NewGetProjectBySlugParamsWithHTTPClient(client *http.Client) *GetProjectBySlugParams
NewGetProjectBySlugParamsWithHTTPClient creates a new GetProjectBySlugParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjectBySlugParamsWithTimeout ¶
func NewGetProjectBySlugParamsWithTimeout(timeout time.Duration) *GetProjectBySlugParams
NewGetProjectBySlugParamsWithTimeout creates a new GetProjectBySlugParams object with the ability to set a timeout on a request.
func (*GetProjectBySlugParams) SetContext ¶
func (o *GetProjectBySlugParams) SetContext(ctx context.Context)
SetContext adds the context to the get project by slug params
func (*GetProjectBySlugParams) SetDefaults ¶
func (o *GetProjectBySlugParams) SetDefaults()
SetDefaults hydrates default values in the get project by slug params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjectBySlugParams) SetHTTPClient ¶
func (o *GetProjectBySlugParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get project by slug params
func (*GetProjectBySlugParams) SetSlug ¶
func (o *GetProjectBySlugParams) SetSlug(slug string)
SetSlug adds the slug to the get project by slug params
func (*GetProjectBySlugParams) SetTimeout ¶
func (o *GetProjectBySlugParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get project by slug params
func (*GetProjectBySlugParams) WithContext ¶
func (o *GetProjectBySlugParams) WithContext(ctx context.Context) *GetProjectBySlugParams
WithContext adds the context to the get project by slug params
func (*GetProjectBySlugParams) WithDefaults ¶
func (o *GetProjectBySlugParams) WithDefaults() *GetProjectBySlugParams
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 ¶
func (o *GetProjectBySlugParams) WithSlug(slug string) *GetProjectBySlugParams
WithSlug adds the slug to the get project by slug params
func (*GetProjectBySlugParams) WithTimeout ¶
func (o *GetProjectBySlugParams) WithTimeout(timeout time.Duration) *GetProjectBySlugParams
WithTimeout adds the timeout to the get project by slug params
func (*GetProjectBySlugParams) WriteToRequest ¶
func (o *GetProjectBySlugParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjectBySlugReader ¶
type GetProjectBySlugReader struct {
// contains filtered or unexported fields
}
GetProjectBySlugReader is a Reader for the GetProjectBySlug structure.
func (*GetProjectBySlugReader) ReadResponse ¶
func (o *GetProjectBySlugReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListAlertTemplatesInternalServerError ¶
type ListAlertTemplatesInternalServerError struct {
Payload *models.ErrorResponse
}
ListAlertTemplatesInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListAlertTemplatesInternalServerError ¶
func NewListAlertTemplatesInternalServerError() *ListAlertTemplatesInternalServerError
NewListAlertTemplatesInternalServerError creates a ListAlertTemplatesInternalServerError with default headers values
func (*ListAlertTemplatesInternalServerError) Error ¶
func (o *ListAlertTemplatesInternalServerError) Error() string
func (*ListAlertTemplatesInternalServerError) GetPayload ¶
func (o *ListAlertTemplatesInternalServerError) GetPayload() *models.ErrorResponse
func (*ListAlertTemplatesInternalServerError) IsClientError ¶
func (o *ListAlertTemplatesInternalServerError) IsClientError() bool
IsClientError returns true when this list alert templates internal server error response has a 4xx status code
func (*ListAlertTemplatesInternalServerError) IsCode ¶
func (o *ListAlertTemplatesInternalServerError) IsCode(code int) bool
IsCode returns true when this list alert templates internal server error response a status code equal to that given
func (*ListAlertTemplatesInternalServerError) IsRedirect ¶
func (o *ListAlertTemplatesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list alert templates internal server error response has a 3xx status code
func (*ListAlertTemplatesInternalServerError) IsServerError ¶
func (o *ListAlertTemplatesInternalServerError) IsServerError() bool
IsServerError returns true when this list alert templates internal server error response has a 5xx status code
func (*ListAlertTemplatesInternalServerError) IsSuccess ¶
func (o *ListAlertTemplatesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list alert templates internal server error response has a 2xx status code
func (*ListAlertTemplatesInternalServerError) String ¶
func (o *ListAlertTemplatesInternalServerError) String() string
type ListAlertTemplatesOK ¶
type ListAlertTemplatesOK struct {
Payload *models.AlertTemplatesArray
}
ListAlertTemplatesOK describes a response with status code 200, with default header values.
successful operation
func NewListAlertTemplatesOK ¶
func NewListAlertTemplatesOK() *ListAlertTemplatesOK
NewListAlertTemplatesOK creates a ListAlertTemplatesOK with default headers values
func (*ListAlertTemplatesOK) Error ¶
func (o *ListAlertTemplatesOK) Error() string
func (*ListAlertTemplatesOK) GetPayload ¶
func (o *ListAlertTemplatesOK) GetPayload() *models.AlertTemplatesArray
func (*ListAlertTemplatesOK) IsClientError ¶
func (o *ListAlertTemplatesOK) IsClientError() bool
IsClientError returns true when this list alert templates o k response has a 4xx status code
func (*ListAlertTemplatesOK) IsCode ¶
func (o *ListAlertTemplatesOK) IsCode(code int) bool
IsCode returns true when this list alert templates o k response a status code equal to that given
func (*ListAlertTemplatesOK) IsRedirect ¶
func (o *ListAlertTemplatesOK) IsRedirect() bool
IsRedirect returns true when this list alert templates o k response has a 3xx status code
func (*ListAlertTemplatesOK) IsServerError ¶
func (o *ListAlertTemplatesOK) IsServerError() bool
IsServerError returns true when this list alert templates o k response has a 5xx status code
func (*ListAlertTemplatesOK) IsSuccess ¶
func (o *ListAlertTemplatesOK) IsSuccess() bool
IsSuccess returns true when this list alert templates o k response has a 2xx status code
func (*ListAlertTemplatesOK) String ¶
func (o *ListAlertTemplatesOK) String() string
type ListAlertTemplatesParams ¶
type ListAlertTemplatesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAlertTemplatesParams contains all the parameters to send to the API endpoint
for the list alert templates operation. Typically these are written to a http.Request.
func NewListAlertTemplatesParams ¶
func NewListAlertTemplatesParams() *ListAlertTemplatesParams
NewListAlertTemplatesParams creates a new ListAlertTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListAlertTemplatesParamsWithContext ¶
func NewListAlertTemplatesParamsWithContext(ctx context.Context) *ListAlertTemplatesParams
NewListAlertTemplatesParamsWithContext creates a new ListAlertTemplatesParams object with the ability to set a context for a request.
func NewListAlertTemplatesParamsWithHTTPClient ¶
func NewListAlertTemplatesParamsWithHTTPClient(client *http.Client) *ListAlertTemplatesParams
NewListAlertTemplatesParamsWithHTTPClient creates a new ListAlertTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewListAlertTemplatesParamsWithTimeout ¶
func NewListAlertTemplatesParamsWithTimeout(timeout time.Duration) *ListAlertTemplatesParams
NewListAlertTemplatesParamsWithTimeout creates a new ListAlertTemplatesParams object with the ability to set a timeout on a request.
func (*ListAlertTemplatesParams) SetContext ¶
func (o *ListAlertTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the list alert templates params
func (*ListAlertTemplatesParams) SetDefaults ¶
func (o *ListAlertTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the list alert templates params (not the query body).
All values with no default are reset to their zero value.
func (*ListAlertTemplatesParams) SetHTTPClient ¶
func (o *ListAlertTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list alert templates params
func (*ListAlertTemplatesParams) SetTimeout ¶
func (o *ListAlertTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list alert templates params
func (*ListAlertTemplatesParams) WithContext ¶
func (o *ListAlertTemplatesParams) WithContext(ctx context.Context) *ListAlertTemplatesParams
WithContext adds the context to the list alert templates params
func (*ListAlertTemplatesParams) WithDefaults ¶
func (o *ListAlertTemplatesParams) WithDefaults() *ListAlertTemplatesParams
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 ¶
func (o *ListAlertTemplatesParams) WithTimeout(timeout time.Duration) *ListAlertTemplatesParams
WithTimeout adds the timeout to the list alert templates params
func (*ListAlertTemplatesParams) WriteToRequest ¶
func (o *ListAlertTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ListFirehosesInternalServerError) Error() string
func (*ListFirehosesInternalServerError) GetPayload ¶
func (o *ListFirehosesInternalServerError) GetPayload() *models.ErrorResponse
func (*ListFirehosesInternalServerError) IsClientError ¶
func (o *ListFirehosesInternalServerError) IsClientError() bool
IsClientError returns true when this list firehoses internal server error response has a 4xx status code
func (*ListFirehosesInternalServerError) IsCode ¶
func (o *ListFirehosesInternalServerError) IsCode(code int) bool
IsCode returns true when this list firehoses internal server error response a status code equal to that given
func (*ListFirehosesInternalServerError) IsRedirect ¶
func (o *ListFirehosesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list firehoses internal server error response has a 3xx status code
func (*ListFirehosesInternalServerError) IsServerError ¶
func (o *ListFirehosesInternalServerError) IsServerError() bool
IsServerError returns true when this list firehoses internal server error response has a 5xx status code
func (*ListFirehosesInternalServerError) IsSuccess ¶
func (o *ListFirehosesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list firehoses internal server error response has a 2xx status code
func (*ListFirehosesInternalServerError) String ¶
func (o *ListFirehosesInternalServerError) String() string
type ListFirehosesOK ¶
type ListFirehosesOK struct {
Payload *models.FirehoseArray
}
ListFirehosesOK describes a response with status code 200, with default header values.
successful operation
func NewListFirehosesOK ¶
func NewListFirehosesOK() *ListFirehosesOK
NewListFirehosesOK creates a ListFirehosesOK with default headers values
func (*ListFirehosesOK) Error ¶
func (o *ListFirehosesOK) Error() string
func (*ListFirehosesOK) GetPayload ¶
func (o *ListFirehosesOK) GetPayload() *models.FirehoseArray
func (*ListFirehosesOK) IsClientError ¶
func (o *ListFirehosesOK) IsClientError() bool
IsClientError returns true when this list firehoses o k response has a 4xx status code
func (*ListFirehosesOK) IsCode ¶
func (o *ListFirehosesOK) IsCode(code int) bool
IsCode returns true when this list firehoses o k response a status code equal to that given
func (*ListFirehosesOK) IsRedirect ¶
func (o *ListFirehosesOK) IsRedirect() bool
IsRedirect returns true when this list firehoses o k response has a 3xx status code
func (*ListFirehosesOK) IsServerError ¶
func (o *ListFirehosesOK) IsServerError() bool
IsServerError returns true when this list firehoses o k response has a 5xx status code
func (*ListFirehosesOK) IsSuccess ¶
func (o *ListFirehosesOK) IsSuccess() bool
IsSuccess returns true when this list firehoses o k response has a 2xx status code
func (*ListFirehosesOK) String ¶
func (o *ListFirehosesOK) String() string
type ListFirehosesParams ¶
type ListFirehosesParams struct { /* Group. Return firehoses belonging to only this group. */ Group *string /* KubeCluster. Return firehoses belonging to only this kubernetes cluster. */ KubeCluster *string /* ProjectSlug. Unique identifier of the project. */ ProjectSlug string /* SinkType. Return firehoses with this sink type. */ SinkType *string /* Status. Return firehoses only with this status. */ Status *string /* StreamName. Return firehoses that are consuming from this stream. Usually stream refers to the kafka cluster. */ StreamName *string /* TopicName. Return firehoses that are consuming from this topic. */ TopicName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFirehosesParams contains all the parameters to send to the API endpoint
for the list firehoses operation. Typically these are written to a http.Request.
func NewListFirehosesParams ¶
func NewListFirehosesParams() *ListFirehosesParams
NewListFirehosesParams creates a new ListFirehosesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListFirehosesParamsWithContext ¶
func NewListFirehosesParamsWithContext(ctx context.Context) *ListFirehosesParams
NewListFirehosesParamsWithContext creates a new ListFirehosesParams object with the ability to set a context for a request.
func NewListFirehosesParamsWithHTTPClient ¶
func NewListFirehosesParamsWithHTTPClient(client *http.Client) *ListFirehosesParams
NewListFirehosesParamsWithHTTPClient creates a new ListFirehosesParams object with the ability to set a custom HTTPClient for a request.
func NewListFirehosesParamsWithTimeout ¶
func NewListFirehosesParamsWithTimeout(timeout time.Duration) *ListFirehosesParams
NewListFirehosesParamsWithTimeout creates a new ListFirehosesParams object with the ability to set a timeout on a request.
func (*ListFirehosesParams) SetContext ¶
func (o *ListFirehosesParams) SetContext(ctx context.Context)
SetContext adds the context to the list firehoses params
func (*ListFirehosesParams) SetDefaults ¶
func (o *ListFirehosesParams) SetDefaults()
SetDefaults hydrates default values in the list firehoses params (not the query body).
All values with no default are reset to their zero value.
func (*ListFirehosesParams) SetGroup ¶ added in v0.2.1
func (o *ListFirehosesParams) SetGroup(group *string)
SetGroup adds the group to the list firehoses params
func (*ListFirehosesParams) SetHTTPClient ¶
func (o *ListFirehosesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list firehoses params
func (*ListFirehosesParams) SetKubeCluster ¶ added in v0.2.1
func (o *ListFirehosesParams) SetKubeCluster(kubeCluster *string)
SetKubeCluster adds the kubeCluster to the list firehoses params
func (*ListFirehosesParams) SetProjectSlug ¶
func (o *ListFirehosesParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the list firehoses params
func (*ListFirehosesParams) SetSinkType ¶
func (o *ListFirehosesParams) SetSinkType(sinkType *string)
SetSinkType adds the sinkType to the list firehoses params
func (*ListFirehosesParams) SetStatus ¶
func (o *ListFirehosesParams) SetStatus(status *string)
SetStatus adds the status to the list firehoses params
func (*ListFirehosesParams) SetStreamName ¶
func (o *ListFirehosesParams) SetStreamName(streamName *string)
SetStreamName adds the streamName to the list firehoses params
func (*ListFirehosesParams) SetTimeout ¶
func (o *ListFirehosesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list firehoses params
func (*ListFirehosesParams) SetTopicName ¶
func (o *ListFirehosesParams) SetTopicName(topicName *string)
SetTopicName adds the topicName to the list firehoses params
func (*ListFirehosesParams) WithContext ¶
func (o *ListFirehosesParams) WithContext(ctx context.Context) *ListFirehosesParams
WithContext adds the context to the list firehoses params
func (*ListFirehosesParams) WithDefaults ¶
func (o *ListFirehosesParams) WithDefaults() *ListFirehosesParams
WithDefaults hydrates default values in the list firehoses params (not the query body).
All values with no default are reset to their zero value.
func (*ListFirehosesParams) WithGroup ¶ added in v0.2.1
func (o *ListFirehosesParams) WithGroup(group *string) *ListFirehosesParams
WithGroup adds the group to the list firehoses params
func (*ListFirehosesParams) WithHTTPClient ¶
func (o *ListFirehosesParams) WithHTTPClient(client *http.Client) *ListFirehosesParams
WithHTTPClient adds the HTTPClient to the list firehoses params
func (*ListFirehosesParams) WithKubeCluster ¶ added in v0.2.1
func (o *ListFirehosesParams) WithKubeCluster(kubeCluster *string) *ListFirehosesParams
WithKubeCluster adds the kubeCluster to the list firehoses params
func (*ListFirehosesParams) WithProjectSlug ¶
func (o *ListFirehosesParams) WithProjectSlug(projectSlug string) *ListFirehosesParams
WithProjectSlug adds the projectSlug to the list firehoses params
func (*ListFirehosesParams) WithSinkType ¶
func (o *ListFirehosesParams) WithSinkType(sinkType *string) *ListFirehosesParams
WithSinkType adds the sinkType to the list firehoses params
func (*ListFirehosesParams) WithStatus ¶
func (o *ListFirehosesParams) WithStatus(status *string) *ListFirehosesParams
WithStatus adds the status to the list firehoses params
func (*ListFirehosesParams) WithStreamName ¶
func (o *ListFirehosesParams) WithStreamName(streamName *string) *ListFirehosesParams
WithStreamName adds the streamName to the list firehoses params
func (*ListFirehosesParams) WithTimeout ¶
func (o *ListFirehosesParams) WithTimeout(timeout time.Duration) *ListFirehosesParams
WithTimeout adds the timeout to the list firehoses params
func (*ListFirehosesParams) WithTopicName ¶
func (o *ListFirehosesParams) WithTopicName(topicName *string) *ListFirehosesParams
WithTopicName adds the topicName to the list firehoses params
func (*ListFirehosesParams) WriteToRequest ¶
func (o *ListFirehosesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFirehosesReader ¶
type ListFirehosesReader struct {
// contains filtered or unexported fields
}
ListFirehosesReader is a Reader for the ListFirehoses structure.
func (*ListFirehosesReader) ReadResponse ¶
func (o *ListFirehosesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListKubernetesInternalServerError ¶ added in v0.2.1
type ListKubernetesInternalServerError struct {
Payload *models.ErrorResponse
}
ListKubernetesInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListKubernetesInternalServerError ¶ added in v0.2.1
func NewListKubernetesInternalServerError() *ListKubernetesInternalServerError
NewListKubernetesInternalServerError creates a ListKubernetesInternalServerError with default headers values
func (*ListKubernetesInternalServerError) Error ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) Error() string
func (*ListKubernetesInternalServerError) GetPayload ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) GetPayload() *models.ErrorResponse
func (*ListKubernetesInternalServerError) IsClientError ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) IsClientError() bool
IsClientError returns true when this list kubernetes internal server error response has a 4xx status code
func (*ListKubernetesInternalServerError) IsCode ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) IsCode(code int) bool
IsCode returns true when this list kubernetes internal server error response a status code equal to that given
func (*ListKubernetesInternalServerError) IsRedirect ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list kubernetes internal server error response has a 3xx status code
func (*ListKubernetesInternalServerError) IsServerError ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) IsServerError() bool
IsServerError returns true when this list kubernetes internal server error response has a 5xx status code
func (*ListKubernetesInternalServerError) IsSuccess ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list kubernetes internal server error response has a 2xx status code
func (*ListKubernetesInternalServerError) String ¶ added in v0.2.1
func (o *ListKubernetesInternalServerError) String() string
type ListKubernetesOK ¶ added in v0.2.1
type ListKubernetesOK struct {
Payload *models.KubernetesArray
}
ListKubernetesOK describes a response with status code 200, with default header values.
successful operation
func NewListKubernetesOK ¶ added in v0.2.1
func NewListKubernetesOK() *ListKubernetesOK
NewListKubernetesOK creates a ListKubernetesOK with default headers values
func (*ListKubernetesOK) Error ¶ added in v0.2.1
func (o *ListKubernetesOK) Error() string
func (*ListKubernetesOK) GetPayload ¶ added in v0.2.1
func (o *ListKubernetesOK) GetPayload() *models.KubernetesArray
func (*ListKubernetesOK) IsClientError ¶ added in v0.2.1
func (o *ListKubernetesOK) IsClientError() bool
IsClientError returns true when this list kubernetes o k response has a 4xx status code
func (*ListKubernetesOK) IsCode ¶ added in v0.2.1
func (o *ListKubernetesOK) IsCode(code int) bool
IsCode returns true when this list kubernetes o k response a status code equal to that given
func (*ListKubernetesOK) IsRedirect ¶ added in v0.2.1
func (o *ListKubernetesOK) IsRedirect() bool
IsRedirect returns true when this list kubernetes o k response has a 3xx status code
func (*ListKubernetesOK) IsServerError ¶ added in v0.2.1
func (o *ListKubernetesOK) IsServerError() bool
IsServerError returns true when this list kubernetes o k response has a 5xx status code
func (*ListKubernetesOK) IsSuccess ¶ added in v0.2.1
func (o *ListKubernetesOK) IsSuccess() bool
IsSuccess returns true when this list kubernetes o k response has a 2xx status code
func (*ListKubernetesOK) String ¶ added in v0.2.1
func (o *ListKubernetesOK) String() string
type ListKubernetesParams ¶ added in v0.2.1
type ListKubernetesParams struct { /* ProjectSlug. Unique identifier of the project. */ ProjectSlug string /* Tag. Return kubernetes clusters with given tag. */ Tag *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListKubernetesParams contains all the parameters to send to the API endpoint
for the list kubernetes operation. Typically these are written to a http.Request.
func NewListKubernetesParams ¶ added in v0.2.1
func NewListKubernetesParams() *ListKubernetesParams
NewListKubernetesParams creates a new ListKubernetesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListKubernetesParamsWithContext ¶ added in v0.2.1
func NewListKubernetesParamsWithContext(ctx context.Context) *ListKubernetesParams
NewListKubernetesParamsWithContext creates a new ListKubernetesParams object with the ability to set a context for a request.
func NewListKubernetesParamsWithHTTPClient ¶ added in v0.2.1
func NewListKubernetesParamsWithHTTPClient(client *http.Client) *ListKubernetesParams
NewListKubernetesParamsWithHTTPClient creates a new ListKubernetesParams object with the ability to set a custom HTTPClient for a request.
func NewListKubernetesParamsWithTimeout ¶ added in v0.2.1
func NewListKubernetesParamsWithTimeout(timeout time.Duration) *ListKubernetesParams
NewListKubernetesParamsWithTimeout creates a new ListKubernetesParams object with the ability to set a timeout on a request.
func (*ListKubernetesParams) SetContext ¶ added in v0.2.1
func (o *ListKubernetesParams) SetContext(ctx context.Context)
SetContext adds the context to the list kubernetes params
func (*ListKubernetesParams) SetDefaults ¶ added in v0.2.1
func (o *ListKubernetesParams) SetDefaults()
SetDefaults hydrates default values in the list kubernetes params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubernetesParams) SetHTTPClient ¶ added in v0.2.1
func (o *ListKubernetesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list kubernetes params
func (*ListKubernetesParams) SetProjectSlug ¶ added in v0.2.1
func (o *ListKubernetesParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the list kubernetes params
func (*ListKubernetesParams) SetTag ¶ added in v0.2.1
func (o *ListKubernetesParams) SetTag(tag *string)
SetTag adds the tag to the list kubernetes params
func (*ListKubernetesParams) SetTimeout ¶ added in v0.2.1
func (o *ListKubernetesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list kubernetes params
func (*ListKubernetesParams) WithContext ¶ added in v0.2.1
func (o *ListKubernetesParams) WithContext(ctx context.Context) *ListKubernetesParams
WithContext adds the context to the list kubernetes params
func (*ListKubernetesParams) WithDefaults ¶ added in v0.2.1
func (o *ListKubernetesParams) WithDefaults() *ListKubernetesParams
WithDefaults hydrates default values in the list kubernetes params (not the query body).
All values with no default are reset to their zero value.
func (*ListKubernetesParams) WithHTTPClient ¶ added in v0.2.1
func (o *ListKubernetesParams) WithHTTPClient(client *http.Client) *ListKubernetesParams
WithHTTPClient adds the HTTPClient to the list kubernetes params
func (*ListKubernetesParams) WithProjectSlug ¶ added in v0.2.1
func (o *ListKubernetesParams) WithProjectSlug(projectSlug string) *ListKubernetesParams
WithProjectSlug adds the projectSlug to the list kubernetes params
func (*ListKubernetesParams) WithTag ¶ added in v0.2.1
func (o *ListKubernetesParams) WithTag(tag *string) *ListKubernetesParams
WithTag adds the tag to the list kubernetes params
func (*ListKubernetesParams) WithTimeout ¶ added in v0.2.1
func (o *ListKubernetesParams) WithTimeout(timeout time.Duration) *ListKubernetesParams
WithTimeout adds the timeout to the list kubernetes params
func (*ListKubernetesParams) WriteToRequest ¶ added in v0.2.1
func (o *ListKubernetesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListKubernetesReader ¶ added in v0.2.1
type ListKubernetesReader struct {
// contains filtered or unexported fields
}
ListKubernetesReader is a Reader for the ListKubernetes structure.
func (*ListKubernetesReader) ReadResponse ¶ added in v0.2.1
func (o *ListKubernetesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProjectsInternalServerError ¶
type ListProjectsInternalServerError struct {
Payload *models.ErrorResponse
}
ListProjectsInternalServerError describes a response with status code 500, with default header values.
internal error
func NewListProjectsInternalServerError ¶
func NewListProjectsInternalServerError() *ListProjectsInternalServerError
NewListProjectsInternalServerError creates a ListProjectsInternalServerError with default headers values
func (*ListProjectsInternalServerError) Error ¶
func (o *ListProjectsInternalServerError) Error() string
func (*ListProjectsInternalServerError) GetPayload ¶
func (o *ListProjectsInternalServerError) GetPayload() *models.ErrorResponse
func (*ListProjectsInternalServerError) IsClientError ¶
func (o *ListProjectsInternalServerError) IsClientError() bool
IsClientError returns true when this list projects internal server error response has a 4xx status code
func (*ListProjectsInternalServerError) IsCode ¶
func (o *ListProjectsInternalServerError) IsCode(code int) bool
IsCode returns true when this list projects internal server error response a status code equal to that given
func (*ListProjectsInternalServerError) IsRedirect ¶
func (o *ListProjectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list projects internal server error response has a 3xx status code
func (*ListProjectsInternalServerError) IsServerError ¶
func (o *ListProjectsInternalServerError) IsServerError() bool
IsServerError returns true when this list projects internal server error response has a 5xx status code
func (*ListProjectsInternalServerError) IsSuccess ¶
func (o *ListProjectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list projects internal server error response has a 2xx status code
func (*ListProjectsInternalServerError) String ¶
func (o *ListProjectsInternalServerError) String() string
type ListProjectsOK ¶
type ListProjectsOK struct {
Payload *models.ProjectArray
}
ListProjectsOK describes a response with status code 200, with default header values.
successful operation
func NewListProjectsOK ¶
func NewListProjectsOK() *ListProjectsOK
NewListProjectsOK creates a ListProjectsOK with default headers values
func (*ListProjectsOK) Error ¶
func (o *ListProjectsOK) Error() string
func (*ListProjectsOK) GetPayload ¶
func (o *ListProjectsOK) GetPayload() *models.ProjectArray
func (*ListProjectsOK) IsClientError ¶
func (o *ListProjectsOK) IsClientError() bool
IsClientError returns true when this list projects o k response has a 4xx status code
func (*ListProjectsOK) IsCode ¶
func (o *ListProjectsOK) IsCode(code int) bool
IsCode returns true when this list projects o k response a status code equal to that given
func (*ListProjectsOK) IsRedirect ¶
func (o *ListProjectsOK) IsRedirect() bool
IsRedirect returns true when this list projects o k response has a 3xx status code
func (*ListProjectsOK) IsServerError ¶
func (o *ListProjectsOK) IsServerError() bool
IsServerError returns true when this list projects o k response has a 5xx status code
func (*ListProjectsOK) IsSuccess ¶
func (o *ListProjectsOK) IsSuccess() bool
IsSuccess returns true when this list projects o k response has a 2xx status code
func (*ListProjectsOK) String ¶
func (o *ListProjectsOK) String() string
type ListProjectsParams ¶
type ListProjectsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProjectsParams contains all the parameters to send to the API endpoint
for the list projects operation. Typically these are written to a http.Request.
func NewListProjectsParams ¶
func NewListProjectsParams() *ListProjectsParams
NewListProjectsParams creates a new ListProjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListProjectsParamsWithContext ¶
func NewListProjectsParamsWithContext(ctx context.Context) *ListProjectsParams
NewListProjectsParamsWithContext creates a new ListProjectsParams object with the ability to set a context for a request.
func NewListProjectsParamsWithHTTPClient ¶
func NewListProjectsParamsWithHTTPClient(client *http.Client) *ListProjectsParams
NewListProjectsParamsWithHTTPClient creates a new ListProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListProjectsParamsWithTimeout ¶
func NewListProjectsParamsWithTimeout(timeout time.Duration) *ListProjectsParams
NewListProjectsParamsWithTimeout creates a new ListProjectsParams object with the ability to set a timeout on a request.
func (*ListProjectsParams) SetContext ¶
func (o *ListProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list projects params
func (*ListProjectsParams) SetDefaults ¶
func (o *ListProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) SetHTTPClient ¶
func (o *ListProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) SetTimeout ¶
func (o *ListProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WithContext ¶
func (o *ListProjectsParams) WithContext(ctx context.Context) *ListProjectsParams
WithContext adds the context to the list projects params
func (*ListProjectsParams) WithDefaults ¶
func (o *ListProjectsParams) WithDefaults() *ListProjectsParams
WithDefaults hydrates default values in the list projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListProjectsParams) WithHTTPClient ¶
func (o *ListProjectsParams) WithHTTPClient(client *http.Client) *ListProjectsParams
WithHTTPClient adds the HTTPClient to the list projects params
func (*ListProjectsParams) WithTimeout ¶
func (o *ListProjectsParams) WithTimeout(timeout time.Duration) *ListProjectsParams
WithTimeout adds the timeout to the list projects params
func (*ListProjectsParams) WriteToRequest ¶
func (o *ListProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProjectsReader ¶
type ListProjectsReader struct {
// contains filtered or unexported fields
}
ListProjectsReader is a Reader for the ListProjects structure.
func (*ListProjectsReader) ReadResponse ¶
func (o *ListProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ResetOffsetBadRequest ¶
type ResetOffsetBadRequest struct {
Payload *models.ErrorResponse
}
ResetOffsetBadRequest describes a response with status code 400, with default header values.
Update request is not valid.
func NewResetOffsetBadRequest ¶
func NewResetOffsetBadRequest() *ResetOffsetBadRequest
NewResetOffsetBadRequest creates a ResetOffsetBadRequest with default headers values
func (*ResetOffsetBadRequest) Error ¶
func (o *ResetOffsetBadRequest) Error() string
func (*ResetOffsetBadRequest) GetPayload ¶
func (o *ResetOffsetBadRequest) GetPayload() *models.ErrorResponse
func (*ResetOffsetBadRequest) IsClientError ¶
func (o *ResetOffsetBadRequest) IsClientError() bool
IsClientError returns true when this reset offset bad request response has a 4xx status code
func (*ResetOffsetBadRequest) IsCode ¶
func (o *ResetOffsetBadRequest) IsCode(code int) bool
IsCode returns true when this reset offset bad request response a status code equal to that given
func (*ResetOffsetBadRequest) IsRedirect ¶
func (o *ResetOffsetBadRequest) IsRedirect() bool
IsRedirect returns true when this reset offset bad request response has a 3xx status code
func (*ResetOffsetBadRequest) IsServerError ¶
func (o *ResetOffsetBadRequest) IsServerError() bool
IsServerError returns true when this reset offset bad request response has a 5xx status code
func (*ResetOffsetBadRequest) IsSuccess ¶
func (o *ResetOffsetBadRequest) IsSuccess() bool
IsSuccess returns true when this reset offset bad request response has a 2xx status code
func (*ResetOffsetBadRequest) String ¶
func (o *ResetOffsetBadRequest) String() string
type ResetOffsetBody ¶
type ResetOffsetBody struct { // datetime // Example: 2022-10-10T10:10:10.100Z // Format: date-time Datetime strfmt.DateTime `json:"datetime,omitempty"` // to // Required: true // Enum: [DATETIME EARLIEST LATEST] To *string `json:"to"` }
ResetOffsetBody reset offset body swagger:model ResetOffsetBody
func (*ResetOffsetBody) ContextValidate ¶
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
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 (o *ResetOffsetInternalServerError) Error() string
func (*ResetOffsetInternalServerError) GetPayload ¶
func (o *ResetOffsetInternalServerError) GetPayload() *models.ErrorResponse
func (*ResetOffsetInternalServerError) IsClientError ¶
func (o *ResetOffsetInternalServerError) IsClientError() bool
IsClientError returns true when this reset offset internal server error response has a 4xx status code
func (*ResetOffsetInternalServerError) IsCode ¶
func (o *ResetOffsetInternalServerError) IsCode(code int) bool
IsCode returns true when this reset offset internal server error response a status code equal to that given
func (*ResetOffsetInternalServerError) IsRedirect ¶
func (o *ResetOffsetInternalServerError) IsRedirect() bool
IsRedirect returns true when this reset offset internal server error response has a 3xx status code
func (*ResetOffsetInternalServerError) IsServerError ¶
func (o *ResetOffsetInternalServerError) IsServerError() bool
IsServerError returns true when this reset offset internal server error response has a 5xx status code
func (*ResetOffsetInternalServerError) IsSuccess ¶
func (o *ResetOffsetInternalServerError) IsSuccess() bool
IsSuccess returns true when this reset offset internal server error response has a 2xx status code
func (*ResetOffsetInternalServerError) String ¶
func (o *ResetOffsetInternalServerError) String() string
type ResetOffsetNotFound ¶
type ResetOffsetNotFound struct {
Payload *models.ErrorResponse
}
ResetOffsetNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewResetOffsetNotFound ¶
func NewResetOffsetNotFound() *ResetOffsetNotFound
NewResetOffsetNotFound creates a ResetOffsetNotFound with default headers values
func (*ResetOffsetNotFound) Error ¶
func (o *ResetOffsetNotFound) Error() string
func (*ResetOffsetNotFound) GetPayload ¶
func (o *ResetOffsetNotFound) GetPayload() *models.ErrorResponse
func (*ResetOffsetNotFound) IsClientError ¶
func (o *ResetOffsetNotFound) IsClientError() bool
IsClientError returns true when this reset offset not found response has a 4xx status code
func (*ResetOffsetNotFound) IsCode ¶
func (o *ResetOffsetNotFound) IsCode(code int) bool
IsCode returns true when this reset offset not found response a status code equal to that given
func (*ResetOffsetNotFound) IsRedirect ¶
func (o *ResetOffsetNotFound) IsRedirect() bool
IsRedirect returns true when this reset offset not found response has a 3xx status code
func (*ResetOffsetNotFound) IsServerError ¶
func (o *ResetOffsetNotFound) IsServerError() bool
IsServerError returns true when this reset offset not found response has a 5xx status code
func (*ResetOffsetNotFound) IsSuccess ¶
func (o *ResetOffsetNotFound) IsSuccess() bool
IsSuccess returns true when this reset offset not found response has a 2xx status code
func (*ResetOffsetNotFound) String ¶
func (o *ResetOffsetNotFound) String() string
type ResetOffsetOK ¶
ResetOffsetOK describes a response with status code 200, with default header values.
Found firehose with given URN
func NewResetOffsetOK ¶
func NewResetOffsetOK() *ResetOffsetOK
NewResetOffsetOK creates a ResetOffsetOK with default headers values
func (*ResetOffsetOK) Error ¶
func (o *ResetOffsetOK) Error() string
func (*ResetOffsetOK) GetPayload ¶
func (o *ResetOffsetOK) GetPayload() *models.Firehose
func (*ResetOffsetOK) IsClientError ¶
func (o *ResetOffsetOK) IsClientError() bool
IsClientError returns true when this reset offset o k response has a 4xx status code
func (*ResetOffsetOK) IsCode ¶
func (o *ResetOffsetOK) IsCode(code int) bool
IsCode returns true when this reset offset o k response a status code equal to that given
func (*ResetOffsetOK) IsRedirect ¶
func (o *ResetOffsetOK) IsRedirect() bool
IsRedirect returns true when this reset offset o k response has a 3xx status code
func (*ResetOffsetOK) IsServerError ¶
func (o *ResetOffsetOK) IsServerError() bool
IsServerError returns true when this reset offset o k response has a 5xx status code
func (*ResetOffsetOK) IsSuccess ¶
func (o *ResetOffsetOK) IsSuccess() bool
IsSuccess returns true when this reset offset o k response has a 2xx status code
func (*ResetOffsetOK) String ¶
func (o *ResetOffsetOK) String() string
type ResetOffsetParams ¶
type ResetOffsetParams struct { // Body. Body ResetOffsetBody /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Identifier for the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ResetOffsetParams contains all the parameters to send to the API endpoint
for the reset offset operation. Typically these are written to a http.Request.
func NewResetOffsetParams ¶
func NewResetOffsetParams() *ResetOffsetParams
NewResetOffsetParams creates a new ResetOffsetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewResetOffsetParamsWithContext ¶
func NewResetOffsetParamsWithContext(ctx context.Context) *ResetOffsetParams
NewResetOffsetParamsWithContext creates a new ResetOffsetParams object with the ability to set a context for a request.
func NewResetOffsetParamsWithHTTPClient ¶
func NewResetOffsetParamsWithHTTPClient(client *http.Client) *ResetOffsetParams
NewResetOffsetParamsWithHTTPClient creates a new ResetOffsetParams object with the ability to set a custom HTTPClient for a request.
func NewResetOffsetParamsWithTimeout ¶
func NewResetOffsetParamsWithTimeout(timeout time.Duration) *ResetOffsetParams
NewResetOffsetParamsWithTimeout creates a new ResetOffsetParams object with the ability to set a timeout on a request.
func (*ResetOffsetParams) SetBody ¶
func (o *ResetOffsetParams) SetBody(body ResetOffsetBody)
SetBody adds the body to the reset offset params
func (*ResetOffsetParams) SetContext ¶
func (o *ResetOffsetParams) SetContext(ctx context.Context)
SetContext adds the context to the reset offset params
func (*ResetOffsetParams) SetDefaults ¶
func (o *ResetOffsetParams) SetDefaults()
SetDefaults hydrates default values in the reset offset params (not the query body).
All values with no default are reset to their zero value.
func (*ResetOffsetParams) SetFirehoseUrn ¶
func (o *ResetOffsetParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the reset offset params
func (*ResetOffsetParams) SetHTTPClient ¶
func (o *ResetOffsetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the reset offset params
func (*ResetOffsetParams) SetProjectSlug ¶
func (o *ResetOffsetParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the reset offset params
func (*ResetOffsetParams) SetTimeout ¶
func (o *ResetOffsetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the reset offset params
func (*ResetOffsetParams) WithBody ¶
func (o *ResetOffsetParams) WithBody(body ResetOffsetBody) *ResetOffsetParams
WithBody adds the body to the reset offset params
func (*ResetOffsetParams) WithContext ¶
func (o *ResetOffsetParams) WithContext(ctx context.Context) *ResetOffsetParams
WithContext adds the context to the reset offset params
func (*ResetOffsetParams) WithDefaults ¶
func (o *ResetOffsetParams) WithDefaults() *ResetOffsetParams
WithDefaults hydrates default values in the reset offset params (not the query body).
All values with no default are reset to their zero value.
func (*ResetOffsetParams) WithFirehoseUrn ¶
func (o *ResetOffsetParams) WithFirehoseUrn(firehoseUrn string) *ResetOffsetParams
WithFirehoseUrn adds the firehoseUrn to the reset offset params
func (*ResetOffsetParams) WithHTTPClient ¶
func (o *ResetOffsetParams) WithHTTPClient(client *http.Client) *ResetOffsetParams
WithHTTPClient adds the HTTPClient to the reset offset params
func (*ResetOffsetParams) WithProjectSlug ¶
func (o *ResetOffsetParams) WithProjectSlug(projectSlug string) *ResetOffsetParams
WithProjectSlug adds the projectSlug to the reset offset params
func (*ResetOffsetParams) WithTimeout ¶
func (o *ResetOffsetParams) WithTimeout(timeout time.Duration) *ResetOffsetParams
WithTimeout adds the timeout to the reset offset params
func (*ResetOffsetParams) WriteToRequest ¶
func (o *ResetOffsetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ResetOffsetReader ¶
type ResetOffsetReader struct {
// contains filtered or unexported fields
}
ResetOffsetReader is a Reader for the ResetOffset structure.
func (*ResetOffsetReader) ReadResponse ¶
func (o *ResetOffsetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ScaleFirehoseBadRequest ¶
type ScaleFirehoseBadRequest struct {
Payload *models.ErrorResponse
}
ScaleFirehoseBadRequest describes a response with status code 400, with default header values.
Update request is not valid.
func NewScaleFirehoseBadRequest ¶
func NewScaleFirehoseBadRequest() *ScaleFirehoseBadRequest
NewScaleFirehoseBadRequest creates a ScaleFirehoseBadRequest with default headers values
func (*ScaleFirehoseBadRequest) Error ¶
func (o *ScaleFirehoseBadRequest) Error() string
func (*ScaleFirehoseBadRequest) GetPayload ¶
func (o *ScaleFirehoseBadRequest) GetPayload() *models.ErrorResponse
func (*ScaleFirehoseBadRequest) IsClientError ¶
func (o *ScaleFirehoseBadRequest) IsClientError() bool
IsClientError returns true when this scale firehose bad request response has a 4xx status code
func (*ScaleFirehoseBadRequest) IsCode ¶
func (o *ScaleFirehoseBadRequest) IsCode(code int) bool
IsCode returns true when this scale firehose bad request response a status code equal to that given
func (*ScaleFirehoseBadRequest) IsRedirect ¶
func (o *ScaleFirehoseBadRequest) IsRedirect() bool
IsRedirect returns true when this scale firehose bad request response has a 3xx status code
func (*ScaleFirehoseBadRequest) IsServerError ¶
func (o *ScaleFirehoseBadRequest) IsServerError() bool
IsServerError returns true when this scale firehose bad request response has a 5xx status code
func (*ScaleFirehoseBadRequest) IsSuccess ¶
func (o *ScaleFirehoseBadRequest) IsSuccess() bool
IsSuccess returns true when this scale firehose bad request response has a 2xx status code
func (*ScaleFirehoseBadRequest) String ¶
func (o *ScaleFirehoseBadRequest) String() string
type ScaleFirehoseBody ¶
type ScaleFirehoseBody struct { // Number of replicas to run. // Example: 2 // Required: true Replicas *float64 `json:"replicas"` }
ScaleFirehoseBody scale firehose body swagger:model ScaleFirehoseBody
func (*ScaleFirehoseBody) ContextValidate ¶
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
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 (o *ScaleFirehoseInternalServerError) Error() string
func (*ScaleFirehoseInternalServerError) GetPayload ¶
func (o *ScaleFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*ScaleFirehoseInternalServerError) IsClientError ¶
func (o *ScaleFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this scale firehose internal server error response has a 4xx status code
func (*ScaleFirehoseInternalServerError) IsCode ¶
func (o *ScaleFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this scale firehose internal server error response a status code equal to that given
func (*ScaleFirehoseInternalServerError) IsRedirect ¶
func (o *ScaleFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this scale firehose internal server error response has a 3xx status code
func (*ScaleFirehoseInternalServerError) IsServerError ¶
func (o *ScaleFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this scale firehose internal server error response has a 5xx status code
func (*ScaleFirehoseInternalServerError) IsSuccess ¶
func (o *ScaleFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this scale firehose internal server error response has a 2xx status code
func (*ScaleFirehoseInternalServerError) String ¶
func (o *ScaleFirehoseInternalServerError) String() string
type ScaleFirehoseNotFound ¶
type ScaleFirehoseNotFound struct {
Payload *models.ErrorResponse
}
ScaleFirehoseNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewScaleFirehoseNotFound ¶
func NewScaleFirehoseNotFound() *ScaleFirehoseNotFound
NewScaleFirehoseNotFound creates a ScaleFirehoseNotFound with default headers values
func (*ScaleFirehoseNotFound) Error ¶
func (o *ScaleFirehoseNotFound) Error() string
func (*ScaleFirehoseNotFound) GetPayload ¶
func (o *ScaleFirehoseNotFound) GetPayload() *models.ErrorResponse
func (*ScaleFirehoseNotFound) IsClientError ¶
func (o *ScaleFirehoseNotFound) IsClientError() bool
IsClientError returns true when this scale firehose not found response has a 4xx status code
func (*ScaleFirehoseNotFound) IsCode ¶
func (o *ScaleFirehoseNotFound) IsCode(code int) bool
IsCode returns true when this scale firehose not found response a status code equal to that given
func (*ScaleFirehoseNotFound) IsRedirect ¶
func (o *ScaleFirehoseNotFound) IsRedirect() bool
IsRedirect returns true when this scale firehose not found response has a 3xx status code
func (*ScaleFirehoseNotFound) IsServerError ¶
func (o *ScaleFirehoseNotFound) IsServerError() bool
IsServerError returns true when this scale firehose not found response has a 5xx status code
func (*ScaleFirehoseNotFound) IsSuccess ¶
func (o *ScaleFirehoseNotFound) IsSuccess() bool
IsSuccess returns true when this scale firehose not found response has a 2xx status code
func (*ScaleFirehoseNotFound) String ¶
func (o *ScaleFirehoseNotFound) String() string
type ScaleFirehoseOK ¶
ScaleFirehoseOK describes a response with status code 200, with default header values.
Successfully applied update.
func NewScaleFirehoseOK ¶
func NewScaleFirehoseOK() *ScaleFirehoseOK
NewScaleFirehoseOK creates a ScaleFirehoseOK with default headers values
func (*ScaleFirehoseOK) Error ¶
func (o *ScaleFirehoseOK) Error() string
func (*ScaleFirehoseOK) GetPayload ¶
func (o *ScaleFirehoseOK) GetPayload() *models.Firehose
func (*ScaleFirehoseOK) IsClientError ¶
func (o *ScaleFirehoseOK) IsClientError() bool
IsClientError returns true when this scale firehose o k response has a 4xx status code
func (*ScaleFirehoseOK) IsCode ¶
func (o *ScaleFirehoseOK) IsCode(code int) bool
IsCode returns true when this scale firehose o k response a status code equal to that given
func (*ScaleFirehoseOK) IsRedirect ¶
func (o *ScaleFirehoseOK) IsRedirect() bool
IsRedirect returns true when this scale firehose o k response has a 3xx status code
func (*ScaleFirehoseOK) IsServerError ¶
func (o *ScaleFirehoseOK) IsServerError() bool
IsServerError returns true when this scale firehose o k response has a 5xx status code
func (*ScaleFirehoseOK) IsSuccess ¶
func (o *ScaleFirehoseOK) IsSuccess() bool
IsSuccess returns true when this scale firehose o k response has a 2xx status code
func (*ScaleFirehoseOK) String ¶
func (o *ScaleFirehoseOK) String() string
type ScaleFirehoseParams ¶
type ScaleFirehoseParams struct { // Body. Body ScaleFirehoseBody /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Identifier for the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ScaleFirehoseParams contains all the parameters to send to the API endpoint
for the scale firehose operation. Typically these are written to a http.Request.
func NewScaleFirehoseParams ¶
func NewScaleFirehoseParams() *ScaleFirehoseParams
NewScaleFirehoseParams creates a new ScaleFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewScaleFirehoseParamsWithContext ¶
func NewScaleFirehoseParamsWithContext(ctx context.Context) *ScaleFirehoseParams
NewScaleFirehoseParamsWithContext creates a new ScaleFirehoseParams object with the ability to set a context for a request.
func NewScaleFirehoseParamsWithHTTPClient ¶
func NewScaleFirehoseParamsWithHTTPClient(client *http.Client) *ScaleFirehoseParams
NewScaleFirehoseParamsWithHTTPClient creates a new ScaleFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewScaleFirehoseParamsWithTimeout ¶
func NewScaleFirehoseParamsWithTimeout(timeout time.Duration) *ScaleFirehoseParams
NewScaleFirehoseParamsWithTimeout creates a new ScaleFirehoseParams object with the ability to set a timeout on a request.
func (*ScaleFirehoseParams) SetBody ¶
func (o *ScaleFirehoseParams) SetBody(body ScaleFirehoseBody)
SetBody adds the body to the scale firehose params
func (*ScaleFirehoseParams) SetContext ¶
func (o *ScaleFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the scale firehose params
func (*ScaleFirehoseParams) SetDefaults ¶
func (o *ScaleFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the scale firehose params (not the query body).
All values with no default are reset to their zero value.
func (*ScaleFirehoseParams) SetFirehoseUrn ¶
func (o *ScaleFirehoseParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the scale firehose params
func (*ScaleFirehoseParams) SetHTTPClient ¶
func (o *ScaleFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the scale firehose params
func (*ScaleFirehoseParams) SetProjectSlug ¶
func (o *ScaleFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the scale firehose params
func (*ScaleFirehoseParams) SetTimeout ¶
func (o *ScaleFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the scale firehose params
func (*ScaleFirehoseParams) WithBody ¶
func (o *ScaleFirehoseParams) WithBody(body ScaleFirehoseBody) *ScaleFirehoseParams
WithBody adds the body to the scale firehose params
func (*ScaleFirehoseParams) WithContext ¶
func (o *ScaleFirehoseParams) WithContext(ctx context.Context) *ScaleFirehoseParams
WithContext adds the context to the scale firehose params
func (*ScaleFirehoseParams) WithDefaults ¶
func (o *ScaleFirehoseParams) WithDefaults() *ScaleFirehoseParams
WithDefaults hydrates default values in the scale firehose params (not the query body).
All values with no default are reset to their zero value.
func (*ScaleFirehoseParams) WithFirehoseUrn ¶
func (o *ScaleFirehoseParams) WithFirehoseUrn(firehoseUrn string) *ScaleFirehoseParams
WithFirehoseUrn adds the firehoseUrn to the scale firehose params
func (*ScaleFirehoseParams) WithHTTPClient ¶
func (o *ScaleFirehoseParams) WithHTTPClient(client *http.Client) *ScaleFirehoseParams
WithHTTPClient adds the HTTPClient to the scale firehose params
func (*ScaleFirehoseParams) WithProjectSlug ¶
func (o *ScaleFirehoseParams) WithProjectSlug(projectSlug string) *ScaleFirehoseParams
WithProjectSlug adds the projectSlug to the scale firehose params
func (*ScaleFirehoseParams) WithTimeout ¶
func (o *ScaleFirehoseParams) WithTimeout(timeout time.Duration) *ScaleFirehoseParams
WithTimeout adds the timeout to the scale firehose params
func (*ScaleFirehoseParams) WriteToRequest ¶
func (o *ScaleFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ScaleFirehoseReader ¶
type ScaleFirehoseReader struct {
// contains filtered or unexported fields
}
ScaleFirehoseReader is a Reader for the ScaleFirehose structure.
func (*ScaleFirehoseReader) ReadResponse ¶
func (o *ScaleFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartFirehoseBadRequest ¶
type StartFirehoseBadRequest struct {
Payload *models.ErrorResponse
}
StartFirehoseBadRequest describes a response with status code 400, with default header values.
Update request is not valid.
func NewStartFirehoseBadRequest ¶
func NewStartFirehoseBadRequest() *StartFirehoseBadRequest
NewStartFirehoseBadRequest creates a StartFirehoseBadRequest with default headers values
func (*StartFirehoseBadRequest) Error ¶
func (o *StartFirehoseBadRequest) Error() string
func (*StartFirehoseBadRequest) GetPayload ¶
func (o *StartFirehoseBadRequest) GetPayload() *models.ErrorResponse
func (*StartFirehoseBadRequest) IsClientError ¶
func (o *StartFirehoseBadRequest) IsClientError() bool
IsClientError returns true when this start firehose bad request response has a 4xx status code
func (*StartFirehoseBadRequest) IsCode ¶
func (o *StartFirehoseBadRequest) IsCode(code int) bool
IsCode returns true when this start firehose bad request response a status code equal to that given
func (*StartFirehoseBadRequest) IsRedirect ¶
func (o *StartFirehoseBadRequest) IsRedirect() bool
IsRedirect returns true when this start firehose bad request response has a 3xx status code
func (*StartFirehoseBadRequest) IsServerError ¶
func (o *StartFirehoseBadRequest) IsServerError() bool
IsServerError returns true when this start firehose bad request response has a 5xx status code
func (*StartFirehoseBadRequest) IsSuccess ¶
func (o *StartFirehoseBadRequest) IsSuccess() bool
IsSuccess returns true when this start firehose bad request response has a 2xx status code
func (*StartFirehoseBadRequest) String ¶
func (o *StartFirehoseBadRequest) String() string
type StartFirehoseInternalServerError ¶
type StartFirehoseInternalServerError struct {
Payload *models.ErrorResponse
}
StartFirehoseInternalServerError describes a response with status code 500, with default header values.
internal error
func NewStartFirehoseInternalServerError ¶
func NewStartFirehoseInternalServerError() *StartFirehoseInternalServerError
NewStartFirehoseInternalServerError creates a StartFirehoseInternalServerError with default headers values
func (*StartFirehoseInternalServerError) Error ¶
func (o *StartFirehoseInternalServerError) Error() string
func (*StartFirehoseInternalServerError) GetPayload ¶
func (o *StartFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*StartFirehoseInternalServerError) IsClientError ¶
func (o *StartFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this start firehose internal server error response has a 4xx status code
func (*StartFirehoseInternalServerError) IsCode ¶
func (o *StartFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this start firehose internal server error response a status code equal to that given
func (*StartFirehoseInternalServerError) IsRedirect ¶
func (o *StartFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this start firehose internal server error response has a 3xx status code
func (*StartFirehoseInternalServerError) IsServerError ¶
func (o *StartFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this start firehose internal server error response has a 5xx status code
func (*StartFirehoseInternalServerError) IsSuccess ¶
func (o *StartFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this start firehose internal server error response has a 2xx status code
func (*StartFirehoseInternalServerError) String ¶
func (o *StartFirehoseInternalServerError) String() string
type StartFirehoseNotFound ¶
type StartFirehoseNotFound struct {
Payload *models.ErrorResponse
}
StartFirehoseNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewStartFirehoseNotFound ¶
func NewStartFirehoseNotFound() *StartFirehoseNotFound
NewStartFirehoseNotFound creates a StartFirehoseNotFound with default headers values
func (*StartFirehoseNotFound) Error ¶
func (o *StartFirehoseNotFound) Error() string
func (*StartFirehoseNotFound) GetPayload ¶
func (o *StartFirehoseNotFound) GetPayload() *models.ErrorResponse
func (*StartFirehoseNotFound) IsClientError ¶
func (o *StartFirehoseNotFound) IsClientError() bool
IsClientError returns true when this start firehose not found response has a 4xx status code
func (*StartFirehoseNotFound) IsCode ¶
func (o *StartFirehoseNotFound) IsCode(code int) bool
IsCode returns true when this start firehose not found response a status code equal to that given
func (*StartFirehoseNotFound) IsRedirect ¶
func (o *StartFirehoseNotFound) IsRedirect() bool
IsRedirect returns true when this start firehose not found response has a 3xx status code
func (*StartFirehoseNotFound) IsServerError ¶
func (o *StartFirehoseNotFound) IsServerError() bool
IsServerError returns true when this start firehose not found response has a 5xx status code
func (*StartFirehoseNotFound) IsSuccess ¶
func (o *StartFirehoseNotFound) IsSuccess() bool
IsSuccess returns true when this start firehose not found response has a 2xx status code
func (*StartFirehoseNotFound) String ¶
func (o *StartFirehoseNotFound) String() string
type StartFirehoseOK ¶
StartFirehoseOK describes a response with status code 200, with default header values.
Successfully applied update.
func NewStartFirehoseOK ¶
func NewStartFirehoseOK() *StartFirehoseOK
NewStartFirehoseOK creates a StartFirehoseOK with default headers values
func (*StartFirehoseOK) Error ¶
func (o *StartFirehoseOK) Error() string
func (*StartFirehoseOK) GetPayload ¶
func (o *StartFirehoseOK) GetPayload() *models.Firehose
func (*StartFirehoseOK) IsClientError ¶
func (o *StartFirehoseOK) IsClientError() bool
IsClientError returns true when this start firehose o k response has a 4xx status code
func (*StartFirehoseOK) IsCode ¶
func (o *StartFirehoseOK) IsCode(code int) bool
IsCode returns true when this start firehose o k response a status code equal to that given
func (*StartFirehoseOK) IsRedirect ¶
func (o *StartFirehoseOK) IsRedirect() bool
IsRedirect returns true when this start firehose o k response has a 3xx status code
func (*StartFirehoseOK) IsServerError ¶
func (o *StartFirehoseOK) IsServerError() bool
IsServerError returns true when this start firehose o k response has a 5xx status code
func (*StartFirehoseOK) IsSuccess ¶
func (o *StartFirehoseOK) IsSuccess() bool
IsSuccess returns true when this start firehose o k response has a 2xx status code
func (*StartFirehoseOK) String ¶
func (o *StartFirehoseOK) String() string
type StartFirehoseParams ¶
type StartFirehoseParams struct { // Body. Body interface{} /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Identifier for the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartFirehoseParams contains all the parameters to send to the API endpoint
for the start firehose operation. Typically these are written to a http.Request.
func NewStartFirehoseParams ¶
func NewStartFirehoseParams() *StartFirehoseParams
NewStartFirehoseParams creates a new StartFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStartFirehoseParamsWithContext ¶
func NewStartFirehoseParamsWithContext(ctx context.Context) *StartFirehoseParams
NewStartFirehoseParamsWithContext creates a new StartFirehoseParams object with the ability to set a context for a request.
func NewStartFirehoseParamsWithHTTPClient ¶
func NewStartFirehoseParamsWithHTTPClient(client *http.Client) *StartFirehoseParams
NewStartFirehoseParamsWithHTTPClient creates a new StartFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewStartFirehoseParamsWithTimeout ¶
func NewStartFirehoseParamsWithTimeout(timeout time.Duration) *StartFirehoseParams
NewStartFirehoseParamsWithTimeout creates a new StartFirehoseParams object with the ability to set a timeout on a request.
func (*StartFirehoseParams) SetBody ¶
func (o *StartFirehoseParams) SetBody(body interface{})
SetBody adds the body to the start firehose params
func (*StartFirehoseParams) SetContext ¶
func (o *StartFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the start firehose params
func (*StartFirehoseParams) SetDefaults ¶
func (o *StartFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the start firehose params (not the query body).
All values with no default are reset to their zero value.
func (*StartFirehoseParams) SetFirehoseUrn ¶
func (o *StartFirehoseParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the start firehose params
func (*StartFirehoseParams) SetHTTPClient ¶
func (o *StartFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start firehose params
func (*StartFirehoseParams) SetProjectSlug ¶
func (o *StartFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the start firehose params
func (*StartFirehoseParams) SetTimeout ¶
func (o *StartFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start firehose params
func (*StartFirehoseParams) WithBody ¶
func (o *StartFirehoseParams) WithBody(body interface{}) *StartFirehoseParams
WithBody adds the body to the start firehose params
func (*StartFirehoseParams) WithContext ¶
func (o *StartFirehoseParams) WithContext(ctx context.Context) *StartFirehoseParams
WithContext adds the context to the start firehose params
func (*StartFirehoseParams) WithDefaults ¶
func (o *StartFirehoseParams) WithDefaults() *StartFirehoseParams
WithDefaults hydrates default values in the start firehose params (not the query body).
All values with no default are reset to their zero value.
func (*StartFirehoseParams) WithFirehoseUrn ¶
func (o *StartFirehoseParams) WithFirehoseUrn(firehoseUrn string) *StartFirehoseParams
WithFirehoseUrn adds the firehoseUrn to the start firehose params
func (*StartFirehoseParams) WithHTTPClient ¶
func (o *StartFirehoseParams) WithHTTPClient(client *http.Client) *StartFirehoseParams
WithHTTPClient adds the HTTPClient to the start firehose params
func (*StartFirehoseParams) WithProjectSlug ¶
func (o *StartFirehoseParams) WithProjectSlug(projectSlug string) *StartFirehoseParams
WithProjectSlug adds the projectSlug to the start firehose params
func (*StartFirehoseParams) WithTimeout ¶
func (o *StartFirehoseParams) WithTimeout(timeout time.Duration) *StartFirehoseParams
WithTimeout adds the timeout to the start firehose params
func (*StartFirehoseParams) WriteToRequest ¶
func (o *StartFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartFirehoseReader ¶
type StartFirehoseReader struct {
// contains filtered or unexported fields
}
StartFirehoseReader is a Reader for the StartFirehose structure.
func (*StartFirehoseReader) ReadResponse ¶
func (o *StartFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StopFirehoseBadRequest ¶
type StopFirehoseBadRequest struct {
Payload *models.ErrorResponse
}
StopFirehoseBadRequest describes a response with status code 400, with default header values.
Update request is not valid.
func NewStopFirehoseBadRequest ¶
func NewStopFirehoseBadRequest() *StopFirehoseBadRequest
NewStopFirehoseBadRequest creates a StopFirehoseBadRequest with default headers values
func (*StopFirehoseBadRequest) Error ¶
func (o *StopFirehoseBadRequest) Error() string
func (*StopFirehoseBadRequest) GetPayload ¶
func (o *StopFirehoseBadRequest) GetPayload() *models.ErrorResponse
func (*StopFirehoseBadRequest) IsClientError ¶
func (o *StopFirehoseBadRequest) IsClientError() bool
IsClientError returns true when this stop firehose bad request response has a 4xx status code
func (*StopFirehoseBadRequest) IsCode ¶
func (o *StopFirehoseBadRequest) IsCode(code int) bool
IsCode returns true when this stop firehose bad request response a status code equal to that given
func (*StopFirehoseBadRequest) IsRedirect ¶
func (o *StopFirehoseBadRequest) IsRedirect() bool
IsRedirect returns true when this stop firehose bad request response has a 3xx status code
func (*StopFirehoseBadRequest) IsServerError ¶
func (o *StopFirehoseBadRequest) IsServerError() bool
IsServerError returns true when this stop firehose bad request response has a 5xx status code
func (*StopFirehoseBadRequest) IsSuccess ¶
func (o *StopFirehoseBadRequest) IsSuccess() bool
IsSuccess returns true when this stop firehose bad request response has a 2xx status code
func (*StopFirehoseBadRequest) String ¶
func (o *StopFirehoseBadRequest) String() string
type StopFirehoseInternalServerError ¶
type StopFirehoseInternalServerError struct {
Payload *models.ErrorResponse
}
StopFirehoseInternalServerError describes a response with status code 500, with default header values.
internal error
func NewStopFirehoseInternalServerError ¶
func NewStopFirehoseInternalServerError() *StopFirehoseInternalServerError
NewStopFirehoseInternalServerError creates a StopFirehoseInternalServerError with default headers values
func (*StopFirehoseInternalServerError) Error ¶
func (o *StopFirehoseInternalServerError) Error() string
func (*StopFirehoseInternalServerError) GetPayload ¶
func (o *StopFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*StopFirehoseInternalServerError) IsClientError ¶
func (o *StopFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this stop firehose internal server error response has a 4xx status code
func (*StopFirehoseInternalServerError) IsCode ¶
func (o *StopFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this stop firehose internal server error response a status code equal to that given
func (*StopFirehoseInternalServerError) IsRedirect ¶
func (o *StopFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this stop firehose internal server error response has a 3xx status code
func (*StopFirehoseInternalServerError) IsServerError ¶
func (o *StopFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this stop firehose internal server error response has a 5xx status code
func (*StopFirehoseInternalServerError) IsSuccess ¶
func (o *StopFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this stop firehose internal server error response has a 2xx status code
func (*StopFirehoseInternalServerError) String ¶
func (o *StopFirehoseInternalServerError) String() string
type StopFirehoseNotFound ¶
type StopFirehoseNotFound struct {
Payload *models.ErrorResponse
}
StopFirehoseNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewStopFirehoseNotFound ¶
func NewStopFirehoseNotFound() *StopFirehoseNotFound
NewStopFirehoseNotFound creates a StopFirehoseNotFound with default headers values
func (*StopFirehoseNotFound) Error ¶
func (o *StopFirehoseNotFound) Error() string
func (*StopFirehoseNotFound) GetPayload ¶
func (o *StopFirehoseNotFound) GetPayload() *models.ErrorResponse
func (*StopFirehoseNotFound) IsClientError ¶
func (o *StopFirehoseNotFound) IsClientError() bool
IsClientError returns true when this stop firehose not found response has a 4xx status code
func (*StopFirehoseNotFound) IsCode ¶
func (o *StopFirehoseNotFound) IsCode(code int) bool
IsCode returns true when this stop firehose not found response a status code equal to that given
func (*StopFirehoseNotFound) IsRedirect ¶
func (o *StopFirehoseNotFound) IsRedirect() bool
IsRedirect returns true when this stop firehose not found response has a 3xx status code
func (*StopFirehoseNotFound) IsServerError ¶
func (o *StopFirehoseNotFound) IsServerError() bool
IsServerError returns true when this stop firehose not found response has a 5xx status code
func (*StopFirehoseNotFound) IsSuccess ¶
func (o *StopFirehoseNotFound) IsSuccess() bool
IsSuccess returns true when this stop firehose not found response has a 2xx status code
func (*StopFirehoseNotFound) String ¶
func (o *StopFirehoseNotFound) String() string
type StopFirehoseOK ¶
StopFirehoseOK describes a response with status code 200, with default header values.
Successfully applied update.
func NewStopFirehoseOK ¶
func NewStopFirehoseOK() *StopFirehoseOK
NewStopFirehoseOK creates a StopFirehoseOK with default headers values
func (*StopFirehoseOK) Error ¶
func (o *StopFirehoseOK) Error() string
func (*StopFirehoseOK) GetPayload ¶
func (o *StopFirehoseOK) GetPayload() *models.Firehose
func (*StopFirehoseOK) IsClientError ¶
func (o *StopFirehoseOK) IsClientError() bool
IsClientError returns true when this stop firehose o k response has a 4xx status code
func (*StopFirehoseOK) IsCode ¶
func (o *StopFirehoseOK) IsCode(code int) bool
IsCode returns true when this stop firehose o k response a status code equal to that given
func (*StopFirehoseOK) IsRedirect ¶
func (o *StopFirehoseOK) IsRedirect() bool
IsRedirect returns true when this stop firehose o k response has a 3xx status code
func (*StopFirehoseOK) IsServerError ¶
func (o *StopFirehoseOK) IsServerError() bool
IsServerError returns true when this stop firehose o k response has a 5xx status code
func (*StopFirehoseOK) IsSuccess ¶
func (o *StopFirehoseOK) IsSuccess() bool
IsSuccess returns true when this stop firehose o k response has a 2xx status code
func (*StopFirehoseOK) String ¶
func (o *StopFirehoseOK) String() string
type StopFirehoseParams ¶
type StopFirehoseParams struct { // Body. Body interface{} /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Identifier for the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StopFirehoseParams contains all the parameters to send to the API endpoint
for the stop firehose operation. Typically these are written to a http.Request.
func NewStopFirehoseParams ¶
func NewStopFirehoseParams() *StopFirehoseParams
NewStopFirehoseParams creates a new StopFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewStopFirehoseParamsWithContext ¶
func NewStopFirehoseParamsWithContext(ctx context.Context) *StopFirehoseParams
NewStopFirehoseParamsWithContext creates a new StopFirehoseParams object with the ability to set a context for a request.
func NewStopFirehoseParamsWithHTTPClient ¶
func NewStopFirehoseParamsWithHTTPClient(client *http.Client) *StopFirehoseParams
NewStopFirehoseParamsWithHTTPClient creates a new StopFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewStopFirehoseParamsWithTimeout ¶
func NewStopFirehoseParamsWithTimeout(timeout time.Duration) *StopFirehoseParams
NewStopFirehoseParamsWithTimeout creates a new StopFirehoseParams object with the ability to set a timeout on a request.
func (*StopFirehoseParams) SetBody ¶
func (o *StopFirehoseParams) SetBody(body interface{})
SetBody adds the body to the stop firehose params
func (*StopFirehoseParams) SetContext ¶
func (o *StopFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the stop firehose params
func (*StopFirehoseParams) SetDefaults ¶
func (o *StopFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the stop firehose params (not the query body).
All values with no default are reset to their zero value.
func (*StopFirehoseParams) SetFirehoseUrn ¶
func (o *StopFirehoseParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the stop firehose params
func (*StopFirehoseParams) SetHTTPClient ¶
func (o *StopFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the stop firehose params
func (*StopFirehoseParams) SetProjectSlug ¶
func (o *StopFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the stop firehose params
func (*StopFirehoseParams) SetTimeout ¶
func (o *StopFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the stop firehose params
func (*StopFirehoseParams) WithBody ¶
func (o *StopFirehoseParams) WithBody(body interface{}) *StopFirehoseParams
WithBody adds the body to the stop firehose params
func (*StopFirehoseParams) WithContext ¶
func (o *StopFirehoseParams) WithContext(ctx context.Context) *StopFirehoseParams
WithContext adds the context to the stop firehose params
func (*StopFirehoseParams) WithDefaults ¶
func (o *StopFirehoseParams) WithDefaults() *StopFirehoseParams
WithDefaults hydrates default values in the stop firehose params (not the query body).
All values with no default are reset to their zero value.
func (*StopFirehoseParams) WithFirehoseUrn ¶
func (o *StopFirehoseParams) WithFirehoseUrn(firehoseUrn string) *StopFirehoseParams
WithFirehoseUrn adds the firehoseUrn to the stop firehose params
func (*StopFirehoseParams) WithHTTPClient ¶
func (o *StopFirehoseParams) WithHTTPClient(client *http.Client) *StopFirehoseParams
WithHTTPClient adds the HTTPClient to the stop firehose params
func (*StopFirehoseParams) WithProjectSlug ¶
func (o *StopFirehoseParams) WithProjectSlug(projectSlug string) *StopFirehoseParams
WithProjectSlug adds the projectSlug to the stop firehose params
func (*StopFirehoseParams) WithTimeout ¶
func (o *StopFirehoseParams) WithTimeout(timeout time.Duration) *StopFirehoseParams
WithTimeout adds the timeout to the stop firehose params
func (*StopFirehoseParams) WriteToRequest ¶
func (o *StopFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StopFirehoseReader ¶
type StopFirehoseReader struct {
// contains filtered or unexported fields
}
StopFirehoseReader is a Reader for the StopFirehose structure.
func (*StopFirehoseReader) ReadResponse ¶
func (o *StopFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFirehoseBadRequest ¶
type UpdateFirehoseBadRequest struct {
Payload *models.ErrorResponse
}
UpdateFirehoseBadRequest describes a response with status code 400, with default header values.
Update request is not valid.
func NewUpdateFirehoseBadRequest ¶
func NewUpdateFirehoseBadRequest() *UpdateFirehoseBadRequest
NewUpdateFirehoseBadRequest creates a UpdateFirehoseBadRequest with default headers values
func (*UpdateFirehoseBadRequest) Error ¶
func (o *UpdateFirehoseBadRequest) Error() string
func (*UpdateFirehoseBadRequest) GetPayload ¶
func (o *UpdateFirehoseBadRequest) GetPayload() *models.ErrorResponse
func (*UpdateFirehoseBadRequest) IsClientError ¶
func (o *UpdateFirehoseBadRequest) IsClientError() bool
IsClientError returns true when this update firehose bad request response has a 4xx status code
func (*UpdateFirehoseBadRequest) IsCode ¶
func (o *UpdateFirehoseBadRequest) IsCode(code int) bool
IsCode returns true when this update firehose bad request response a status code equal to that given
func (*UpdateFirehoseBadRequest) IsRedirect ¶
func (o *UpdateFirehoseBadRequest) IsRedirect() bool
IsRedirect returns true when this update firehose bad request response has a 3xx status code
func (*UpdateFirehoseBadRequest) IsServerError ¶
func (o *UpdateFirehoseBadRequest) IsServerError() bool
IsServerError returns true when this update firehose bad request response has a 5xx status code
func (*UpdateFirehoseBadRequest) IsSuccess ¶
func (o *UpdateFirehoseBadRequest) IsSuccess() bool
IsSuccess returns true when this update firehose bad request response has a 2xx status code
func (*UpdateFirehoseBadRequest) String ¶
func (o *UpdateFirehoseBadRequest) String() string
type UpdateFirehoseBody ¶
type UpdateFirehoseBody struct { // configs Configs *models.FirehoseConfig `json:"configs,omitempty"` // description // Example: This firehose consumes from booking events and ingests to redis Description string `json:"description,omitempty"` }
UpdateFirehoseBody update firehose body swagger:model UpdateFirehoseBody
func (*UpdateFirehoseBody) ContextValidate ¶
ContextValidate validate this update firehose body based on the context it is used
func (*UpdateFirehoseBody) MarshalBinary ¶
func (o *UpdateFirehoseBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateFirehoseBody) UnmarshalBinary ¶
func (o *UpdateFirehoseBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 (o *UpdateFirehoseInternalServerError) Error() string
func (*UpdateFirehoseInternalServerError) GetPayload ¶
func (o *UpdateFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*UpdateFirehoseInternalServerError) IsClientError ¶
func (o *UpdateFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this update firehose internal server error response has a 4xx status code
func (*UpdateFirehoseInternalServerError) IsCode ¶
func (o *UpdateFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this update firehose internal server error response a status code equal to that given
func (*UpdateFirehoseInternalServerError) IsRedirect ¶
func (o *UpdateFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this update firehose internal server error response has a 3xx status code
func (*UpdateFirehoseInternalServerError) IsServerError ¶
func (o *UpdateFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this update firehose internal server error response has a 5xx status code
func (*UpdateFirehoseInternalServerError) IsSuccess ¶
func (o *UpdateFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this update firehose internal server error response has a 2xx status code
func (*UpdateFirehoseInternalServerError) String ¶
func (o *UpdateFirehoseInternalServerError) String() string
type UpdateFirehoseNotFound ¶
type UpdateFirehoseNotFound struct {
Payload *models.ErrorResponse
}
UpdateFirehoseNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewUpdateFirehoseNotFound ¶
func NewUpdateFirehoseNotFound() *UpdateFirehoseNotFound
NewUpdateFirehoseNotFound creates a UpdateFirehoseNotFound with default headers values
func (*UpdateFirehoseNotFound) Error ¶
func (o *UpdateFirehoseNotFound) Error() string
func (*UpdateFirehoseNotFound) GetPayload ¶
func (o *UpdateFirehoseNotFound) GetPayload() *models.ErrorResponse
func (*UpdateFirehoseNotFound) IsClientError ¶
func (o *UpdateFirehoseNotFound) IsClientError() bool
IsClientError returns true when this update firehose not found response has a 4xx status code
func (*UpdateFirehoseNotFound) IsCode ¶
func (o *UpdateFirehoseNotFound) IsCode(code int) bool
IsCode returns true when this update firehose not found response a status code equal to that given
func (*UpdateFirehoseNotFound) IsRedirect ¶
func (o *UpdateFirehoseNotFound) IsRedirect() bool
IsRedirect returns true when this update firehose not found response has a 3xx status code
func (*UpdateFirehoseNotFound) IsServerError ¶
func (o *UpdateFirehoseNotFound) IsServerError() bool
IsServerError returns true when this update firehose not found response has a 5xx status code
func (*UpdateFirehoseNotFound) IsSuccess ¶
func (o *UpdateFirehoseNotFound) IsSuccess() bool
IsSuccess returns true when this update firehose not found response has a 2xx status code
func (*UpdateFirehoseNotFound) String ¶
func (o *UpdateFirehoseNotFound) String() string
type UpdateFirehoseOK ¶
UpdateFirehoseOK describes a response with status code 200, with default header values.
Found firehose with given URN
func NewUpdateFirehoseOK ¶
func NewUpdateFirehoseOK() *UpdateFirehoseOK
NewUpdateFirehoseOK creates a UpdateFirehoseOK with default headers values
func (*UpdateFirehoseOK) Error ¶
func (o *UpdateFirehoseOK) Error() string
func (*UpdateFirehoseOK) GetPayload ¶
func (o *UpdateFirehoseOK) GetPayload() *models.Firehose
func (*UpdateFirehoseOK) IsClientError ¶
func (o *UpdateFirehoseOK) IsClientError() bool
IsClientError returns true when this update firehose o k response has a 4xx status code
func (*UpdateFirehoseOK) IsCode ¶
func (o *UpdateFirehoseOK) IsCode(code int) bool
IsCode returns true when this update firehose o k response a status code equal to that given
func (*UpdateFirehoseOK) IsRedirect ¶
func (o *UpdateFirehoseOK) IsRedirect() bool
IsRedirect returns true when this update firehose o k response has a 3xx status code
func (*UpdateFirehoseOK) IsServerError ¶
func (o *UpdateFirehoseOK) IsServerError() bool
IsServerError returns true when this update firehose o k response has a 5xx status code
func (*UpdateFirehoseOK) IsSuccess ¶
func (o *UpdateFirehoseOK) IsSuccess() bool
IsSuccess returns true when this update firehose o k response has a 2xx status code
func (*UpdateFirehoseOK) String ¶
func (o *UpdateFirehoseOK) String() string
type UpdateFirehoseParams ¶
type UpdateFirehoseParams struct { // Body. Body UpdateFirehoseBody /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Unique identifier of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFirehoseParams contains all the parameters to send to the API endpoint
for the update firehose operation. Typically these are written to a http.Request.
func NewUpdateFirehoseParams ¶
func NewUpdateFirehoseParams() *UpdateFirehoseParams
NewUpdateFirehoseParams creates a new UpdateFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateFirehoseParamsWithContext ¶
func NewUpdateFirehoseParamsWithContext(ctx context.Context) *UpdateFirehoseParams
NewUpdateFirehoseParamsWithContext creates a new UpdateFirehoseParams object with the ability to set a context for a request.
func NewUpdateFirehoseParamsWithHTTPClient ¶
func NewUpdateFirehoseParamsWithHTTPClient(client *http.Client) *UpdateFirehoseParams
NewUpdateFirehoseParamsWithHTTPClient creates a new UpdateFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateFirehoseParamsWithTimeout ¶
func NewUpdateFirehoseParamsWithTimeout(timeout time.Duration) *UpdateFirehoseParams
NewUpdateFirehoseParamsWithTimeout creates a new UpdateFirehoseParams object with the ability to set a timeout on a request.
func (*UpdateFirehoseParams) SetBody ¶
func (o *UpdateFirehoseParams) SetBody(body UpdateFirehoseBody)
SetBody adds the body to the update firehose params
func (*UpdateFirehoseParams) SetContext ¶
func (o *UpdateFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the update firehose params
func (*UpdateFirehoseParams) SetDefaults ¶
func (o *UpdateFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the update firehose params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFirehoseParams) SetFirehoseUrn ¶
func (o *UpdateFirehoseParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the update firehose params
func (*UpdateFirehoseParams) SetHTTPClient ¶
func (o *UpdateFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update firehose params
func (*UpdateFirehoseParams) SetProjectSlug ¶
func (o *UpdateFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the update firehose params
func (*UpdateFirehoseParams) SetTimeout ¶
func (o *UpdateFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update firehose params
func (*UpdateFirehoseParams) WithBody ¶
func (o *UpdateFirehoseParams) WithBody(body UpdateFirehoseBody) *UpdateFirehoseParams
WithBody adds the body to the update firehose params
func (*UpdateFirehoseParams) WithContext ¶
func (o *UpdateFirehoseParams) WithContext(ctx context.Context) *UpdateFirehoseParams
WithContext adds the context to the update firehose params
func (*UpdateFirehoseParams) WithDefaults ¶
func (o *UpdateFirehoseParams) WithDefaults() *UpdateFirehoseParams
WithDefaults hydrates default values in the update firehose params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFirehoseParams) WithFirehoseUrn ¶
func (o *UpdateFirehoseParams) WithFirehoseUrn(firehoseUrn string) *UpdateFirehoseParams
WithFirehoseUrn adds the firehoseUrn to the update firehose params
func (*UpdateFirehoseParams) WithHTTPClient ¶
func (o *UpdateFirehoseParams) WithHTTPClient(client *http.Client) *UpdateFirehoseParams
WithHTTPClient adds the HTTPClient to the update firehose params
func (*UpdateFirehoseParams) WithProjectSlug ¶
func (o *UpdateFirehoseParams) WithProjectSlug(projectSlug string) *UpdateFirehoseParams
WithProjectSlug adds the projectSlug to the update firehose params
func (*UpdateFirehoseParams) WithTimeout ¶
func (o *UpdateFirehoseParams) WithTimeout(timeout time.Duration) *UpdateFirehoseParams
WithTimeout adds the timeout to the update firehose params
func (*UpdateFirehoseParams) WriteToRequest ¶
func (o *UpdateFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFirehoseReader ¶
type UpdateFirehoseReader struct {
// contains filtered or unexported fields
}
UpdateFirehoseReader is a Reader for the UpdateFirehose structure.
func (*UpdateFirehoseReader) ReadResponse ¶
func (o *UpdateFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpgradeFirehoseInternalServerError ¶
type UpgradeFirehoseInternalServerError struct {
Payload *models.ErrorResponse
}
UpgradeFirehoseInternalServerError describes a response with status code 500, with default header values.
internal error
func NewUpgradeFirehoseInternalServerError ¶
func NewUpgradeFirehoseInternalServerError() *UpgradeFirehoseInternalServerError
NewUpgradeFirehoseInternalServerError creates a UpgradeFirehoseInternalServerError with default headers values
func (*UpgradeFirehoseInternalServerError) Error ¶
func (o *UpgradeFirehoseInternalServerError) Error() string
func (*UpgradeFirehoseInternalServerError) GetPayload ¶
func (o *UpgradeFirehoseInternalServerError) GetPayload() *models.ErrorResponse
func (*UpgradeFirehoseInternalServerError) IsClientError ¶
func (o *UpgradeFirehoseInternalServerError) IsClientError() bool
IsClientError returns true when this upgrade firehose internal server error response has a 4xx status code
func (*UpgradeFirehoseInternalServerError) IsCode ¶
func (o *UpgradeFirehoseInternalServerError) IsCode(code int) bool
IsCode returns true when this upgrade firehose internal server error response a status code equal to that given
func (*UpgradeFirehoseInternalServerError) IsRedirect ¶
func (o *UpgradeFirehoseInternalServerError) IsRedirect() bool
IsRedirect returns true when this upgrade firehose internal server error response has a 3xx status code
func (*UpgradeFirehoseInternalServerError) IsServerError ¶
func (o *UpgradeFirehoseInternalServerError) IsServerError() bool
IsServerError returns true when this upgrade firehose internal server error response has a 5xx status code
func (*UpgradeFirehoseInternalServerError) IsSuccess ¶
func (o *UpgradeFirehoseInternalServerError) IsSuccess() bool
IsSuccess returns true when this upgrade firehose internal server error response has a 2xx status code
func (*UpgradeFirehoseInternalServerError) String ¶
func (o *UpgradeFirehoseInternalServerError) String() string
type UpgradeFirehoseNotFound ¶
type UpgradeFirehoseNotFound struct {
Payload *models.ErrorResponse
}
UpgradeFirehoseNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewUpgradeFirehoseNotFound ¶
func NewUpgradeFirehoseNotFound() *UpgradeFirehoseNotFound
NewUpgradeFirehoseNotFound creates a UpgradeFirehoseNotFound with default headers values
func (*UpgradeFirehoseNotFound) Error ¶
func (o *UpgradeFirehoseNotFound) Error() string
func (*UpgradeFirehoseNotFound) GetPayload ¶
func (o *UpgradeFirehoseNotFound) GetPayload() *models.ErrorResponse
func (*UpgradeFirehoseNotFound) IsClientError ¶
func (o *UpgradeFirehoseNotFound) IsClientError() bool
IsClientError returns true when this upgrade firehose not found response has a 4xx status code
func (*UpgradeFirehoseNotFound) IsCode ¶
func (o *UpgradeFirehoseNotFound) IsCode(code int) bool
IsCode returns true when this upgrade firehose not found response a status code equal to that given
func (*UpgradeFirehoseNotFound) IsRedirect ¶
func (o *UpgradeFirehoseNotFound) IsRedirect() bool
IsRedirect returns true when this upgrade firehose not found response has a 3xx status code
func (*UpgradeFirehoseNotFound) IsServerError ¶
func (o *UpgradeFirehoseNotFound) IsServerError() bool
IsServerError returns true when this upgrade firehose not found response has a 5xx status code
func (*UpgradeFirehoseNotFound) IsSuccess ¶
func (o *UpgradeFirehoseNotFound) IsSuccess() bool
IsSuccess returns true when this upgrade firehose not found response has a 2xx status code
func (*UpgradeFirehoseNotFound) String ¶
func (o *UpgradeFirehoseNotFound) String() string
type UpgradeFirehoseOK ¶
UpgradeFirehoseOK describes a response with status code 200, with default header values.
Upgrade request accepted.
func NewUpgradeFirehoseOK ¶
func NewUpgradeFirehoseOK() *UpgradeFirehoseOK
NewUpgradeFirehoseOK creates a UpgradeFirehoseOK with default headers values
func (*UpgradeFirehoseOK) Error ¶
func (o *UpgradeFirehoseOK) Error() string
func (*UpgradeFirehoseOK) GetPayload ¶
func (o *UpgradeFirehoseOK) GetPayload() *models.Firehose
func (*UpgradeFirehoseOK) IsClientError ¶
func (o *UpgradeFirehoseOK) IsClientError() bool
IsClientError returns true when this upgrade firehose o k response has a 4xx status code
func (*UpgradeFirehoseOK) IsCode ¶
func (o *UpgradeFirehoseOK) IsCode(code int) bool
IsCode returns true when this upgrade firehose o k response a status code equal to that given
func (*UpgradeFirehoseOK) IsRedirect ¶
func (o *UpgradeFirehoseOK) IsRedirect() bool
IsRedirect returns true when this upgrade firehose o k response has a 3xx status code
func (*UpgradeFirehoseOK) IsServerError ¶
func (o *UpgradeFirehoseOK) IsServerError() bool
IsServerError returns true when this upgrade firehose o k response has a 5xx status code
func (*UpgradeFirehoseOK) IsSuccess ¶
func (o *UpgradeFirehoseOK) IsSuccess() bool
IsSuccess returns true when this upgrade firehose o k response has a 2xx status code
func (*UpgradeFirehoseOK) String ¶
func (o *UpgradeFirehoseOK) String() string
type UpgradeFirehoseParams ¶
type UpgradeFirehoseParams struct { // Body. Body interface{} /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Identifier for the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpgradeFirehoseParams contains all the parameters to send to the API endpoint
for the upgrade firehose operation. Typically these are written to a http.Request.
func NewUpgradeFirehoseParams ¶
func NewUpgradeFirehoseParams() *UpgradeFirehoseParams
NewUpgradeFirehoseParams creates a new UpgradeFirehoseParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpgradeFirehoseParamsWithContext ¶
func NewUpgradeFirehoseParamsWithContext(ctx context.Context) *UpgradeFirehoseParams
NewUpgradeFirehoseParamsWithContext creates a new UpgradeFirehoseParams object with the ability to set a context for a request.
func NewUpgradeFirehoseParamsWithHTTPClient ¶
func NewUpgradeFirehoseParamsWithHTTPClient(client *http.Client) *UpgradeFirehoseParams
NewUpgradeFirehoseParamsWithHTTPClient creates a new UpgradeFirehoseParams object with the ability to set a custom HTTPClient for a request.
func NewUpgradeFirehoseParamsWithTimeout ¶
func NewUpgradeFirehoseParamsWithTimeout(timeout time.Duration) *UpgradeFirehoseParams
NewUpgradeFirehoseParamsWithTimeout creates a new UpgradeFirehoseParams object with the ability to set a timeout on a request.
func (*UpgradeFirehoseParams) SetBody ¶
func (o *UpgradeFirehoseParams) SetBody(body interface{})
SetBody adds the body to the upgrade firehose params
func (*UpgradeFirehoseParams) SetContext ¶
func (o *UpgradeFirehoseParams) SetContext(ctx context.Context)
SetContext adds the context to the upgrade firehose params
func (*UpgradeFirehoseParams) SetDefaults ¶
func (o *UpgradeFirehoseParams) SetDefaults()
SetDefaults hydrates default values in the upgrade firehose params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeFirehoseParams) SetFirehoseUrn ¶
func (o *UpgradeFirehoseParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the upgrade firehose params
func (*UpgradeFirehoseParams) SetHTTPClient ¶
func (o *UpgradeFirehoseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upgrade firehose params
func (*UpgradeFirehoseParams) SetProjectSlug ¶
func (o *UpgradeFirehoseParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the upgrade firehose params
func (*UpgradeFirehoseParams) SetTimeout ¶
func (o *UpgradeFirehoseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upgrade firehose params
func (*UpgradeFirehoseParams) WithBody ¶
func (o *UpgradeFirehoseParams) WithBody(body interface{}) *UpgradeFirehoseParams
WithBody adds the body to the upgrade firehose params
func (*UpgradeFirehoseParams) WithContext ¶
func (o *UpgradeFirehoseParams) WithContext(ctx context.Context) *UpgradeFirehoseParams
WithContext adds the context to the upgrade firehose params
func (*UpgradeFirehoseParams) WithDefaults ¶
func (o *UpgradeFirehoseParams) WithDefaults() *UpgradeFirehoseParams
WithDefaults hydrates default values in the upgrade firehose params (not the query body).
All values with no default are reset to their zero value.
func (*UpgradeFirehoseParams) WithFirehoseUrn ¶
func (o *UpgradeFirehoseParams) WithFirehoseUrn(firehoseUrn string) *UpgradeFirehoseParams
WithFirehoseUrn adds the firehoseUrn to the upgrade firehose params
func (*UpgradeFirehoseParams) WithHTTPClient ¶
func (o *UpgradeFirehoseParams) WithHTTPClient(client *http.Client) *UpgradeFirehoseParams
WithHTTPClient adds the HTTPClient to the upgrade firehose params
func (*UpgradeFirehoseParams) WithProjectSlug ¶
func (o *UpgradeFirehoseParams) WithProjectSlug(projectSlug string) *UpgradeFirehoseParams
WithProjectSlug adds the projectSlug to the upgrade firehose params
func (*UpgradeFirehoseParams) WithTimeout ¶
func (o *UpgradeFirehoseParams) WithTimeout(timeout time.Duration) *UpgradeFirehoseParams
WithTimeout adds the timeout to the upgrade firehose params
func (*UpgradeFirehoseParams) WriteToRequest ¶
func (o *UpgradeFirehoseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpgradeFirehoseReader ¶
type UpgradeFirehoseReader struct {
// contains filtered or unexported fields
}
UpgradeFirehoseReader is a Reader for the UpgradeFirehose structure.
func (*UpgradeFirehoseReader) ReadResponse ¶
func (o *UpgradeFirehoseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpsertFirehoseAlertPolicyInternalServerError ¶
type UpsertFirehoseAlertPolicyInternalServerError struct {
Payload *models.ErrorResponse
}
UpsertFirehoseAlertPolicyInternalServerError describes a response with status code 500, with default header values.
internal error
func NewUpsertFirehoseAlertPolicyInternalServerError ¶
func NewUpsertFirehoseAlertPolicyInternalServerError() *UpsertFirehoseAlertPolicyInternalServerError
NewUpsertFirehoseAlertPolicyInternalServerError creates a UpsertFirehoseAlertPolicyInternalServerError with default headers values
func (*UpsertFirehoseAlertPolicyInternalServerError) Error ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) Error() string
func (*UpsertFirehoseAlertPolicyInternalServerError) GetPayload ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) GetPayload() *models.ErrorResponse
func (*UpsertFirehoseAlertPolicyInternalServerError) IsClientError ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) IsClientError() bool
IsClientError returns true when this upsert firehose alert policy internal server error response has a 4xx status code
func (*UpsertFirehoseAlertPolicyInternalServerError) IsCode ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) IsCode(code int) bool
IsCode returns true when this upsert firehose alert policy internal server error response a status code equal to that given
func (*UpsertFirehoseAlertPolicyInternalServerError) IsRedirect ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) IsRedirect() bool
IsRedirect returns true when this upsert firehose alert policy internal server error response has a 3xx status code
func (*UpsertFirehoseAlertPolicyInternalServerError) IsServerError ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) IsServerError() bool
IsServerError returns true when this upsert firehose alert policy internal server error response has a 5xx status code
func (*UpsertFirehoseAlertPolicyInternalServerError) IsSuccess ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) IsSuccess() bool
IsSuccess returns true when this upsert firehose alert policy internal server error response has a 2xx status code
func (*UpsertFirehoseAlertPolicyInternalServerError) String ¶
func (o *UpsertFirehoseAlertPolicyInternalServerError) String() string
type UpsertFirehoseAlertPolicyNotFound ¶
type UpsertFirehoseAlertPolicyNotFound struct {
Payload *models.ErrorResponse
}
UpsertFirehoseAlertPolicyNotFound describes a response with status code 404, with default header values.
Firehose with given URN was not found
func NewUpsertFirehoseAlertPolicyNotFound ¶
func NewUpsertFirehoseAlertPolicyNotFound() *UpsertFirehoseAlertPolicyNotFound
NewUpsertFirehoseAlertPolicyNotFound creates a UpsertFirehoseAlertPolicyNotFound with default headers values
func (*UpsertFirehoseAlertPolicyNotFound) Error ¶
func (o *UpsertFirehoseAlertPolicyNotFound) Error() string
func (*UpsertFirehoseAlertPolicyNotFound) GetPayload ¶
func (o *UpsertFirehoseAlertPolicyNotFound) GetPayload() *models.ErrorResponse
func (*UpsertFirehoseAlertPolicyNotFound) IsClientError ¶
func (o *UpsertFirehoseAlertPolicyNotFound) IsClientError() bool
IsClientError returns true when this upsert firehose alert policy not found response has a 4xx status code
func (*UpsertFirehoseAlertPolicyNotFound) IsCode ¶
func (o *UpsertFirehoseAlertPolicyNotFound) IsCode(code int) bool
IsCode returns true when this upsert firehose alert policy not found response a status code equal to that given
func (*UpsertFirehoseAlertPolicyNotFound) IsRedirect ¶
func (o *UpsertFirehoseAlertPolicyNotFound) IsRedirect() bool
IsRedirect returns true when this upsert firehose alert policy not found response has a 3xx status code
func (*UpsertFirehoseAlertPolicyNotFound) IsServerError ¶
func (o *UpsertFirehoseAlertPolicyNotFound) IsServerError() bool
IsServerError returns true when this upsert firehose alert policy not found response has a 5xx status code
func (*UpsertFirehoseAlertPolicyNotFound) IsSuccess ¶
func (o *UpsertFirehoseAlertPolicyNotFound) IsSuccess() bool
IsSuccess returns true when this upsert firehose alert policy not found response has a 2xx status code
func (*UpsertFirehoseAlertPolicyNotFound) String ¶
func (o *UpsertFirehoseAlertPolicyNotFound) String() string
type UpsertFirehoseAlertPolicyOK ¶
type UpsertFirehoseAlertPolicyOK struct {
Payload *models.AlertPolicy
}
UpsertFirehoseAlertPolicyOK describes a response with status code 200, with default header values.
Updated alert policy for firehose.
func NewUpsertFirehoseAlertPolicyOK ¶
func NewUpsertFirehoseAlertPolicyOK() *UpsertFirehoseAlertPolicyOK
NewUpsertFirehoseAlertPolicyOK creates a UpsertFirehoseAlertPolicyOK with default headers values
func (*UpsertFirehoseAlertPolicyOK) Error ¶
func (o *UpsertFirehoseAlertPolicyOK) Error() string
func (*UpsertFirehoseAlertPolicyOK) GetPayload ¶
func (o *UpsertFirehoseAlertPolicyOK) GetPayload() *models.AlertPolicy
func (*UpsertFirehoseAlertPolicyOK) IsClientError ¶
func (o *UpsertFirehoseAlertPolicyOK) IsClientError() bool
IsClientError returns true when this upsert firehose alert policy o k response has a 4xx status code
func (*UpsertFirehoseAlertPolicyOK) IsCode ¶
func (o *UpsertFirehoseAlertPolicyOK) IsCode(code int) bool
IsCode returns true when this upsert firehose alert policy o k response a status code equal to that given
func (*UpsertFirehoseAlertPolicyOK) IsRedirect ¶
func (o *UpsertFirehoseAlertPolicyOK) IsRedirect() bool
IsRedirect returns true when this upsert firehose alert policy o k response has a 3xx status code
func (*UpsertFirehoseAlertPolicyOK) IsServerError ¶
func (o *UpsertFirehoseAlertPolicyOK) IsServerError() bool
IsServerError returns true when this upsert firehose alert policy o k response has a 5xx status code
func (*UpsertFirehoseAlertPolicyOK) IsSuccess ¶
func (o *UpsertFirehoseAlertPolicyOK) IsSuccess() bool
IsSuccess returns true when this upsert firehose alert policy o k response has a 2xx status code
func (*UpsertFirehoseAlertPolicyOK) String ¶
func (o *UpsertFirehoseAlertPolicyOK) String() string
type UpsertFirehoseAlertPolicyParams ¶
type UpsertFirehoseAlertPolicyParams struct { // Body. Body *models.AlertPolicy /* FirehoseUrn. URN of the firehose. */ FirehoseUrn string /* ProjectSlug. Unique slug name of the project. */ ProjectSlug string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpsertFirehoseAlertPolicyParams contains all the parameters to send to the API endpoint
for the upsert firehose alert policy operation. Typically these are written to a http.Request.
func NewUpsertFirehoseAlertPolicyParams ¶
func NewUpsertFirehoseAlertPolicyParams() *UpsertFirehoseAlertPolicyParams
NewUpsertFirehoseAlertPolicyParams creates a new UpsertFirehoseAlertPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpsertFirehoseAlertPolicyParamsWithContext ¶
func NewUpsertFirehoseAlertPolicyParamsWithContext(ctx context.Context) *UpsertFirehoseAlertPolicyParams
NewUpsertFirehoseAlertPolicyParamsWithContext creates a new UpsertFirehoseAlertPolicyParams object with the ability to set a context for a request.
func NewUpsertFirehoseAlertPolicyParamsWithHTTPClient ¶
func NewUpsertFirehoseAlertPolicyParamsWithHTTPClient(client *http.Client) *UpsertFirehoseAlertPolicyParams
NewUpsertFirehoseAlertPolicyParamsWithHTTPClient creates a new UpsertFirehoseAlertPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpsertFirehoseAlertPolicyParamsWithTimeout ¶
func NewUpsertFirehoseAlertPolicyParamsWithTimeout(timeout time.Duration) *UpsertFirehoseAlertPolicyParams
NewUpsertFirehoseAlertPolicyParamsWithTimeout creates a new UpsertFirehoseAlertPolicyParams object with the ability to set a timeout on a request.
func (*UpsertFirehoseAlertPolicyParams) SetBody ¶
func (o *UpsertFirehoseAlertPolicyParams) SetBody(body *models.AlertPolicy)
SetBody adds the body to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) SetContext ¶
func (o *UpsertFirehoseAlertPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) SetDefaults ¶
func (o *UpsertFirehoseAlertPolicyParams) SetDefaults()
SetDefaults hydrates default values in the upsert firehose alert policy params (not the query body).
All values with no default are reset to their zero value.
func (*UpsertFirehoseAlertPolicyParams) SetFirehoseUrn ¶
func (o *UpsertFirehoseAlertPolicyParams) SetFirehoseUrn(firehoseUrn string)
SetFirehoseUrn adds the firehoseUrn to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) SetHTTPClient ¶
func (o *UpsertFirehoseAlertPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) SetProjectSlug ¶
func (o *UpsertFirehoseAlertPolicyParams) SetProjectSlug(projectSlug string)
SetProjectSlug adds the projectSlug to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) SetTimeout ¶
func (o *UpsertFirehoseAlertPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WithBody ¶
func (o *UpsertFirehoseAlertPolicyParams) WithBody(body *models.AlertPolicy) *UpsertFirehoseAlertPolicyParams
WithBody adds the body to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WithContext ¶
func (o *UpsertFirehoseAlertPolicyParams) WithContext(ctx context.Context) *UpsertFirehoseAlertPolicyParams
WithContext adds the context to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WithDefaults ¶
func (o *UpsertFirehoseAlertPolicyParams) WithDefaults() *UpsertFirehoseAlertPolicyParams
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 ¶
func (o *UpsertFirehoseAlertPolicyParams) WithFirehoseUrn(firehoseUrn string) *UpsertFirehoseAlertPolicyParams
WithFirehoseUrn adds the firehoseUrn to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WithHTTPClient ¶
func (o *UpsertFirehoseAlertPolicyParams) WithHTTPClient(client *http.Client) *UpsertFirehoseAlertPolicyParams
WithHTTPClient adds the HTTPClient to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WithProjectSlug ¶
func (o *UpsertFirehoseAlertPolicyParams) WithProjectSlug(projectSlug string) *UpsertFirehoseAlertPolicyParams
WithProjectSlug adds the projectSlug to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WithTimeout ¶
func (o *UpsertFirehoseAlertPolicyParams) WithTimeout(timeout time.Duration) *UpsertFirehoseAlertPolicyParams
WithTimeout adds the timeout to the upsert firehose alert policy params
func (*UpsertFirehoseAlertPolicyParams) WriteToRequest ¶
func (o *UpsertFirehoseAlertPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
- create_firehose_parameters.go
- create_firehose_responses.go
- get_firehose_alert_policy_parameters.go
- get_firehose_alert_policy_responses.go
- get_firehose_alerts_parameters.go
- get_firehose_alerts_responses.go
- get_firehose_history_parameters.go
- get_firehose_history_responses.go
- get_firehose_logs_parameters.go
- get_firehose_logs_responses.go
- get_firehose_parameters.go
- get_firehose_responses.go
- get_project_by_slug_parameters.go
- get_project_by_slug_responses.go
- list_alert_templates_parameters.go
- list_alert_templates_responses.go
- list_firehoses_parameters.go
- list_firehoses_responses.go
- list_kubernetes_parameters.go
- list_kubernetes_responses.go
- list_projects_parameters.go
- list_projects_responses.go
- operations_client.go
- reset_offset_parameters.go
- reset_offset_responses.go
- scale_firehose_parameters.go
- scale_firehose_responses.go
- start_firehose_parameters.go
- start_firehose_responses.go
- stop_firehose_parameters.go
- stop_firehose_responses.go
- update_firehose_parameters.go
- update_firehose_responses.go
- upgrade_firehose_parameters.go
- upgrade_firehose_responses.go
- upsert_firehose_alert_policy_parameters.go
- upsert_firehose_alert_policy_responses.go