operators

package
v0.0.0-...-8c1a1a4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	/*
	   V2ListOfClusterOperators Lists operators to be monitored for a cluster.*/
	V2ListOfClusterOperators(ctx context.Context, params *V2ListOfClusterOperatorsParams) (*V2ListOfClusterOperatorsOK, error)
	/*
	   V2ListOperatorProperties Lists properties for an operator.*/
	V2ListOperatorProperties(ctx context.Context, params *V2ListOperatorPropertiesParams) (*V2ListOperatorPropertiesOK, error)
	/*
	   V2ListSupportedOperators Retrieves the list of supported operators.*/
	V2ListSupportedOperators(ctx context.Context, params *V2ListSupportedOperatorsParams) (*V2ListSupportedOperatorsOK, error)
	/*
	   V2ReportMonitoredOperatorStatus Controller API to report of monitored operators.*/
	V2ReportMonitoredOperatorStatus(ctx context.Context, params *V2ReportMonitoredOperatorStatusParams) (*V2ReportMonitoredOperatorStatusOK, error)
}

API is the interface of the operators client

type Client

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

Client for operators API

func New

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

New creates a new operators API client.

func (*Client) V2ListOfClusterOperators

func (a *Client) V2ListOfClusterOperators(ctx context.Context, params *V2ListOfClusterOperatorsParams) (*V2ListOfClusterOperatorsOK, error)

V2ListOfClusterOperators Lists operators to be monitored for a cluster.

func (*Client) V2ListOperatorProperties

func (a *Client) V2ListOperatorProperties(ctx context.Context, params *V2ListOperatorPropertiesParams) (*V2ListOperatorPropertiesOK, error)

V2ListOperatorProperties Lists properties for an operator.

func (*Client) V2ListSupportedOperators

func (a *Client) V2ListSupportedOperators(ctx context.Context, params *V2ListSupportedOperatorsParams) (*V2ListSupportedOperatorsOK, error)

V2ListSupportedOperators Retrieves the list of supported operators.

func (*Client) V2ReportMonitoredOperatorStatus

func (a *Client) V2ReportMonitoredOperatorStatus(ctx context.Context, params *V2ReportMonitoredOperatorStatusParams) (*V2ReportMonitoredOperatorStatusOK, error)

V2ReportMonitoredOperatorStatus Controller API to report of monitored operators.

type V2ListOfClusterOperatorsForbidden

type V2ListOfClusterOperatorsForbidden struct {
	Payload *models.InfraError
}

V2ListOfClusterOperatorsForbidden describes a response with status code 403, with default header values.

Forbidden.

func NewV2ListOfClusterOperatorsForbidden

func NewV2ListOfClusterOperatorsForbidden() *V2ListOfClusterOperatorsForbidden

NewV2ListOfClusterOperatorsForbidden creates a V2ListOfClusterOperatorsForbidden with default headers values

func (*V2ListOfClusterOperatorsForbidden) Error

func (*V2ListOfClusterOperatorsForbidden) GetPayload

func (*V2ListOfClusterOperatorsForbidden) IsClientError

func (o *V2ListOfClusterOperatorsForbidden) IsClientError() bool

IsClientError returns true when this v2 list of cluster operators forbidden response has a 4xx status code

func (*V2ListOfClusterOperatorsForbidden) IsCode

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

IsCode returns true when this v2 list of cluster operators forbidden response a status code equal to that given

func (*V2ListOfClusterOperatorsForbidden) IsRedirect

func (o *V2ListOfClusterOperatorsForbidden) IsRedirect() bool

IsRedirect returns true when this v2 list of cluster operators forbidden response has a 3xx status code

func (*V2ListOfClusterOperatorsForbidden) IsServerError

func (o *V2ListOfClusterOperatorsForbidden) IsServerError() bool

IsServerError returns true when this v2 list of cluster operators forbidden response has a 5xx status code

func (*V2ListOfClusterOperatorsForbidden) IsSuccess

func (o *V2ListOfClusterOperatorsForbidden) IsSuccess() bool

IsSuccess returns true when this v2 list of cluster operators forbidden response has a 2xx status code

func (*V2ListOfClusterOperatorsForbidden) String

type V2ListOfClusterOperatorsInternalServerError

type V2ListOfClusterOperatorsInternalServerError struct {
	Payload *models.Error
}

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

Error.

func NewV2ListOfClusterOperatorsInternalServerError

func NewV2ListOfClusterOperatorsInternalServerError() *V2ListOfClusterOperatorsInternalServerError

NewV2ListOfClusterOperatorsInternalServerError creates a V2ListOfClusterOperatorsInternalServerError with default headers values

func (*V2ListOfClusterOperatorsInternalServerError) Error

func (*V2ListOfClusterOperatorsInternalServerError) GetPayload

func (*V2ListOfClusterOperatorsInternalServerError) IsClientError

IsClientError returns true when this v2 list of cluster operators internal server error response has a 4xx status code

func (*V2ListOfClusterOperatorsInternalServerError) IsCode

IsCode returns true when this v2 list of cluster operators internal server error response a status code equal to that given

func (*V2ListOfClusterOperatorsInternalServerError) IsRedirect

IsRedirect returns true when this v2 list of cluster operators internal server error response has a 3xx status code

func (*V2ListOfClusterOperatorsInternalServerError) IsServerError

IsServerError returns true when this v2 list of cluster operators internal server error response has a 5xx status code

func (*V2ListOfClusterOperatorsInternalServerError) IsSuccess

IsSuccess returns true when this v2 list of cluster operators internal server error response has a 2xx status code

func (*V2ListOfClusterOperatorsInternalServerError) String

type V2ListOfClusterOperatorsMethodNotAllowed

type V2ListOfClusterOperatorsMethodNotAllowed struct {
	Payload *models.Error
}

V2ListOfClusterOperatorsMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed.

func NewV2ListOfClusterOperatorsMethodNotAllowed

func NewV2ListOfClusterOperatorsMethodNotAllowed() *V2ListOfClusterOperatorsMethodNotAllowed

NewV2ListOfClusterOperatorsMethodNotAllowed creates a V2ListOfClusterOperatorsMethodNotAllowed with default headers values

func (*V2ListOfClusterOperatorsMethodNotAllowed) Error

