image

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 16 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 image API

func (*Client) DeleteAppImagesV1 deprecated

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

DeleteAppImagesV1 deletes the images Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:IMAGE [DELETE]`

Deletes the images uploaded to the repository

func (*Client) DeleteAppImagesV1Short

func (a *Client) DeleteAppImagesV1Short(params *DeleteAppImagesV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppImagesV1NoContent, error)

DeleteAppImagesV1Short deletes the images Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:IMAGE [DELETE]`

Deletes the images uploaded to the repository

func (*Client) GetAppImageListV1 deprecated

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

GetAppImageListV1 get a list of container images Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:IMAGE [READ]`

Get a list of container images

Default 'cached' parameter is 'true'

func (*Client) GetAppImageListV1Short

func (a *Client) GetAppImageListV1Short(params *GetAppImageListV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetAppImageListV1OK, error)

GetAppImageListV1Short get a list of container images Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:IMAGE [READ]`

Get a list of container images

Default 'cached' parameter is 'true'

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeleteAppImagesV1Forbidden

type DeleteAppImagesV1Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV1Forbidden handles this case with default header values.

Forbidden

func NewDeleteAppImagesV1Forbidden

func NewDeleteAppImagesV1Forbidden() *DeleteAppImagesV1Forbidden

NewDeleteAppImagesV1Forbidden creates a DeleteAppImagesV1Forbidden with default headers values

func (*DeleteAppImagesV1Forbidden) Error

func (*DeleteAppImagesV1Forbidden) GetPayload

func (*DeleteAppImagesV1Forbidden) ToJSONString

func (o *DeleteAppImagesV1Forbidden) ToJSONString() string

type DeleteAppImagesV1InternalServerError

type DeleteAppImagesV1InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteAppImagesV1InternalServerError

func NewDeleteAppImagesV1InternalServerError() *DeleteAppImagesV1InternalServerError

NewDeleteAppImagesV1InternalServerError creates a DeleteAppImagesV1InternalServerError with default headers values

func (*DeleteAppImagesV1InternalServerError) Error

func (*DeleteAppImagesV1InternalServerError) GetPayload

func (*DeleteAppImagesV1InternalServerError) ToJSONString

func (o *DeleteAppImagesV1InternalServerError) ToJSONString() string

type DeleteAppImagesV1NoContent

type DeleteAppImagesV1NoContent struct {
}

DeleteAppImagesV1NoContent handles this case with default header values.

func NewDeleteAppImagesV1NoContent

func NewDeleteAppImagesV1NoContent() *DeleteAppImagesV1NoContent

NewDeleteAppImagesV1NoContent creates a DeleteAppImagesV1NoContent with default headers values

func (*DeleteAppImagesV1NoContent) Error

type DeleteAppImagesV1NotFound

type DeleteAppImagesV1NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV1NotFound handles this case with default header values.

Not Found

func NewDeleteAppImagesV1NotFound

func NewDeleteAppImagesV1NotFound() *DeleteAppImagesV1NotFound

NewDeleteAppImagesV1NotFound creates a DeleteAppImagesV1NotFound with default headers values

func (*DeleteAppImagesV1NotFound) Error

func (o *DeleteAppImagesV1NotFound) Error() string

func (*DeleteAppImagesV1NotFound) GetPayload

func (*DeleteAppImagesV1NotFound) ToJSONString

func (o *DeleteAppImagesV1NotFound) ToJSONString() string

type DeleteAppImagesV1Params

type DeleteAppImagesV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.GeneratedDeleteAppImagesV1Request
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Name

	*/
	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
}

DeleteAppImagesV1Params contains all the parameters to send to the API endpoint for the delete app images v1 operation typically these are written to a http.Request

func NewDeleteAppImagesV1Params

func NewDeleteAppImagesV1Params() *DeleteAppImagesV1Params

NewDeleteAppImagesV1Params creates a new DeleteAppImagesV1Params object with the default values initialized.

func NewDeleteAppImagesV1ParamsWithContext

func NewDeleteAppImagesV1ParamsWithContext(ctx context.Context) *DeleteAppImagesV1Params

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

func NewDeleteAppImagesV1ParamsWithHTTPClient

func NewDeleteAppImagesV1ParamsWithHTTPClient(client *http.Client) *DeleteAppImagesV1Params

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

func NewDeleteAppImagesV1ParamsWithTimeout

func NewDeleteAppImagesV1ParamsWithTimeout(timeout time.Duration) *DeleteAppImagesV1Params

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

