image_v2

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: 15 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 v2 API

func (*Client) DeleteAppImagesV2 deprecated

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

DeleteAppImagesV2 delete app images Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:IMAGE [DELETE]`

Deletes list of provided image tags from the app image repository

func (*Client) DeleteAppImagesV2Short

func (a *Client) DeleteAppImagesV2Short(params *DeleteAppImagesV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteAppImagesV2NoContent, error)

DeleteAppImagesV2Short delete app images Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:IMAGE [DELETE]`

Deletes list of provided image tags from the app image repository

func (*Client) GetAppImageListV2 deprecated

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

GetAppImageListV2 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) GetAppImageListV2Short

func (a *Client) GetAppImageListV2Short(params *GetAppImageListV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetAppImageListV2OK, error)

GetAppImageListV2Short 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 DeleteAppImagesV2Forbidden

type DeleteAppImagesV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV2Forbidden handles this case with default header values.

Forbidden

func NewDeleteAppImagesV2Forbidden

func NewDeleteAppImagesV2Forbidden() *DeleteAppImagesV2Forbidden

NewDeleteAppImagesV2Forbidden creates a DeleteAppImagesV2Forbidden with default headers values

func (*DeleteAppImagesV2Forbidden) Error

func (*DeleteAppImagesV2Forbidden) GetPayload

func (*DeleteAppImagesV2Forbidden) ToJSONString

func (o *DeleteAppImagesV2Forbidden) ToJSONString() string

type DeleteAppImagesV2InternalServerError

type DeleteAppImagesV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV2InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteAppImagesV2InternalServerError

func NewDeleteAppImagesV2InternalServerError() *DeleteAppImagesV2InternalServerError

NewDeleteAppImagesV2InternalServerError creates a DeleteAppImagesV2InternalServerError with default headers values

func (*DeleteAppImagesV2InternalServerError) Error

func (*DeleteAppImagesV2InternalServerError) GetPayload

func (*DeleteAppImagesV2InternalServerError) ToJSONString

func (o *DeleteAppImagesV2InternalServerError) ToJSONString() string

type DeleteAppImagesV2NoContent

type DeleteAppImagesV2NoContent struct {
}

DeleteAppImagesV2NoContent handles this case with default header values.

func NewDeleteAppImagesV2NoContent

func NewDeleteAppImagesV2NoContent() *DeleteAppImagesV2NoContent

NewDeleteAppImagesV2NoContent creates a DeleteAppImagesV2NoContent with default headers values

func (*DeleteAppImagesV2NoContent) Error

type DeleteAppImagesV2NotFound

type DeleteAppImagesV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV2NotFound handles this case with default header values.

Not Found

func NewDeleteAppImagesV2NotFound

func NewDeleteAppImagesV2NotFound() *DeleteAppImagesV2NotFound

NewDeleteAppImagesV2NotFound creates a DeleteAppImagesV2NotFound with default headers values

func (*DeleteAppImagesV2NotFound) Error

func (o *DeleteAppImagesV2NotFound) Error() string

func (*DeleteAppImagesV2NotFound) GetPayload

func (*DeleteAppImagesV2NotFound) ToJSONString

func (o *DeleteAppImagesV2NotFound) ToJSONString() string

type DeleteAppImagesV2Params