func (*V2ListOfClusterOperatorsMethodNotAllowed) GetPayload

func (*V2ListOfClusterOperatorsMethodNotAllowed) IsClientError

IsClientError returns true when this v2 list of cluster operators method not allowed response has a 4xx status code

func (*V2ListOfClusterOperatorsMethodNotAllowed) IsCode

IsCode returns true when this v2 list of cluster operators method not allowed response a status code equal to that given

func (*V2ListOfClusterOperatorsMethodNotAllowed) IsRedirect

IsRedirect returns true when this v2 list of cluster operators method not allowed response has a 3xx status code

func (*V2ListOfClusterOperatorsMethodNotAllowed) IsServerError

IsServerError returns true when this v2 list of cluster operators method not allowed response has a 5xx status code

func (*V2ListOfClusterOperatorsMethodNotAllowed) IsSuccess

IsSuccess returns true when this v2 list of cluster operators method not allowed response has a 2xx status code

func (*V2ListOfClusterOperatorsMethodNotAllowed) String

type V2ListOfClusterOperatorsNotFound

type V2ListOfClusterOperatorsNotFound struct {
	Payload *models.Error
}

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

Error.

func NewV2ListOfClusterOperatorsNotFound

func NewV2ListOfClusterOperatorsNotFound() *V2ListOfClusterOperatorsNotFound

NewV2ListOfClusterOperatorsNotFound creates a V2ListOfClusterOperatorsNotFound with default headers values

func (*V2ListOfClusterOperatorsNotFound) Error

func (*V2ListOfClusterOperatorsNotFound) GetPayload

func (*V2ListOfClusterOperatorsNotFound) IsClientError

func (o *V2ListOfClusterOperatorsNotFound) IsClientError() bool

IsClientError returns true when this v2 list of cluster operators not found response has a 4xx status code

func (*V2ListOfClusterOperatorsNotFound) IsCode

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

IsCode returns true when this v2 list of cluster operators not found response a status code equal to that given

func (*V2ListOfClusterOperatorsNotFound) IsRedirect

func (o *V2ListOfClusterOperatorsNotFound) IsRedirect() bool

IsRedirect returns true when this v2 list of cluster operators not found response has a 3xx status code

func (*V2ListOfClusterOperatorsNotFound) IsServerError

func (o *V2ListOfClusterOperatorsNotFound) IsServerError() bool

IsServerError returns true when this v2 list of cluster operators not found response has a 5xx status code

func (*V2ListOfClusterOperatorsNotFound) IsSuccess

func (o *V2ListOfClusterOperatorsNotFound) IsSuccess() bool

IsSuccess returns true when this v2 list of cluster operators not found response has a 2xx status code

func (*V2ListOfClusterOperatorsNotFound) String

type V2ListOfClusterOperatorsOK

type V2ListOfClusterOperatorsOK struct {
	Payload models.MonitoredOperatorsList
}

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

Success.

func NewV2ListOfClusterOperatorsOK

func NewV2ListOfClusterOperatorsOK() *V2ListOfClusterOperatorsOK

NewV2ListOfClusterOperatorsOK creates a V2ListOfClusterOperatorsOK with default headers values

func (*V2ListOfClusterOperatorsOK) Error

func (*V2ListOfClusterOperatorsOK) GetPayload

func (*V2ListOfClusterOperatorsOK) IsClientError

func (o *V2ListOfClusterOperatorsOK) IsClientError() bool

IsClientError returns true when this v2 list of cluster operators o k response has a 4xx status code

func (*V2ListOfClusterOperatorsOK) IsCode

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

IsCode returns true when this v2 list of cluster operators o k response a status code equal to that given

func (*V2ListOfClusterOperatorsOK) IsRedirect

func (o *V2ListOfClusterOperatorsOK) IsRedirect() bool

IsRedirect returns true when this v2 list of cluster operators o k response has a 3xx status code

func (*V2ListOfClusterOperatorsOK) IsServerError

func (o *V2ListOfClusterOperatorsOK) IsServerError() bool

IsServerError returns true when this v2 list of cluster operators o k response has a 5xx status code

func (*V2ListOfClusterOperatorsOK) IsSuccess

func (o *V2ListOfClusterOperatorsOK) IsSuccess() bool

IsSuccess returns true when this v2 list of cluster operators o k response has a 2xx status code

func (*V2ListOfClusterOperatorsOK) String

func (o *V2ListOfClusterOperatorsOK) String() string

type V2ListOfClusterOperatorsParams

type V2ListOfClusterOperatorsParams struct {

	/* ClusterID.

	   The cluster to return operators for.

	   Format: uuid
	*/
	ClusterID strfmt.UUID

	/* OperatorName.

	   An operator in the specified cluster to return its data.
	*/
	OperatorName *string

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

V2ListOfClusterOperatorsParams contains all the parameters to send to the API endpoint

for the v2 list of cluster operators operation.

Typically these are written to a http.Request.

func NewV2ListOfClusterOperatorsParams

func NewV2ListOfClusterOperatorsParams() *V2ListOfClusterOperatorsParams

NewV2ListOfClusterOperatorsParams creates a new V2ListOfClusterOperatorsParams 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 NewV2ListOfClusterOperatorsParamsWithContext

func NewV2ListOfClusterOperatorsParamsWithContext(ctx context.Context) *V2ListOfClusterOperatorsParams

NewV2ListOfClusterOperatorsParamsWithContext creates a new V2ListOfClusterOperatorsParams object with the ability to set a context for a request.

func NewV2ListOfClusterOperatorsParamsWithHTTPClient

func NewV2ListOfClusterOperatorsParamsWithHTTPClient(client *http.Client) *V2ListOfClusterOperatorsParams

NewV2ListOfClusterOperatorsParamsWithHTTPClient creates a new V2ListOfClusterOperatorsParams object with the ability to set a custom HTTPClient for a request.

func NewV2ListOfClusterOperatorsParamsWithTimeout

func NewV2ListOfClusterOperatorsParamsWithTimeout(timeout time.Duration) *V2ListOfClusterOperatorsParams

NewV2ListOfClusterOperatorsParamsWithTimeout creates a new V2ListOfClusterOperatorsParams object with the ability to set a timeout on a request.

func (*V2ListOfClusterOperatorsParams) SetClusterID

func (o *V2ListOfClusterOperatorsParams) SetClusterID(clusterID strfmt.UUID)

SetClusterID adds the clusterId to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) SetContext

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

