operations

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for operations API

func (*Client) CreateLogCollection

func (a *Client) CreateLogCollection(params *CreateLogCollectionParams, opts ...ClientOption) (*CreateLogCollectionOK, error)

CreateLogCollection create log collection API

func (*Client) CreateNvmfSubsystem

func (a *Client) CreateNvmfSubsystem(params *CreateNvmfSubsystemParams, opts ...ClientOption) (*CreateNvmfSubsystemOK, error)

CreateNvmfSubsystem create nvmf subsystem API

func (*Client) DeleteLogCollection

func (a *Client) DeleteLogCollection(params *DeleteLogCollectionParams, opts ...ClientOption) (*DeleteLogCollectionOK, error)

DeleteLogCollection delete log collection API

func (*Client) DeleteNvmfSubsystem

func (a *Client) DeleteNvmfSubsystem(params *DeleteNvmfSubsystemParams, opts ...ClientOption) (*DeleteNvmfSubsystemOK, error)

DeleteNvmfSubsystem delete nvmf subsystem API

func (*Client) ForceStopLogCollection

func (a *Client) ForceStopLogCollection(params *ForceStopLogCollectionParams, opts ...ClientOption) (*ForceStopLogCollectionOK, error)

ForceStopLogCollection force stop log collection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAlertNotifier

func (a *Client) UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)

UpdateAlertNotifier update alert notifier API

func (*Client) UpdateNvmfSubsystem

func (a *Client) UpdateNvmfSubsystem(params *UpdateNvmfSubsystemParams, opts ...ClientOption) (*UpdateNvmfSubsystemOK, error)