func (*DeleteAppImagesV1Params) SetApp

func (o *DeleteAppImagesV1Params) SetApp(app string)

SetApp adds the app to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetBody

SetBody adds the body to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetContext

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

SetContext adds the context to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetFlightId

func (o *DeleteAppImagesV1Params) SetFlightId(flightId string)

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

func (*DeleteAppImagesV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetNamespace

func (o *DeleteAppImagesV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete app images v1 params

func (*DeleteAppImagesV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete app images v1 params

func (*DeleteAppImagesV1Params) WithApp

WithApp adds the app to the delete app images v1 params

func (*DeleteAppImagesV1Params) WithBody

WithBody adds the body to the delete app images v1 params

func (*DeleteAppImagesV1Params) WithContext

WithContext adds the context to the delete app images v1 params

func (*DeleteAppImagesV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete app images v1 params

func (*DeleteAppImagesV1Params) WithNamespace

func (o *DeleteAppImagesV1Params) WithNamespace(namespace string) *DeleteAppImagesV1Params

WithNamespace adds the namespace to the delete app images v1 params

func (*DeleteAppImagesV1Params) WithTimeout

WithTimeout adds the timeout to the delete app images v1 params

func (*DeleteAppImagesV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAppImagesV1Reader

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

DeleteAppImagesV1Reader is a Reader for the DeleteAppImagesV1 structure.

func (*DeleteAppImagesV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAppImagesV1Unauthorized

type DeleteAppImagesV1Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV1Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteAppImagesV1Unauthorized

func NewDeleteAppImagesV1Unauthorized() *DeleteAppImagesV1Unauthorized

NewDeleteAppImagesV1Unauthorized creates a DeleteAppImagesV1Unauthorized with default headers values

func (*DeleteAppImagesV1Unauthorized) Error

func (*DeleteAppImagesV1Unauthorized) GetPayload

func (*DeleteAppImagesV1Unauthorized) ToJSONString

func (o *DeleteAppImagesV1Unauthorized) ToJSONString() string

type GetAppImageListV1Forbidden

type GetAppImageListV1Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV1Forbidden handles this case with default header values.

Forbidden

func NewGetAppImageListV1Forbidden

func NewGetAppImageListV1Forbidden() *GetAppImageListV1Forbidden

NewGetAppImageListV1Forbidden creates a GetAppImageListV1Forbidden with default headers values

func (*GetAppImageListV1Forbidden) Error

func (*GetAppImageListV1Forbidden) GetPayload

func (*GetAppImageListV1Forbidden) ToJSONString

func (o *GetAppImageListV1Forbidden) ToJSONString() string

type GetAppImageListV1InternalServerError

type GetAppImageListV1InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetAppImageListV1InternalServerError

func NewGetAppImageListV1InternalServerError() *GetAppImageListV1InternalServerError

NewGetAppImageListV1InternalServerError creates a GetAppImageListV1InternalServerError with default headers values

func (*GetAppImageListV1InternalServerError) Error

func (*GetAppImageListV1InternalServerError) GetPayload

func (*GetAppImageListV1InternalServerError) ToJSONString

func (o *GetAppImageListV1InternalServerError) ToJSONString() string

type GetAppImageListV1NotFound

type GetAppImageListV1NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV1NotFound handles this case with default header values.

Not Found

func NewGetAppImageListV1NotFound

func NewGetAppImageListV1NotFound() *GetAppImageListV1NotFound

NewGetAppImageListV1NotFound creates a GetAppImageListV1NotFound with default headers values

func (*GetAppImageListV1NotFound) Error

func (o *GetAppImageListV1NotFound) Error() string

func (*GetAppImageListV1NotFound) GetPayload

func (*GetAppImageListV1NotFound) ToJSONString

func (o *GetAppImageListV1NotFound) ToJSONString() string

type GetAppImageListV1OK

type GetAppImageListV1OK struct {
	Payload *csmclientmodels.GeneratedGetAppImageListV1Response
}

GetAppImageListV1OK handles this case with default header values.

func NewGetAppImageListV1OK

func NewGetAppImageListV1OK() *GetAppImageListV1OK

NewGetAppImageListV1OK creates a GetAppImageListV1OK with default headers values

func (*GetAppImageListV1OK) Error

func (o *GetAppImageListV1OK) Error() string

func (*GetAppImageListV1OK) GetPayload

func (*GetAppImageListV1OK) ToJSONString

func (o *GetAppImageListV1OK) ToJSONString() string

type GetAppImageListV1Params

type GetAppImageListV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name

	*/
	App string
	/*Namespace
	  Game Name

	*/
	Namespace string
	/*Cached
	  Get Cached Images

	*/
	Cached *string
	/*Limit
	  Limit

	*/
	Limit *int64
	/*Offset
	  Offset

	*/
	Offset *int64

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

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

GetAppImageListV1Params contains all the parameters to send to the API endpoint for the get app image list v1 operation typically these are written to a http.Request

func NewGetAppImageListV1Params

func NewGetAppImageListV1Params() *GetAppImageListV1Params

NewGetAppImageListV1Params creates a new GetAppImageListV1Params object with the default values initialized.

func NewGetAppImageListV1ParamsWithContext

func NewGetAppImageListV1ParamsWithContext(ctx context.Context) *GetAppImageListV1Params

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

func NewGetAppImageListV1ParamsWithHTTPClient

func NewGetAppImageListV1ParamsWithHTTPClient(client *http.Client) *GetAppImageListV1Params

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

func NewGetAppImageListV1ParamsWithTimeout

func NewGetAppImageListV1ParamsWithTimeout(timeout time.Duration) *GetAppImageListV1Params

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

func (*GetAppImageListV1Params) SetApp

func (o *GetAppImageListV1Params) SetApp(app string)

SetApp adds the app to the get app image list v1 params

func (*GetAppImageListV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get app image list v1 params

func (*GetAppImageListV1Params) SetCached

func (o *GetAppImageListV1Params) SetCached(cached *string)

SetCached adds the cached to the get app image list v1 params

func (*GetAppImageListV1Params) SetContext

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

SetContext adds the context to the get app image list v1 params

func (*GetAppImageListV1Params) SetFlightId

func (o *GetAppImageListV1Params) SetFlightId(flightId string)

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

func (*GetAppImageListV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get app image list v1 params

func (*GetAppImageListV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get app image list v1 params

func (*GetAppImageListV1Params) SetLimit

func (o *GetAppImageListV1Params) SetLimit(limit *int64)

SetLimit adds the limit to the get app image list v1 params

func (*GetAppImageListV1Params) SetNamespace

func (o *GetAppImageListV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get app image list v1 params

func (*GetAppImageListV1Params) SetOffset

func (o *GetAppImageListV1Params) SetOffset(offset *int64)

SetOffset adds the offset to the get app image list v1 params

func (*GetAppImageListV1Params) SetTimeout

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

SetTimeout adds the timeout to the get app image list v1 params

func (*GetAppImageListV1Params) WithApp

WithApp adds the app to the get app image list v1 params

func (*GetAppImageListV1Params) WithCached

func (o *GetAppImageListV1Params) WithCached(cached *string) *GetAppImageListV1Params

WithCached adds the cached to the get app image list v1 params

func (*GetAppImageListV1Params) WithContext

WithContext adds the context to the get app image list v1 params

func (*GetAppImageListV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get app image list v1 params

func (*GetAppImageListV1Params) WithLimit

WithLimit adds the limit to the get app image list v1 params

func (*GetAppImageListV1Params) WithNamespace

func (o *GetAppImageListV1Params) WithNamespace(namespace string) *GetAppImageListV1Params

WithNamespace adds the namespace to the get app image list v1 params

func (*GetAppImageListV1Params) WithOffset

func (o *GetAppImageListV1Params) WithOffset(offset *int64) *GetAppImageListV1Params

WithOffset adds the offset to the get app image list v1 params

func (*GetAppImageListV1Params) WithTimeout

WithTimeout adds the timeout to the get app image list v1 params

func (*GetAppImageListV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAppImageListV1Reader

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

GetAppImageListV1Reader is a Reader for the GetAppImageListV1 structure.

func (*GetAppImageListV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppImageListV1Unauthorized

type GetAppImageListV1Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetAppImageListV1Unauthorized

func NewGetAppImageListV1Unauthorized() *GetAppImageListV1Unauthorized

NewGetAppImageListV1Unauthorized creates a GetAppImageListV1Unauthorized with default headers values

func (*GetAppImageListV1Unauthorized) Error

func (*GetAppImageListV1Unauthorized) GetPayload

func (*GetAppImageListV1Unauthorized) ToJSONString

func (o *GetAppImageListV1Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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