SetContext adds the context to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) SetDefaults

func (o *V2ListOfClusterOperatorsParams) SetDefaults()

SetDefaults hydrates default values in the v2 list of cluster operators params (not the query body).

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

func (*V2ListOfClusterOperatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) SetOperatorName

func (o *V2ListOfClusterOperatorsParams) SetOperatorName(operatorName *string)

SetOperatorName adds the operatorName to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) SetTimeout

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

SetTimeout adds the timeout to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) WithClusterID

WithClusterID adds the clusterID to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) WithContext

WithContext adds the context to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) WithDefaults

WithDefaults hydrates default values in the v2 list of cluster operators params (not the query body).

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

func (*V2ListOfClusterOperatorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) WithOperatorName

func (o *V2ListOfClusterOperatorsParams) WithOperatorName(operatorName *string) *V2ListOfClusterOperatorsParams

WithOperatorName adds the operatorName to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) WithTimeout

WithTimeout adds the timeout to the v2 list of cluster operators params

func (*V2ListOfClusterOperatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2ListOfClusterOperatorsReader

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

V2ListOfClusterOperatorsReader is a Reader for the V2ListOfClusterOperators structure.

func (*V2ListOfClusterOperatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2ListOfClusterOperatorsUnauthorized

type V2ListOfClusterOperatorsUnauthorized struct {
	Payload *models.InfraError
}

V2ListOfClusterOperatorsUnauthorized describes a response with status code 401, with default header values.

Unauthorized.

func NewV2ListOfClusterOperatorsUnauthorized

func NewV2ListOfClusterOperatorsUnauthorized() *V2ListOfClusterOperatorsUnauthorized

NewV2ListOfClusterOperatorsUnauthorized creates a V2ListOfClusterOperatorsUnauthorized with default headers values

func (*V2ListOfClusterOperatorsUnauthorized) Error

func (*V2ListOfClusterOperatorsUnauthorized) GetPayload

func (*V2ListOfClusterOperatorsUnauthorized) IsClientError

func (o *V2ListOfClusterOperatorsUnauthorized) IsClientError() bool

IsClientError returns true when this v2 list of cluster operators unauthorized response has a 4xx status code

func (*V2ListOfClusterOperatorsUnauthorized) IsCode

IsCode returns true when this v2 list of cluster operators unauthorized response a status code equal to that given

func (*V2ListOfClusterOperatorsUnauthorized) IsRedirect

IsRedirect returns true when this v2 list of cluster operators unauthorized response has a 3xx status code

func (*V2ListOfClusterOperatorsUnauthorized) IsServerError

func (o *V2ListOfClusterOperatorsUnauthorized) IsServerError() bool

IsServerError returns true when this v2 list of cluster operators unauthorized response has a 5xx status code

func (*V2ListOfClusterOperatorsUnauthorized) IsSuccess

IsSuccess returns true when this v2 list of cluster operators unauthorized response has a 2xx status code

func (*V2ListOfClusterOperatorsUnauthorized) String

type V2ListOperatorPropertiesForbidden

type V2ListOperatorPropertiesForbidden struct {
	Payload *models.InfraError
}

V2ListOperatorPropertiesForbidden describes a response with status code 403, with default header values.

Forbidden.

func NewV2ListOperatorPropertiesForbidden

func NewV2ListOperatorPropertiesForbidden() *V2ListOperatorPropertiesForbidden

NewV2ListOperatorPropertiesForbidden creates a V2ListOperatorPropertiesForbidden with default headers values

func (*V2ListOperatorPropertiesForbidden) Error

func (*V2ListOperatorPropertiesForbidden) GetPayload

func (*V2ListOperatorPropertiesForbidden) IsClientError

func (o *V2ListOperatorPropertiesForbidden) IsClientError() bool

IsClientError returns true when this v2 list operator properties forbidden response has a 4xx status code

func (*V2ListOperatorPropertiesForbidden) IsCode

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

IsCode returns true when this v2 list operator properties forbidden response a status code equal to that given

func (*V2ListOperatorPropertiesForbidden) IsRedirect

func (o *V2ListOperatorPropertiesForbidden) IsRedirect() bool

IsRedirect returns true when this v2 list operator properties forbidden response has a 3xx status code

func (*V2ListOperatorPropertiesForbidden) IsServerError

func (o *V2ListOperatorPropertiesForbidden) IsServerError() bool

IsServerError returns true when this v2 list operator properties forbidden response has a 5xx status code

func (*V2ListOperatorPropertiesForbidden) IsSuccess

func (o *V2ListOperatorPropertiesForbidden) IsSuccess() bool

IsSuccess returns true when this v2 list operator properties forbidden response has a 2xx status code

func (*V2ListOperatorPropertiesForbidden) String

type V2ListOperatorPropertiesInternalServerError

type V2ListOperatorPropertiesInternalServerError struct {
	Payload *models.Error
}

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

Error.

func NewV2ListOperatorPropertiesInternalServerError

func NewV2ListOperatorPropertiesInternalServerError() *V2ListOperatorPropertiesInternalServerError

NewV2ListOperatorPropertiesInternalServerError creates a V2ListOperatorPropertiesInternalServerError with default headers values

func (*V2ListOperatorPropertiesInternalServerError) Error

func (*V2ListOperatorPropertiesInternalServerError) GetPayload

func (*V2ListOperatorPropertiesInternalServerError) IsClientError

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

func (*V2ListOperatorPropertiesInternalServerError) IsCode

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

func (*V2ListOperatorPropertiesInternalServerError) IsRedirect

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

func (*V2ListOperatorPropertiesInternalServerError) IsServerError

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

func (*V2ListOperatorPropertiesInternalServerError) IsSuccess

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

func (*V2ListOperatorPropertiesInternalServerError) String

type V2ListOperatorPropertiesNotFound

type V2ListOperatorPropertiesNotFound struct {
	Payload *models.Error
}

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

Error.

func NewV2ListOperatorPropertiesNotFound

func NewV2ListOperatorPropertiesNotFound() *V2ListOperatorPropertiesNotFound

NewV2ListOperatorPropertiesNotFound creates a V2ListOperatorPropertiesNotFound with default headers values

func (*V2ListOperatorPropertiesNotFound) Error

func (*V2ListOperatorPropertiesNotFound) GetPayload

func (*V2ListOperatorPropertiesNotFound) IsClientError

func (o *V2ListOperatorPropertiesNotFound) IsClientError() bool

IsClientError returns true when this v2 list operator properties not found response has a 4xx status code

func (*V2ListOperatorPropertiesNotFound) IsCode

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

IsCode returns true when this v2 list operator properties not found response a status code equal to that given

func (*V2ListOperatorPropertiesNotFound) IsRedirect

func (o *V2ListOperatorPropertiesNotFound) IsRedirect() bool

IsRedirect returns true when this v2 list operator properties not found response has a 3xx status code

func (*V2ListOperatorPropertiesNotFound) IsServerError

func (o *V2ListOperatorPropertiesNotFound) IsServerError() bool

IsServerError returns true when this v2 list operator properties not found response has a 5xx status code

func (*V2ListOperatorPropertiesNotFound) IsSuccess

func (o *V2ListOperatorPropertiesNotFound) IsSuccess() bool

IsSuccess returns true when this v2 list operator properties not found response has a 2xx status code

func (*V2ListOperatorPropertiesNotFound) String

type V2ListOperatorPropertiesOK

type V2ListOperatorPropertiesOK struct {
	Payload models.OperatorProperties
}

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

Success.

func NewV2ListOperatorPropertiesOK

func NewV2ListOperatorPropertiesOK() *V2ListOperatorPropertiesOK

NewV2ListOperatorPropertiesOK creates a V2ListOperatorPropertiesOK with default headers values

func (*V2ListOperatorPropertiesOK) Error

func (*V2ListOperatorPropertiesOK) GetPayload

func (*V2ListOperatorPropertiesOK) IsClientError

func (o *V2ListOperatorPropertiesOK) IsClientError() bool

IsClientError returns true when this v2 list operator properties o k response has a 4xx status code

func (*V2ListOperatorPropertiesOK) IsCode

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

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

func (*V2ListOperatorPropertiesOK) IsRedirect

func (o *V2ListOperatorPropertiesOK) IsRedirect() bool

IsRedirect returns true when this v2 list operator properties o k response has a 3xx status code

func (*V2ListOperatorPropertiesOK) IsServerError

func (o *V2ListOperatorPropertiesOK) IsServerError() bool

IsServerError returns true when this v2 list operator properties o k response has a 5xx status code

func (*V2ListOperatorPropertiesOK) IsSuccess

func (o *V2ListOperatorPropertiesOK) IsSuccess() bool

IsSuccess returns true when this v2 list operator properties o k response has a 2xx status code

func (*V2ListOperatorPropertiesOK) String

func (o *V2ListOperatorPropertiesOK) String() string

type V2ListOperatorPropertiesParams

type V2ListOperatorPropertiesParams struct {

	/* OperatorName.

	   The operator name.
	*/
	OperatorName string

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

V2ListOperatorPropertiesParams contains all the parameters to send to the API endpoint

for the v2 list operator properties operation.

Typically these are written to a http.Request.

func NewV2ListOperatorPropertiesParams

func NewV2ListOperatorPropertiesParams() *V2ListOperatorPropertiesParams

NewV2ListOperatorPropertiesParams creates a new V2ListOperatorPropertiesParams 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 NewV2ListOperatorPropertiesParamsWithContext

func NewV2ListOperatorPropertiesParamsWithContext(ctx context.Context) *V2ListOperatorPropertiesParams

NewV2ListOperatorPropertiesParamsWithContext creates a new V2ListOperatorPropertiesParams object with the ability to set a context for a request.

func NewV2ListOperatorPropertiesParamsWithHTTPClient

func NewV2ListOperatorPropertiesParamsWithHTTPClient(client *http.Client) *V2ListOperatorPropertiesParams

NewV2ListOperatorPropertiesParamsWithHTTPClient creates a new V2ListOperatorPropertiesParams object with the ability to set a custom HTTPClient for a request.

func NewV2ListOperatorPropertiesParamsWithTimeout

func NewV2ListOperatorPropertiesParamsWithTimeout(timeout time.Duration) *V2ListOperatorPropertiesParams

NewV2ListOperatorPropertiesParamsWithTimeout creates a new V2ListOperatorPropertiesParams object with the ability to set a timeout on a request.

func (*V2ListOperatorPropertiesParams) SetContext

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

SetContext adds the context to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) SetDefaults

func (o *V2ListOperatorPropertiesParams) SetDefaults()

SetDefaults hydrates default values in the v2 list operator properties params (not the query body).

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

func (*V2ListOperatorPropertiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) SetOperatorName

func (o *V2ListOperatorPropertiesParams) SetOperatorName(operatorName string)

SetOperatorName adds the operatorName to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) SetTimeout

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

SetTimeout adds the timeout to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) WithContext

