app_v4

package
v0.89.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 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 app v4 API

func (*Client) GetAppDebugInfoV4 deprecated

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

GetAppDebugInfoV4 get debug info for an extend app Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP [READ]`

Returns the list of debug-ready pods and exposed services for the given extend app.

A pod is included only when it is in `Running` phase and has an `extend-proxy-sidecar` container.

func (*Client) GetAppDebugInfoV4Short

func (a *Client) GetAppDebugInfoV4Short(params *GetAppDebugInfoV4Params, authInfo runtime.ClientAuthInfoWriter) (*GetAppDebugInfoV4OK, error)

GetAppDebugInfoV4Short get debug info for an extend app Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP [READ]`

Returns the list of debug-ready pods and exposed services for the given extend app.

A pod is included only when it is in `Running` phase and has an `extend-proxy-sidecar` container.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateAppDebugModeV4 deprecated

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

UpdateAppDebugModeV4 enable or disable remote debug mode for an extend app Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP [UPDATE]`

Enable or disable the remote debug sidecar container for the specified extend app.

When enabled and the app is in `deployment-running` status, a new deployment will be triggered automatically to apply the debug container configuration.

This operation is rejected with `409 Conflict` if the app is currently in a transitional state (app-creating, app-removing, app-stopping).

func (*Client) UpdateAppDebugModeV4Short

func (a *Client) UpdateAppDebugModeV4Short(params *UpdateAppDebugModeV4Params, authInfo runtime.ClientAuthInfoWriter) (*UpdateAppDebugModeV4OK, error)

UpdateAppDebugModeV4Short enable or disable remote debug mode for an extend app Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:APP [UPDATE]`

Enable or disable the remote debug sidecar container for the specified extend app.

When enabled and the app is in `deployment-running` status, a new deployment will be triggered automatically to apply the debug container configuration.

This operation is rejected with `409 Conflict` if the app is currently in a transitional state (app-creating, app-removing, app-stopping).

type GetAppDebugInfoV4BadRequest

type GetAppDebugInfoV4BadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppDebugInfoV4BadRequest handles this case with default header values.

Bad Request

func NewGetAppDebugInfoV4BadRequest

func NewGetAppDebugInfoV4BadRequest() *GetAppDebugInfoV4BadRequest

NewGetAppDebugInfoV4BadRequest creates a GetAppDebugInfoV4BadRequest with default headers values

func (*GetAppDebugInfoV4BadRequest) Error

func (*GetAppDebugInfoV4BadRequest) GetPayload

func (*GetAppDebugInfoV4BadRequest) ToJSONString

func (o *GetAppDebugInfoV4BadRequest) ToJSONString() string

type GetAppDebugInfoV4Conflict

type GetAppDebugInfoV4Conflict struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppDebugInfoV4Conflict handles this case with default header values.

Conflict

func NewGetAppDebugInfoV4Conflict

func NewGetAppDebugInfoV4Conflict() *GetAppDebugInfoV4Conflict

NewGetAppDebugInfoV4Conflict creates a GetAppDebugInfoV4Conflict with default headers values

func (*GetAppDebugInfoV4Conflict) Error

func (o *GetAppDebugInfoV4Conflict) Error() string

func (*GetAppDebugInfoV4Conflict) GetPayload

func (*GetAppDebugInfoV4Conflict) ToJSONString

func (o *GetAppDebugInfoV4Conflict) ToJSONString() string

type GetAppDebugInfoV4Forbidden

type GetAppDebugInfoV4Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppDebugInfoV4Forbidden handles this case with default header values.

Forbidden

func NewGetAppDebugInfoV4Forbidden

func NewGetAppDebugInfoV4Forbidden() *GetAppDebugInfoV4Forbidden

NewGetAppDebugInfoV4Forbidden creates a GetAppDebugInfoV4Forbidden with default headers values

func (*GetAppDebugInfoV4Forbidden) Error

func (*GetAppDebugInfoV4Forbidden) GetPayload

func (*GetAppDebugInfoV4Forbidden) ToJSONString

func (o *GetAppDebugInfoV4Forbidden) ToJSONString() string