UpdateNvmfSubsystem update nvmf subsystem API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateLogCollection(params *CreateLogCollectionParams, opts ...ClientOption) (*CreateLogCollectionOK, error)

	CreateNvmfSubsystem(params *CreateNvmfSubsystemParams, opts ...ClientOption) (*CreateNvmfSubsystemOK, error)

	DeleteLogCollection(params *DeleteLogCollectionParams, opts ...ClientOption) (*DeleteLogCollectionOK, error)

	DeleteNvmfSubsystem(params *DeleteNvmfSubsystemParams, opts ...ClientOption) (*DeleteNvmfSubsystemOK, error)

	ForceStopLogCollection(params *ForceStopLogCollectionParams, opts ...ClientOption) (*ForceStopLogCollectionOK, error)

	UpdateAlertNotifier(params *UpdateAlertNotifierParams, opts ...ClientOption) (*UpdateAlertNotifierOK, error)

	UpdateNvmfSubsystem(params *UpdateNvmfSubsystemParams, opts ...ClientOption) (*UpdateNvmfSubsystemOK, 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 CreateLogCollectionBadRequest

type CreateLogCollectionBadRequest struct {
	Payload string
}
CreateLogCollectionBadRequest describes a response with status code 400, with default header values.

CreateLogCollectionBadRequest create log collection bad request

func NewCreateLogCollectionBadRequest

func NewCreateLogCollectionBadRequest() *CreateLogCollectionBadRequest

NewCreateLogCollectionBadRequest creates a CreateLogCollectionBadRequest with default headers values

func (*CreateLogCollectionBadRequest) Error

func (*CreateLogCollectionBadRequest) GetPayload

func (o *CreateLogCollectionBadRequest) GetPayload() string

type CreateLogCollectionOK

type CreateLogCollectionOK struct {
	Payload []*models.WithTaskLogCollection
}
CreateLogCollectionOK describes a response with status code 200, with default header values.

Ok

func NewCreateLogCollectionOK

func NewCreateLogCollectionOK() *CreateLogCollectionOK

NewCreateLogCollectionOK creates a CreateLogCollectionOK with default headers values

func (*CreateLogCollectionOK) Error

func (o *CreateLogCollectionOK) Error() string

func (*CreateLogCollectionOK) GetPayload

type CreateLogCollectionParams

type CreateLogCollectionParams struct {

	// RequestBody.
	RequestBody []*models.LogCollectionCreationParams

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

CreateLogCollectionParams contains all the parameters to send to the API endpoint

for the create log collection operation.

Typically these are written to a http.Request.

func NewCreateLogCollectionParams

func NewCreateLogCollectionParams() *CreateLogCollectionParams

NewCreateLogCollectionParams creates a new CreateLogCollectionParams 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 NewCreateLogCollectionParamsWithContext

func NewCreateLogCollectionParamsWithContext(ctx context.Context) *CreateLogCollectionParams

NewCreateLogCollectionParamsWithContext creates a new CreateLogCollectionParams object with the ability to set a context for a request.

func NewCreateLogCollectionParamsWithHTTPClient

func NewCreateLogCollectionParamsWithHTTPClient(client *http.Client) *CreateLogCollectionParams

NewCreateLogCollectionParamsWithHTTPClient creates a new CreateLogCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateLogCollectionParamsWithTimeout

func NewCreateLogCollectionParamsWithTimeout(timeout time.Duration) *CreateLogCollectionParams

NewCreateLogCollectionParamsWithTimeout creates a new CreateLogCollectionParams object with the ability to set a timeout on a request.

func (*CreateLogCollectionParams) SetContext

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

SetContext adds the context to the create log collection params

func (*CreateLogCollectionParams) SetDefaults

func (o *CreateLogCollectionParams) SetDefaults()

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

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

func (*CreateLogCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create log collection params

func (*CreateLogCollectionParams) SetRequestBody

func (o *CreateLogCollectionParams) SetRequestBody(requestBody []*models.LogCollectionCreationParams)

SetRequestBody adds the requestBody to the create log collection params

func (*CreateLogCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the create log collection params

func (*CreateLogCollectionParams) WithContext

WithContext adds the context to the create log collection params

func (*CreateLogCollectionParams) WithDefaults

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

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

func (*CreateLogCollectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create log collection params

func (*CreateLogCollectionParams) WithRequestBody

WithRequestBody adds the requestBody to the create log collection params

func (*CreateLogCollectionParams) WithTimeout

WithTimeout adds the timeout to the create log collection params

func (*CreateLogCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateLogCollectionReader

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

CreateLogCollectionReader is a Reader for the CreateLogCollection structure.

func (*CreateLogCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateNvmfSubsystemBadRequest

type CreateNvmfSubsystemBadRequest struct {
	Payload string
}
CreateNvmfSubsystemBadRequest describes a response with status code 400, with default header values.

CreateNvmfSubsystemBadRequest create nvmf subsystem bad request

func NewCreateNvmfSubsystemBadRequest

func NewCreateNvmfSubsystemBadRequest() *CreateNvmfSubsystemBadRequest

NewCreateNvmfSubsystemBadRequest creates a CreateNvmfSubsystemBadRequest with default headers values

func (*CreateNvmfSubsystemBadRequest) Error

func (*CreateNvmfSubsystemBadRequest) GetPayload

func (o *CreateNvmfSubsystemBadRequest) GetPayload() string

type CreateNvmfSubsystemOK

type CreateNvmfSubsystemOK struct {
	Payload []*models.WithTaskNvmfSubsystem
}
CreateNvmfSubsystemOK describes a response with status code 200, with default header values.

Ok

func NewCreateNvmfSubsystemOK

func NewCreateNvmfSubsystemOK() *CreateNvmfSubsystemOK

NewCreateNvmfSubsystemOK creates a CreateNvmfSubsystemOK with default headers values

func (*CreateNvmfSubsystemOK) Error

func (o *CreateNvmfSubsystemOK) Error() string

func (*CreateNvmfSubsystemOK) GetPayload

type CreateNvmfSubsystemParams

type CreateNvmfSubsystemParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody []models.NvmfSubsystemCreationParams

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

CreateNvmfSubsystemParams contains all the parameters to send to the API endpoint

for the create nvmf subsystem operation.

Typically these are written to a http.Request.

func NewCreateNvmfSubsystemParams

func NewCreateNvmfSubsystemParams() *CreateNvmfSubsystemParams

NewCreateNvmfSubsystemParams creates a new CreateNvmfSubsystemParams 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 NewCreateNvmfSubsystemParamsWithContext

func NewCreateNvmfSubsystemParamsWithContext(ctx context.Context) *CreateNvmfSubsystemParams

NewCreateNvmfSubsystemParamsWithContext creates a new CreateNvmfSubsystemParams object with the ability to set a context for a request.

func NewCreateNvmfSubsystemParamsWithHTTPClient

func NewCreateNvmfSubsystemParamsWithHTTPClient(client *http.Client) *CreateNvmfSubsystemParams

NewCreateNvmfSubsystemParamsWithHTTPClient creates a new CreateNvmfSubsystemParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNvmfSubsystemParamsWithTimeout

func NewCreateNvmfSubsystemParamsWithTimeout(timeout time.Duration) *CreateNvmfSubsystemParams

NewCreateNvmfSubsystemParamsWithTimeout creates a new CreateNvmfSubsystemParams object with the ability to set a timeout on a request.

func (*CreateNvmfSubsystemParams) SetContentLanguage

func (o *CreateNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) SetContext

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

SetContext adds the context to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) SetDefaults

func (o *CreateNvmfSubsystemParams) SetDefaults()

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

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

func (*CreateNvmfSubsystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) SetRequestBody

func (o *CreateNvmfSubsystemParams) SetRequestBody(requestBody []models.NvmfSubsystemCreationParams)

SetRequestBody adds the requestBody to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) SetTimeout

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

SetTimeout adds the timeout to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithContentLanguage

func (o *CreateNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *CreateNvmfSubsystemParams

WithContentLanguage adds the contentLanguage to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithContext

WithContext adds the context to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithDefaults

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

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

func (*CreateNvmfSubsystemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithRequestBody

WithRequestBody adds the requestBody to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WithTimeout

WithTimeout adds the timeout to the create nvmf subsystem params

func (*CreateNvmfSubsystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNvmfSubsystemReader

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

CreateNvmfSubsystemReader is a Reader for the CreateNvmfSubsystem structure.

func (*CreateNvmfSubsystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLogCollectionBadRequest

type DeleteLogCollectionBadRequest struct {
	Payload string
}
DeleteLogCollectionBadRequest describes a response with status code 400, with default header values.

DeleteLogCollectionBadRequest delete log collection bad request

func NewDeleteLogCollectionBadRequest

func NewDeleteLogCollectionBadRequest() *DeleteLogCollectionBadRequest

NewDeleteLogCollectionBadRequest creates a DeleteLogCollectionBadRequest with default headers values

func (*DeleteLogCollectionBadRequest) Error

func (*DeleteLogCollectionBadRequest) GetPayload

func (o *DeleteLogCollectionBadRequest) GetPayload() string

type DeleteLogCollectionOK

type DeleteLogCollectionOK struct {
	Payload []*models.WithTaskDeleteLogCollection
}
DeleteLogCollectionOK describes a response with status code 200, with default header values.

Ok

func NewDeleteLogCollectionOK

func NewDeleteLogCollectionOK() *DeleteLogCollectionOK

NewDeleteLogCollectionOK creates a DeleteLogCollectionOK with default headers values

func (*DeleteLogCollectionOK) Error

func (o *DeleteLogCollectionOK) Error() string

func (*DeleteLogCollectionOK) GetPayload

type DeleteLogCollectionParams

type DeleteLogCollectionParams struct {

	// RequestBody.
	RequestBody *models.LogCollectionDeletionParams

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

DeleteLogCollectionParams contains all the parameters to send to the API endpoint

for the delete log collection operation.

Typically these are written to a http.Request.

func NewDeleteLogCollectionParams

func NewDeleteLogCollectionParams() *DeleteLogCollectionParams

NewDeleteLogCollectionParams creates a new DeleteLogCollectionParams 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 NewDeleteLogCollectionParamsWithContext

func NewDeleteLogCollectionParamsWithContext(ctx context.Context) *DeleteLogCollectionParams

NewDeleteLogCollectionParamsWithContext creates a new DeleteLogCollectionParams object with the ability to set a context for a request.

func NewDeleteLogCollectionParamsWithHTTPClient

func NewDeleteLogCollectionParamsWithHTTPClient(client *http.Client) *DeleteLogCollectionParams

NewDeleteLogCollectionParamsWithHTTPClient creates a new DeleteLogCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteLogCollectionParamsWithTimeout

func NewDeleteLogCollectionParamsWithTimeout(timeout time.Duration) *DeleteLogCollectionParams

NewDeleteLogCollectionParamsWithTimeout creates a new DeleteLogCollectionParams object with the ability to set a timeout on a request.

func (*DeleteLogCollectionParams) SetContext

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

SetContext adds the context to the delete log collection params

func (*DeleteLogCollectionParams) SetDefaults

func (o *DeleteLogCollectionParams) SetDefaults()

SetDefaults hydrates default values in the delete log collection params (not the query body).

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

func (*DeleteLogCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete log collection params

func (*DeleteLogCollectionParams) SetRequestBody

func (o *DeleteLogCollectionParams) SetRequestBody(requestBody *models.LogCollectionDeletionParams)

SetRequestBody adds the requestBody to the delete log collection params

func (*DeleteLogCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete log collection params

func (*DeleteLogCollectionParams) WithContext

WithContext adds the context to the delete log collection params

func (*DeleteLogCollectionParams) WithDefaults

WithDefaults hydrates default values in the delete log collection params (not the query body).

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

func (*DeleteLogCollectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete log collection params

func (*DeleteLogCollectionParams) WithRequestBody

WithRequestBody adds the requestBody to the delete log collection params

func (*DeleteLogCollectionParams) WithTimeout

WithTimeout adds the timeout to the delete log collection params

func (*DeleteLogCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLogCollectionReader

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

DeleteLogCollectionReader is a Reader for the DeleteLogCollection structure.

func (*DeleteLogCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteNvmfSubsystemBadRequest

type DeleteNvmfSubsystemBadRequest struct {
	Payload string
}
DeleteNvmfSubsystemBadRequest describes a response with status code 400, with default header values.

DeleteNvmfSubsystemBadRequest delete nvmf subsystem bad request

func NewDeleteNvmfSubsystemBadRequest

func NewDeleteNvmfSubsystemBadRequest() *DeleteNvmfSubsystemBadRequest

NewDeleteNvmfSubsystemBadRequest creates a DeleteNvmfSubsystemBadRequest with default headers values

func (*DeleteNvmfSubsystemBadRequest) Error

func (*DeleteNvmfSubsystemBadRequest) GetPayload

func (o *DeleteNvmfSubsystemBadRequest) GetPayload() string

type DeleteNvmfSubsystemOK

type DeleteNvmfSubsystemOK struct {
	Payload []*models.WithTaskDeleteNvmfSubsystem
}
DeleteNvmfSubsystemOK describes a response with status code 200, with default header values.

Ok

func NewDeleteNvmfSubsystemOK

func NewDeleteNvmfSubsystemOK() *DeleteNvmfSubsystemOK

NewDeleteNvmfSubsystemOK creates a DeleteNvmfSubsystemOK with default headers values

func (*DeleteNvmfSubsystemOK) Error

func (o *DeleteNvmfSubsystemOK) Error() string

func (*DeleteNvmfSubsystemOK) GetPayload

type DeleteNvmfSubsystemParams

type DeleteNvmfSubsystemParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.NvmfSubsystemDeletionParams

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

DeleteNvmfSubsystemParams contains all the parameters to send to the API endpoint

for the delete nvmf subsystem operation.

Typically these are written to a http.Request.

func NewDeleteNvmfSubsystemParams

func NewDeleteNvmfSubsystemParams() *DeleteNvmfSubsystemParams

NewDeleteNvmfSubsystemParams creates a new DeleteNvmfSubsystemParams 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 NewDeleteNvmfSubsystemParamsWithContext

func NewDeleteNvmfSubsystemParamsWithContext(ctx context.Context) *DeleteNvmfSubsystemParams

NewDeleteNvmfSubsystemParamsWithContext creates a new DeleteNvmfSubsystemParams object with the ability to set a context for a request.

func NewDeleteNvmfSubsystemParamsWithHTTPClient

func NewDeleteNvmfSubsystemParamsWithHTTPClient(client *http.Client) *DeleteNvmfSubsystemParams

NewDeleteNvmfSubsystemParamsWithHTTPClient creates a new DeleteNvmfSubsystemParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNvmfSubsystemParamsWithTimeout

func NewDeleteNvmfSubsystemParamsWithTimeout(timeout time.Duration) *DeleteNvmfSubsystemParams

NewDeleteNvmfSubsystemParamsWithTimeout creates a new DeleteNvmfSubsystemParams object with the ability to set a timeout on a request.

func (*DeleteNvmfSubsystemParams) SetContentLanguage

func (o *DeleteNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) SetContext

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

SetContext adds the context to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) SetDefaults

func (o *DeleteNvmfSubsystemParams) SetDefaults()

SetDefaults hydrates default values in the delete nvmf subsystem params (not the query body).

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

func (*DeleteNvmfSubsystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) SetRequestBody

func (o *DeleteNvmfSubsystemParams) SetRequestBody(requestBody *models.NvmfSubsystemDeletionParams)

SetRequestBody adds the requestBody to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) SetTimeout

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

SetTimeout adds the timeout to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithContentLanguage

func (o *DeleteNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *DeleteNvmfSubsystemParams

WithContentLanguage adds the contentLanguage to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithContext

WithContext adds the context to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithDefaults

WithDefaults hydrates default values in the delete nvmf subsystem params (not the query body).

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

func (*DeleteNvmfSubsystemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithRequestBody

WithRequestBody adds the requestBody to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WithTimeout

WithTimeout adds the timeout to the delete nvmf subsystem params

func (*DeleteNvmfSubsystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNvmfSubsystemReader

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

DeleteNvmfSubsystemReader is a Reader for the DeleteNvmfSubsystem structure.

func (*DeleteNvmfSubsystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ForceStopLogCollectionBadRequest

type ForceStopLogCollectionBadRequest struct {
	Payload string
}
ForceStopLogCollectionBadRequest describes a response with status code 400, with default header values.

ForceStopLogCollectionBadRequest force stop log collection bad request

func NewForceStopLogCollectionBadRequest

func NewForceStopLogCollectionBadRequest() *ForceStopLogCollectionBadRequest

NewForceStopLogCollectionBadRequest creates a ForceStopLogCollectionBadRequest with default headers values

func (*ForceStopLogCollectionBadRequest) Error

func (*ForceStopLogCollectionBadRequest) GetPayload

func (o *ForceStopLogCollectionBadRequest) GetPayload() string

type ForceStopLogCollectionOK

type ForceStopLogCollectionOK struct {
	Payload []*models.WithTaskLogCollection
}
ForceStopLogCollectionOK describes a response with status code 200, with default header values.

Ok

func NewForceStopLogCollectionOK

func NewForceStopLogCollectionOK() *ForceStopLogCollectionOK

NewForceStopLogCollectionOK creates a ForceStopLogCollectionOK with default headers values

func (*ForceStopLogCollectionOK) Error

func (o *ForceStopLogCollectionOK) Error() string

func (*ForceStopLogCollectionOK) GetPayload

type ForceStopLogCollectionParams

type ForceStopLogCollectionParams struct {

	// RequestBody.
	RequestBody *models.ForceStopLogCollectionParams

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

ForceStopLogCollectionParams contains all the parameters to send to the API endpoint

for the force stop log collection operation.

Typically these are written to a http.Request.

func NewForceStopLogCollectionParams

func NewForceStopLogCollectionParams() *ForceStopLogCollectionParams

NewForceStopLogCollectionParams creates a new ForceStopLogCollectionParams 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 NewForceStopLogCollectionParamsWithContext

func NewForceStopLogCollectionParamsWithContext(ctx context.Context) *ForceStopLogCollectionParams

NewForceStopLogCollectionParamsWithContext creates a new ForceStopLogCollectionParams object with the ability to set a context for a request.

func NewForceStopLogCollectionParamsWithHTTPClient

func NewForceStopLogCollectionParamsWithHTTPClient(client *http.Client) *ForceStopLogCollectionParams

NewForceStopLogCollectionParamsWithHTTPClient creates a new ForceStopLogCollectionParams object with the ability to set a custom HTTPClient for a request.

func NewForceStopLogCollectionParamsWithTimeout

func NewForceStopLogCollectionParamsWithTimeout(timeout time.Duration) *ForceStopLogCollectionParams

NewForceStopLogCollectionParamsWithTimeout creates a new ForceStopLogCollectionParams object with the ability to set a timeout on a request.

func (*ForceStopLogCollectionParams) SetContext

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

SetContext adds the context to the force stop log collection params

func (*ForceStopLogCollectionParams) SetDefaults

func (o *ForceStopLogCollectionParams) SetDefaults()

SetDefaults hydrates default values in the force stop log collection params (not the query body).

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

func (*ForceStopLogCollectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the force stop log collection params

func (*ForceStopLogCollectionParams) SetRequestBody

func (o *ForceStopLogCollectionParams) SetRequestBody(requestBody *models.ForceStopLogCollectionParams)

SetRequestBody adds the requestBody to the force stop log collection params

func (*ForceStopLogCollectionParams) SetTimeout

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

SetTimeout adds the timeout to the force stop log collection params

func (*ForceStopLogCollectionParams) WithContext

WithContext adds the context to the force stop log collection params

func (*ForceStopLogCollectionParams) WithDefaults

WithDefaults hydrates default values in the force stop log collection params (not the query body).

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

func (*ForceStopLogCollectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the force stop log collection params

func (*ForceStopLogCollectionParams) WithRequestBody

WithRequestBody adds the requestBody to the force stop log collection params

func (*ForceStopLogCollectionParams) WithTimeout

WithTimeout adds the timeout to the force stop log collection params

func (*ForceStopLogCollectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ForceStopLogCollectionReader

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

ForceStopLogCollectionReader is a Reader for the ForceStopLogCollection structure.

func (*ForceStopLogCollectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAlertNotifierBadRequest

type UpdateAlertNotifierBadRequest struct {
	Payload string
}
UpdateAlertNotifierBadRequest describes a response with status code 400, with default header values.

UpdateAlertNotifierBadRequest update alert notifier bad request

func NewUpdateAlertNotifierBadRequest

func NewUpdateAlertNotifierBadRequest() *UpdateAlertNotifierBadRequest

NewUpdateAlertNotifierBadRequest creates a UpdateAlertNotifierBadRequest with default headers values

func (*UpdateAlertNotifierBadRequest) Error

func (*UpdateAlertNotifierBadRequest) GetPayload

func (o *UpdateAlertNotifierBadRequest) GetPayload() string

type UpdateAlertNotifierOK

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

Ok

func NewUpdateAlertNotifierOK

func NewUpdateAlertNotifierOK() *UpdateAlertNotifierOK

NewUpdateAlertNotifierOK creates a UpdateAlertNotifierOK with default headers values

func (*UpdateAlertNotifierOK) Error

func (o *UpdateAlertNotifierOK) Error() string

func (*UpdateAlertNotifierOK) GetPayload

type UpdateAlertNotifierParams

type UpdateAlertNotifierParams struct {

	// RequestBody.
	RequestBody *models.AlertNotifierUpdationParams

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

UpdateAlertNotifierParams contains all the parameters to send to the API endpoint

for the update alert notifier operation.

Typically these are written to a http.Request.

func NewUpdateAlertNotifierParams

func NewUpdateAlertNotifierParams() *UpdateAlertNotifierParams

NewUpdateAlertNotifierParams creates a new UpdateAlertNotifierParams 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 NewUpdateAlertNotifierParamsWithContext

func NewUpdateAlertNotifierParamsWithContext(ctx context.Context) *UpdateAlertNotifierParams

NewUpdateAlertNotifierParamsWithContext creates a new UpdateAlertNotifierParams object with the ability to set a context for a request.

func NewUpdateAlertNotifierParamsWithHTTPClient

func NewUpdateAlertNotifierParamsWithHTTPClient(client *http.Client) *UpdateAlertNotifierParams

NewUpdateAlertNotifierParamsWithHTTPClient creates a new UpdateAlertNotifierParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateAlertNotifierParamsWithTimeout

func NewUpdateAlertNotifierParamsWithTimeout(timeout time.Duration) *UpdateAlertNotifierParams

NewUpdateAlertNotifierParamsWithTimeout creates a new UpdateAlertNotifierParams object with the ability to set a timeout on a request.

func (*UpdateAlertNotifierParams) SetContext

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

SetContext adds the context to the update alert notifier params

func (*UpdateAlertNotifierParams) SetDefaults

func (o *UpdateAlertNotifierParams) SetDefaults()

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

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

func (*UpdateAlertNotifierParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update alert notifier params

func (*UpdateAlertNotifierParams) SetRequestBody

func (o *UpdateAlertNotifierParams) SetRequestBody(requestBody *models.AlertNotifierUpdationParams)

SetRequestBody adds the requestBody to the update alert notifier params

func (*UpdateAlertNotifierParams) SetTimeout

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

SetTimeout adds the timeout to the update alert notifier params

func (*UpdateAlertNotifierParams) WithContext

WithContext adds the context to the update alert notifier params

func (*UpdateAlertNotifierParams) WithDefaults

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

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

func (*UpdateAlertNotifierParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update alert notifier params

func (*UpdateAlertNotifierParams) WithRequestBody

WithRequestBody adds the requestBody to the update alert notifier params

func (*UpdateAlertNotifierParams) WithTimeout

WithTimeout adds the timeout to the update alert notifier params

func (*UpdateAlertNotifierParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAlertNotifierReader

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

UpdateAlertNotifierReader is a Reader for the UpdateAlertNotifier structure.

func (*UpdateAlertNotifierReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNvmfSubsystemBadRequest

type UpdateNvmfSubsystemBadRequest struct {
	Payload string
}
UpdateNvmfSubsystemBadRequest describes a response with status code 400, with default header values.

UpdateNvmfSubsystemBadRequest update nvmf subsystem bad request

func NewUpdateNvmfSubsystemBadRequest

func NewUpdateNvmfSubsystemBadRequest() *UpdateNvmfSubsystemBadRequest

NewUpdateNvmfSubsystemBadRequest creates a UpdateNvmfSubsystemBadRequest with default headers values

func (*UpdateNvmfSubsystemBadRequest) Error

func (*UpdateNvmfSubsystemBadRequest) GetPayload

func (o *UpdateNvmfSubsystemBadRequest) GetPayload() string

type UpdateNvmfSubsystemOK

type UpdateNvmfSubsystemOK struct {
	Payload []*models.WithTaskNvmfSubsystem
}
UpdateNvmfSubsystemOK describes a response with status code 200, with default header values.

Ok

func NewUpdateNvmfSubsystemOK

func NewUpdateNvmfSubsystemOK() *UpdateNvmfSubsystemOK

NewUpdateNvmfSubsystemOK creates a UpdateNvmfSubsystemOK with default headers values

func (*UpdateNvmfSubsystemOK) Error

func (o *UpdateNvmfSubsystemOK) Error() string

func (*UpdateNvmfSubsystemOK) GetPayload

type UpdateNvmfSubsystemParams

type UpdateNvmfSubsystemParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.NvmfSubsystemUpdationParams

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

UpdateNvmfSubsystemParams contains all the parameters to send to the API endpoint

for the update nvmf subsystem operation.

Typically these are written to a http.Request.

func NewUpdateNvmfSubsystemParams

func NewUpdateNvmfSubsystemParams() *UpdateNvmfSubsystemParams

NewUpdateNvmfSubsystemParams creates a new UpdateNvmfSubsystemParams 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 NewUpdateNvmfSubsystemParamsWithContext

func NewUpdateNvmfSubsystemParamsWithContext(ctx context.Context) *UpdateNvmfSubsystemParams

NewUpdateNvmfSubsystemParamsWithContext creates a new UpdateNvmfSubsystemParams object with the ability to set a context for a request.

func NewUpdateNvmfSubsystemParamsWithHTTPClient

func NewUpdateNvmfSubsystemParamsWithHTTPClient(client *http.Client) *UpdateNvmfSubsystemParams

NewUpdateNvmfSubsystemParamsWithHTTPClient creates a new UpdateNvmfSubsystemParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNvmfSubsystemParamsWithTimeout

func NewUpdateNvmfSubsystemParamsWithTimeout(timeout time.Duration) *UpdateNvmfSubsystemParams

NewUpdateNvmfSubsystemParamsWithTimeout creates a new UpdateNvmfSubsystemParams object with the ability to set a timeout on a request.

func (*UpdateNvmfSubsystemParams) SetContentLanguage

func (o *UpdateNvmfSubsystemParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) SetContext

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

SetContext adds the context to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) SetDefaults

func (o *UpdateNvmfSubsystemParams) SetDefaults()

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

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

func (*UpdateNvmfSubsystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) SetRequestBody

func (o *UpdateNvmfSubsystemParams) SetRequestBody(requestBody *models.NvmfSubsystemUpdationParams)

SetRequestBody adds the requestBody to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) SetTimeout

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

SetTimeout adds the timeout to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithContentLanguage

func (o *UpdateNvmfSubsystemParams) WithContentLanguage(contentLanguage *string) *UpdateNvmfSubsystemParams

WithContentLanguage adds the contentLanguage to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithContext

WithContext adds the context to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithDefaults

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

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

func (*UpdateNvmfSubsystemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithRequestBody

WithRequestBody adds the requestBody to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WithTimeout

WithTimeout adds the timeout to the update nvmf subsystem params

func (*UpdateNvmfSubsystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNvmfSubsystemReader

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

UpdateNvmfSubsystemReader is a Reader for the UpdateNvmfSubsystem structure.

func (*UpdateNvmfSubsystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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