WithContext adds the context to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) WithDefaults

WithDefaults hydrates default values in the v2 list operator properties params (not the query body).

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

func (*V2ListOperatorPropertiesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) WithOperatorName

func (o *V2ListOperatorPropertiesParams) WithOperatorName(operatorName string) *V2ListOperatorPropertiesParams

WithOperatorName adds the operatorName to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) WithTimeout

WithTimeout adds the timeout to the v2 list operator properties params

func (*V2ListOperatorPropertiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2ListOperatorPropertiesReader

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

V2ListOperatorPropertiesReader is a Reader for the V2ListOperatorProperties structure.

func (*V2ListOperatorPropertiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2ListOperatorPropertiesUnauthorized

type V2ListOperatorPropertiesUnauthorized struct {
	Payload *models.InfraError
}

V2ListOperatorPropertiesUnauthorized describes a response with status code 401, with default header values.

Unauthorized.

func NewV2ListOperatorPropertiesUnauthorized

func NewV2ListOperatorPropertiesUnauthorized() *V2ListOperatorPropertiesUnauthorized

NewV2ListOperatorPropertiesUnauthorized creates a V2ListOperatorPropertiesUnauthorized with default headers values

func (*V2ListOperatorPropertiesUnauthorized) Error

func (*V2ListOperatorPropertiesUnauthorized) GetPayload

func (*V2ListOperatorPropertiesUnauthorized) IsClientError

func (o *V2ListOperatorPropertiesUnauthorized) IsClientError() bool

IsClientError returns true when this v2 list operator properties unauthorized response has a 4xx status code

func (*V2ListOperatorPropertiesUnauthorized) IsCode

IsCode returns true when this v2 list operator properties unauthorized response a status code equal to that given

func (*V2ListOperatorPropertiesUnauthorized) IsRedirect

IsRedirect returns true when this v2 list operator properties unauthorized response has a 3xx status code

func (*V2ListOperatorPropertiesUnauthorized) IsServerError

func (o *V2ListOperatorPropertiesUnauthorized) IsServerError() bool

IsServerError returns true when this v2 list operator properties unauthorized response has a 5xx status code

func (*V2ListOperatorPropertiesUnauthorized) IsSuccess

IsSuccess returns true when this v2 list operator properties unauthorized response has a 2xx status code

func (*V2ListOperatorPropertiesUnauthorized) String

type V2ListSupportedOperatorsForbidden

type V2ListSupportedOperatorsForbidden struct {
	Payload *models.InfraError
}

V2ListSupportedOperatorsForbidden describes a response with status code 403, with default header values.

Forbidden.

func NewV2ListSupportedOperatorsForbidden

func NewV2ListSupportedOperatorsForbidden() *V2ListSupportedOperatorsForbidden

NewV2ListSupportedOperatorsForbidden creates a V2ListSupportedOperatorsForbidden with default headers values

func (*V2ListSupportedOperatorsForbidden) Error

func (*V2ListSupportedOperatorsForbidden) GetPayload

func (*V2ListSupportedOperatorsForbidden) IsClientError

func (o *V2ListSupportedOperatorsForbidden) IsClientError() bool

IsClientError returns true when this v2 list supported operators forbidden response has a 4xx status code

func (*V2ListSupportedOperatorsForbidden) IsCode

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

IsCode returns true when this v2 list supported operators forbidden response a status code equal to that given

func (*V2ListSupportedOperatorsForbidden) IsRedirect

func (o *V2ListSupportedOperatorsForbidden) IsRedirect() bool

IsRedirect returns true when this v2 list supported operators forbidden response has a 3xx status code

func (*V2ListSupportedOperatorsForbidden) IsServerError

func (o *V2ListSupportedOperatorsForbidden) IsServerError() bool

IsServerError returns true when this v2 list supported operators forbidden response has a 5xx status code

func (*V2ListSupportedOperatorsForbidden) IsSuccess

func (o *V2ListSupportedOperatorsForbidden) IsSuccess() bool

IsSuccess returns true when this v2 list supported operators forbidden response has a 2xx status code

func (*V2ListSupportedOperatorsForbidden) String

type V2ListSupportedOperatorsInternalServerError

type V2ListSupportedOperatorsInternalServerError struct {
	Payload *models.Error
}

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

Error.

func NewV2ListSupportedOperatorsInternalServerError

func NewV2ListSupportedOperatorsInternalServerError() *V2ListSupportedOperatorsInternalServerError

NewV2ListSupportedOperatorsInternalServerError creates a V2ListSupportedOperatorsInternalServerError with default headers values

func (*V2ListSupportedOperatorsInternalServerError) Error

func (*V2ListSupportedOperatorsInternalServerError) GetPayload

func (*V2ListSupportedOperatorsInternalServerError) IsClientError

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

func (*V2ListSupportedOperatorsInternalServerError) IsCode

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

func (*V2ListSupportedOperatorsInternalServerError) IsRedirect

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

func (*V2ListSupportedOperatorsInternalServerError) IsServerError

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

func (*V2ListSupportedOperatorsInternalServerError) IsSuccess

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

func (*V2ListSupportedOperatorsInternalServerError) String

type V2ListSupportedOperatorsOK

type V2ListSupportedOperatorsOK struct {
	Payload []string
}

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

Success.

func NewV2ListSupportedOperatorsOK

func NewV2ListSupportedOperatorsOK() *V2ListSupportedOperatorsOK

NewV2ListSupportedOperatorsOK creates a V2ListSupportedOperatorsOK with default headers values

func (*V2ListSupportedOperatorsOK) Error

func (*V2ListSupportedOperatorsOK) GetPayload

func (o *V2ListSupportedOperatorsOK) GetPayload() []string

func (*V2ListSupportedOperatorsOK) IsClientError

func (o *V2ListSupportedOperatorsOK) IsClientError() bool

IsClientError returns true when this v2 list supported operators o k response has a 4xx status code

func (*V2ListSupportedOperatorsOK) IsCode

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

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

func (*V2ListSupportedOperatorsOK) IsRedirect

func (o *V2ListSupportedOperatorsOK) IsRedirect() bool

IsRedirect returns true when this v2 list supported operators o k response has a 3xx status code

func (*V2ListSupportedOperatorsOK) IsServerError

func (o *V2ListSupportedOperatorsOK) IsServerError() bool

IsServerError returns true when this v2 list supported operators o k response has a 5xx status code

func (*V2ListSupportedOperatorsOK) IsSuccess

func (o *V2ListSupportedOperatorsOK) IsSuccess() bool

IsSuccess returns true when this v2 list supported operators o k response has a 2xx status code

func (*V2ListSupportedOperatorsOK) String

func (o *V2ListSupportedOperatorsOK) String() string

type V2ListSupportedOperatorsParams

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

V2ListSupportedOperatorsParams contains all the parameters to send to the API endpoint

for the v2 list supported operators operation.

Typically these are written to a http.Request.

func NewV2ListSupportedOperatorsParams

func NewV2ListSupportedOperatorsParams() *V2ListSupportedOperatorsParams

NewV2ListSupportedOperatorsParams creates a new V2ListSupportedOperatorsParams 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 NewV2ListSupportedOperatorsParamsWithContext

func NewV2ListSupportedOperatorsParamsWithContext(ctx context.Context) *V2ListSupportedOperatorsParams

NewV2ListSupportedOperatorsParamsWithContext creates a new V2ListSupportedOperatorsParams object with the ability to set a context for a request.

func NewV2ListSupportedOperatorsParamsWithHTTPClient

func NewV2ListSupportedOperatorsParamsWithHTTPClient(client *http.Client) *V2ListSupportedOperatorsParams

NewV2ListSupportedOperatorsParamsWithHTTPClient creates a new V2ListSupportedOperatorsParams object with the ability to set a custom HTTPClient for a request.

func NewV2ListSupportedOperatorsParamsWithTimeout

func NewV2ListSupportedOperatorsParamsWithTimeout(timeout time.Duration) *V2ListSupportedOperatorsParams

NewV2ListSupportedOperatorsParamsWithTimeout creates a new V2ListSupportedOperatorsParams object with the ability to set a timeout on a request.

func (*V2ListSupportedOperatorsParams) SetContext

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

SetContext adds the context to the v2 list supported operators params

func (*V2ListSupportedOperatorsParams) SetDefaults

func (o *V2ListSupportedOperatorsParams) SetDefaults()

SetDefaults hydrates default values in the v2 list supported operators params (not the query body).

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

func (*V2ListSupportedOperatorsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 list supported operators params

func (*V2ListSupportedOperatorsParams) SetTimeout

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

SetTimeout adds the timeout to the v2 list supported operators params

func (*V2ListSupportedOperatorsParams) WithContext

WithContext adds the context to the v2 list supported operators params

func (*V2ListSupportedOperatorsParams) WithDefaults

WithDefaults hydrates default values in the v2 list supported operators params (not the query body).

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

func (*V2ListSupportedOperatorsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 list supported operators params

func (*V2ListSupportedOperatorsParams) WithTimeout

WithTimeout adds the timeout to the v2 list supported operators params

func (*V2ListSupportedOperatorsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2ListSupportedOperatorsReader

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

V2ListSupportedOperatorsReader is a Reader for the V2ListSupportedOperators structure.

func (*V2ListSupportedOperatorsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2ListSupportedOperatorsUnauthorized

type V2ListSupportedOperatorsUnauthorized struct {
	Payload *models.InfraError
}

V2ListSupportedOperatorsUnauthorized describes a response with status code 401, with default header values.

Unauthorized.

func NewV2ListSupportedOperatorsUnauthorized

func NewV2ListSupportedOperatorsUnauthorized() *V2ListSupportedOperatorsUnauthorized

NewV2ListSupportedOperatorsUnauthorized creates a V2ListSupportedOperatorsUnauthorized with default headers values

func (*V2ListSupportedOperatorsUnauthorized) Error

func (*V2ListSupportedOperatorsUnauthorized) GetPayload

func (*V2ListSupportedOperatorsUnauthorized) IsClientError

func (o *V2ListSupportedOperatorsUnauthorized) IsClientError() bool

IsClientError returns true when this v2 list supported operators unauthorized response has a 4xx status code

func (*V2ListSupportedOperatorsUnauthorized) IsCode

IsCode returns true when this v2 list supported operators unauthorized response a status code equal to that given

func (*V2ListSupportedOperatorsUnauthorized) IsRedirect

IsRedirect returns true when this v2 list supported operators unauthorized response has a 3xx status code

func (*V2ListSupportedOperatorsUnauthorized) IsServerError

func (o *V2ListSupportedOperatorsUnauthorized) IsServerError() bool

IsServerError returns true when this v2 list supported operators unauthorized response has a 5xx status code

func (*V2ListSupportedOperatorsUnauthorized) IsSuccess

IsSuccess returns true when this v2 list supported operators unauthorized response has a 2xx status code

func (*V2ListSupportedOperatorsUnauthorized) String

type V2ReportMonitoredOperatorStatusBadRequest

type V2ReportMonitoredOperatorStatusBadRequest struct {
	Payload *models.Error
}

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

Bad Request

func NewV2ReportMonitoredOperatorStatusBadRequest

func NewV2ReportMonitoredOperatorStatusBadRequest() *V2ReportMonitoredOperatorStatusBadRequest

NewV2ReportMonitoredOperatorStatusBadRequest creates a V2ReportMonitoredOperatorStatusBadRequest with default headers values

func (*V2ReportMonitoredOperatorStatusBadRequest) Error

func (*V2ReportMonitoredOperatorStatusBadRequest) GetPayload

func (*V2ReportMonitoredOperatorStatusBadRequest) IsClientError

IsClientError returns true when this v2 report monitored operator status bad request response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusBadRequest) IsCode

IsCode returns true when this v2 report monitored operator status bad request response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusBadRequest) IsRedirect

IsRedirect returns true when this v2 report monitored operator status bad request response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusBadRequest) IsServerError

IsServerError returns true when this v2 report monitored operator status bad request response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusBadRequest) IsSuccess

IsSuccess returns true when this v2 report monitored operator status bad request response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusBadRequest) String

type V2ReportMonitoredOperatorStatusConflict

type V2ReportMonitoredOperatorStatusConflict struct {
	Payload *models.Error
}

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

Error.

func NewV2ReportMonitoredOperatorStatusConflict

func NewV2ReportMonitoredOperatorStatusConflict() *V2ReportMonitoredOperatorStatusConflict

NewV2ReportMonitoredOperatorStatusConflict creates a V2ReportMonitoredOperatorStatusConflict with default headers values

func (*V2ReportMonitoredOperatorStatusConflict) Error

func (*V2ReportMonitoredOperatorStatusConflict) GetPayload

func (*V2ReportMonitoredOperatorStatusConflict) IsClientError

func (o *V2ReportMonitoredOperatorStatusConflict) IsClientError() bool

IsClientError returns true when this v2 report monitored operator status conflict response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusConflict) IsCode