type GetAppDebugInfoV4InternalServerError

type GetAppDebugInfoV4InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppDebugInfoV4InternalServerError handles this case with default header values.

Internal Server Error

func NewGetAppDebugInfoV4InternalServerError

func NewGetAppDebugInfoV4InternalServerError() *GetAppDebugInfoV4InternalServerError

NewGetAppDebugInfoV4InternalServerError creates a GetAppDebugInfoV4InternalServerError with default headers values

func (*GetAppDebugInfoV4InternalServerError) Error

func (*GetAppDebugInfoV4InternalServerError) GetPayload

func (*GetAppDebugInfoV4InternalServerError) ToJSONString

func (o *GetAppDebugInfoV4InternalServerError) ToJSONString() string

type GetAppDebugInfoV4NotFound

type GetAppDebugInfoV4NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppDebugInfoV4NotFound handles this case with default header values.

Not Found

func NewGetAppDebugInfoV4NotFound

func NewGetAppDebugInfoV4NotFound() *GetAppDebugInfoV4NotFound

NewGetAppDebugInfoV4NotFound creates a GetAppDebugInfoV4NotFound with default headers values

func (*GetAppDebugInfoV4NotFound) Error

func (o *GetAppDebugInfoV4NotFound) Error() string

func (*GetAppDebugInfoV4NotFound) GetPayload

func (*GetAppDebugInfoV4NotFound) ToJSONString

func (o *GetAppDebugInfoV4NotFound) ToJSONString() string

type GetAppDebugInfoV4OK

type GetAppDebugInfoV4OK struct {
	Payload *csmclientmodels.ApimodelAppDebugInfoResponse
}

GetAppDebugInfoV4OK handles this case with default header values.

OK

func NewGetAppDebugInfoV4OK

func NewGetAppDebugInfoV4OK() *GetAppDebugInfoV4OK

NewGetAppDebugInfoV4OK creates a GetAppDebugInfoV4OK with default headers values

func (*GetAppDebugInfoV4OK) Error

func (o *GetAppDebugInfoV4OK) Error() string

func (*GetAppDebugInfoV4OK) GetPayload

func (*GetAppDebugInfoV4OK) ToJSONString

func (o *GetAppDebugInfoV4OK) ToJSONString() string

type GetAppDebugInfoV4Params

type GetAppDebugInfoV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*App
	  App Name. Expected format: (^[A-Za-z](?:[A-Za-z0-9\-]*[A-Za-z0-9])?$)

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

GetAppDebugInfoV4Params contains all the parameters to send to the API endpoint for the get app debug info v4 operation typically these are written to a http.Request

func NewGetAppDebugInfoV4Params

func NewGetAppDebugInfoV4Params() *GetAppDebugInfoV4Params

NewGetAppDebugInfoV4Params creates a new GetAppDebugInfoV4Params object with the default values initialized.

func NewGetAppDebugInfoV4ParamsWithContext

func NewGetAppDebugInfoV4ParamsWithContext(ctx context.Context) *GetAppDebugInfoV4Params

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

func NewGetAppDebugInfoV4ParamsWithHTTPClient

func NewGetAppDebugInfoV4ParamsWithHTTPClient(client *http.Client) *GetAppDebugInfoV4Params

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

func NewGetAppDebugInfoV4ParamsWithTimeout

func NewGetAppDebugInfoV4ParamsWithTimeout(timeout time.Duration) *GetAppDebugInfoV4Params

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

func (*GetAppDebugInfoV4Params) SetApp

func (o *GetAppDebugInfoV4Params) SetApp(app string)

SetApp adds the app to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) SetContext

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

SetContext adds the context to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) SetFlightId

func (o *GetAppDebugInfoV4Params) SetFlightId(flightId string)

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

func (*GetAppDebugInfoV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) SetNamespace

func (o *GetAppDebugInfoV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) SetTimeout

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

SetTimeout adds the timeout to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) WithApp

WithApp adds the app to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) WithContext

WithContext adds the context to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) WithNamespace

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

WithNamespace adds the namespace to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) WithTimeout

WithTimeout adds the timeout to the get app debug info v4 params

