deployment_v2

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 16 Imported by: 1

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 deployment v2 API

func (*Client) CreateDeploymentV2Short

func (a *Client) CreateDeploymentV2Short(params *CreateDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentV2Response, error)

CreateDeploymentV2Short creates deployment Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:DEPLOYMENT [CREATE]`

Creates Deployment for extend service

This Endpoint will create new deployment and apply all of the secrets and variable as environment variable

Required: - Valid Access Token - Valid Image Version Created on Uploading image with docker or other method - Valid App name - Valid Namespace name

func (*Client) DeleteDeploymentV2Short

func (a *Client) DeleteDeploymentV2Short(params *DeleteDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentV2Response, error)

DeleteDeploymentV2Short delete deployment by deployment id Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:DEPLOYMENT [DELETE]`

Delete Deployment information by given DeploymentID

This endpoint will delete release object for the service deployment in the cluster

Required: Valid Access Token

func (*Client) GetDeploymentV2Short

func (a *Client) GetDeploymentV2Short(params *GetDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentV2Response, error)

GetDeploymentV2Short get deployment by deployment id Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:DEPLOYMENT [READ]`

Get Deployment information by given DeploymentID

This endpoint intended to get Deployment information.

Required: Valid Access Token

func (*Client) GetListOfDeploymentV2Short

func (a *Client) GetListOfDeploymentV2Short(params *GetListOfDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetListOfDeploymentV2Response, error)

GetListOfDeploymentV2Short fetches the list of deployments Required permission : `ADMIN:NAMESPACE:{namespace}:EXTEND:DEPLOYMENT [READ]`

Filters the List of Deployments

This endpoint intended to get list of Deployment done for the given publisher and game. Request : - appIds : list of app ids - deploymentIds: list of deployment ids - statuses: deployment-in-progress deployment-failed deployment-timeout deployment-running deployment-down Required: Valid Access Token

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CreateDeploymentV2Short(params *CreateDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentV2Response, error)
	GetListOfDeploymentV2Short(params *GetListOfDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetListOfDeploymentV2Response, error)
	GetDeploymentV2Short(params *GetDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentV2Response, error)
	DeleteDeploymentV2Short(params *DeleteDeploymentV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentV2Response, 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 deployment v2 API client.

type CreateDeploymentV2BadRequest

type CreateDeploymentV2BadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV2BadRequest handles this case with default header values.

Bad Request

func NewCreateDeploymentV2BadRequest

func NewCreateDeploymentV2BadRequest() *CreateDeploymentV2BadRequest

NewCreateDeploymentV2BadRequest creates a CreateDeploymentV2BadRequest with default headers values

func (*CreateDeploymentV2BadRequest) Error

func (*CreateDeploymentV2BadRequest) GetPayload

func (*CreateDeploymentV2BadRequest) ToJSONString

func (o *CreateDeploymentV2BadRequest) ToJSONString() string

type CreateDeploymentV2Created

type CreateDeploymentV2Created struct {
	Payload *csmclientmodels.ApimodelCreateDeploymentV2Response
}

CreateDeploymentV2Created handles this case with default header values.

func NewCreateDeploymentV2Created

func NewCreateDeploymentV2Created() *CreateDeploymentV2Created

NewCreateDeploymentV2Created creates a CreateDeploymentV2Created with default headers values

func (*CreateDeploymentV2Created) Error

func (o *CreateDeploymentV2Created) Error() string

func (*CreateDeploymentV2Created) GetPayload

func (*CreateDeploymentV2Created) ToJSONString

func (o *CreateDeploymentV2Created) ToJSONString() string

type CreateDeploymentV2Forbidden

type CreateDeploymentV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV2Forbidden handles this case with default header values.

Forbidden

func NewCreateDeploymentV2Forbidden

func NewCreateDeploymentV2Forbidden() *CreateDeploymentV2Forbidden

NewCreateDeploymentV2Forbidden creates a CreateDeploymentV2Forbidden with default headers values

func (*CreateDeploymentV2Forbidden) Error

func (*CreateDeploymentV2Forbidden) GetPayload

func (*CreateDeploymentV2Forbidden) ToJSONString

func (o *CreateDeploymentV2Forbidden) ToJSONString() string

type CreateDeploymentV2InternalServerError

type CreateDeploymentV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV2InternalServerError handles this case with default header values.

Internal Server Error

func NewCreateDeploymentV2InternalServerError

func NewCreateDeploymentV2InternalServerError() *CreateDeploymentV2InternalServerError

NewCreateDeploymentV2InternalServerError creates a CreateDeploymentV2InternalServerError with default headers values

func (*CreateDeploymentV2InternalServerError) Error

func (*CreateDeploymentV2InternalServerError) GetPayload

func (*CreateDeploymentV2InternalServerError) ToJSONString

type CreateDeploymentV2NotFound

type CreateDeploymentV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV2NotFound handles this case with default header values.

Not Found

func NewCreateDeploymentV2NotFound

func NewCreateDeploymentV2NotFound() *CreateDeploymentV2NotFound

NewCreateDeploymentV2NotFound creates a CreateDeploymentV2NotFound with default headers values

func (*CreateDeploymentV2NotFound) Error

func (*CreateDeploymentV2NotFound) GetPayload

func (*CreateDeploymentV2NotFound) ToJSONString

func (o *CreateDeploymentV2NotFound) ToJSONString() string

type CreateDeploymentV2Params

type CreateDeploymentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelCreateDeploymentV2Request
	/*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
}

CreateDeploymentV2Params contains all the parameters to send to the API endpoint for the create deployment v2 operation typically these are written to a http.Request

func NewCreateDeploymentV2Params

func NewCreateDeploymentV2Params() *CreateDeploymentV2Params

NewCreateDeploymentV2Params creates a new CreateDeploymentV2Params object with the default values initialized.

func NewCreateDeploymentV2ParamsWithContext

func NewCreateDeploymentV2ParamsWithContext(ctx context.Context) *CreateDeploymentV2Params

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

func NewCreateDeploymentV2ParamsWithHTTPClient

func NewCreateDeploymentV2ParamsWithHTTPClient(client *http.Client) *CreateDeploymentV2Params

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

func NewCreateDeploymentV2ParamsWithTimeout

func NewCreateDeploymentV2ParamsWithTimeout(timeout time.Duration) *CreateDeploymentV2Params

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

func (*CreateDeploymentV2Params) SetApp

func (o *CreateDeploymentV2Params) SetApp(app string)

SetApp adds the app to the create deployment v2 params

func (*CreateDeploymentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create deployment v2 params

func (*CreateDeploymentV2Params) SetBody

SetBody adds the body to the create deployment v2 params

func (*CreateDeploymentV2Params) SetContext

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

SetContext adds the context to the create deployment v2 params

func (*CreateDeploymentV2Params) SetFlightId

func (o *CreateDeploymentV2Params) SetFlightId(flightId string)

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

func (*CreateDeploymentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create deployment v2 params

func (*CreateDeploymentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create deployment v2 params

func (*CreateDeploymentV2Params) SetNamespace

func (o *CreateDeploymentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create deployment v2 params

func (*CreateDeploymentV2Params) SetTimeout

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

SetTimeout adds the timeout to the create deployment v2 params

func (*CreateDeploymentV2Params) WithApp

WithApp adds the app to the create deployment v2 params

func (*CreateDeploymentV2Params) WithBody

WithBody adds the body to the create deployment v2 params

func (*CreateDeploymentV2Params) WithContext

WithContext adds the context to the create deployment v2 params

func (*CreateDeploymentV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create deployment v2 params

func (*CreateDeploymentV2Params) WithNamespace

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

WithNamespace adds the namespace to the create deployment v2 params

func (*CreateDeploymentV2Params) WithTimeout

WithTimeout adds the timeout to the create deployment v2 params

func (*CreateDeploymentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeploymentV2Reader

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

CreateDeploymentV2Reader is a Reader for the CreateDeploymentV2 structure.

func (*CreateDeploymentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDeploymentV2Unauthorized

type CreateDeploymentV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV2Unauthorized handles this case with default header values.

Unauthorized

func NewCreateDeploymentV2Unauthorized

func NewCreateDeploymentV2Unauthorized() *CreateDeploymentV2Unauthorized

NewCreateDeploymentV2Unauthorized creates a CreateDeploymentV2Unauthorized with default headers values

func (*CreateDeploymentV2Unauthorized) Error

func (*CreateDeploymentV2Unauthorized) GetPayload

func (*CreateDeploymentV2Unauthorized) ToJSONString

func (o *CreateDeploymentV2Unauthorized) ToJSONString() string

type DeleteDeploymentV2Forbidden

type DeleteDeploymentV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV2Forbidden handles this case with default header values.

Forbidden

func NewDeleteDeploymentV2Forbidden

func NewDeleteDeploymentV2Forbidden() *DeleteDeploymentV2Forbidden

NewDeleteDeploymentV2Forbidden creates a DeleteDeploymentV2Forbidden with default headers values

func (*DeleteDeploymentV2Forbidden) Error

func (*DeleteDeploymentV2Forbidden) GetPayload

func (*DeleteDeploymentV2Forbidden) ToJSONString

func (o *DeleteDeploymentV2Forbidden) ToJSONString() string

type DeleteDeploymentV2InternalServerError

type DeleteDeploymentV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV2InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteDeploymentV2InternalServerError

func NewDeleteDeploymentV2InternalServerError() *DeleteDeploymentV2InternalServerError

NewDeleteDeploymentV2InternalServerError creates a DeleteDeploymentV2InternalServerError with default headers values

func (*DeleteDeploymentV2InternalServerError) Error

func (*DeleteDeploymentV2InternalServerError) GetPayload

func (*DeleteDeploymentV2InternalServerError) ToJSONString

type DeleteDeploymentV2NoContent

type DeleteDeploymentV2NoContent struct {
}

DeleteDeploymentV2NoContent handles this case with default header values.

func NewDeleteDeploymentV2NoContent

func NewDeleteDeploymentV2NoContent() *DeleteDeploymentV2NoContent

NewDeleteDeploymentV2NoContent creates a DeleteDeploymentV2NoContent with default headers values

func (*DeleteDeploymentV2NoContent) Error

type DeleteDeploymentV2NotFound

type DeleteDeploymentV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV2NotFound handles this case with default header values.

Not Found

func NewDeleteDeploymentV2NotFound

func NewDeleteDeploymentV2NotFound() *DeleteDeploymentV2NotFound

NewDeleteDeploymentV2NotFound creates a DeleteDeploymentV2NotFound with default headers values

func (*DeleteDeploymentV2NotFound) Error

func (*DeleteDeploymentV2NotFound) GetPayload

func (*DeleteDeploymentV2NotFound) ToJSONString

func (o *DeleteDeploymentV2NotFound) ToJSONString() string

type DeleteDeploymentV2Params

type DeleteDeploymentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*DeploymentID
	  Deployment ID

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

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

func NewDeleteDeploymentV2Params

func NewDeleteDeploymentV2Params() *DeleteDeploymentV2Params

NewDeleteDeploymentV2Params creates a new DeleteDeploymentV2Params object with the default values initialized.

func NewDeleteDeploymentV2ParamsWithContext

func NewDeleteDeploymentV2ParamsWithContext(ctx context.Context) *DeleteDeploymentV2Params

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

func NewDeleteDeploymentV2ParamsWithHTTPClient

func NewDeleteDeploymentV2ParamsWithHTTPClient(client *http.Client) *DeleteDeploymentV2Params

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

func NewDeleteDeploymentV2ParamsWithTimeout

func NewDeleteDeploymentV2ParamsWithTimeout(timeout time.Duration) *DeleteDeploymentV2Params

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

func (*DeleteDeploymentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete deployment v2 params

func (*DeleteDeploymentV2Params) SetContext

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

SetContext adds the context to the delete deployment v2 params

func (*DeleteDeploymentV2Params) SetDeploymentID

func (o *DeleteDeploymentV2Params) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the delete deployment v2 params

func (*DeleteDeploymentV2Params) SetFlightId

func (o *DeleteDeploymentV2Params) SetFlightId(flightId string)

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

func (*DeleteDeploymentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete deployment v2 params

func (*DeleteDeploymentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete deployment v2 params

func (*DeleteDeploymentV2Params) SetNamespace

func (o *DeleteDeploymentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete deployment v2 params

func (*DeleteDeploymentV2Params) SetTimeout

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

SetTimeout adds the timeout to the delete deployment v2 params

func (*DeleteDeploymentV2Params) WithContext

WithContext adds the context to the delete deployment v2 params

func (*DeleteDeploymentV2Params) WithDeploymentID

func (o *DeleteDeploymentV2Params) WithDeploymentID(deploymentID string) *DeleteDeploymentV2Params

WithDeploymentID adds the deploymentID to the delete deployment v2 params

func (*DeleteDeploymentV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete deployment v2 params

func (*DeleteDeploymentV2Params) WithNamespace

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

WithNamespace adds the namespace to the delete deployment v2 params

func (*DeleteDeploymentV2Params) WithTimeout

WithTimeout adds the timeout to the delete deployment v2 params

func (*DeleteDeploymentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeploymentV2Reader

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

DeleteDeploymentV2Reader is a Reader for the DeleteDeploymentV2 structure.

func (*DeleteDeploymentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeploymentV2Unauthorized

type DeleteDeploymentV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV2Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteDeploymentV2Unauthorized

func NewDeleteDeploymentV2Unauthorized() *DeleteDeploymentV2Unauthorized

NewDeleteDeploymentV2Unauthorized creates a DeleteDeploymentV2Unauthorized with default headers values

func (*DeleteDeploymentV2Unauthorized) Error

func (*DeleteDeploymentV2Unauthorized) GetPayload

func (*DeleteDeploymentV2Unauthorized) ToJSONString

func (o *DeleteDeploymentV2Unauthorized) ToJSONString() string

type GetDeploymentV2Forbidden

type GetDeploymentV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV2Forbidden handles this case with default header values.

Forbidden

func NewGetDeploymentV2Forbidden

func NewGetDeploymentV2Forbidden() *GetDeploymentV2Forbidden

NewGetDeploymentV2Forbidden creates a GetDeploymentV2Forbidden with default headers values

func (*GetDeploymentV2Forbidden) Error

func (o *GetDeploymentV2Forbidden) Error() string

func (*GetDeploymentV2Forbidden) GetPayload

func (*GetDeploymentV2Forbidden) ToJSONString

func (o *GetDeploymentV2Forbidden) ToJSONString() string

type GetDeploymentV2InternalServerError

type GetDeploymentV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV2InternalServerError handles this case with default header values.

Internal Server Error

func NewGetDeploymentV2InternalServerError

func NewGetDeploymentV2InternalServerError() *GetDeploymentV2InternalServerError

NewGetDeploymentV2InternalServerError creates a GetDeploymentV2InternalServerError with default headers values

func (*GetDeploymentV2InternalServerError) Error

func (*GetDeploymentV2InternalServerError) GetPayload

func (*GetDeploymentV2InternalServerError) ToJSONString

func (o *GetDeploymentV2InternalServerError) ToJSONString() string

type GetDeploymentV2NotFound

type GetDeploymentV2NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV2NotFound handles this case with default header values.

Not Found

func NewGetDeploymentV2NotFound

func NewGetDeploymentV2NotFound() *GetDeploymentV2NotFound

NewGetDeploymentV2NotFound creates a GetDeploymentV2NotFound with default headers values

func (*GetDeploymentV2NotFound) Error

func (o *GetDeploymentV2NotFound) Error() string

func (*GetDeploymentV2NotFound) GetPayload

func (*GetDeploymentV2NotFound) ToJSONString

func (o *GetDeploymentV2NotFound) ToJSONString() string

type GetDeploymentV2OK

type GetDeploymentV2OK struct {
	Payload *csmclientmodels.ApimodelGetDeploymentListV2DataItem
}

GetDeploymentV2OK handles this case with default header values.

func NewGetDeploymentV2OK

func NewGetDeploymentV2OK() *GetDeploymentV2OK

NewGetDeploymentV2OK creates a GetDeploymentV2OK with default headers values

func (*GetDeploymentV2OK) Error

func (o *GetDeploymentV2OK) Error() string

func (*GetDeploymentV2OK) GetPayload

func (*GetDeploymentV2OK) ToJSONString

func (o *GetDeploymentV2OK) ToJSONString() string

type GetDeploymentV2Params

type GetDeploymentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*DeploymentID
	  Deployment ID

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

GetDeploymentV2Params contains all the parameters to send to the API endpoint for the get deployment v2 operation typically these are written to a http.Request

func NewGetDeploymentV2Params

func NewGetDeploymentV2Params() *GetDeploymentV2Params

NewGetDeploymentV2Params creates a new GetDeploymentV2Params object with the default values initialized.

func NewGetDeploymentV2ParamsWithContext

func NewGetDeploymentV2ParamsWithContext(ctx context.Context) *GetDeploymentV2Params

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

func NewGetDeploymentV2ParamsWithHTTPClient

func NewGetDeploymentV2ParamsWithHTTPClient(client *http.Client) *GetDeploymentV2Params

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

func NewGetDeploymentV2ParamsWithTimeout

func NewGetDeploymentV2ParamsWithTimeout(timeout time.Duration) *GetDeploymentV2Params

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

func (*GetDeploymentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get deployment v2 params

func (*GetDeploymentV2Params) SetContext

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

SetContext adds the context to the get deployment v2 params

func (*GetDeploymentV2Params) SetDeploymentID

func (o *GetDeploymentV2Params) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the get deployment v2 params

func (*GetDeploymentV2Params) SetFlightId

func (o *GetDeploymentV2Params) SetFlightId(flightId string)

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

func (*GetDeploymentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deployment v2 params

func (*GetDeploymentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get deployment v2 params

func (*GetDeploymentV2Params) SetNamespace

func (o *GetDeploymentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get deployment v2 params

func (*GetDeploymentV2Params) SetTimeout

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

SetTimeout adds the timeout to the get deployment v2 params

func (*GetDeploymentV2Params) WithContext

WithContext adds the context to the get deployment v2 params

func (*GetDeploymentV2Params) WithDeploymentID

func (o *GetDeploymentV2Params) WithDeploymentID(deploymentID string) *GetDeploymentV2Params

WithDeploymentID adds the deploymentID to the get deployment v2 params

func (*GetDeploymentV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deployment v2 params

func (*GetDeploymentV2Params) WithNamespace

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

WithNamespace adds the namespace to the get deployment v2 params

func (*GetDeploymentV2Params) WithTimeout

func (o *GetDeploymentV2Params) WithTimeout(timeout time.Duration) *GetDeploymentV2Params

WithTimeout adds the timeout to the get deployment v2 params

func (*GetDeploymentV2Params) WriteToRequest

func (o *GetDeploymentV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetDeploymentV2Reader

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

GetDeploymentV2Reader is a Reader for the GetDeploymentV2 structure.

func (*GetDeploymentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploymentV2Unauthorized

type GetDeploymentV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV2Unauthorized handles this case with default header values.

Unauthorized

func NewGetDeploymentV2Unauthorized

func NewGetDeploymentV2Unauthorized() *GetDeploymentV2Unauthorized

NewGetDeploymentV2Unauthorized creates a GetDeploymentV2Unauthorized with default headers values

func (*GetDeploymentV2Unauthorized) Error

func (*GetDeploymentV2Unauthorized) GetPayload

func (*GetDeploymentV2Unauthorized) ToJSONString

func (o *GetDeploymentV2Unauthorized) ToJSONString() string

type GetListOfDeploymentV2BadRequest

type GetListOfDeploymentV2BadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV2BadRequest handles this case with default header values.

Bad Request

func NewGetListOfDeploymentV2BadRequest

func NewGetListOfDeploymentV2BadRequest() *GetListOfDeploymentV2BadRequest

NewGetListOfDeploymentV2BadRequest creates a GetListOfDeploymentV2BadRequest with default headers values

func (*GetListOfDeploymentV2BadRequest) Error

func (*GetListOfDeploymentV2BadRequest) GetPayload

func (*GetListOfDeploymentV2BadRequest) ToJSONString

func (o *GetListOfDeploymentV2BadRequest) ToJSONString() string

type GetListOfDeploymentV2Forbidden

type GetListOfDeploymentV2Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV2Forbidden handles this case with default header values.

Forbidden

func NewGetListOfDeploymentV2Forbidden

func NewGetListOfDeploymentV2Forbidden() *GetListOfDeploymentV2Forbidden

NewGetListOfDeploymentV2Forbidden creates a GetListOfDeploymentV2Forbidden with default headers values

func (*GetListOfDeploymentV2Forbidden) Error

func (*GetListOfDeploymentV2Forbidden) GetPayload

func (*GetListOfDeploymentV2Forbidden) ToJSONString

func (o *GetListOfDeploymentV2Forbidden) ToJSONString() string

type GetListOfDeploymentV2InternalServerError

type GetListOfDeploymentV2InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV2InternalServerError handles this case with default header values.

Internal Server Error

func NewGetListOfDeploymentV2InternalServerError

func NewGetListOfDeploymentV2InternalServerError() *GetListOfDeploymentV2InternalServerError

NewGetListOfDeploymentV2InternalServerError creates a GetListOfDeploymentV2InternalServerError with default headers values

func (*GetListOfDeploymentV2InternalServerError) Error

func (*GetListOfDeploymentV2InternalServerError) GetPayload

func (*GetListOfDeploymentV2InternalServerError) ToJSONString

type GetListOfDeploymentV2OK

type GetListOfDeploymentV2OK struct {
	Payload *csmclientmodels.ApimodelGetDeploymentListV2Response
}

GetListOfDeploymentV2OK handles this case with default header values.

func NewGetListOfDeploymentV2OK

func NewGetListOfDeploymentV2OK() *GetListOfDeploymentV2OK

NewGetListOfDeploymentV2OK creates a GetListOfDeploymentV2OK with default headers values

func (*GetListOfDeploymentV2OK) Error

func (o *GetListOfDeploymentV2OK) Error() string

func (*GetListOfDeploymentV2OK) GetPayload

func (*GetListOfDeploymentV2OK) ToJSONString

func (o *GetListOfDeploymentV2OK) ToJSONString() string

type GetListOfDeploymentV2Params

type GetListOfDeploymentV2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.ApimodelGetDeploymentListV2Request
	/*Namespace
	  Game Namespace

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

GetListOfDeploymentV2Params contains all the parameters to send to the API endpoint for the get list of deployment v2 operation typically these are written to a http.Request

func NewGetListOfDeploymentV2Params

func NewGetListOfDeploymentV2Params() *GetListOfDeploymentV2Params

NewGetListOfDeploymentV2Params creates a new GetListOfDeploymentV2Params object with the default values initialized.

func NewGetListOfDeploymentV2ParamsWithContext

func NewGetListOfDeploymentV2ParamsWithContext(ctx context.Context) *GetListOfDeploymentV2Params

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

func NewGetListOfDeploymentV2ParamsWithHTTPClient

func NewGetListOfDeploymentV2ParamsWithHTTPClient(client *http.Client) *GetListOfDeploymentV2Params

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

func NewGetListOfDeploymentV2ParamsWithTimeout

func NewGetListOfDeploymentV2ParamsWithTimeout(timeout time.Duration) *GetListOfDeploymentV2Params

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

func (*GetListOfDeploymentV2Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetBody

SetBody adds the body to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetContext

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

SetContext adds the context to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetFlightId

func (o *GetListOfDeploymentV2Params) SetFlightId(flightId string)

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

func (*GetListOfDeploymentV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetLimit

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

SetLimit adds the limit to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetNamespace

func (o *GetListOfDeploymentV2Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetOffset

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

SetOffset adds the offset to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) SetTimeout

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

SetTimeout adds the timeout to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithBody

WithBody adds the body to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithContext

WithContext adds the context to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithLimit

WithLimit adds the limit to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithNamespace

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

WithNamespace adds the namespace to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithOffset

WithOffset adds the offset to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WithTimeout

WithTimeout adds the timeout to the get list of deployment v2 params

func (*GetListOfDeploymentV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfDeploymentV2Reader

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

GetListOfDeploymentV2Reader is a Reader for the GetListOfDeploymentV2 structure.

func (*GetListOfDeploymentV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListOfDeploymentV2Unauthorized

type GetListOfDeploymentV2Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV2Unauthorized handles this case with default header values.

Unauthorized

func NewGetListOfDeploymentV2Unauthorized

func NewGetListOfDeploymentV2Unauthorized() *GetListOfDeploymentV2Unauthorized

NewGetListOfDeploymentV2Unauthorized creates a GetListOfDeploymentV2Unauthorized with default headers values

func (*GetListOfDeploymentV2Unauthorized) Error

func (*GetListOfDeploymentV2Unauthorized) GetPayload

func (*GetListOfDeploymentV2Unauthorized) ToJSONString

func (o *GetListOfDeploymentV2Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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