Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDatastore(params *CreateDatastoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateDatastoreOK, error)
- func (a *Client) DeleteDatastore(params *DeleteDatastoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteDatastoreOK, error)
- func (a *Client) GetDatastore(params *GetDatastoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDatastoreOK, error)
- func (a *Client) GetDatastoreByName(params *GetDatastoreByNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDatastoreByNameOK, error)
- func (a *Client) QueryDatastores(params *QueryDatastoresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryDatastoresOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDatastore(params *UpdateDatastoreParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDatastoreOK, error)
- type ClientOption
- type ClientService
- type CreateDatastoreBadRequest
- type CreateDatastoreConflict
- type CreateDatastoreForbidden
- type CreateDatastoreGatewayTimeout
- type CreateDatastoreInternalServerError
- type CreateDatastoreOK
- type CreateDatastoreParams
- func NewCreateDatastoreParams() *CreateDatastoreParams
- func NewCreateDatastoreParamsWithContext(ctx context.Context) *CreateDatastoreParams
- func NewCreateDatastoreParamsWithHTTPClient(client *http.Client) *CreateDatastoreParams
- func NewCreateDatastoreParamsWithTimeout(timeout time.Duration) *CreateDatastoreParams
- func (o *CreateDatastoreParams) SetBody(body *swagger_models.DatastoreInfo)
- func (o *CreateDatastoreParams) SetContext(ctx context.Context)
- func (o *CreateDatastoreParams) SetDefaults()
- func (o *CreateDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *CreateDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *CreateDatastoreParams) SetXRequestID(xRequestID *string)
- func (o *CreateDatastoreParams) WithBody(body *swagger_models.DatastoreInfo) *CreateDatastoreParams
- func (o *CreateDatastoreParams) WithContext(ctx context.Context) *CreateDatastoreParams
- func (o *CreateDatastoreParams) WithDefaults() *CreateDatastoreParams
- func (o *CreateDatastoreParams) WithHTTPClient(client *http.Client) *CreateDatastoreParams
- func (o *CreateDatastoreParams) WithTimeout(timeout time.Duration) *CreateDatastoreParams
- func (o *CreateDatastoreParams) WithXRequestID(xRequestID *string) *CreateDatastoreParams
- func (o *CreateDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDatastoreReader
- type CreateDatastoreUnauthorized
- type DeleteDatastoreConflict
- type DeleteDatastoreForbidden
- type DeleteDatastoreGatewayTimeout
- type DeleteDatastoreInternalServerError
- type DeleteDatastoreNotFound
- type DeleteDatastoreOK
- type DeleteDatastoreParams
- func NewDeleteDatastoreParams() *DeleteDatastoreParams
- func NewDeleteDatastoreParamsWithContext(ctx context.Context) *DeleteDatastoreParams
- func NewDeleteDatastoreParamsWithHTTPClient(client *http.Client) *DeleteDatastoreParams
- func NewDeleteDatastoreParamsWithTimeout(timeout time.Duration) *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) SetContext(ctx context.Context)
- func (o *DeleteDatastoreParams) SetDefaults()
- func (o *DeleteDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDatastoreParams) SetID(id string)
- func (o *DeleteDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDatastoreParams) SetXRequestID(xRequestID *string)
- func (o *DeleteDatastoreParams) WithContext(ctx context.Context) *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) WithDefaults() *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) WithHTTPClient(client *http.Client) *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) WithID(id string) *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) WithTimeout(timeout time.Duration) *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) WithXRequestID(xRequestID *string) *DeleteDatastoreParams
- func (o *DeleteDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDatastoreReader
- type DeleteDatastoreUnauthorized
- type GetDatastoreByNameForbidden
- type GetDatastoreByNameGatewayTimeout
- type GetDatastoreByNameInternalServerError
- type GetDatastoreByNameNotFound
- type GetDatastoreByNameOK
- type GetDatastoreByNameParams
- func NewGetDatastoreByNameParams() *GetDatastoreByNameParams
- func NewGetDatastoreByNameParamsWithContext(ctx context.Context) *GetDatastoreByNameParams
- func NewGetDatastoreByNameParamsWithHTTPClient(client *http.Client) *GetDatastoreByNameParams
- func NewGetDatastoreByNameParamsWithTimeout(timeout time.Duration) *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) SetContext(ctx context.Context)
- func (o *GetDatastoreByNameParams) SetDefaults()
- func (o *GetDatastoreByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetDatastoreByNameParams) SetName(name string)
- func (o *GetDatastoreByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetDatastoreByNameParams) SetXRequestID(xRequestID *string)
- func (o *GetDatastoreByNameParams) WithContext(ctx context.Context) *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) WithDefaults() *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) WithHTTPClient(client *http.Client) *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) WithName(name string) *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) WithTimeout(timeout time.Duration) *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) WithXRequestID(xRequestID *string) *GetDatastoreByNameParams
- func (o *GetDatastoreByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatastoreByNameReader
- type GetDatastoreByNameUnauthorized
- type GetDatastoreForbidden
- type GetDatastoreGatewayTimeout
- type GetDatastoreInternalServerError
- type GetDatastoreNotFound
- type GetDatastoreOK
- type GetDatastoreParams
- func (o *GetDatastoreParams) SetContext(ctx context.Context)
- func (o *GetDatastoreParams) SetDefaults()
- func (o *GetDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *GetDatastoreParams) SetID(id string)
- func (o *GetDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *GetDatastoreParams) SetXRequestID(xRequestID *string)
- func (o *GetDatastoreParams) WithContext(ctx context.Context) *GetDatastoreParams
- func (o *GetDatastoreParams) WithDefaults() *GetDatastoreParams
- func (o *GetDatastoreParams) WithHTTPClient(client *http.Client) *GetDatastoreParams
- func (o *GetDatastoreParams) WithID(id string) *GetDatastoreParams
- func (o *GetDatastoreParams) WithTimeout(timeout time.Duration) *GetDatastoreParams
- func (o *GetDatastoreParams) WithXRequestID(xRequestID *string) *GetDatastoreParams
- func (o *GetDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDatastoreReader
- type GetDatastoreUnauthorized
- type QueryDatastoresBadRequest
- type QueryDatastoresForbidden
- type QueryDatastoresGatewayTimeout
- type QueryDatastoresInternalServerError
- type QueryDatastoresOK
- type QueryDatastoresParams
- func NewQueryDatastoresParams() *QueryDatastoresParams
- func NewQueryDatastoresParamsWithContext(ctx context.Context) *QueryDatastoresParams
- func NewQueryDatastoresParamsWithHTTPClient(client *http.Client) *QueryDatastoresParams
- func NewQueryDatastoresParamsWithTimeout(timeout time.Duration) *QueryDatastoresParams
- func (o *QueryDatastoresParams) SetContext(ctx context.Context)
- func (o *QueryDatastoresParams) SetDefaults()
- func (o *QueryDatastoresParams) SetFilterDsType(filterDsType *string)
- func (o *QueryDatastoresParams) SetFilterNamePattern(filterNamePattern *string)
- func (o *QueryDatastoresParams) SetHTTPClient(client *http.Client)
- func (o *QueryDatastoresParams) SetNextOrderBy(nextOrderBy *string)
- func (o *QueryDatastoresParams) SetNextPageNum(nextPageNum *int64)
- func (o *QueryDatastoresParams) SetNextPageSize(nextPageSize *int64)
- func (o *QueryDatastoresParams) SetNextPageToken(nextPageToken *string)
- func (o *QueryDatastoresParams) SetNextTotalPages(nextTotalPages *int64)
- func (o *QueryDatastoresParams) SetSummary(summary *bool)
- func (o *QueryDatastoresParams) SetTimeout(timeout time.Duration)
- func (o *QueryDatastoresParams) SetXRequestID(xRequestID *string)
- func (o *QueryDatastoresParams) WithContext(ctx context.Context) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithDefaults() *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithFilterDsType(filterDsType *string) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithFilterNamePattern(filterNamePattern *string) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithHTTPClient(client *http.Client) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithNextOrderBy(nextOrderBy *string) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithNextPageNum(nextPageNum *int64) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithNextPageSize(nextPageSize *int64) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithNextPageToken(nextPageToken *string) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithNextTotalPages(nextTotalPages *int64) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithSummary(summary *bool) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithTimeout(timeout time.Duration) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WithXRequestID(xRequestID *string) *QueryDatastoresParams
- func (o *QueryDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryDatastoresReader
- type QueryDatastoresUnauthorized
- type UpdateDatastoreConflict
- type UpdateDatastoreForbidden
- type UpdateDatastoreGatewayTimeout
- type UpdateDatastoreInternalServerError
- type UpdateDatastoreNotFound
- type UpdateDatastoreOK
- type UpdateDatastoreParams
- func NewUpdateDatastoreParams() *UpdateDatastoreParams
- func NewUpdateDatastoreParamsWithContext(ctx context.Context) *UpdateDatastoreParams
- func NewUpdateDatastoreParamsWithHTTPClient(client *http.Client) *UpdateDatastoreParams
- func NewUpdateDatastoreParamsWithTimeout(timeout time.Duration) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) SetBody(body *swagger_models.DatastoreInfo)
- func (o *UpdateDatastoreParams) SetContext(ctx context.Context)
- func (o *UpdateDatastoreParams) SetDefaults()
- func (o *UpdateDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDatastoreParams) SetID(id string)
- func (o *UpdateDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDatastoreParams) SetXRequestID(xRequestID *string)
- func (o *UpdateDatastoreParams) WithBody(body *swagger_models.DatastoreInfo) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WithContext(ctx context.Context) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WithDefaults() *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WithHTTPClient(client *http.Client) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WithID(id string) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WithTimeout(timeout time.Duration) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WithXRequestID(xRequestID *string) *UpdateDatastoreParams
- func (o *UpdateDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDatastoreReader
- type UpdateDatastoreUnauthorized
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 datastore configuration API
func (*Client) CreateDatastore ¶
func (a *Client) CreateDatastore(params *CreateDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDatastoreOK, error)
CreateDatastore creates datastore
Create a Datastore record.
func (*Client) DeleteDatastore ¶
func (a *Client) DeleteDatastore(params *DeleteDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDatastoreOK, error)
DeleteDatastore deletes datastore
Delete a datastore record.
func (*Client) GetDatastore ¶
func (a *Client) GetDatastore(params *GetDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatastoreOK, error)
GetDatastore gets datastore
Get the configuration (without security details) of a datastore record.
func (*Client) GetDatastoreByName ¶
func (a *Client) GetDatastoreByName(params *GetDatastoreByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatastoreByNameOK, error)
GetDatastoreByName gets datastore
Get the configuration (without security details) of a datastore record.
func (*Client) QueryDatastores ¶
func (a *Client) QueryDatastores(params *QueryDatastoresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryDatastoresOK, error)
QueryDatastores queries datastores
Query the datastore records.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDatastore ¶
func (a *Client) UpdateDatastore(params *UpdateDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDatastoreOK, error)
UpdateDatastore updates datastore
Update a datastore record. The usual pattern to update a datastore record is to retrieve the record and update with the modified values in a new body to update the datastore record.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateDatastore(params *CreateDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDatastoreOK, error) DeleteDatastore(params *DeleteDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDatastoreOK, error) GetDatastore(params *GetDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatastoreOK, error) GetDatastoreByName(params *GetDatastoreByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDatastoreByNameOK, error) QueryDatastores(params *QueryDatastoresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryDatastoresOK, error) UpdateDatastore(params *UpdateDatastoreParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDatastoreOK, 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 datastore configuration API client.
type CreateDatastoreBadRequest ¶
type CreateDatastoreBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
CreateDatastoreBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of missing parameter or invalid value of parameters.
func NewCreateDatastoreBadRequest ¶
func NewCreateDatastoreBadRequest() *CreateDatastoreBadRequest
NewCreateDatastoreBadRequest creates a CreateDatastoreBadRequest with default headers values
func (*CreateDatastoreBadRequest) Error ¶
func (o *CreateDatastoreBadRequest) Error() string
func (*CreateDatastoreBadRequest) GetPayload ¶
func (o *CreateDatastoreBadRequest) GetPayload() *swagger_models.ZsrvResponse
type CreateDatastoreConflict ¶
type CreateDatastoreConflict struct {
Payload *swagger_models.ZsrvResponse
}
CreateDatastoreConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this datastore record will conflict with an already existing datastore record.
func NewCreateDatastoreConflict ¶
func NewCreateDatastoreConflict() *CreateDatastoreConflict
NewCreateDatastoreConflict creates a CreateDatastoreConflict with default headers values
func (*CreateDatastoreConflict) Error ¶
func (o *CreateDatastoreConflict) Error() string
func (*CreateDatastoreConflict) GetPayload ¶
func (o *CreateDatastoreConflict) GetPayload() *swagger_models.ZsrvResponse
type CreateDatastoreForbidden ¶
type CreateDatastoreForbidden struct {
Payload *swagger_models.ZsrvResponse
}
CreateDatastoreForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewCreateDatastoreForbidden ¶
func NewCreateDatastoreForbidden() *CreateDatastoreForbidden
NewCreateDatastoreForbidden creates a CreateDatastoreForbidden with default headers values
func (*CreateDatastoreForbidden) Error ¶
func (o *CreateDatastoreForbidden) Error() string
func (*CreateDatastoreForbidden) GetPayload ¶
func (o *CreateDatastoreForbidden) GetPayload() *swagger_models.ZsrvResponse
type CreateDatastoreGatewayTimeout ¶
type CreateDatastoreGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
CreateDatastoreGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewCreateDatastoreGatewayTimeout ¶
func NewCreateDatastoreGatewayTimeout() *CreateDatastoreGatewayTimeout
NewCreateDatastoreGatewayTimeout creates a CreateDatastoreGatewayTimeout with default headers values
func (*CreateDatastoreGatewayTimeout) Error ¶
func (o *CreateDatastoreGatewayTimeout) Error() string
func (*CreateDatastoreGatewayTimeout) GetPayload ¶
func (o *CreateDatastoreGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type CreateDatastoreInternalServerError ¶
type CreateDatastoreInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
CreateDatastoreInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewCreateDatastoreInternalServerError ¶
func NewCreateDatastoreInternalServerError() *CreateDatastoreInternalServerError
NewCreateDatastoreInternalServerError creates a CreateDatastoreInternalServerError with default headers values
func (*CreateDatastoreInternalServerError) Error ¶
func (o *CreateDatastoreInternalServerError) Error() string
func (*CreateDatastoreInternalServerError) GetPayload ¶
func (o *CreateDatastoreInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type CreateDatastoreOK ¶
type CreateDatastoreOK struct {
Payload *swagger_models.ZsrvResponse
}
CreateDatastoreOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateDatastoreOK ¶
func NewCreateDatastoreOK() *CreateDatastoreOK
NewCreateDatastoreOK creates a CreateDatastoreOK with default headers values
func (*CreateDatastoreOK) Error ¶
func (o *CreateDatastoreOK) Error() string
func (*CreateDatastoreOK) GetPayload ¶
func (o *CreateDatastoreOK) GetPayload() *swagger_models.ZsrvResponse
type CreateDatastoreParams ¶
type CreateDatastoreParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *swagger_models.DatastoreInfo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDatastoreParams contains all the parameters to send to the API endpoint
for the create datastore operation. Typically these are written to a http.Request.
func NewCreateDatastoreParams ¶
func NewCreateDatastoreParams() *CreateDatastoreParams
NewCreateDatastoreParams creates a new CreateDatastoreParams 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 NewCreateDatastoreParamsWithContext ¶
func NewCreateDatastoreParamsWithContext(ctx context.Context) *CreateDatastoreParams
NewCreateDatastoreParamsWithContext creates a new CreateDatastoreParams object with the ability to set a context for a request.
func NewCreateDatastoreParamsWithHTTPClient ¶
func NewCreateDatastoreParamsWithHTTPClient(client *http.Client) *CreateDatastoreParams
NewCreateDatastoreParamsWithHTTPClient creates a new CreateDatastoreParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDatastoreParamsWithTimeout ¶
func NewCreateDatastoreParamsWithTimeout(timeout time.Duration) *CreateDatastoreParams
NewCreateDatastoreParamsWithTimeout creates a new CreateDatastoreParams object with the ability to set a timeout on a request.
func (*CreateDatastoreParams) SetBody ¶
func (o *CreateDatastoreParams) SetBody(body *swagger_models.DatastoreInfo)
SetBody adds the body to the create datastore params
func (*CreateDatastoreParams) SetContext ¶
func (o *CreateDatastoreParams) SetContext(ctx context.Context)
SetContext adds the context to the create datastore params
func (*CreateDatastoreParams) SetDefaults ¶
func (o *CreateDatastoreParams) SetDefaults()
SetDefaults hydrates default values in the create datastore params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatastoreParams) SetHTTPClient ¶
func (o *CreateDatastoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create datastore params
func (*CreateDatastoreParams) SetTimeout ¶
func (o *CreateDatastoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create datastore params
func (*CreateDatastoreParams) SetXRequestID ¶
func (o *CreateDatastoreParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create datastore params
func (*CreateDatastoreParams) WithBody ¶
func (o *CreateDatastoreParams) WithBody(body *swagger_models.DatastoreInfo) *CreateDatastoreParams
WithBody adds the body to the create datastore params
func (*CreateDatastoreParams) WithContext ¶
func (o *CreateDatastoreParams) WithContext(ctx context.Context) *CreateDatastoreParams
WithContext adds the context to the create datastore params
func (*CreateDatastoreParams) WithDefaults ¶
func (o *CreateDatastoreParams) WithDefaults() *CreateDatastoreParams
WithDefaults hydrates default values in the create datastore params (not the query body).
All values with no default are reset to their zero value.
func (*CreateDatastoreParams) WithHTTPClient ¶
func (o *CreateDatastoreParams) WithHTTPClient(client *http.Client) *CreateDatastoreParams
WithHTTPClient adds the HTTPClient to the create datastore params
func (*CreateDatastoreParams) WithTimeout ¶
func (o *CreateDatastoreParams) WithTimeout(timeout time.Duration) *CreateDatastoreParams
WithTimeout adds the timeout to the create datastore params
func (*CreateDatastoreParams) WithXRequestID ¶
func (o *CreateDatastoreParams) WithXRequestID(xRequestID *string) *CreateDatastoreParams
WithXRequestID adds the xRequestID to the create datastore params
func (*CreateDatastoreParams) WriteToRequest ¶
func (o *CreateDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDatastoreReader ¶
type CreateDatastoreReader struct {
// contains filtered or unexported fields
}
CreateDatastoreReader is a Reader for the CreateDatastore structure.
func (*CreateDatastoreReader) ReadResponse ¶
func (o *CreateDatastoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDatastoreUnauthorized ¶
type CreateDatastoreUnauthorized struct {
}CreateDatastoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewCreateDatastoreUnauthorized ¶
func NewCreateDatastoreUnauthorized() *CreateDatastoreUnauthorized
NewCreateDatastoreUnauthorized creates a CreateDatastoreUnauthorized with default headers values
func (*CreateDatastoreUnauthorized) Error ¶
func (o *CreateDatastoreUnauthorized) Error() string
func (*CreateDatastoreUnauthorized) GetPayload ¶
func (o *CreateDatastoreUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreConflict ¶
type DeleteDatastoreConflict struct {
Payload *swagger_models.ZsrvResponse
}
DeleteDatastoreConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because there are edge application images using this datastore
func NewDeleteDatastoreConflict ¶
func NewDeleteDatastoreConflict() *DeleteDatastoreConflict
NewDeleteDatastoreConflict creates a DeleteDatastoreConflict with default headers values
func (*DeleteDatastoreConflict) Error ¶
func (o *DeleteDatastoreConflict) Error() string
func (*DeleteDatastoreConflict) GetPayload ¶
func (o *DeleteDatastoreConflict) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreForbidden ¶
type DeleteDatastoreForbidden struct {
Payload *swagger_models.ZsrvResponse
}
DeleteDatastoreForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewDeleteDatastoreForbidden ¶
func NewDeleteDatastoreForbidden() *DeleteDatastoreForbidden
NewDeleteDatastoreForbidden creates a DeleteDatastoreForbidden with default headers values
func (*DeleteDatastoreForbidden) Error ¶
func (o *DeleteDatastoreForbidden) Error() string
func (*DeleteDatastoreForbidden) GetPayload ¶
func (o *DeleteDatastoreForbidden) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreGatewayTimeout ¶
type DeleteDatastoreGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
DeleteDatastoreGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewDeleteDatastoreGatewayTimeout ¶
func NewDeleteDatastoreGatewayTimeout() *DeleteDatastoreGatewayTimeout
NewDeleteDatastoreGatewayTimeout creates a DeleteDatastoreGatewayTimeout with default headers values
func (*DeleteDatastoreGatewayTimeout) Error ¶
func (o *DeleteDatastoreGatewayTimeout) Error() string
func (*DeleteDatastoreGatewayTimeout) GetPayload ¶
func (o *DeleteDatastoreGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreInternalServerError ¶
type DeleteDatastoreInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
DeleteDatastoreInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewDeleteDatastoreInternalServerError ¶
func NewDeleteDatastoreInternalServerError() *DeleteDatastoreInternalServerError
NewDeleteDatastoreInternalServerError creates a DeleteDatastoreInternalServerError with default headers values
func (*DeleteDatastoreInternalServerError) Error ¶
func (o *DeleteDatastoreInternalServerError) Error() string
func (*DeleteDatastoreInternalServerError) GetPayload ¶
func (o *DeleteDatastoreInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreNotFound ¶
type DeleteDatastoreNotFound struct {
Payload *swagger_models.ZsrvResponse
}
DeleteDatastoreNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewDeleteDatastoreNotFound ¶
func NewDeleteDatastoreNotFound() *DeleteDatastoreNotFound
NewDeleteDatastoreNotFound creates a DeleteDatastoreNotFound with default headers values
func (*DeleteDatastoreNotFound) Error ¶
func (o *DeleteDatastoreNotFound) Error() string
func (*DeleteDatastoreNotFound) GetPayload ¶
func (o *DeleteDatastoreNotFound) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreOK ¶
type DeleteDatastoreOK struct {
Payload *swagger_models.ZsrvResponse
}
DeleteDatastoreOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteDatastoreOK ¶
func NewDeleteDatastoreOK() *DeleteDatastoreOK
NewDeleteDatastoreOK creates a DeleteDatastoreOK with default headers values
func (*DeleteDatastoreOK) Error ¶
func (o *DeleteDatastoreOK) Error() string
func (*DeleteDatastoreOK) GetPayload ¶
func (o *DeleteDatastoreOK) GetPayload() *swagger_models.ZsrvResponse
type DeleteDatastoreParams ¶
type DeleteDatastoreParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. System defined universally unique Id of the datastore */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDatastoreParams contains all the parameters to send to the API endpoint
for the delete datastore operation. Typically these are written to a http.Request.
func NewDeleteDatastoreParams ¶
func NewDeleteDatastoreParams() *DeleteDatastoreParams
NewDeleteDatastoreParams creates a new DeleteDatastoreParams 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 NewDeleteDatastoreParamsWithContext ¶
func NewDeleteDatastoreParamsWithContext(ctx context.Context) *DeleteDatastoreParams
NewDeleteDatastoreParamsWithContext creates a new DeleteDatastoreParams object with the ability to set a context for a request.
func NewDeleteDatastoreParamsWithHTTPClient ¶
func NewDeleteDatastoreParamsWithHTTPClient(client *http.Client) *DeleteDatastoreParams
NewDeleteDatastoreParamsWithHTTPClient creates a new DeleteDatastoreParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDatastoreParamsWithTimeout ¶
func NewDeleteDatastoreParamsWithTimeout(timeout time.Duration) *DeleteDatastoreParams
NewDeleteDatastoreParamsWithTimeout creates a new DeleteDatastoreParams object with the ability to set a timeout on a request.
func (*DeleteDatastoreParams) SetContext ¶
func (o *DeleteDatastoreParams) SetContext(ctx context.Context)
SetContext adds the context to the delete datastore params
func (*DeleteDatastoreParams) SetDefaults ¶
func (o *DeleteDatastoreParams) SetDefaults()
SetDefaults hydrates default values in the delete datastore params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatastoreParams) SetHTTPClient ¶
func (o *DeleteDatastoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete datastore params
func (*DeleteDatastoreParams) SetID ¶
func (o *DeleteDatastoreParams) SetID(id string)
SetID adds the id to the delete datastore params
func (*DeleteDatastoreParams) SetTimeout ¶
func (o *DeleteDatastoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete datastore params
func (*DeleteDatastoreParams) SetXRequestID ¶
func (o *DeleteDatastoreParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete datastore params
func (*DeleteDatastoreParams) WithContext ¶
func (o *DeleteDatastoreParams) WithContext(ctx context.Context) *DeleteDatastoreParams
WithContext adds the context to the delete datastore params
func (*DeleteDatastoreParams) WithDefaults ¶
func (o *DeleteDatastoreParams) WithDefaults() *DeleteDatastoreParams
WithDefaults hydrates default values in the delete datastore params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteDatastoreParams) WithHTTPClient ¶
func (o *DeleteDatastoreParams) WithHTTPClient(client *http.Client) *DeleteDatastoreParams
WithHTTPClient adds the HTTPClient to the delete datastore params
func (*DeleteDatastoreParams) WithID ¶
func (o *DeleteDatastoreParams) WithID(id string) *DeleteDatastoreParams
WithID adds the id to the delete datastore params
func (*DeleteDatastoreParams) WithTimeout ¶
func (o *DeleteDatastoreParams) WithTimeout(timeout time.Duration) *DeleteDatastoreParams
WithTimeout adds the timeout to the delete datastore params
func (*DeleteDatastoreParams) WithXRequestID ¶
func (o *DeleteDatastoreParams) WithXRequestID(xRequestID *string) *DeleteDatastoreParams
WithXRequestID adds the xRequestID to the delete datastore params
func (*DeleteDatastoreParams) WriteToRequest ¶
func (o *DeleteDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDatastoreReader ¶
type DeleteDatastoreReader struct {
// contains filtered or unexported fields
}
DeleteDatastoreReader is a Reader for the DeleteDatastore structure.
func (*DeleteDatastoreReader) ReadResponse ¶
func (o *DeleteDatastoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDatastoreUnauthorized ¶
type DeleteDatastoreUnauthorized struct {
}DeleteDatastoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewDeleteDatastoreUnauthorized ¶
func NewDeleteDatastoreUnauthorized() *DeleteDatastoreUnauthorized
NewDeleteDatastoreUnauthorized creates a DeleteDatastoreUnauthorized with default headers values
func (*DeleteDatastoreUnauthorized) Error ¶
func (o *DeleteDatastoreUnauthorized) Error() string
func (*DeleteDatastoreUnauthorized) GetPayload ¶
func (o *DeleteDatastoreUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreByNameForbidden ¶
type GetDatastoreByNameForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreByNameForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetDatastoreByNameForbidden ¶
func NewGetDatastoreByNameForbidden() *GetDatastoreByNameForbidden
NewGetDatastoreByNameForbidden creates a GetDatastoreByNameForbidden with default headers values
func (*GetDatastoreByNameForbidden) Error ¶
func (o *GetDatastoreByNameForbidden) Error() string
func (*GetDatastoreByNameForbidden) GetPayload ¶
func (o *GetDatastoreByNameForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreByNameGatewayTimeout ¶
type GetDatastoreByNameGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreByNameGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetDatastoreByNameGatewayTimeout ¶
func NewGetDatastoreByNameGatewayTimeout() *GetDatastoreByNameGatewayTimeout
NewGetDatastoreByNameGatewayTimeout creates a GetDatastoreByNameGatewayTimeout with default headers values
func (*GetDatastoreByNameGatewayTimeout) Error ¶
func (o *GetDatastoreByNameGatewayTimeout) Error() string
func (*GetDatastoreByNameGatewayTimeout) GetPayload ¶
func (o *GetDatastoreByNameGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreByNameInternalServerError ¶
type GetDatastoreByNameInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreByNameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetDatastoreByNameInternalServerError ¶
func NewGetDatastoreByNameInternalServerError() *GetDatastoreByNameInternalServerError
NewGetDatastoreByNameInternalServerError creates a GetDatastoreByNameInternalServerError with default headers values
func (*GetDatastoreByNameInternalServerError) Error ¶
func (o *GetDatastoreByNameInternalServerError) Error() string
func (*GetDatastoreByNameInternalServerError) GetPayload ¶
func (o *GetDatastoreByNameInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreByNameNotFound ¶
type GetDatastoreByNameNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreByNameNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetDatastoreByNameNotFound ¶
func NewGetDatastoreByNameNotFound() *GetDatastoreByNameNotFound
NewGetDatastoreByNameNotFound creates a GetDatastoreByNameNotFound with default headers values
func (*GetDatastoreByNameNotFound) Error ¶
func (o *GetDatastoreByNameNotFound) Error() string
func (*GetDatastoreByNameNotFound) GetPayload ¶
func (o *GetDatastoreByNameNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreByNameOK ¶
type GetDatastoreByNameOK struct {
Payload *swagger_models.DatastoreInfo
}
GetDatastoreByNameOK describes a response with status code 200, with default header values.
A successful response.
func NewGetDatastoreByNameOK ¶
func NewGetDatastoreByNameOK() *GetDatastoreByNameOK
NewGetDatastoreByNameOK creates a GetDatastoreByNameOK with default headers values
func (*GetDatastoreByNameOK) Error ¶
func (o *GetDatastoreByNameOK) Error() string
func (*GetDatastoreByNameOK) GetPayload ¶
func (o *GetDatastoreByNameOK) GetPayload() *swagger_models.DatastoreInfo
type GetDatastoreByNameParams ¶
type GetDatastoreByNameParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* Name. User defined name of the datastore, unique across the enterprise. Once datastore is created, name can’t be changed. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatastoreByNameParams contains all the parameters to send to the API endpoint
for the get datastore by name operation. Typically these are written to a http.Request.
func NewGetDatastoreByNameParams ¶
func NewGetDatastoreByNameParams() *GetDatastoreByNameParams
NewGetDatastoreByNameParams creates a new GetDatastoreByNameParams 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 NewGetDatastoreByNameParamsWithContext ¶
func NewGetDatastoreByNameParamsWithContext(ctx context.Context) *GetDatastoreByNameParams
NewGetDatastoreByNameParamsWithContext creates a new GetDatastoreByNameParams object with the ability to set a context for a request.
func NewGetDatastoreByNameParamsWithHTTPClient ¶
func NewGetDatastoreByNameParamsWithHTTPClient(client *http.Client) *GetDatastoreByNameParams
NewGetDatastoreByNameParamsWithHTTPClient creates a new GetDatastoreByNameParams object with the ability to set a custom HTTPClient for a request.
func NewGetDatastoreByNameParamsWithTimeout ¶
func NewGetDatastoreByNameParamsWithTimeout(timeout time.Duration) *GetDatastoreByNameParams
NewGetDatastoreByNameParamsWithTimeout creates a new GetDatastoreByNameParams object with the ability to set a timeout on a request.
func (*GetDatastoreByNameParams) SetContext ¶
func (o *GetDatastoreByNameParams) SetContext(ctx context.Context)
SetContext adds the context to the get datastore by name params
func (*GetDatastoreByNameParams) SetDefaults ¶
func (o *GetDatastoreByNameParams) SetDefaults()
SetDefaults hydrates default values in the get datastore by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatastoreByNameParams) SetHTTPClient ¶
func (o *GetDatastoreByNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datastore by name params
func (*GetDatastoreByNameParams) SetName ¶
func (o *GetDatastoreByNameParams) SetName(name string)
SetName adds the name to the get datastore by name params
func (*GetDatastoreByNameParams) SetTimeout ¶
func (o *GetDatastoreByNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datastore by name params
func (*GetDatastoreByNameParams) SetXRequestID ¶
func (o *GetDatastoreByNameParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get datastore by name params
func (*GetDatastoreByNameParams) WithContext ¶
func (o *GetDatastoreByNameParams) WithContext(ctx context.Context) *GetDatastoreByNameParams
WithContext adds the context to the get datastore by name params
func (*GetDatastoreByNameParams) WithDefaults ¶
func (o *GetDatastoreByNameParams) WithDefaults() *GetDatastoreByNameParams
WithDefaults hydrates default values in the get datastore by name params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatastoreByNameParams) WithHTTPClient ¶
func (o *GetDatastoreByNameParams) WithHTTPClient(client *http.Client) *GetDatastoreByNameParams
WithHTTPClient adds the HTTPClient to the get datastore by name params
func (*GetDatastoreByNameParams) WithName ¶
func (o *GetDatastoreByNameParams) WithName(name string) *GetDatastoreByNameParams
WithName adds the name to the get datastore by name params
func (*GetDatastoreByNameParams) WithTimeout ¶
func (o *GetDatastoreByNameParams) WithTimeout(timeout time.Duration) *GetDatastoreByNameParams
WithTimeout adds the timeout to the get datastore by name params
func (*GetDatastoreByNameParams) WithXRequestID ¶
func (o *GetDatastoreByNameParams) WithXRequestID(xRequestID *string) *GetDatastoreByNameParams
WithXRequestID adds the xRequestID to the get datastore by name params
func (*GetDatastoreByNameParams) WriteToRequest ¶
func (o *GetDatastoreByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatastoreByNameReader ¶
type GetDatastoreByNameReader struct {
// contains filtered or unexported fields
}
GetDatastoreByNameReader is a Reader for the GetDatastoreByName structure.
func (*GetDatastoreByNameReader) ReadResponse ¶
func (o *GetDatastoreByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatastoreByNameUnauthorized ¶
type GetDatastoreByNameUnauthorized struct {
}GetDatastoreByNameUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetDatastoreByNameUnauthorized ¶
func NewGetDatastoreByNameUnauthorized() *GetDatastoreByNameUnauthorized
NewGetDatastoreByNameUnauthorized creates a GetDatastoreByNameUnauthorized with default headers values
func (*GetDatastoreByNameUnauthorized) Error ¶
func (o *GetDatastoreByNameUnauthorized) Error() string
func (*GetDatastoreByNameUnauthorized) GetPayload ¶
func (o *GetDatastoreByNameUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreForbidden ¶
type GetDatastoreForbidden struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewGetDatastoreForbidden ¶
func NewGetDatastoreForbidden() *GetDatastoreForbidden
NewGetDatastoreForbidden creates a GetDatastoreForbidden with default headers values
func (*GetDatastoreForbidden) Error ¶
func (o *GetDatastoreForbidden) Error() string
func (*GetDatastoreForbidden) GetPayload ¶
func (o *GetDatastoreForbidden) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreGatewayTimeout ¶
type GetDatastoreGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewGetDatastoreGatewayTimeout ¶
func NewGetDatastoreGatewayTimeout() *GetDatastoreGatewayTimeout
NewGetDatastoreGatewayTimeout creates a GetDatastoreGatewayTimeout with default headers values
func (*GetDatastoreGatewayTimeout) Error ¶
func (o *GetDatastoreGatewayTimeout) Error() string
func (*GetDatastoreGatewayTimeout) GetPayload ¶
func (o *GetDatastoreGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreInternalServerError ¶
type GetDatastoreInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewGetDatastoreInternalServerError ¶
func NewGetDatastoreInternalServerError() *GetDatastoreInternalServerError
NewGetDatastoreInternalServerError creates a GetDatastoreInternalServerError with default headers values
func (*GetDatastoreInternalServerError) Error ¶
func (o *GetDatastoreInternalServerError) Error() string
func (*GetDatastoreInternalServerError) GetPayload ¶
func (o *GetDatastoreInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreNotFound ¶
type GetDatastoreNotFound struct {
Payload *swagger_models.ZsrvResponse
}
GetDatastoreNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewGetDatastoreNotFound ¶
func NewGetDatastoreNotFound() *GetDatastoreNotFound
NewGetDatastoreNotFound creates a GetDatastoreNotFound with default headers values
func (*GetDatastoreNotFound) Error ¶
func (o *GetDatastoreNotFound) Error() string
func (*GetDatastoreNotFound) GetPayload ¶
func (o *GetDatastoreNotFound) GetPayload() *swagger_models.ZsrvResponse
type GetDatastoreOK ¶
type GetDatastoreOK struct {
Payload *swagger_models.DatastoreInfo
}
GetDatastoreOK describes a response with status code 200, with default header values.
A successful response.
func NewGetDatastoreOK ¶
func NewGetDatastoreOK() *GetDatastoreOK
NewGetDatastoreOK creates a GetDatastoreOK with default headers values
func (*GetDatastoreOK) Error ¶
func (o *GetDatastoreOK) Error() string
func (*GetDatastoreOK) GetPayload ¶
func (o *GetDatastoreOK) GetPayload() *swagger_models.DatastoreInfo
type GetDatastoreParams ¶
type GetDatastoreParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* ID. System defined universally unique Id of the datastore */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDatastoreParams contains all the parameters to send to the API endpoint
for the get datastore operation. Typically these are written to a http.Request.
func NewGetDatastoreParams ¶
func NewGetDatastoreParams() *GetDatastoreParams
NewGetDatastoreParams creates a new GetDatastoreParams 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 NewGetDatastoreParamsWithContext ¶
func NewGetDatastoreParamsWithContext(ctx context.Context) *GetDatastoreParams
NewGetDatastoreParamsWithContext creates a new GetDatastoreParams object with the ability to set a context for a request.
func NewGetDatastoreParamsWithHTTPClient ¶
func NewGetDatastoreParamsWithHTTPClient(client *http.Client) *GetDatastoreParams
NewGetDatastoreParamsWithHTTPClient creates a new GetDatastoreParams object with the ability to set a custom HTTPClient for a request.
func NewGetDatastoreParamsWithTimeout ¶
func NewGetDatastoreParamsWithTimeout(timeout time.Duration) *GetDatastoreParams
NewGetDatastoreParamsWithTimeout creates a new GetDatastoreParams object with the ability to set a timeout on a request.
func (*GetDatastoreParams) SetContext ¶
func (o *GetDatastoreParams) SetContext(ctx context.Context)
SetContext adds the context to the get datastore params
func (*GetDatastoreParams) SetDefaults ¶
func (o *GetDatastoreParams) SetDefaults()
SetDefaults hydrates default values in the get datastore params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatastoreParams) SetHTTPClient ¶
func (o *GetDatastoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get datastore params
func (*GetDatastoreParams) SetID ¶
func (o *GetDatastoreParams) SetID(id string)
SetID adds the id to the get datastore params
func (*GetDatastoreParams) SetTimeout ¶
func (o *GetDatastoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get datastore params
func (*GetDatastoreParams) SetXRequestID ¶
func (o *GetDatastoreParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get datastore params
func (*GetDatastoreParams) WithContext ¶
func (o *GetDatastoreParams) WithContext(ctx context.Context) *GetDatastoreParams
WithContext adds the context to the get datastore params
func (*GetDatastoreParams) WithDefaults ¶
func (o *GetDatastoreParams) WithDefaults() *GetDatastoreParams
WithDefaults hydrates default values in the get datastore params (not the query body).
All values with no default are reset to their zero value.
func (*GetDatastoreParams) WithHTTPClient ¶
func (o *GetDatastoreParams) WithHTTPClient(client *http.Client) *GetDatastoreParams
WithHTTPClient adds the HTTPClient to the get datastore params
func (*GetDatastoreParams) WithID ¶
func (o *GetDatastoreParams) WithID(id string) *GetDatastoreParams
WithID adds the id to the get datastore params
func (*GetDatastoreParams) WithTimeout ¶
func (o *GetDatastoreParams) WithTimeout(timeout time.Duration) *GetDatastoreParams
WithTimeout adds the timeout to the get datastore params
func (*GetDatastoreParams) WithXRequestID ¶
func (o *GetDatastoreParams) WithXRequestID(xRequestID *string) *GetDatastoreParams
WithXRequestID adds the xRequestID to the get datastore params
func (*GetDatastoreParams) WriteToRequest ¶
func (o *GetDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDatastoreReader ¶
type GetDatastoreReader struct {
// contains filtered or unexported fields
}
GetDatastoreReader is a Reader for the GetDatastore structure.
func (*GetDatastoreReader) ReadResponse ¶
func (o *GetDatastoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDatastoreUnauthorized ¶
type GetDatastoreUnauthorized struct {
}GetDatastoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewGetDatastoreUnauthorized ¶
func NewGetDatastoreUnauthorized() *GetDatastoreUnauthorized
NewGetDatastoreUnauthorized creates a GetDatastoreUnauthorized with default headers values
func (*GetDatastoreUnauthorized) Error ¶
func (o *GetDatastoreUnauthorized) Error() string
func (*GetDatastoreUnauthorized) GetPayload ¶
func (o *GetDatastoreUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type QueryDatastoresBadRequest ¶
type QueryDatastoresBadRequest struct {
Payload *swagger_models.ZsrvResponse
}
QueryDatastoresBadRequest describes a response with status code 400, with default header values.
Bad Request. The API gateway did not process the request because of invalid value of filter parameters.
func NewQueryDatastoresBadRequest ¶
func NewQueryDatastoresBadRequest() *QueryDatastoresBadRequest
NewQueryDatastoresBadRequest creates a QueryDatastoresBadRequest with default headers values
func (*QueryDatastoresBadRequest) Error ¶
func (o *QueryDatastoresBadRequest) Error() string
func (*QueryDatastoresBadRequest) GetPayload ¶
func (o *QueryDatastoresBadRequest) GetPayload() *swagger_models.ZsrvResponse
type QueryDatastoresForbidden ¶
type QueryDatastoresForbidden struct {
Payload *swagger_models.ZsrvResponse
}
QueryDatastoresForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewQueryDatastoresForbidden ¶
func NewQueryDatastoresForbidden() *QueryDatastoresForbidden
NewQueryDatastoresForbidden creates a QueryDatastoresForbidden with default headers values
func (*QueryDatastoresForbidden) Error ¶
func (o *QueryDatastoresForbidden) Error() string
func (*QueryDatastoresForbidden) GetPayload ¶
func (o *QueryDatastoresForbidden) GetPayload() *swagger_models.ZsrvResponse
type QueryDatastoresGatewayTimeout ¶
type QueryDatastoresGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
QueryDatastoresGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewQueryDatastoresGatewayTimeout ¶
func NewQueryDatastoresGatewayTimeout() *QueryDatastoresGatewayTimeout
NewQueryDatastoresGatewayTimeout creates a QueryDatastoresGatewayTimeout with default headers values
func (*QueryDatastoresGatewayTimeout) Error ¶
func (o *QueryDatastoresGatewayTimeout) Error() string
func (*QueryDatastoresGatewayTimeout) GetPayload ¶
func (o *QueryDatastoresGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type QueryDatastoresInternalServerError ¶
type QueryDatastoresInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
QueryDatastoresInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewQueryDatastoresInternalServerError ¶
func NewQueryDatastoresInternalServerError() *QueryDatastoresInternalServerError
NewQueryDatastoresInternalServerError creates a QueryDatastoresInternalServerError with default headers values
func (*QueryDatastoresInternalServerError) Error ¶
func (o *QueryDatastoresInternalServerError) Error() string
func (*QueryDatastoresInternalServerError) GetPayload ¶
func (o *QueryDatastoresInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type QueryDatastoresOK ¶
type QueryDatastoresOK struct {
Payload *swagger_models.Datastores
}
QueryDatastoresOK describes a response with status code 200, with default header values.
A successful response.
func NewQueryDatastoresOK ¶
func NewQueryDatastoresOK() *QueryDatastoresOK
NewQueryDatastoresOK creates a QueryDatastoresOK with default headers values
func (*QueryDatastoresOK) Error ¶
func (o *QueryDatastoresOK) Error() string
func (*QueryDatastoresOK) GetPayload ¶
func (o *QueryDatastoresOK) GetPayload() *swagger_models.Datastores
type QueryDatastoresParams ¶
type QueryDatastoresParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string /* FilterDsType. Datastore type to be matched - DATASTORE_TYPE_HTTP: Datastore hosted on HTTP server - DATASTORE_TYPE_HTTPS: Datastore hosted on HTTPS server - DATASTORE_TYPE_AWSS3: Datastore hosted on AWS S3 - DATASTORE_TYPE_SFTP: Datastore hosted on SFTP server - DATASTORE_TYPE_CONTAINERREGISTRY: Datastore hosted on Container Registry (e.g. Dockerhub, Azure Container Registry etc.) - DATASTORE_TYPE_AZUREBLOB: Datastore hosted on Azure BlobStorage - DATASTORE_TYPE_ZEDEDAS3: ZEDEDA Owned and Operated datastore hosted on AWS S3 - DATASTORE_TYPE_ZEDEDABLOB: ZEDEDA Owned and Operated datastore hosted on Azure BlobStorage - DATASTORE_TYPE_FILE_STORAGE: Datastore hosted on File Storage (e.g. HTTP, HTTPS, AWS S3, SFTP, Azure Blob, etc.) Default: "DATASTORE_TYPE_UNSPECIFIED" */ FilterDsType *string /* FilterNamePattern. Datastore name pattern to be matched. */ FilterNamePattern *string /* NextOrderBy. OrderBy helps in sorting the list response */ NextOrderBy *string /* NextPageNum. Page Number Format: int64 */ NextPageNum *int64 /* NextPageSize. Defines the page size Format: int64 */ NextPageSize *int64 /* NextPageToken. Page Token */ NextPageToken *string /* NextTotalPages. Total number of pages to be fetched. Format: int64 */ NextTotalPages *int64 /* Summary. Only summary of the records required Format: boolean */ Summary *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryDatastoresParams contains all the parameters to send to the API endpoint
for the query datastores operation. Typically these are written to a http.Request.
func NewQueryDatastoresParams ¶
func NewQueryDatastoresParams() *QueryDatastoresParams
NewQueryDatastoresParams creates a new QueryDatastoresParams 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 NewQueryDatastoresParamsWithContext ¶
func NewQueryDatastoresParamsWithContext(ctx context.Context) *QueryDatastoresParams
NewQueryDatastoresParamsWithContext creates a new QueryDatastoresParams object with the ability to set a context for a request.
func NewQueryDatastoresParamsWithHTTPClient ¶
func NewQueryDatastoresParamsWithHTTPClient(client *http.Client) *QueryDatastoresParams
NewQueryDatastoresParamsWithHTTPClient creates a new QueryDatastoresParams object with the ability to set a custom HTTPClient for a request.
func NewQueryDatastoresParamsWithTimeout ¶
func NewQueryDatastoresParamsWithTimeout(timeout time.Duration) *QueryDatastoresParams
NewQueryDatastoresParamsWithTimeout creates a new QueryDatastoresParams object with the ability to set a timeout on a request.
func (*QueryDatastoresParams) SetContext ¶
func (o *QueryDatastoresParams) SetContext(ctx context.Context)
SetContext adds the context to the query datastores params
func (*QueryDatastoresParams) SetDefaults ¶
func (o *QueryDatastoresParams) SetDefaults()
SetDefaults hydrates default values in the query datastores params (not the query body).
All values with no default are reset to their zero value.
func (*QueryDatastoresParams) SetFilterDsType ¶
func (o *QueryDatastoresParams) SetFilterDsType(filterDsType *string)
SetFilterDsType adds the filterDsType to the query datastores params
func (*QueryDatastoresParams) SetFilterNamePattern ¶
func (o *QueryDatastoresParams) SetFilterNamePattern(filterNamePattern *string)
SetFilterNamePattern adds the filterNamePattern to the query datastores params
func (*QueryDatastoresParams) SetHTTPClient ¶
func (o *QueryDatastoresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query datastores params
func (*QueryDatastoresParams) SetNextOrderBy ¶
func (o *QueryDatastoresParams) SetNextOrderBy(nextOrderBy *string)
SetNextOrderBy adds the nextOrderBy to the query datastores params
func (*QueryDatastoresParams) SetNextPageNum ¶
func (o *QueryDatastoresParams) SetNextPageNum(nextPageNum *int64)
SetNextPageNum adds the nextPageNum to the query datastores params
func (*QueryDatastoresParams) SetNextPageSize ¶
func (o *QueryDatastoresParams) SetNextPageSize(nextPageSize *int64)
SetNextPageSize adds the nextPageSize to the query datastores params
func (*QueryDatastoresParams) SetNextPageToken ¶
func (o *QueryDatastoresParams) SetNextPageToken(nextPageToken *string)
SetNextPageToken adds the nextPageToken to the query datastores params
func (*QueryDatastoresParams) SetNextTotalPages ¶
func (o *QueryDatastoresParams) SetNextTotalPages(nextTotalPages *int64)
SetNextTotalPages adds the nextTotalPages to the query datastores params
func (*QueryDatastoresParams) SetSummary ¶
func (o *QueryDatastoresParams) SetSummary(summary *bool)
SetSummary adds the summary to the query datastores params
func (*QueryDatastoresParams) SetTimeout ¶
func (o *QueryDatastoresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query datastores params
func (*QueryDatastoresParams) SetXRequestID ¶
func (o *QueryDatastoresParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the query datastores params
func (*QueryDatastoresParams) WithContext ¶
func (o *QueryDatastoresParams) WithContext(ctx context.Context) *QueryDatastoresParams
WithContext adds the context to the query datastores params
func (*QueryDatastoresParams) WithDefaults ¶
func (o *QueryDatastoresParams) WithDefaults() *QueryDatastoresParams
WithDefaults hydrates default values in the query datastores params (not the query body).
All values with no default are reset to their zero value.
func (*QueryDatastoresParams) WithFilterDsType ¶
func (o *QueryDatastoresParams) WithFilterDsType(filterDsType *string) *QueryDatastoresParams
WithFilterDsType adds the filterDsType to the query datastores params
func (*QueryDatastoresParams) WithFilterNamePattern ¶
func (o *QueryDatastoresParams) WithFilterNamePattern(filterNamePattern *string) *QueryDatastoresParams
WithFilterNamePattern adds the filterNamePattern to the query datastores params
func (*QueryDatastoresParams) WithHTTPClient ¶
func (o *QueryDatastoresParams) WithHTTPClient(client *http.Client) *QueryDatastoresParams
WithHTTPClient adds the HTTPClient to the query datastores params
func (*QueryDatastoresParams) WithNextOrderBy ¶
func (o *QueryDatastoresParams) WithNextOrderBy(nextOrderBy *string) *QueryDatastoresParams
WithNextOrderBy adds the nextOrderBy to the query datastores params
func (*QueryDatastoresParams) WithNextPageNum ¶
func (o *QueryDatastoresParams) WithNextPageNum(nextPageNum *int64) *QueryDatastoresParams
WithNextPageNum adds the nextPageNum to the query datastores params
func (*QueryDatastoresParams) WithNextPageSize ¶
func (o *QueryDatastoresParams) WithNextPageSize(nextPageSize *int64) *QueryDatastoresParams
WithNextPageSize adds the nextPageSize to the query datastores params
func (*QueryDatastoresParams) WithNextPageToken ¶
func (o *QueryDatastoresParams) WithNextPageToken(nextPageToken *string) *QueryDatastoresParams
WithNextPageToken adds the nextPageToken to the query datastores params
func (*QueryDatastoresParams) WithNextTotalPages ¶
func (o *QueryDatastoresParams) WithNextTotalPages(nextTotalPages *int64) *QueryDatastoresParams
WithNextTotalPages adds the nextTotalPages to the query datastores params
func (*QueryDatastoresParams) WithSummary ¶
func (o *QueryDatastoresParams) WithSummary(summary *bool) *QueryDatastoresParams
WithSummary adds the summary to the query datastores params
func (*QueryDatastoresParams) WithTimeout ¶
func (o *QueryDatastoresParams) WithTimeout(timeout time.Duration) *QueryDatastoresParams
WithTimeout adds the timeout to the query datastores params
func (*QueryDatastoresParams) WithXRequestID ¶
func (o *QueryDatastoresParams) WithXRequestID(xRequestID *string) *QueryDatastoresParams
WithXRequestID adds the xRequestID to the query datastores params
func (*QueryDatastoresParams) WriteToRequest ¶
func (o *QueryDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryDatastoresReader ¶
type QueryDatastoresReader struct {
// contains filtered or unexported fields
}
QueryDatastoresReader is a Reader for the QueryDatastores structure.
func (*QueryDatastoresReader) ReadResponse ¶
func (o *QueryDatastoresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryDatastoresUnauthorized ¶
type QueryDatastoresUnauthorized struct {
}QueryDatastoresUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewQueryDatastoresUnauthorized ¶
func NewQueryDatastoresUnauthorized() *QueryDatastoresUnauthorized
NewQueryDatastoresUnauthorized creates a QueryDatastoresUnauthorized with default headers values
func (*QueryDatastoresUnauthorized) Error ¶
func (o *QueryDatastoresUnauthorized) Error() string
func (*QueryDatastoresUnauthorized) GetPayload ¶
func (o *QueryDatastoresUnauthorized) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreConflict ¶
type UpdateDatastoreConflict struct {
Payload *swagger_models.ZsrvResponse
}
UpdateDatastoreConflict describes a response with status code 409, with default header values.
Conflict. The API gateway did not process the request because this operation will conflict with an already existing datastore record.
func NewUpdateDatastoreConflict ¶
func NewUpdateDatastoreConflict() *UpdateDatastoreConflict
NewUpdateDatastoreConflict creates a UpdateDatastoreConflict with default headers values
func (*UpdateDatastoreConflict) Error ¶
func (o *UpdateDatastoreConflict) Error() string
func (*UpdateDatastoreConflict) GetPayload ¶
func (o *UpdateDatastoreConflict) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreForbidden ¶
type UpdateDatastoreForbidden struct {
Payload *swagger_models.ZsrvResponse
}
UpdateDatastoreForbidden describes a response with status code 403, with default header values.
Forbidden. The API gateway did not process the request because the requestor does not have edge-node level access permission for the operation or does not have access scope to the project.
func NewUpdateDatastoreForbidden ¶
func NewUpdateDatastoreForbidden() *UpdateDatastoreForbidden
NewUpdateDatastoreForbidden creates a UpdateDatastoreForbidden with default headers values
func (*UpdateDatastoreForbidden) Error ¶
func (o *UpdateDatastoreForbidden) Error() string
func (*UpdateDatastoreForbidden) GetPayload ¶
func (o *UpdateDatastoreForbidden) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreGatewayTimeout ¶
type UpdateDatastoreGatewayTimeout struct {
Payload *swagger_models.ZsrvResponse
}
UpdateDatastoreGatewayTimeout describes a response with status code 504, with default header values.
Gateway Timeout. The API gateway did not receive a timely response from an upstream microservice it needed to communicate with in order to complete the request.
func NewUpdateDatastoreGatewayTimeout ¶
func NewUpdateDatastoreGatewayTimeout() *UpdateDatastoreGatewayTimeout
NewUpdateDatastoreGatewayTimeout creates a UpdateDatastoreGatewayTimeout with default headers values
func (*UpdateDatastoreGatewayTimeout) Error ¶
func (o *UpdateDatastoreGatewayTimeout) Error() string
func (*UpdateDatastoreGatewayTimeout) GetPayload ¶
func (o *UpdateDatastoreGatewayTimeout) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreInternalServerError ¶
type UpdateDatastoreInternalServerError struct {
Payload *swagger_models.ZsrvResponse
}
UpdateDatastoreInternalServerError describes a response with status code 500, with default header values.
Internal Server Error. The API gateway experienced an unexpected condition. Specific error condition is indicated in error codes.
func NewUpdateDatastoreInternalServerError ¶
func NewUpdateDatastoreInternalServerError() *UpdateDatastoreInternalServerError
NewUpdateDatastoreInternalServerError creates a UpdateDatastoreInternalServerError with default headers values
func (*UpdateDatastoreInternalServerError) Error ¶
func (o *UpdateDatastoreInternalServerError) Error() string
func (*UpdateDatastoreInternalServerError) GetPayload ¶
func (o *UpdateDatastoreInternalServerError) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreNotFound ¶
type UpdateDatastoreNotFound struct {
Payload *swagger_models.ZsrvResponse
}
UpdateDatastoreNotFound describes a response with status code 404, with default header values.
Not Found. The API gateway did not process the request because the requested resource could not be found.
func NewUpdateDatastoreNotFound ¶
func NewUpdateDatastoreNotFound() *UpdateDatastoreNotFound
NewUpdateDatastoreNotFound creates a UpdateDatastoreNotFound with default headers values
func (*UpdateDatastoreNotFound) Error ¶
func (o *UpdateDatastoreNotFound) Error() string
func (*UpdateDatastoreNotFound) GetPayload ¶
func (o *UpdateDatastoreNotFound) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreOK ¶
type UpdateDatastoreOK struct {
Payload *swagger_models.ZsrvResponse
}
UpdateDatastoreOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateDatastoreOK ¶
func NewUpdateDatastoreOK() *UpdateDatastoreOK
NewUpdateDatastoreOK creates a UpdateDatastoreOK with default headers values
func (*UpdateDatastoreOK) Error ¶
func (o *UpdateDatastoreOK) Error() string
func (*UpdateDatastoreOK) GetPayload ¶
func (o *UpdateDatastoreOK) GetPayload() *swagger_models.ZsrvResponse
type UpdateDatastoreParams ¶
type UpdateDatastoreParams struct { /* XRequestID. User-Agent specified id to track a request */ XRequestID *string // Body. Body *swagger_models.DatastoreInfo /* ID. System defined universally unique Id of the datastore. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDatastoreParams contains all the parameters to send to the API endpoint
for the update datastore operation. Typically these are written to a http.Request.
func NewUpdateDatastoreParams ¶
func NewUpdateDatastoreParams() *UpdateDatastoreParams
NewUpdateDatastoreParams creates a new UpdateDatastoreParams 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 NewUpdateDatastoreParamsWithContext ¶
func NewUpdateDatastoreParamsWithContext(ctx context.Context) *UpdateDatastoreParams
NewUpdateDatastoreParamsWithContext creates a new UpdateDatastoreParams object with the ability to set a context for a request.
func NewUpdateDatastoreParamsWithHTTPClient ¶
func NewUpdateDatastoreParamsWithHTTPClient(client *http.Client) *UpdateDatastoreParams
NewUpdateDatastoreParamsWithHTTPClient creates a new UpdateDatastoreParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDatastoreParamsWithTimeout ¶
func NewUpdateDatastoreParamsWithTimeout(timeout time.Duration) *UpdateDatastoreParams
NewUpdateDatastoreParamsWithTimeout creates a new UpdateDatastoreParams object with the ability to set a timeout on a request.
func (*UpdateDatastoreParams) SetBody ¶
func (o *UpdateDatastoreParams) SetBody(body *swagger_models.DatastoreInfo)
SetBody adds the body to the update datastore params
func (*UpdateDatastoreParams) SetContext ¶
func (o *UpdateDatastoreParams) SetContext(ctx context.Context)
SetContext adds the context to the update datastore params
func (*UpdateDatastoreParams) SetDefaults ¶
func (o *UpdateDatastoreParams) SetDefaults()
SetDefaults hydrates default values in the update datastore params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatastoreParams) SetHTTPClient ¶
func (o *UpdateDatastoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update datastore params
func (*UpdateDatastoreParams) SetID ¶
func (o *UpdateDatastoreParams) SetID(id string)
SetID adds the id to the update datastore params
func (*UpdateDatastoreParams) SetTimeout ¶
func (o *UpdateDatastoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update datastore params
func (*UpdateDatastoreParams) SetXRequestID ¶
func (o *UpdateDatastoreParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update datastore params
func (*UpdateDatastoreParams) WithBody ¶
func (o *UpdateDatastoreParams) WithBody(body *swagger_models.DatastoreInfo) *UpdateDatastoreParams
WithBody adds the body to the update datastore params
func (*UpdateDatastoreParams) WithContext ¶
func (o *UpdateDatastoreParams) WithContext(ctx context.Context) *UpdateDatastoreParams
WithContext adds the context to the update datastore params
func (*UpdateDatastoreParams) WithDefaults ¶
func (o *UpdateDatastoreParams) WithDefaults() *UpdateDatastoreParams
WithDefaults hydrates default values in the update datastore params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDatastoreParams) WithHTTPClient ¶
func (o *UpdateDatastoreParams) WithHTTPClient(client *http.Client) *UpdateDatastoreParams
WithHTTPClient adds the HTTPClient to the update datastore params
func (*UpdateDatastoreParams) WithID ¶
func (o *UpdateDatastoreParams) WithID(id string) *UpdateDatastoreParams
WithID adds the id to the update datastore params
func (*UpdateDatastoreParams) WithTimeout ¶
func (o *UpdateDatastoreParams) WithTimeout(timeout time.Duration) *UpdateDatastoreParams
WithTimeout adds the timeout to the update datastore params
func (*UpdateDatastoreParams) WithXRequestID ¶
func (o *UpdateDatastoreParams) WithXRequestID(xRequestID *string) *UpdateDatastoreParams
WithXRequestID adds the xRequestID to the update datastore params
func (*UpdateDatastoreParams) WriteToRequest ¶
func (o *UpdateDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDatastoreReader ¶
type UpdateDatastoreReader struct {
// contains filtered or unexported fields
}
UpdateDatastoreReader is a Reader for the UpdateDatastore structure.
func (*UpdateDatastoreReader) ReadResponse ¶
func (o *UpdateDatastoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDatastoreUnauthorized ¶
type UpdateDatastoreUnauthorized struct {
}UpdateDatastoreUnauthorized describes a response with status code 401, with default header values.
Unauthorized. The API gateway did not process the request because it lacks valid authentication credentials for the target resource. The request header has either no authorization details or an authorization that has been refused.
func NewUpdateDatastoreUnauthorized ¶
func NewUpdateDatastoreUnauthorized() *UpdateDatastoreUnauthorized
NewUpdateDatastoreUnauthorized creates a UpdateDatastoreUnauthorized with default headers values
func (*UpdateDatastoreUnauthorized) Error ¶
func (o *UpdateDatastoreUnauthorized) Error() string
func (*UpdateDatastoreUnauthorized) GetPayload ¶
func (o *UpdateDatastoreUnauthorized) GetPayload() *swagger_models.ZsrvResponse
Source Files
¶
- create_datastore_parameters.go
- create_datastore_responses.go
- datastore_configuration_client.go
- delete_datastore_parameters.go
- delete_datastore_responses.go
- get_datastore_by_name_parameters.go
- get_datastore_by_name_responses.go
- get_datastore_parameters.go
- get_datastore_responses.go
- query_datastores_parameters.go
- query_datastores_responses.go
- update_datastore_parameters.go
- update_datastore_responses.go