admin_chaining_operations

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminCreateChainingOperationsBadRequest

type AdminCreateChainingOperationsBadRequest struct {
	Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}

AdminCreateChainingOperationsBadRequest handles this case with default header values.

Bad Request

func NewAdminCreateChainingOperationsBadRequest

func NewAdminCreateChainingOperationsBadRequest() *AdminCreateChainingOperationsBadRequest

NewAdminCreateChainingOperationsBadRequest creates a AdminCreateChainingOperationsBadRequest with default headers values

func (*AdminCreateChainingOperationsBadRequest) Error

func (*AdminCreateChainingOperationsBadRequest) GetPayload

func (*AdminCreateChainingOperationsBadRequest) ToJSONString

type AdminCreateChainingOperationsForbidden

type AdminCreateChainingOperationsForbidden struct {
	Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}

AdminCreateChainingOperationsForbidden handles this case with default header values.

Forbidden

func NewAdminCreateChainingOperationsForbidden

func NewAdminCreateChainingOperationsForbidden() *AdminCreateChainingOperationsForbidden

NewAdminCreateChainingOperationsForbidden creates a AdminCreateChainingOperationsForbidden with default headers values

func (*AdminCreateChainingOperationsForbidden) Error

func (*AdminCreateChainingOperationsForbidden) GetPayload

func (*AdminCreateChainingOperationsForbidden) ToJSONString

type AdminCreateChainingOperationsInternalServerError

type AdminCreateChainingOperationsInternalServerError struct {
	Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}

AdminCreateChainingOperationsInternalServerError handles this case with default header values.

Internal Server Error

func NewAdminCreateChainingOperationsInternalServerError

func NewAdminCreateChainingOperationsInternalServerError() *AdminCreateChainingOperationsInternalServerError

NewAdminCreateChainingOperationsInternalServerError creates a AdminCreateChainingOperationsInternalServerError with default headers values

func (*AdminCreateChainingOperationsInternalServerError) Error

func (*AdminCreateChainingOperationsInternalServerError) GetPayload

func (*AdminCreateChainingOperationsInternalServerError) ToJSONString

type AdminCreateChainingOperationsNotFound

type AdminCreateChainingOperationsNotFound struct {
	Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}

AdminCreateChainingOperationsNotFound handles this case with default header values.

Not Found

func NewAdminCreateChainingOperationsNotFound

func NewAdminCreateChainingOperationsNotFound() *AdminCreateChainingOperationsNotFound

NewAdminCreateChainingOperationsNotFound creates a AdminCreateChainingOperationsNotFound with default headers values

func (*AdminCreateChainingOperationsNotFound) Error

func (*AdminCreateChainingOperationsNotFound) GetPayload

func (*AdminCreateChainingOperationsNotFound) ToJSONString

type AdminCreateChainingOperationsOK

type AdminCreateChainingOperationsOK struct {
	Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}

AdminCreateChainingOperationsOK handles this case with default header values.

OK

func NewAdminCreateChainingOperationsOK

func NewAdminCreateChainingOperationsOK() *AdminCreateChainingOperationsOK

NewAdminCreateChainingOperationsOK creates a AdminCreateChainingOperationsOK with default headers values

func (*AdminCreateChainingOperationsOK) Error

func (*AdminCreateChainingOperationsOK) GetPayload

func (*AdminCreateChainingOperationsOK) ToJSONString

func (o *AdminCreateChainingOperationsOK) ToJSONString() string

type AdminCreateChainingOperationsParams

type AdminCreateChainingOperationsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *inventoryclientmodels.ApimodelsChainingOperationReq
	/*Namespace
	  Namespace

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

AdminCreateChainingOperationsParams contains all the parameters to send to the API endpoint for the admin create chaining operations operation typically these are written to a http.Request

func NewAdminCreateChainingOperationsParams

func NewAdminCreateChainingOperationsParams() *AdminCreateChainingOperationsParams

NewAdminCreateChainingOperationsParams creates a new AdminCreateChainingOperationsParams object with the default values initialized.

func NewAdminCreateChainingOperationsParamsWithContext

func NewAdminCreateChainingOperationsParamsWithContext(ctx context.Context) *AdminCreateChainingOperationsParams

NewAdminCreateChainingOperationsParamsWithContext creates a new AdminCreateChainingOperationsParams object with the default values initialized, and the ability to set a context for a request

func NewAdminCreateChainingOperationsParamsWithHTTPClient

func NewAdminCreateChainingOperationsParamsWithHTTPClient(client *http.Client) *AdminCreateChainingOperationsParams

NewAdminCreateChainingOperationsParamsWithHTTPClient creates a new AdminCreateChainingOperationsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAdminCreateChainingOperationsParamsWithTimeout

func NewAdminCreateChainingOperationsParamsWithTimeout(timeout time.Duration) *AdminCreateChainingOperationsParams

NewAdminCreateChainingOperationsParamsWithTimeout creates a new AdminCreateChainingOperationsParams object with the default values initialized, and the ability to set a timeout on a request

func (*AdminCreateChainingOperationsParams) SetAuthInfoWriter

func (o *AdminCreateChainingOperationsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) SetBody

SetBody adds the body to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) SetContext

SetContext adds the context to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) SetFlightId added in v0.63.0

func (o *AdminCreateChainingOperationsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminCreateChainingOperationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) SetHTTPClientTransport

func (o *AdminCreateChainingOperationsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) SetNamespace

func (o *AdminCreateChainingOperationsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) SetTimeout

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

SetTimeout adds the timeout to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) WithBody

WithBody adds the body to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) WithContext

WithContext adds the context to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) WithNamespace

WithNamespace adds the namespace to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) WithTimeout

WithTimeout adds the timeout to the admin create chaining operations params

func (*AdminCreateChainingOperationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminCreateChainingOperationsReader

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

AdminCreateChainingOperationsReader is a Reader for the AdminCreateChainingOperations structure.

func (*AdminCreateChainingOperationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminCreateChainingOperationsUnauthorized

type AdminCreateChainingOperationsUnauthorized struct {
	Payload *inventoryclientmodels.ApimodelsChainingOperationResp
}

AdminCreateChainingOperationsUnauthorized handles this case with default header values.

Unauthorized

func NewAdminCreateChainingOperationsUnauthorized

func NewAdminCreateChainingOperationsUnauthorized() *AdminCreateChainingOperationsUnauthorized

NewAdminCreateChainingOperationsUnauthorized creates a AdminCreateChainingOperationsUnauthorized with default headers values

func (*AdminCreateChainingOperationsUnauthorized) Error

func (*AdminCreateChainingOperationsUnauthorized) GetPayload

func (*AdminCreateChainingOperationsUnauthorized) ToJSONString

type Client

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

Client for admin chaining operations API

func (*Client) AdminCreateChainingOperations deprecated

Deprecated: 2022-08-10 - Use AdminCreateChainingOperationsShort instead.

AdminCreateChainingOperations to create chaining operation

Create chaining Operations. This process will run sequentially 1. remove item process 2. consume item process 3. update item process 4. create item process if toSpecificInventory set as true, then inventoryId field will be mandatory, vice versa

The behavior of each process is same with current admin level endpoint

requestId: Request id(Optional), client should provide a unique request id to perform at most once execution, When a request id is resubmitted, it will return original successful response replayed : replayed, if true,the response is original successful response. This will not be included in response if client have not pass request id.

Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]

func (*Client) AdminCreateChainingOperationsShort

func (a *Client) AdminCreateChainingOperationsShort(params *AdminCreateChainingOperationsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateChainingOperationsOK, error)

AdminCreateChainingOperationsShort to create chaining operation

Create chaining Operations. This process will run sequentially 1. remove item process 2. consume item process 3. update item process 4. create item process if toSpecificInventory set as true, then inventoryId field will be mandatory, vice versa

The behavior of each process is same with current admin level endpoint

requestId: Request id(Optional), client should provide a unique request id to perform at most once execution, When a request id is resubmitted, it will return original successful response replayed : replayed, if true,the response is original successful response. This will not be included in response if client have not pass request id.

Permission: ADMIN:NAMESPACE:{namespace}:USER:{userId}:INVENTORY:ITEM [CREATE]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new admin chaining operations API client.

Jump to

Keyboard shortcuts

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