datastore_configuration

package
v0.0.3-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

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 (*CreateDatastoreGatewayTimeout) GetPayload

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 (*CreateDatastoreInternalServerError) GetPayload

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

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

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

WithBody adds the body to the create datastore params

func (*CreateDatastoreParams) WithContext

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*CreateDatastoreUnauthorized) GetPayload

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

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

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 (*DeleteDatastoreGatewayTimeout) GetPayload

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 (*DeleteDatastoreInternalServerError) GetPayload

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

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

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

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*DeleteDatastoreUnauthorized) GetPayload

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 (*GetDatastoreByNameForbidden) GetPayload

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 (*GetDatastoreByNameGatewayTimeout) GetPayload

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 (*GetDatastoreByNameInternalServerError) GetPayload

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 (*GetDatastoreByNameNotFound) GetPayload

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

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

WithContext adds the context to the get datastore by name params

func (*GetDatastoreByNameParams) WithDefaults

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

WithName adds the name to the get datastore by name params

func (*GetDatastoreByNameParams) WithTimeout

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*GetDatastoreByNameUnauthorized) GetPayload

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

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 (*GetDatastoreGatewayTimeout) GetPayload

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 (*GetDatastoreInternalServerError) GetPayload

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

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

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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

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

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

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 (*QueryDatastoresGatewayTimeout) GetPayload

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 (*QueryDatastoresInternalServerError) GetPayload

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*QueryDatastoresUnauthorized) GetPayload

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

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

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 (*UpdateDatastoreGatewayTimeout) GetPayload

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 (*UpdateDatastoreInternalServerError) GetPayload

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

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

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

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

WithBody adds the body to the update datastore params

func (*UpdateDatastoreParams) WithContext

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

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 {
	Payload *swagger_models.ZsrvResponse
}
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 (*UpdateDatastoreUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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