IsCode returns true when this v2 report monitored operator status conflict response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusConflict) IsRedirect

IsRedirect returns true when this v2 report monitored operator status conflict response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusConflict) IsServerError

func (o *V2ReportMonitoredOperatorStatusConflict) IsServerError() bool

IsServerError returns true when this v2 report monitored operator status conflict response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusConflict) IsSuccess

IsSuccess returns true when this v2 report monitored operator status conflict response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusConflict) String

type V2ReportMonitoredOperatorStatusForbidden

type V2ReportMonitoredOperatorStatusForbidden struct {
	Payload *models.InfraError
}

V2ReportMonitoredOperatorStatusForbidden describes a response with status code 403, with default header values.

Forbidden.

func NewV2ReportMonitoredOperatorStatusForbidden

func NewV2ReportMonitoredOperatorStatusForbidden() *V2ReportMonitoredOperatorStatusForbidden

NewV2ReportMonitoredOperatorStatusForbidden creates a V2ReportMonitoredOperatorStatusForbidden with default headers values

func (*V2ReportMonitoredOperatorStatusForbidden) Error

func (*V2ReportMonitoredOperatorStatusForbidden) GetPayload

func (*V2ReportMonitoredOperatorStatusForbidden) IsClientError

IsClientError returns true when this v2 report monitored operator status forbidden response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusForbidden) IsCode