func (*GetAppDebugInfoV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAppDebugInfoV4Reader

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

GetAppDebugInfoV4Reader is a Reader for the GetAppDebugInfoV4 structure.

func (*GetAppDebugInfoV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAppDebugInfoV4Unauthorized

type GetAppDebugInfoV4Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetAppDebugInfoV4Unauthorized handles this case with default header values.

Unauthorized

func NewGetAppDebugInfoV4Unauthorized

func NewGetAppDebugInfoV4Unauthorized() *GetAppDebugInfoV4Unauthorized

NewGetAppDebugInfoV4Unauthorized creates a GetAppDebugInfoV4Unauthorized with default headers values

func (*GetAppDebugInfoV4Unauthorized) Error

func (*GetAppDebugInfoV4Unauthorized) GetPayload

func (*GetAppDebugInfoV4Unauthorized) ToJSONString

func (o *GetAppDebugInfoV4Unauthorized) ToJSONString() string

type UpdateAppDebugModeV4BadRequest

type UpdateAppDebugModeV4BadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UpdateAppDebugModeV4BadRequest handles this case with default header values.

Bad Request

func NewUpdateAppDebugModeV4BadRequest

func NewUpdateAppDebugModeV4BadRequest() *UpdateAppDebugModeV4BadRequest

NewUpdateAppDebugModeV4BadRequest creates a UpdateAppDebugModeV4BadRequest with default headers values

func (*UpdateAppDebugModeV4BadRequest) Error

func (*UpdateAppDebugModeV4BadRequest) GetPayload

func (*UpdateAppDebugModeV4BadRequest) ToJSONString

func (o *UpdateAppDebugModeV4BadRequest) ToJSONString() string

type UpdateAppDebugModeV4Conflict

type UpdateAppDebugModeV4Conflict struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UpdateAppDebugModeV4Conflict handles this case with default header values.

Conflict

func NewUpdateAppDebugModeV4Conflict

func NewUpdateAppDebugModeV4Conflict() *UpdateAppDebugModeV4Conflict

NewUpdateAppDebugModeV4Conflict creates a UpdateAppDebugModeV4Conflict with default headers values

func (*UpdateAppDebugModeV4Conflict) Error

func (*UpdateAppDebugModeV4Conflict) GetPayload

func (*UpdateAppDebugModeV4Conflict) ToJSONString

func (o *UpdateAppDebugModeV4Conflict) ToJSONString() string

type UpdateAppDebugModeV4Forbidden

type UpdateAppDebugModeV4Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UpdateAppDebugModeV4Forbidden handles this case with default header values.

Forbidden

func NewUpdateAppDebugModeV4Forbidden

func NewUpdateAppDebugModeV4Forbidden() *UpdateAppDebugModeV4Forbidden

NewUpdateAppDebugModeV4Forbidden creates a UpdateAppDebugModeV4Forbidden with default headers values

func (*UpdateAppDebugModeV4Forbidden) Error

func (*UpdateAppDebugModeV4Forbidden) GetPayload

func (*UpdateAppDebugModeV4Forbidden) ToJSONString

func (o *UpdateAppDebugModeV4Forbidden) ToJSONString() string

type UpdateAppDebugModeV4InternalServerError

type UpdateAppDebugModeV4InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UpdateAppDebugModeV4InternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateAppDebugModeV4InternalServerError

func NewUpdateAppDebugModeV4InternalServerError() *UpdateAppDebugModeV4InternalServerError

NewUpdateAppDebugModeV4InternalServerError creates a UpdateAppDebugModeV4InternalServerError with default headers values

func (*UpdateAppDebugModeV4InternalServerError) Error

func (*UpdateAppDebugModeV4InternalServerError) GetPayload

func (*UpdateAppDebugModeV4InternalServerError) ToJSONString

type UpdateAppDebugModeV4NotFound

type UpdateAppDebugModeV4NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UpdateAppDebugModeV4NotFound handles this case with default header values.

Not Found

func NewUpdateAppDebugModeV4NotFound

func NewUpdateAppDebugModeV4NotFound() *UpdateAppDebugModeV4NotFound

NewUpdateAppDebugModeV4NotFound creates a UpdateAppDebugModeV4NotFound with default headers values

func (*UpdateAppDebugModeV4NotFound) Error

func (*UpdateAppDebugModeV4NotFound) GetPayload

func (*UpdateAppDebugModeV4NotFound) ToJSONString

func (o *UpdateAppDebugModeV4NotFound) ToJSONString() string

type UpdateAppDebugModeV4OK

type UpdateAppDebugModeV4OK struct {
	Payload *csmclientmodels.ApimodelAppItem
}

UpdateAppDebugModeV4OK handles this case with default header values.

OK

func NewUpdateAppDebugModeV4OK

func NewUpdateAppDebugModeV4OK() *UpdateAppDebugModeV4OK

NewUpdateAppDebugModeV4OK creates a UpdateAppDebugModeV4OK with default headers values

func (*UpdateAppDebugModeV4OK) Error

func (o *UpdateAppDebugModeV4OK) Error() string

func (*UpdateAppDebugModeV4OK) GetPayload

func (*UpdateAppDebugModeV4OK) ToJSONString

func (o *UpdateAppDebugModeV4OK) ToJSONString() string

type UpdateAppDebugModeV4Params

type UpdateAppDebugModeV4Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelUpdateDebugModeRequest
	/*App
	  App Name. Expected format: (^[A-Za-z](?:[A-Za-z0-9\-]*[A-Za-z0-9])?$)

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

UpdateAppDebugModeV4Params contains all the parameters to send to the API endpoint for the update app debug mode v4 operation typically these are written to a http.Request

func NewUpdateAppDebugModeV4Params

func NewUpdateAppDebugModeV4Params() *UpdateAppDebugModeV4Params

NewUpdateAppDebugModeV4Params creates a new UpdateAppDebugModeV4Params object with the default values initialized.

func NewUpdateAppDebugModeV4ParamsWithContext

func NewUpdateAppDebugModeV4ParamsWithContext(ctx context.Context) *UpdateAppDebugModeV4Params

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

func NewUpdateAppDebugModeV4ParamsWithHTTPClient

func NewUpdateAppDebugModeV4ParamsWithHTTPClient(client *http.Client) *UpdateAppDebugModeV4Params

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

func NewUpdateAppDebugModeV4ParamsWithTimeout

func NewUpdateAppDebugModeV4ParamsWithTimeout(timeout time.Duration) *UpdateAppDebugModeV4Params

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

func (*UpdateAppDebugModeV4Params) SetApp

func (o *UpdateAppDebugModeV4Params) SetApp(app string)

SetApp adds the app to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetBody

SetBody adds the body to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetContext

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

SetContext adds the context to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetFlightId

func (o *UpdateAppDebugModeV4Params) SetFlightId(flightId string)

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

func (*UpdateAppDebugModeV4Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetNamespace

func (o *UpdateAppDebugModeV4Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) SetTimeout

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

SetTimeout adds the timeout to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WithApp

WithApp adds the app to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WithBody

WithBody adds the body to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WithContext

WithContext adds the context to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WithNamespace

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

WithNamespace adds the namespace to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WithTimeout

WithTimeout adds the timeout to the update app debug mode v4 params

func (*UpdateAppDebugModeV4Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateAppDebugModeV4Reader

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

UpdateAppDebugModeV4Reader is a Reader for the UpdateAppDebugModeV4 structure.

func (*UpdateAppDebugModeV4Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateAppDebugModeV4Unauthorized

type UpdateAppDebugModeV4Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

UpdateAppDebugModeV4Unauthorized handles this case with default header values.

Unauthorized

func NewUpdateAppDebugModeV4Unauthorized

func NewUpdateAppDebugModeV4Unauthorized() *UpdateAppDebugModeV4Unauthorized

NewUpdateAppDebugModeV4Unauthorized creates a UpdateAppDebugModeV4Unauthorized with default headers values

func (*UpdateAppDebugModeV4Unauthorized) Error

func (*UpdateAppDebugModeV4Unauthorized) GetPayload

func (*UpdateAppDebugModeV4Unauthorized) ToJSONString

func (o *UpdateAppDebugModeV4Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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