type DeleteAppImagesV2Params struct {

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

	*/
	App string
	/*Namespace
	  Game 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
}

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

func NewDeleteAppImagesV2Params

func NewDeleteAppImagesV2Params() *DeleteAppImagesV2Params

NewDeleteAppImagesV2Params creates a new DeleteAppImagesV2Params object with the default values initialized.

func NewDeleteAppImagesV2ParamsWithContext

func NewDeleteAppImagesV2ParamsWithContext(ctx context.Context) *DeleteAppImagesV2Params

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

func NewDeleteAppImagesV2ParamsWithHTTPClient

func NewDeleteAppImagesV2ParamsWithHTTPClient(client *http.Client) *DeleteAppImagesV2Params

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

func NewDeleteAppImagesV2ParamsWithTimeout

func NewDeleteAppImagesV2ParamsWithTimeout(timeout time.Duration) *DeleteAppImagesV2Params

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

func (*DeleteAppImagesV2Params) SetApp

func (o *DeleteAppImagesV2Params) SetApp(app string)

SetApp adds the app to the delete app images v2 params

func (*DeleteAppImagesV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete app images v2 params

func (*DeleteAppImagesV2Params) SetBody

SetBody adds the body to the delete app images v2 params

func (*DeleteAppImagesV2Params) SetContext

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

SetContext adds the context to the delete app images v2 params

func (*DeleteAppImagesV2Params) SetFlightId

func (o *DeleteAppImagesV2Params) SetFlightId(flightId string)

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

func (*DeleteAppImagesV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete app images v2 params

func (*DeleteAppImagesV2Params) SetHTTPClientTransport

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

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

func (*DeleteAppImagesV2Params) SetNamespace

func (o *DeleteAppImagesV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete app images v2 params

func (*DeleteAppImagesV2Params) SetTimeout

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

SetTimeout adds the timeout to the delete app images v2 params

func (*DeleteAppImagesV2Params) WithApp

WithApp adds the app to the delete app images v2 params

func (*DeleteAppImagesV2Params) WithBody

WithBody adds the body to the delete app images v2 params

func (*DeleteAppImagesV2Params) WithContext

WithContext adds the context to the delete app images v2 params

func (*DeleteAppImagesV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete app images v2 params

func (*DeleteAppImagesV2Params) WithNamespace

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

WithNamespace adds the namespace to the delete app images v2 params

func (*DeleteAppImagesV2Params) WithTimeout

WithTimeout adds the timeout to the delete app images v2 params

func (*DeleteAppImagesV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAppImagesV2Reader

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

DeleteAppImagesV2Reader is a Reader for the DeleteAppImagesV2 structure.

func (*DeleteAppImagesV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteAppImagesV2Unauthorized

type DeleteAppImagesV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteAppImagesV2Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteAppImagesV2Unauthorized

func NewDeleteAppImagesV2Unauthorized() *DeleteAppImagesV2Unauthorized

NewDeleteAppImagesV2Unauthorized creates a DeleteAppImagesV2Unauthorized with default headers values

func (*DeleteAppImagesV2Unauthorized) Error

func (*DeleteAppImagesV2Unauthorized) GetPayload

func (*DeleteAppImagesV2Unauthorized) ToJSONString

func (o *DeleteAppImagesV2Unauthorized) ToJSONString() string

type GetAppImageListV2Forbidden

type GetAppImageListV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV2Forbidden handles this case with default header values.

Forbidden

func NewGetAppImageListV2Forbidden

func NewGetAppImageListV2Forbidden() *GetAppImageListV2Forbidden

NewGetAppImageListV2Forbidden creates a GetAppImageListV2Forbidden with default headers values

func (*GetAppImageListV2Forbidden) Error

func (*GetAppImageListV2Forbidden) GetPayload

func (*GetAppImageListV2Forbidden) ToJSONString

func (o *GetAppImageListV2Forbidden) ToJSONString() string

type GetAppImageListV2InternalServerError

type GetAppImageListV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV2InternalServerError handles this case with default header values.

Internal Server Error

func NewGetAppImageListV2InternalServerError

func NewGetAppImageListV2InternalServerError() *GetAppImageListV2InternalServerError

NewGetAppImageListV2InternalServerError creates a GetAppImageListV2InternalServerError with default headers values

func (*GetAppImageListV2InternalServerError) Error

func (*GetAppImageListV2InternalServerError) GetPayload

func (*GetAppImageListV2InternalServerError) ToJSONString

func (o *GetAppImageListV2InternalServerError) ToJSONString() string

type GetAppImageListV2NotFound

type GetAppImageListV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV2NotFound handles this case with default header values.

Not Found

func NewGetAppImageListV2NotFound

func NewGetAppImageListV2NotFound() *GetAppImageListV2NotFound

NewGetAppImageListV2NotFound creates a GetAppImageListV2NotFound with default headers values

func (*GetAppImageListV2NotFound) Error

func (o *GetAppImageListV2NotFound) Error() string

func (*GetAppImageListV2NotFound) GetPayload

func (*GetAppImageListV2NotFound) ToJSONString

func (o *GetAppImageListV2NotFound) ToJSONString() string

type GetAppImageListV2OK

type GetAppImageListV2OK struct {
	Payload *csmclientmodels.ApimodelGetAppImageListV2Response
}

GetAppImageListV2OK handles this case with default header values.

func NewGetAppImageListV2OK

func NewGetAppImageListV2OK() *GetAppImageListV2OK

NewGetAppImageListV2OK creates a GetAppImageListV2OK with default headers values

func (*GetAppImageListV2OK) Error

func (o *GetAppImageListV2OK) Error() string

func (*GetAppImageListV2OK) GetPayload

func (*GetAppImageListV2OK) ToJSONString

func (o *GetAppImageListV2OK) ToJSONString() string

type GetAppImageListV2Params

type GetAppImageListV2Params struct {

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

	*/
	App string
	/*Namespace
	  Game Namespace

	*/
	Namespace string
	/*Cached
	  Get Cached Images

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

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

func NewGetAppImageListV2Params

func NewGetAppImageListV2Params() *GetAppImageListV2Params

NewGetAppImageListV2Params creates a new GetAppImageListV2Params object with the default values initialized.

func NewGetAppImageListV2ParamsWithContext

func NewGetAppImageListV2ParamsWithContext(ctx context.Context) *GetAppImageListV2Params

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

func NewGetAppImageListV2ParamsWithHTTPClient

func NewGetAppImageListV2ParamsWithHTTPClient(client *http.Client) *GetAppImageListV2Params

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

func NewGetAppImageListV2ParamsWithTimeout

func NewGetAppImageListV2ParamsWithTimeout(timeout time.Duration) *GetAppImageListV2Params

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

func (*GetAppImageListV2Params) SetApp

func (o *GetAppImageListV2Params) SetApp(app string)

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

func (*GetAppImageListV2Params) SetAuthInfoWriter

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

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

func (*GetAppImageListV2Params) SetCached

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

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

func (*GetAppImageListV2Params) SetContext

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

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

func (*GetAppImageListV2Params) SetFlightId

func (o *GetAppImageListV2Params) SetFlightId(flightId string)

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

func (*GetAppImageListV2Params) SetHTTPClient

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

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

func (*GetAppImageListV2Params) SetHTTPClientTransport

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

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

func (*GetAppImageListV2Params) SetNamespace

func (o *GetAppImageListV2Params) SetNamespace(namespace string)

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

func (*GetAppImageListV2Params) SetTimeout

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

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

func (*GetAppImageListV2Params) WithApp

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

func (*GetAppImageListV2Params) WithCached

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

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

func (*GetAppImageListV2Params) WithContext

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

func (*GetAppImageListV2Params) WithHTTPClient

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

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

func (*GetAppImageListV2Params) WithNamespace

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

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

func (*GetAppImageListV2Params) WithTimeout

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

func (*GetAppImageListV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAppImageListV2Reader

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

GetAppImageListV2Reader is a Reader for the GetAppImageListV2 structure.

func (*GetAppImageListV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppImageListV2Unauthorized

type GetAppImageListV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppImageListV2Unauthorized handles this case with default header values.

Unauthorized

func NewGetAppImageListV2Unauthorized

func NewGetAppImageListV2Unauthorized() *GetAppImageListV2Unauthorized

NewGetAppImageListV2Unauthorized creates a GetAppImageListV2Unauthorized with default headers values

func (*GetAppImageListV2Unauthorized) Error

func (*GetAppImageListV2Unauthorized) GetPayload

func (*GetAppImageListV2Unauthorized) ToJSONString

func (o *GetAppImageListV2Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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