IsCode returns true when this v2 report monitored operator status forbidden response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusForbidden) IsRedirect

IsRedirect returns true when this v2 report monitored operator status forbidden response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusForbidden) IsServerError

IsServerError returns true when this v2 report monitored operator status forbidden response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusForbidden) IsSuccess

IsSuccess returns true when this v2 report monitored operator status forbidden response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusForbidden) String

type V2ReportMonitoredOperatorStatusInternalServerError

type V2ReportMonitoredOperatorStatusInternalServerError struct {
	Payload *models.Error
}

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

Error.

func NewV2ReportMonitoredOperatorStatusInternalServerError

func NewV2ReportMonitoredOperatorStatusInternalServerError() *V2ReportMonitoredOperatorStatusInternalServerError

NewV2ReportMonitoredOperatorStatusInternalServerError creates a V2ReportMonitoredOperatorStatusInternalServerError with default headers values

func (*V2ReportMonitoredOperatorStatusInternalServerError) Error

func (*V2ReportMonitoredOperatorStatusInternalServerError) GetPayload

func (*V2ReportMonitoredOperatorStatusInternalServerError) IsClientError

IsClientError returns true when this v2 report monitored operator status internal server error response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusInternalServerError) IsCode

IsCode returns true when this v2 report monitored operator status internal server error response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusInternalServerError) IsRedirect

