Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateIscsiTarget(params *CreateIscsiTargetParams, opts ...ClientOption) (*CreateIscsiTargetOK, error)
- func (a *Client) DeleteIscsiTarget(params *DeleteIscsiTargetParams, opts ...ClientOption) (*DeleteIscsiTargetOK, error)
- func (a *Client) GetIscsiTargets(params *GetIscsiTargetsParams, opts ...ClientOption) (*GetIscsiTargetsOK, error)
- func (a *Client) GetIscsiTargetsConnection(params *GetIscsiTargetsConnectionParams, opts ...ClientOption) (*GetIscsiTargetsConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateIscsiTarget(params *UpdateIscsiTargetParams, opts ...ClientOption) (*UpdateIscsiTargetOK, error)
- type ClientOption
- type ClientService
- type CreateIscsiTargetBadRequest
- type CreateIscsiTargetOK
- type CreateIscsiTargetParams
- func NewCreateIscsiTargetParams() *CreateIscsiTargetParams
- func NewCreateIscsiTargetParamsWithContext(ctx context.Context) *CreateIscsiTargetParams
- func NewCreateIscsiTargetParamsWithHTTPClient(client *http.Client) *CreateIscsiTargetParams
- func NewCreateIscsiTargetParamsWithTimeout(timeout time.Duration) *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateIscsiTargetParams) SetContext(ctx context.Context)
- func (o *CreateIscsiTargetParams) SetDefaults()
- func (o *CreateIscsiTargetParams) SetHTTPClient(client *http.Client)
- func (o *CreateIscsiTargetParams) SetRequestBody(requestBody []models.IscsiTargetCreationParams)
- func (o *CreateIscsiTargetParams) SetTimeout(timeout time.Duration)
- func (o *CreateIscsiTargetParams) WithContentLanguage(contentLanguage *string) *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) WithContext(ctx context.Context) *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) WithDefaults() *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) WithHTTPClient(client *http.Client) *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) WithRequestBody(requestBody []models.IscsiTargetCreationParams) *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) WithTimeout(timeout time.Duration) *CreateIscsiTargetParams
- func (o *CreateIscsiTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIscsiTargetReader
- type DeleteIscsiTargetBadRequest
- type DeleteIscsiTargetOK
- type DeleteIscsiTargetParams
- func NewDeleteIscsiTargetParams() *DeleteIscsiTargetParams
- func NewDeleteIscsiTargetParamsWithContext(ctx context.Context) *DeleteIscsiTargetParams
- func NewDeleteIscsiTargetParamsWithHTTPClient(client *http.Client) *DeleteIscsiTargetParams
- func NewDeleteIscsiTargetParamsWithTimeout(timeout time.Duration) *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteIscsiTargetParams) SetContext(ctx context.Context)
- func (o *DeleteIscsiTargetParams) SetDefaults()
- func (o *DeleteIscsiTargetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIscsiTargetParams) SetRequestBody(requestBody *models.IscsiTargetDeletionParams)
- func (o *DeleteIscsiTargetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIscsiTargetParams) WithContentLanguage(contentLanguage *string) *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) WithContext(ctx context.Context) *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) WithDefaults() *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) WithHTTPClient(client *http.Client) *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) WithRequestBody(requestBody *models.IscsiTargetDeletionParams) *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) WithTimeout(timeout time.Duration) *DeleteIscsiTargetParams
- func (o *DeleteIscsiTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIscsiTargetReader
- type GetIscsiTargetsBadRequest
- type GetIscsiTargetsConnectionBadRequest
- type GetIscsiTargetsConnectionOK
- type GetIscsiTargetsConnectionParams
- func NewGetIscsiTargetsConnectionParams() *GetIscsiTargetsConnectionParams
- func NewGetIscsiTargetsConnectionParamsWithContext(ctx context.Context) *GetIscsiTargetsConnectionParams
- func NewGetIscsiTargetsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiTargetsConnectionParams
- func NewGetIscsiTargetsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIscsiTargetsConnectionParams) SetContext(ctx context.Context)
- func (o *GetIscsiTargetsConnectionParams) SetDefaults()
- func (o *GetIscsiTargetsConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetIscsiTargetsConnectionParams) SetRequestBody(requestBody *models.GetIscsiTargetsConnectionRequestBody)
- func (o *GetIscsiTargetsConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetIscsiTargetsConnectionParams) WithContentLanguage(contentLanguage *string) *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) WithContext(ctx context.Context) *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) WithDefaults() *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) WithRequestBody(requestBody *models.GetIscsiTargetsConnectionRequestBody) *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiTargetsConnectionParams
- func (o *GetIscsiTargetsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIscsiTargetsConnectionReader
- type GetIscsiTargetsOK
- type GetIscsiTargetsParams
- func NewGetIscsiTargetsParams() *GetIscsiTargetsParams
- func NewGetIscsiTargetsParamsWithContext(ctx context.Context) *GetIscsiTargetsParams
- func NewGetIscsiTargetsParamsWithHTTPClient(client *http.Client) *GetIscsiTargetsParams
- func NewGetIscsiTargetsParamsWithTimeout(timeout time.Duration) *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) SetContentLanguage(contentLanguage *string)
- func (o *GetIscsiTargetsParams) SetContext(ctx context.Context)
- func (o *GetIscsiTargetsParams) SetDefaults()
- func (o *GetIscsiTargetsParams) SetHTTPClient(client *http.Client)
- func (o *GetIscsiTargetsParams) SetRequestBody(requestBody *models.GetIscsiTargetsRequestBody)
- func (o *GetIscsiTargetsParams) SetTimeout(timeout time.Duration)
- func (o *GetIscsiTargetsParams) WithContentLanguage(contentLanguage *string) *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) WithContext(ctx context.Context) *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) WithDefaults() *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) WithHTTPClient(client *http.Client) *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) WithRequestBody(requestBody *models.GetIscsiTargetsRequestBody) *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) WithTimeout(timeout time.Duration) *GetIscsiTargetsParams
- func (o *GetIscsiTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetIscsiTargetsReader
- type UpdateIscsiTargetBadRequest
- type UpdateIscsiTargetOK
- type UpdateIscsiTargetParams
- func NewUpdateIscsiTargetParams() *UpdateIscsiTargetParams
- func NewUpdateIscsiTargetParamsWithContext(ctx context.Context) *UpdateIscsiTargetParams
- func NewUpdateIscsiTargetParamsWithHTTPClient(client *http.Client) *UpdateIscsiTargetParams
- func NewUpdateIscsiTargetParamsWithTimeout(timeout time.Duration) *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateIscsiTargetParams) SetContext(ctx context.Context)
- func (o *UpdateIscsiTargetParams) SetDefaults()
- func (o *UpdateIscsiTargetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateIscsiTargetParams) SetRequestBody(requestBody *models.IscsiTargetUpdationParams)
- func (o *UpdateIscsiTargetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateIscsiTargetParams) WithContentLanguage(contentLanguage *string) *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) WithContext(ctx context.Context) *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) WithDefaults() *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) WithHTTPClient(client *http.Client) *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) WithRequestBody(requestBody *models.IscsiTargetUpdationParams) *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) WithTimeout(timeout time.Duration) *UpdateIscsiTargetParams
- func (o *UpdateIscsiTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateIscsiTargetReader
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 iscsi target API
func (*Client) CreateIscsiTarget ¶
func (a *Client) CreateIscsiTarget(params *CreateIscsiTargetParams, opts ...ClientOption) (*CreateIscsiTargetOK, error)
CreateIscsiTarget create iscsi target API
func (*Client) DeleteIscsiTarget ¶
func (a *Client) DeleteIscsiTarget(params *DeleteIscsiTargetParams, opts ...ClientOption) (*DeleteIscsiTargetOK, error)
DeleteIscsiTarget delete iscsi target API
func (*Client) GetIscsiTargets ¶
func (a *Client) GetIscsiTargets(params *GetIscsiTargetsParams, opts ...ClientOption) (*GetIscsiTargetsOK, error)
GetIscsiTargets get iscsi targets API
func (*Client) GetIscsiTargetsConnection ¶
func (a *Client) GetIscsiTargetsConnection(params *GetIscsiTargetsConnectionParams, opts ...ClientOption) (*GetIscsiTargetsConnectionOK, error)
GetIscsiTargetsConnection get iscsi targets connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateIscsiTarget ¶
func (a *Client) UpdateIscsiTarget(params *UpdateIscsiTargetParams, opts ...ClientOption) (*UpdateIscsiTargetOK, error)
UpdateIscsiTarget update iscsi target API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateIscsiTarget(params *CreateIscsiTargetParams, opts ...ClientOption) (*CreateIscsiTargetOK, error) DeleteIscsiTarget(params *DeleteIscsiTargetParams, opts ...ClientOption) (*DeleteIscsiTargetOK, error) GetIscsiTargets(params *GetIscsiTargetsParams, opts ...ClientOption) (*GetIscsiTargetsOK, error) GetIscsiTargetsConnection(params *GetIscsiTargetsConnectionParams, opts ...ClientOption) (*GetIscsiTargetsConnectionOK, error) UpdateIscsiTarget(params *UpdateIscsiTargetParams, opts ...ClientOption) (*UpdateIscsiTargetOK, 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 iscsi target API client.
type CreateIscsiTargetBadRequest ¶
type CreateIscsiTargetBadRequest struct {
Payload string
}
CreateIscsiTargetBadRequest describes a response with status code 400, with default header values.
CreateIscsiTargetBadRequest create iscsi target bad request
func NewCreateIscsiTargetBadRequest ¶
func NewCreateIscsiTargetBadRequest() *CreateIscsiTargetBadRequest
NewCreateIscsiTargetBadRequest creates a CreateIscsiTargetBadRequest with default headers values
func (*CreateIscsiTargetBadRequest) Error ¶
func (o *CreateIscsiTargetBadRequest) Error() string
func (*CreateIscsiTargetBadRequest) GetPayload ¶
func (o *CreateIscsiTargetBadRequest) GetPayload() string
type CreateIscsiTargetOK ¶
type CreateIscsiTargetOK struct {
Payload []*models.WithTaskIscsiTarget
}
CreateIscsiTargetOK describes a response with status code 200, with default header values.
Ok
func NewCreateIscsiTargetOK ¶
func NewCreateIscsiTargetOK() *CreateIscsiTargetOK
NewCreateIscsiTargetOK creates a CreateIscsiTargetOK with default headers values
func (*CreateIscsiTargetOK) Error ¶
func (o *CreateIscsiTargetOK) Error() string
func (*CreateIscsiTargetOK) GetPayload ¶
func (o *CreateIscsiTargetOK) GetPayload() []*models.WithTaskIscsiTarget
type CreateIscsiTargetParams ¶
type CreateIscsiTargetParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody []models.IscsiTargetCreationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateIscsiTargetParams contains all the parameters to send to the API endpoint
for the create iscsi target operation. Typically these are written to a http.Request.
func NewCreateIscsiTargetParams ¶
func NewCreateIscsiTargetParams() *CreateIscsiTargetParams
NewCreateIscsiTargetParams creates a new CreateIscsiTargetParams 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 NewCreateIscsiTargetParamsWithContext ¶
func NewCreateIscsiTargetParamsWithContext(ctx context.Context) *CreateIscsiTargetParams
NewCreateIscsiTargetParamsWithContext creates a new CreateIscsiTargetParams object with the ability to set a context for a request.
func NewCreateIscsiTargetParamsWithHTTPClient ¶
func NewCreateIscsiTargetParamsWithHTTPClient(client *http.Client) *CreateIscsiTargetParams
NewCreateIscsiTargetParamsWithHTTPClient creates a new CreateIscsiTargetParams object with the ability to set a custom HTTPClient for a request.
func NewCreateIscsiTargetParamsWithTimeout ¶
func NewCreateIscsiTargetParamsWithTimeout(timeout time.Duration) *CreateIscsiTargetParams
NewCreateIscsiTargetParamsWithTimeout creates a new CreateIscsiTargetParams object with the ability to set a timeout on a request.
func (*CreateIscsiTargetParams) SetContentLanguage ¶
func (o *CreateIscsiTargetParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create iscsi target params
func (*CreateIscsiTargetParams) SetContext ¶
func (o *CreateIscsiTargetParams) SetContext(ctx context.Context)
SetContext adds the context to the create iscsi target params
func (*CreateIscsiTargetParams) SetDefaults ¶
func (o *CreateIscsiTargetParams) SetDefaults()
SetDefaults hydrates default values in the create iscsi target params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIscsiTargetParams) SetHTTPClient ¶
func (o *CreateIscsiTargetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create iscsi target params
func (*CreateIscsiTargetParams) SetRequestBody ¶
func (o *CreateIscsiTargetParams) SetRequestBody(requestBody []models.IscsiTargetCreationParams)
SetRequestBody adds the requestBody to the create iscsi target params
func (*CreateIscsiTargetParams) SetTimeout ¶
func (o *CreateIscsiTargetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create iscsi target params
func (*CreateIscsiTargetParams) WithContentLanguage ¶
func (o *CreateIscsiTargetParams) WithContentLanguage(contentLanguage *string) *CreateIscsiTargetParams
WithContentLanguage adds the contentLanguage to the create iscsi target params
func (*CreateIscsiTargetParams) WithContext ¶
func (o *CreateIscsiTargetParams) WithContext(ctx context.Context) *CreateIscsiTargetParams
WithContext adds the context to the create iscsi target params
func (*CreateIscsiTargetParams) WithDefaults ¶
func (o *CreateIscsiTargetParams) WithDefaults() *CreateIscsiTargetParams
WithDefaults hydrates default values in the create iscsi target params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIscsiTargetParams) WithHTTPClient ¶
func (o *CreateIscsiTargetParams) WithHTTPClient(client *http.Client) *CreateIscsiTargetParams
WithHTTPClient adds the HTTPClient to the create iscsi target params
func (*CreateIscsiTargetParams) WithRequestBody ¶
func (o *CreateIscsiTargetParams) WithRequestBody(requestBody []models.IscsiTargetCreationParams) *CreateIscsiTargetParams
WithRequestBody adds the requestBody to the create iscsi target params
func (*CreateIscsiTargetParams) WithTimeout ¶
func (o *CreateIscsiTargetParams) WithTimeout(timeout time.Duration) *CreateIscsiTargetParams
WithTimeout adds the timeout to the create iscsi target params
func (*CreateIscsiTargetParams) WriteToRequest ¶
func (o *CreateIscsiTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIscsiTargetReader ¶
type CreateIscsiTargetReader struct {
// contains filtered or unexported fields
}
CreateIscsiTargetReader is a Reader for the CreateIscsiTarget structure.
func (*CreateIscsiTargetReader) ReadResponse ¶
func (o *CreateIscsiTargetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIscsiTargetBadRequest ¶
type DeleteIscsiTargetBadRequest struct {
Payload string
}
DeleteIscsiTargetBadRequest describes a response with status code 400, with default header values.
DeleteIscsiTargetBadRequest delete iscsi target bad request
func NewDeleteIscsiTargetBadRequest ¶
func NewDeleteIscsiTargetBadRequest() *DeleteIscsiTargetBadRequest
NewDeleteIscsiTargetBadRequest creates a DeleteIscsiTargetBadRequest with default headers values
func (*DeleteIscsiTargetBadRequest) Error ¶
func (o *DeleteIscsiTargetBadRequest) Error() string
func (*DeleteIscsiTargetBadRequest) GetPayload ¶
func (o *DeleteIscsiTargetBadRequest) GetPayload() string
type DeleteIscsiTargetOK ¶
type DeleteIscsiTargetOK struct {
Payload []*models.WithTaskDeleteIscsiTarget
}
DeleteIscsiTargetOK describes a response with status code 200, with default header values.
Ok
func NewDeleteIscsiTargetOK ¶
func NewDeleteIscsiTargetOK() *DeleteIscsiTargetOK
NewDeleteIscsiTargetOK creates a DeleteIscsiTargetOK with default headers values
func (*DeleteIscsiTargetOK) Error ¶
func (o *DeleteIscsiTargetOK) Error() string
func (*DeleteIscsiTargetOK) GetPayload ¶
func (o *DeleteIscsiTargetOK) GetPayload() []*models.WithTaskDeleteIscsiTarget
type DeleteIscsiTargetParams ¶
type DeleteIscsiTargetParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.IscsiTargetDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIscsiTargetParams contains all the parameters to send to the API endpoint
for the delete iscsi target operation. Typically these are written to a http.Request.
func NewDeleteIscsiTargetParams ¶
func NewDeleteIscsiTargetParams() *DeleteIscsiTargetParams
NewDeleteIscsiTargetParams creates a new DeleteIscsiTargetParams 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 NewDeleteIscsiTargetParamsWithContext ¶
func NewDeleteIscsiTargetParamsWithContext(ctx context.Context) *DeleteIscsiTargetParams
NewDeleteIscsiTargetParamsWithContext creates a new DeleteIscsiTargetParams object with the ability to set a context for a request.
func NewDeleteIscsiTargetParamsWithHTTPClient ¶
func NewDeleteIscsiTargetParamsWithHTTPClient(client *http.Client) *DeleteIscsiTargetParams
NewDeleteIscsiTargetParamsWithHTTPClient creates a new DeleteIscsiTargetParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteIscsiTargetParamsWithTimeout ¶
func NewDeleteIscsiTargetParamsWithTimeout(timeout time.Duration) *DeleteIscsiTargetParams
NewDeleteIscsiTargetParamsWithTimeout creates a new DeleteIscsiTargetParams object with the ability to set a timeout on a request.
func (*DeleteIscsiTargetParams) SetContentLanguage ¶
func (o *DeleteIscsiTargetParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete iscsi target params
func (*DeleteIscsiTargetParams) SetContext ¶
func (o *DeleteIscsiTargetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete iscsi target params
func (*DeleteIscsiTargetParams) SetDefaults ¶
func (o *DeleteIscsiTargetParams) SetDefaults()
SetDefaults hydrates default values in the delete iscsi target params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIscsiTargetParams) SetHTTPClient ¶
func (o *DeleteIscsiTargetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete iscsi target params
func (*DeleteIscsiTargetParams) SetRequestBody ¶
func (o *DeleteIscsiTargetParams) SetRequestBody(requestBody *models.IscsiTargetDeletionParams)
SetRequestBody adds the requestBody to the delete iscsi target params
func (*DeleteIscsiTargetParams) SetTimeout ¶
func (o *DeleteIscsiTargetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete iscsi target params
func (*DeleteIscsiTargetParams) WithContentLanguage ¶
func (o *DeleteIscsiTargetParams) WithContentLanguage(contentLanguage *string) *DeleteIscsiTargetParams
WithContentLanguage adds the contentLanguage to the delete iscsi target params
func (*DeleteIscsiTargetParams) WithContext ¶
func (o *DeleteIscsiTargetParams) WithContext(ctx context.Context) *DeleteIscsiTargetParams
WithContext adds the context to the delete iscsi target params
func (*DeleteIscsiTargetParams) WithDefaults ¶
func (o *DeleteIscsiTargetParams) WithDefaults() *DeleteIscsiTargetParams
WithDefaults hydrates default values in the delete iscsi target params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteIscsiTargetParams) WithHTTPClient ¶
func (o *DeleteIscsiTargetParams) WithHTTPClient(client *http.Client) *DeleteIscsiTargetParams
WithHTTPClient adds the HTTPClient to the delete iscsi target params
func (*DeleteIscsiTargetParams) WithRequestBody ¶
func (o *DeleteIscsiTargetParams) WithRequestBody(requestBody *models.IscsiTargetDeletionParams) *DeleteIscsiTargetParams
WithRequestBody adds the requestBody to the delete iscsi target params
func (*DeleteIscsiTargetParams) WithTimeout ¶
func (o *DeleteIscsiTargetParams) WithTimeout(timeout time.Duration) *DeleteIscsiTargetParams
WithTimeout adds the timeout to the delete iscsi target params
func (*DeleteIscsiTargetParams) WriteToRequest ¶
func (o *DeleteIscsiTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIscsiTargetReader ¶
type DeleteIscsiTargetReader struct {
// contains filtered or unexported fields
}
DeleteIscsiTargetReader is a Reader for the DeleteIscsiTarget structure.
func (*DeleteIscsiTargetReader) ReadResponse ¶
func (o *DeleteIscsiTargetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIscsiTargetsBadRequest ¶
type GetIscsiTargetsBadRequest struct {
Payload string
}
GetIscsiTargetsBadRequest describes a response with status code 400, with default header values.
GetIscsiTargetsBadRequest get iscsi targets bad request
func NewGetIscsiTargetsBadRequest ¶
func NewGetIscsiTargetsBadRequest() *GetIscsiTargetsBadRequest
NewGetIscsiTargetsBadRequest creates a GetIscsiTargetsBadRequest with default headers values
func (*GetIscsiTargetsBadRequest) Error ¶
func (o *GetIscsiTargetsBadRequest) Error() string
func (*GetIscsiTargetsBadRequest) GetPayload ¶
func (o *GetIscsiTargetsBadRequest) GetPayload() string
type GetIscsiTargetsConnectionBadRequest ¶
type GetIscsiTargetsConnectionBadRequest struct {
Payload string
}
GetIscsiTargetsConnectionBadRequest describes a response with status code 400, with default header values.
GetIscsiTargetsConnectionBadRequest get iscsi targets connection bad request
func NewGetIscsiTargetsConnectionBadRequest ¶
func NewGetIscsiTargetsConnectionBadRequest() *GetIscsiTargetsConnectionBadRequest
NewGetIscsiTargetsConnectionBadRequest creates a GetIscsiTargetsConnectionBadRequest with default headers values
func (*GetIscsiTargetsConnectionBadRequest) Error ¶
func (o *GetIscsiTargetsConnectionBadRequest) Error() string
func (*GetIscsiTargetsConnectionBadRequest) GetPayload ¶
func (o *GetIscsiTargetsConnectionBadRequest) GetPayload() string
type GetIscsiTargetsConnectionOK ¶
type GetIscsiTargetsConnectionOK struct {
Payload *models.IscsiTargetConnection
}
GetIscsiTargetsConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetIscsiTargetsConnectionOK ¶
func NewGetIscsiTargetsConnectionOK() *GetIscsiTargetsConnectionOK
NewGetIscsiTargetsConnectionOK creates a GetIscsiTargetsConnectionOK with default headers values
func (*GetIscsiTargetsConnectionOK) Error ¶
func (o *GetIscsiTargetsConnectionOK) Error() string
func (*GetIscsiTargetsConnectionOK) GetPayload ¶
func (o *GetIscsiTargetsConnectionOK) GetPayload() *models.IscsiTargetConnection
type GetIscsiTargetsConnectionParams ¶
type GetIscsiTargetsConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIscsiTargetsConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIscsiTargetsConnectionParams contains all the parameters to send to the API endpoint
for the get iscsi targets connection operation. Typically these are written to a http.Request.
func NewGetIscsiTargetsConnectionParams ¶
func NewGetIscsiTargetsConnectionParams() *GetIscsiTargetsConnectionParams
NewGetIscsiTargetsConnectionParams creates a new GetIscsiTargetsConnectionParams 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 NewGetIscsiTargetsConnectionParamsWithContext ¶
func NewGetIscsiTargetsConnectionParamsWithContext(ctx context.Context) *GetIscsiTargetsConnectionParams
NewGetIscsiTargetsConnectionParamsWithContext creates a new GetIscsiTargetsConnectionParams object with the ability to set a context for a request.
func NewGetIscsiTargetsConnectionParamsWithHTTPClient ¶
func NewGetIscsiTargetsConnectionParamsWithHTTPClient(client *http.Client) *GetIscsiTargetsConnectionParams
NewGetIscsiTargetsConnectionParamsWithHTTPClient creates a new GetIscsiTargetsConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetIscsiTargetsConnectionParamsWithTimeout ¶
func NewGetIscsiTargetsConnectionParamsWithTimeout(timeout time.Duration) *GetIscsiTargetsConnectionParams
NewGetIscsiTargetsConnectionParamsWithTimeout creates a new GetIscsiTargetsConnectionParams object with the ability to set a timeout on a request.
func (*GetIscsiTargetsConnectionParams) SetContentLanguage ¶
func (o *GetIscsiTargetsConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) SetContext ¶
func (o *GetIscsiTargetsConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) SetDefaults ¶
func (o *GetIscsiTargetsConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get iscsi targets connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiTargetsConnectionParams) SetHTTPClient ¶
func (o *GetIscsiTargetsConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) SetRequestBody ¶
func (o *GetIscsiTargetsConnectionParams) SetRequestBody(requestBody *models.GetIscsiTargetsConnectionRequestBody)
SetRequestBody adds the requestBody to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) SetTimeout ¶
func (o *GetIscsiTargetsConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) WithContentLanguage ¶
func (o *GetIscsiTargetsConnectionParams) WithContentLanguage(contentLanguage *string) *GetIscsiTargetsConnectionParams
WithContentLanguage adds the contentLanguage to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) WithContext ¶
func (o *GetIscsiTargetsConnectionParams) WithContext(ctx context.Context) *GetIscsiTargetsConnectionParams
WithContext adds the context to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) WithDefaults ¶
func (o *GetIscsiTargetsConnectionParams) WithDefaults() *GetIscsiTargetsConnectionParams
WithDefaults hydrates default values in the get iscsi targets connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiTargetsConnectionParams) WithHTTPClient ¶
func (o *GetIscsiTargetsConnectionParams) WithHTTPClient(client *http.Client) *GetIscsiTargetsConnectionParams
WithHTTPClient adds the HTTPClient to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) WithRequestBody ¶
func (o *GetIscsiTargetsConnectionParams) WithRequestBody(requestBody *models.GetIscsiTargetsConnectionRequestBody) *GetIscsiTargetsConnectionParams
WithRequestBody adds the requestBody to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) WithTimeout ¶
func (o *GetIscsiTargetsConnectionParams) WithTimeout(timeout time.Duration) *GetIscsiTargetsConnectionParams
WithTimeout adds the timeout to the get iscsi targets connection params
func (*GetIscsiTargetsConnectionParams) WriteToRequest ¶
func (o *GetIscsiTargetsConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIscsiTargetsConnectionReader ¶
type GetIscsiTargetsConnectionReader struct {
// contains filtered or unexported fields
}
GetIscsiTargetsConnectionReader is a Reader for the GetIscsiTargetsConnection structure.
func (*GetIscsiTargetsConnectionReader) ReadResponse ¶
func (o *GetIscsiTargetsConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetIscsiTargetsOK ¶
type GetIscsiTargetsOK struct {
Payload []*models.IscsiTarget
}
GetIscsiTargetsOK describes a response with status code 200, with default header values.
Ok
func NewGetIscsiTargetsOK ¶
func NewGetIscsiTargetsOK() *GetIscsiTargetsOK
NewGetIscsiTargetsOK creates a GetIscsiTargetsOK with default headers values
func (*GetIscsiTargetsOK) Error ¶
func (o *GetIscsiTargetsOK) Error() string
func (*GetIscsiTargetsOK) GetPayload ¶
func (o *GetIscsiTargetsOK) GetPayload() []*models.IscsiTarget
type GetIscsiTargetsParams ¶
type GetIscsiTargetsParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetIscsiTargetsRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetIscsiTargetsParams contains all the parameters to send to the API endpoint
for the get iscsi targets operation. Typically these are written to a http.Request.
func NewGetIscsiTargetsParams ¶
func NewGetIscsiTargetsParams() *GetIscsiTargetsParams
NewGetIscsiTargetsParams creates a new GetIscsiTargetsParams 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 NewGetIscsiTargetsParamsWithContext ¶
func NewGetIscsiTargetsParamsWithContext(ctx context.Context) *GetIscsiTargetsParams
NewGetIscsiTargetsParamsWithContext creates a new GetIscsiTargetsParams object with the ability to set a context for a request.
func NewGetIscsiTargetsParamsWithHTTPClient ¶
func NewGetIscsiTargetsParamsWithHTTPClient(client *http.Client) *GetIscsiTargetsParams
NewGetIscsiTargetsParamsWithHTTPClient creates a new GetIscsiTargetsParams object with the ability to set a custom HTTPClient for a request.
func NewGetIscsiTargetsParamsWithTimeout ¶
func NewGetIscsiTargetsParamsWithTimeout(timeout time.Duration) *GetIscsiTargetsParams
NewGetIscsiTargetsParamsWithTimeout creates a new GetIscsiTargetsParams object with the ability to set a timeout on a request.
func (*GetIscsiTargetsParams) SetContentLanguage ¶
func (o *GetIscsiTargetsParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get iscsi targets params
func (*GetIscsiTargetsParams) SetContext ¶
func (o *GetIscsiTargetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get iscsi targets params
func (*GetIscsiTargetsParams) SetDefaults ¶
func (o *GetIscsiTargetsParams) SetDefaults()
SetDefaults hydrates default values in the get iscsi targets params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiTargetsParams) SetHTTPClient ¶
func (o *GetIscsiTargetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get iscsi targets params
func (*GetIscsiTargetsParams) SetRequestBody ¶
func (o *GetIscsiTargetsParams) SetRequestBody(requestBody *models.GetIscsiTargetsRequestBody)
SetRequestBody adds the requestBody to the get iscsi targets params
func (*GetIscsiTargetsParams) SetTimeout ¶
func (o *GetIscsiTargetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get iscsi targets params
func (*GetIscsiTargetsParams) WithContentLanguage ¶
func (o *GetIscsiTargetsParams) WithContentLanguage(contentLanguage *string) *GetIscsiTargetsParams
WithContentLanguage adds the contentLanguage to the get iscsi targets params
func (*GetIscsiTargetsParams) WithContext ¶
func (o *GetIscsiTargetsParams) WithContext(ctx context.Context) *GetIscsiTargetsParams
WithContext adds the context to the get iscsi targets params
func (*GetIscsiTargetsParams) WithDefaults ¶
func (o *GetIscsiTargetsParams) WithDefaults() *GetIscsiTargetsParams
WithDefaults hydrates default values in the get iscsi targets params (not the query body).
All values with no default are reset to their zero value.
func (*GetIscsiTargetsParams) WithHTTPClient ¶
func (o *GetIscsiTargetsParams) WithHTTPClient(client *http.Client) *GetIscsiTargetsParams
WithHTTPClient adds the HTTPClient to the get iscsi targets params
func (*GetIscsiTargetsParams) WithRequestBody ¶
func (o *GetIscsiTargetsParams) WithRequestBody(requestBody *models.GetIscsiTargetsRequestBody) *GetIscsiTargetsParams
WithRequestBody adds the requestBody to the get iscsi targets params
func (*GetIscsiTargetsParams) WithTimeout ¶
func (o *GetIscsiTargetsParams) WithTimeout(timeout time.Duration) *GetIscsiTargetsParams
WithTimeout adds the timeout to the get iscsi targets params
func (*GetIscsiTargetsParams) WriteToRequest ¶
func (o *GetIscsiTargetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetIscsiTargetsReader ¶
type GetIscsiTargetsReader struct {
// contains filtered or unexported fields
}
GetIscsiTargetsReader is a Reader for the GetIscsiTargets structure.
func (*GetIscsiTargetsReader) ReadResponse ¶
func (o *GetIscsiTargetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateIscsiTargetBadRequest ¶
type UpdateIscsiTargetBadRequest struct {
Payload string
}
UpdateIscsiTargetBadRequest describes a response with status code 400, with default header values.
UpdateIscsiTargetBadRequest update iscsi target bad request
func NewUpdateIscsiTargetBadRequest ¶
func NewUpdateIscsiTargetBadRequest() *UpdateIscsiTargetBadRequest
NewUpdateIscsiTargetBadRequest creates a UpdateIscsiTargetBadRequest with default headers values
func (*UpdateIscsiTargetBadRequest) Error ¶
func (o *UpdateIscsiTargetBadRequest) Error() string
func (*UpdateIscsiTargetBadRequest) GetPayload ¶
func (o *UpdateIscsiTargetBadRequest) GetPayload() string
type UpdateIscsiTargetOK ¶
type UpdateIscsiTargetOK struct {
Payload []*models.WithTaskIscsiTarget
}
UpdateIscsiTargetOK describes a response with status code 200, with default header values.
Ok
func NewUpdateIscsiTargetOK ¶
func NewUpdateIscsiTargetOK() *UpdateIscsiTargetOK
NewUpdateIscsiTargetOK creates a UpdateIscsiTargetOK with default headers values
func (*UpdateIscsiTargetOK) Error ¶
func (o *UpdateIscsiTargetOK) Error() string
func (*UpdateIscsiTargetOK) GetPayload ¶
func (o *UpdateIscsiTargetOK) GetPayload() []*models.WithTaskIscsiTarget
type UpdateIscsiTargetParams ¶
type UpdateIscsiTargetParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.IscsiTargetUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateIscsiTargetParams contains all the parameters to send to the API endpoint
for the update iscsi target operation. Typically these are written to a http.Request.
func NewUpdateIscsiTargetParams ¶
func NewUpdateIscsiTargetParams() *UpdateIscsiTargetParams
NewUpdateIscsiTargetParams creates a new UpdateIscsiTargetParams 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 NewUpdateIscsiTargetParamsWithContext ¶
func NewUpdateIscsiTargetParamsWithContext(ctx context.Context) *UpdateIscsiTargetParams
NewUpdateIscsiTargetParamsWithContext creates a new UpdateIscsiTargetParams object with the ability to set a context for a request.
func NewUpdateIscsiTargetParamsWithHTTPClient ¶
func NewUpdateIscsiTargetParamsWithHTTPClient(client *http.Client) *UpdateIscsiTargetParams
NewUpdateIscsiTargetParamsWithHTTPClient creates a new UpdateIscsiTargetParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateIscsiTargetParamsWithTimeout ¶
func NewUpdateIscsiTargetParamsWithTimeout(timeout time.Duration) *UpdateIscsiTargetParams
NewUpdateIscsiTargetParamsWithTimeout creates a new UpdateIscsiTargetParams object with the ability to set a timeout on a request.
func (*UpdateIscsiTargetParams) SetContentLanguage ¶
func (o *UpdateIscsiTargetParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update iscsi target params
func (*UpdateIscsiTargetParams) SetContext ¶
func (o *UpdateIscsiTargetParams) SetContext(ctx context.Context)
SetContext adds the context to the update iscsi target params
func (*UpdateIscsiTargetParams) SetDefaults ¶
func (o *UpdateIscsiTargetParams) SetDefaults()
SetDefaults hydrates default values in the update iscsi target params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIscsiTargetParams) SetHTTPClient ¶
func (o *UpdateIscsiTargetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update iscsi target params
func (*UpdateIscsiTargetParams) SetRequestBody ¶
func (o *UpdateIscsiTargetParams) SetRequestBody(requestBody *models.IscsiTargetUpdationParams)
SetRequestBody adds the requestBody to the update iscsi target params
func (*UpdateIscsiTargetParams) SetTimeout ¶
func (o *UpdateIscsiTargetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update iscsi target params
func (*UpdateIscsiTargetParams) WithContentLanguage ¶
func (o *UpdateIscsiTargetParams) WithContentLanguage(contentLanguage *string) *UpdateIscsiTargetParams
WithContentLanguage adds the contentLanguage to the update iscsi target params
func (*UpdateIscsiTargetParams) WithContext ¶
func (o *UpdateIscsiTargetParams) WithContext(ctx context.Context) *UpdateIscsiTargetParams
WithContext adds the context to the update iscsi target params
func (*UpdateIscsiTargetParams) WithDefaults ¶
func (o *UpdateIscsiTargetParams) WithDefaults() *UpdateIscsiTargetParams
WithDefaults hydrates default values in the update iscsi target params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateIscsiTargetParams) WithHTTPClient ¶
func (o *UpdateIscsiTargetParams) WithHTTPClient(client *http.Client) *UpdateIscsiTargetParams
WithHTTPClient adds the HTTPClient to the update iscsi target params
func (*UpdateIscsiTargetParams) WithRequestBody ¶
func (o *UpdateIscsiTargetParams) WithRequestBody(requestBody *models.IscsiTargetUpdationParams) *UpdateIscsiTargetParams
WithRequestBody adds the requestBody to the update iscsi target params
func (*UpdateIscsiTargetParams) WithTimeout ¶
func (o *UpdateIscsiTargetParams) WithTimeout(timeout time.Duration) *UpdateIscsiTargetParams
WithTimeout adds the timeout to the update iscsi target params
func (*UpdateIscsiTargetParams) WriteToRequest ¶
func (o *UpdateIscsiTargetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateIscsiTargetReader ¶
type UpdateIscsiTargetReader struct {
// contains filtered or unexported fields
}
UpdateIscsiTargetReader is a Reader for the UpdateIscsiTarget structure.
func (*UpdateIscsiTargetReader) ReadResponse ¶
func (o *UpdateIscsiTargetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_iscsi_target_parameters.go
- create_iscsi_target_responses.go
- delete_iscsi_target_parameters.go
- delete_iscsi_target_responses.go
- get_iscsi_targets_connection_parameters.go
- get_iscsi_targets_connection_responses.go
- get_iscsi_targets_parameters.go
- get_iscsi_targets_responses.go
- iscsi_target_client.go
- update_iscsi_target_parameters.go
- update_iscsi_target_responses.go