IsRedirect returns true when this v2 report monitored operator status internal server error response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusInternalServerError) IsServerError

IsServerError returns true when this v2 report monitored operator status internal server error response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusInternalServerError) IsSuccess

IsSuccess returns true when this v2 report monitored operator status internal server error response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusInternalServerError) String

type V2ReportMonitoredOperatorStatusMethodNotAllowed

type V2ReportMonitoredOperatorStatusMethodNotAllowed struct {
	Payload *models.Error
}

V2ReportMonitoredOperatorStatusMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed.

func NewV2ReportMonitoredOperatorStatusMethodNotAllowed

func NewV2ReportMonitoredOperatorStatusMethodNotAllowed() *V2ReportMonitoredOperatorStatusMethodNotAllowed

NewV2ReportMonitoredOperatorStatusMethodNotAllowed creates a V2ReportMonitoredOperatorStatusMethodNotAllowed with default headers values

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) Error

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) GetPayload

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) IsClientError

IsClientError returns true when this v2 report monitored operator status method not allowed response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) IsCode

IsCode returns true when this v2 report monitored operator status method not allowed response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) IsRedirect

IsRedirect returns true when this v2 report monitored operator status method not allowed response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) IsServerError

IsServerError returns true when this v2 report monitored operator status method not allowed response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) IsSuccess

IsSuccess returns true when this v2 report monitored operator status method not allowed response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusMethodNotAllowed) String

type V2ReportMonitoredOperatorStatusNotFound

type V2ReportMonitoredOperatorStatusNotFound struct {
	Payload *models.Error
}

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

Error.

func NewV2ReportMonitoredOperatorStatusNotFound

func NewV2ReportMonitoredOperatorStatusNotFound() *V2ReportMonitoredOperatorStatusNotFound

NewV2ReportMonitoredOperatorStatusNotFound creates a V2ReportMonitoredOperatorStatusNotFound with default headers values

func (*V2ReportMonitoredOperatorStatusNotFound) Error

func (*V2ReportMonitoredOperatorStatusNotFound) GetPayload

func (*V2ReportMonitoredOperatorStatusNotFound) IsClientError

func (o *V2ReportMonitoredOperatorStatusNotFound) IsClientError() bool

IsClientError returns true when this v2 report monitored operator status not found response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusNotFound) IsCode

IsCode returns true when this v2 report monitored operator status not found response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusNotFound) IsRedirect

IsRedirect returns true when this v2 report monitored operator status not found response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusNotFound) IsServerError

func (o *V2ReportMonitoredOperatorStatusNotFound) IsServerError() bool

IsServerError returns true when this v2 report monitored operator status not found response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusNotFound) IsSuccess

IsSuccess returns true when this v2 report monitored operator status not found response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusNotFound) String

type V2ReportMonitoredOperatorStatusOK

type V2ReportMonitoredOperatorStatusOK struct {
}

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

Success.

func NewV2ReportMonitoredOperatorStatusOK

func NewV2ReportMonitoredOperatorStatusOK() *V2ReportMonitoredOperatorStatusOK

NewV2ReportMonitoredOperatorStatusOK creates a V2ReportMonitoredOperatorStatusOK with default headers values

func (*V2ReportMonitoredOperatorStatusOK) Error

func (*V2ReportMonitoredOperatorStatusOK) IsClientError

func (o *V2ReportMonitoredOperatorStatusOK) IsClientError() bool

IsClientError returns true when this v2 report monitored operator status o k response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusOK) IsCode

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

IsCode returns true when this v2 report monitored operator status o k response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusOK) IsRedirect

func (o *V2ReportMonitoredOperatorStatusOK) IsRedirect() bool

IsRedirect returns true when this v2 report monitored operator status o k response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusOK) IsServerError

func (o *V2ReportMonitoredOperatorStatusOK) IsServerError() bool

IsServerError returns true when this v2 report monitored operator status o k response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusOK) IsSuccess

func (o *V2ReportMonitoredOperatorStatusOK) IsSuccess() bool

IsSuccess returns true when this v2 report monitored operator status o k response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusOK) String

type V2ReportMonitoredOperatorStatusParams

type V2ReportMonitoredOperatorStatusParams struct {

	/* ClusterID.

	   The cluster whose operators are being monitored.

	   Format: uuid
	*/
	ClusterID strfmt.UUID

	/* ReportParams.

	   The operators monitor report.
	*/
	ReportParams *models.OperatorMonitorReport

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

V2ReportMonitoredOperatorStatusParams contains all the parameters to send to the API endpoint

for the v2 report monitored operator status operation.

Typically these are written to a http.Request.

func NewV2ReportMonitoredOperatorStatusParams

func NewV2ReportMonitoredOperatorStatusParams() *V2ReportMonitoredOperatorStatusParams

NewV2ReportMonitoredOperatorStatusParams creates a new V2ReportMonitoredOperatorStatusParams 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 NewV2ReportMonitoredOperatorStatusParamsWithContext

func NewV2ReportMonitoredOperatorStatusParamsWithContext(ctx context.Context) *V2ReportMonitoredOperatorStatusParams

NewV2ReportMonitoredOperatorStatusParamsWithContext creates a new V2ReportMonitoredOperatorStatusParams object with the ability to set a context for a request.

func NewV2ReportMonitoredOperatorStatusParamsWithHTTPClient

func NewV2ReportMonitoredOperatorStatusParamsWithHTTPClient(client *http.Client) *V2ReportMonitoredOperatorStatusParams

NewV2ReportMonitoredOperatorStatusParamsWithHTTPClient creates a new V2ReportMonitoredOperatorStatusParams object with the ability to set a custom HTTPClient for a request.

func NewV2ReportMonitoredOperatorStatusParamsWithTimeout

func NewV2ReportMonitoredOperatorStatusParamsWithTimeout(timeout time.Duration) *V2ReportMonitoredOperatorStatusParams

NewV2ReportMonitoredOperatorStatusParamsWithTimeout creates a new V2ReportMonitoredOperatorStatusParams object with the ability to set a timeout on a request.

func (*V2ReportMonitoredOperatorStatusParams) SetClusterID

func (o *V2ReportMonitoredOperatorStatusParams) SetClusterID(clusterID strfmt.UUID)

SetClusterID adds the clusterId to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) SetContext

SetContext adds the context to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) SetDefaults

func (o *V2ReportMonitoredOperatorStatusParams) SetDefaults()

SetDefaults hydrates default values in the v2 report monitored operator status params (not the query body).

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

func (*V2ReportMonitoredOperatorStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) SetReportParams

func (o *V2ReportMonitoredOperatorStatusParams) SetReportParams(reportParams *models.OperatorMonitorReport)

SetReportParams adds the reportParams to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) SetTimeout

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

SetTimeout adds the timeout to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) WithClusterID

WithClusterID adds the clusterID to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) WithContext

WithContext adds the context to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) WithDefaults

WithDefaults hydrates default values in the v2 report monitored operator status params (not the query body).

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

func (*V2ReportMonitoredOperatorStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) WithReportParams

WithReportParams adds the reportParams to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) WithTimeout

WithTimeout adds the timeout to the v2 report monitored operator status params

func (*V2ReportMonitoredOperatorStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type V2ReportMonitoredOperatorStatusReader

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

V2ReportMonitoredOperatorStatusReader is a Reader for the V2ReportMonitoredOperatorStatus structure.

func (*V2ReportMonitoredOperatorStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type V2ReportMonitoredOperatorStatusServiceUnavailable

type V2ReportMonitoredOperatorStatusServiceUnavailable struct {
	Payload *models.Error
}

V2ReportMonitoredOperatorStatusServiceUnavailable describes a response with status code 503, with default header values.

Unavailable.

func NewV2ReportMonitoredOperatorStatusServiceUnavailable

func NewV2ReportMonitoredOperatorStatusServiceUnavailable() *V2ReportMonitoredOperatorStatusServiceUnavailable

NewV2ReportMonitoredOperatorStatusServiceUnavailable creates a V2ReportMonitoredOperatorStatusServiceUnavailable with default headers values

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) Error

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) GetPayload

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) IsClientError

IsClientError returns true when this v2 report monitored operator status service unavailable response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) IsCode

IsCode returns true when this v2 report monitored operator status service unavailable response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) IsRedirect

IsRedirect returns true when this v2 report monitored operator status service unavailable response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) IsServerError

IsServerError returns true when this v2 report monitored operator status service unavailable response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) IsSuccess

IsSuccess returns true when this v2 report monitored operator status service unavailable response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusServiceUnavailable) String

type V2ReportMonitoredOperatorStatusUnauthorized

type V2ReportMonitoredOperatorStatusUnauthorized struct {
	Payload *models.InfraError
}

V2ReportMonitoredOperatorStatusUnauthorized describes a response with status code 401, with default header values.

Unauthorized.

func NewV2ReportMonitoredOperatorStatusUnauthorized

func NewV2ReportMonitoredOperatorStatusUnauthorized() *V2ReportMonitoredOperatorStatusUnauthorized

NewV2ReportMonitoredOperatorStatusUnauthorized creates a V2ReportMonitoredOperatorStatusUnauthorized with default headers values

func (*V2ReportMonitoredOperatorStatusUnauthorized) Error

func (*V2ReportMonitoredOperatorStatusUnauthorized) GetPayload

func (*V2ReportMonitoredOperatorStatusUnauthorized) IsClientError

IsClientError returns true when this v2 report monitored operator status unauthorized response has a 4xx status code

func (*V2ReportMonitoredOperatorStatusUnauthorized) IsCode

IsCode returns true when this v2 report monitored operator status unauthorized response a status code equal to that given

func (*V2ReportMonitoredOperatorStatusUnauthorized) IsRedirect

IsRedirect returns true when this v2 report monitored operator status unauthorized response has a 3xx status code

func (*V2ReportMonitoredOperatorStatusUnauthorized) IsServerError

IsServerError returns true when this v2 report monitored operator status unauthorized response has a 5xx status code

func (*V2ReportMonitoredOperatorStatusUnauthorized) IsSuccess

IsSuccess returns true when this v2 report monitored operator status unauthorized response has a 2xx status code

func (*V2ReportMonitoredOperatorStatusUnauthorized) String

Jump to

Keyboard shortcuts

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