deployment

package
v0.76.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 API

func (*Client) CreateDeploymentV1 deprecated

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

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

Creates Deployment for extend service

This endpoint intended to apply the helm release or deploying the custom service image. Logic in this endpoint: - Getting the repo from AppHistory table and image tag from request - Getting the Helm Manifest template from S3 - Filling the Helm Manifest values - Installing the Helm Manifest to deploy the custom service image into K8s based on given namespace - Storing the filled Helm Manifest to S3 - Storing the Deployment information to Database

Required: Valid Access Token

func (*Client) CreateDeploymentV1Short

func (a *Client) CreateDeploymentV1Short(params *CreateDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentV1Created, error)

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

Creates Deployment for extend service

This endpoint intended to apply the helm release or deploying the custom service image. Logic in this endpoint: - Getting the repo from AppHistory table and image tag from request - Getting the Helm Manifest template from S3 - Filling the Helm Manifest values - Installing the Helm Manifest to deploy the custom service image into K8s based on given namespace - Storing the filled Helm Manifest to S3 - Storing the Deployment information to Database

Required: Valid Access Token

func (*Client) DeleteDeploymentV1 deprecated

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

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

Delete Deployment information by given DeploymentID

This endpoint intended to delete helm release object and update the deleted_at in DB by given Deployment ID.

Required: Valid Access Token

func (*Client) DeleteDeploymentV1Short

func (a *Client) DeleteDeploymentV1Short(params *DeleteDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentV1NoContent, error)

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

Delete Deployment information by given DeploymentID

This endpoint intended to delete helm release object and update the deleted_at in DB by given Deployment ID.

Required: Valid Access Token

func (*Client) GetDeploymentV1 deprecated

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

GetDeploymentV1 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 by given Deployment ID from Deployment Table.

Required: Valid Access Token

func (*Client) GetDeploymentV1Short

func (a *Client) GetDeploymentV1Short(params *GetDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentV1OK, error)

GetDeploymentV1Short 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 by given Deployment ID from Deployment Table.

Required: Valid Access Token

func (*Client) GetListOfDeploymentV1 deprecated

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

GetListOfDeploymentV1 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.

Required: Valid Access Token

func (*Client) GetListOfDeploymentV1Short

func (a *Client) GetListOfDeploymentV1Short(params *GetListOfDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetListOfDeploymentV1OK, error)

GetListOfDeploymentV1Short 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.

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 {
	CreateDeploymentV1(params *CreateDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentV1Created, *CreateDeploymentV1BadRequest, *CreateDeploymentV1Unauthorized, *CreateDeploymentV1Forbidden, *CreateDeploymentV1NotFound, *CreateDeploymentV1InternalServerError, error)
	CreateDeploymentV1Short(params *CreateDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentV1Created, error)
	GetListOfDeploymentV1(params *GetListOfDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetListOfDeploymentV1OK, *GetListOfDeploymentV1BadRequest, *GetListOfDeploymentV1Unauthorized, *GetListOfDeploymentV1Forbidden, *GetListOfDeploymentV1InternalServerError, error)
	GetListOfDeploymentV1Short(params *GetListOfDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetListOfDeploymentV1OK, error)
	GetDeploymentV1(params *GetDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentV1OK, *GetDeploymentV1Unauthorized, *GetDeploymentV1Forbidden, *GetDeploymentV1NotFound, *GetDeploymentV1InternalServerError, error)
	GetDeploymentV1Short(params *GetDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentV1OK, error)
	DeleteDeploymentV1(params *DeleteDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentV1NoContent, *DeleteDeploymentV1Unauthorized, *DeleteDeploymentV1Forbidden, *DeleteDeploymentV1NotFound, *DeleteDeploymentV1InternalServerError, error)
	DeleteDeploymentV1Short(params *DeleteDeploymentV1Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentV1NoContent, 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 API client.

type CreateDeploymentV1BadRequest

type CreateDeploymentV1BadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV1BadRequest handles this case with default header values.

Bad Request

func NewCreateDeploymentV1BadRequest

func NewCreateDeploymentV1BadRequest() *CreateDeploymentV1BadRequest

NewCreateDeploymentV1BadRequest creates a CreateDeploymentV1BadRequest with default headers values

func (*CreateDeploymentV1BadRequest) Error

func (*CreateDeploymentV1BadRequest) GetPayload

func (*CreateDeploymentV1BadRequest) ToJSONString

func (o *CreateDeploymentV1BadRequest) ToJSONString() string

type CreateDeploymentV1Created

type CreateDeploymentV1Created struct {
	Payload *csmclientmodels.GeneratedCreateDeploymentV1Response
}

CreateDeploymentV1Created handles this case with default header values.

func NewCreateDeploymentV1Created

func NewCreateDeploymentV1Created() *CreateDeploymentV1Created

NewCreateDeploymentV1Created creates a CreateDeploymentV1Created with default headers values

func (*CreateDeploymentV1Created) Error

func (o *CreateDeploymentV1Created) Error() string

func (*CreateDeploymentV1Created) GetPayload

func (*CreateDeploymentV1Created) ToJSONString

func (o *CreateDeploymentV1Created) ToJSONString() string

type CreateDeploymentV1Forbidden

type CreateDeploymentV1Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV1Forbidden handles this case with default header values.

Forbidden

func NewCreateDeploymentV1Forbidden

func NewCreateDeploymentV1Forbidden() *CreateDeploymentV1Forbidden

NewCreateDeploymentV1Forbidden creates a CreateDeploymentV1Forbidden with default headers values

func (*CreateDeploymentV1Forbidden) Error

func (*CreateDeploymentV1Forbidden) GetPayload

func (*CreateDeploymentV1Forbidden) ToJSONString

func (o *CreateDeploymentV1Forbidden) ToJSONString() string

type CreateDeploymentV1InternalServerError

type CreateDeploymentV1InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV1InternalServerError handles this case with default header values.

Internal Server Error

func NewCreateDeploymentV1InternalServerError

func NewCreateDeploymentV1InternalServerError() *CreateDeploymentV1InternalServerError

NewCreateDeploymentV1InternalServerError creates a CreateDeploymentV1InternalServerError with default headers values

func (*CreateDeploymentV1InternalServerError) Error

func (*CreateDeploymentV1InternalServerError) GetPayload

func (*CreateDeploymentV1InternalServerError) ToJSONString

type CreateDeploymentV1NotFound

type CreateDeploymentV1NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV1NotFound handles this case with default header values.

Not Found

func NewCreateDeploymentV1NotFound

func NewCreateDeploymentV1NotFound() *CreateDeploymentV1NotFound

NewCreateDeploymentV1NotFound creates a CreateDeploymentV1NotFound with default headers values

func (*CreateDeploymentV1NotFound) Error

func (*CreateDeploymentV1NotFound) GetPayload

func (*CreateDeploymentV1NotFound) ToJSONString

func (o *CreateDeploymentV1NotFound) ToJSONString() string

type CreateDeploymentV1Params

type CreateDeploymentV1Params struct {

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

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

func NewCreateDeploymentV1Params

func NewCreateDeploymentV1Params() *CreateDeploymentV1Params

NewCreateDeploymentV1Params creates a new CreateDeploymentV1Params object with the default values initialized.

func NewCreateDeploymentV1ParamsWithContext

func NewCreateDeploymentV1ParamsWithContext(ctx context.Context) *CreateDeploymentV1Params

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

func NewCreateDeploymentV1ParamsWithHTTPClient

func NewCreateDeploymentV1ParamsWithHTTPClient(client *http.Client) *CreateDeploymentV1Params

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

func NewCreateDeploymentV1ParamsWithTimeout

func NewCreateDeploymentV1ParamsWithTimeout(timeout time.Duration) *CreateDeploymentV1Params

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

func (*CreateDeploymentV1Params) SetApp

func (o *CreateDeploymentV1Params) SetApp(app string)

SetApp adds the app to the create deployment v1 params

func (*CreateDeploymentV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the create deployment v1 params

func (*CreateDeploymentV1Params) SetBody

SetBody adds the body to the create deployment v1 params

func (*CreateDeploymentV1Params) SetContext

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

SetContext adds the context to the create deployment v1 params

func (*CreateDeploymentV1Params) SetFlightId

func (o *CreateDeploymentV1Params) SetFlightId(flightId string)

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

func (*CreateDeploymentV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create deployment v1 params

func (*CreateDeploymentV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create deployment v1 params

func (*CreateDeploymentV1Params) SetNamespace

func (o *CreateDeploymentV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the create deployment v1 params

func (*CreateDeploymentV1Params) SetTimeout

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

SetTimeout adds the timeout to the create deployment v1 params

func (*CreateDeploymentV1Params) WithApp

WithApp adds the app to the create deployment v1 params

func (*CreateDeploymentV1Params) WithBody

WithBody adds the body to the create deployment v1 params

func (*CreateDeploymentV1Params) WithContext

WithContext adds the context to the create deployment v1 params

func (*CreateDeploymentV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create deployment v1 params

func (*CreateDeploymentV1Params) WithNamespace

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

WithNamespace adds the namespace to the create deployment v1 params

func (*CreateDeploymentV1Params) WithTimeout

WithTimeout adds the timeout to the create deployment v1 params

func (*CreateDeploymentV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeploymentV1Reader

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

CreateDeploymentV1Reader is a Reader for the CreateDeploymentV1 structure.

func (*CreateDeploymentV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateDeploymentV1Unauthorized

type CreateDeploymentV1Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

CreateDeploymentV1Unauthorized handles this case with default header values.

Unauthorized

func NewCreateDeploymentV1Unauthorized

func NewCreateDeploymentV1Unauthorized() *CreateDeploymentV1Unauthorized

NewCreateDeploymentV1Unauthorized creates a CreateDeploymentV1Unauthorized with default headers values

func (*CreateDeploymentV1Unauthorized) Error

func (*CreateDeploymentV1Unauthorized) GetPayload

func (*CreateDeploymentV1Unauthorized) ToJSONString

func (o *CreateDeploymentV1Unauthorized) ToJSONString() string

type DeleteDeploymentV1Forbidden

type DeleteDeploymentV1Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV1Forbidden handles this case with default header values.

Forbidden

func NewDeleteDeploymentV1Forbidden

func NewDeleteDeploymentV1Forbidden() *DeleteDeploymentV1Forbidden

NewDeleteDeploymentV1Forbidden creates a DeleteDeploymentV1Forbidden with default headers values

func (*DeleteDeploymentV1Forbidden) Error

func (*DeleteDeploymentV1Forbidden) GetPayload

func (*DeleteDeploymentV1Forbidden) ToJSONString

func (o *DeleteDeploymentV1Forbidden) ToJSONString() string

type DeleteDeploymentV1InternalServerError

type DeleteDeploymentV1InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV1InternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteDeploymentV1InternalServerError

func NewDeleteDeploymentV1InternalServerError() *DeleteDeploymentV1InternalServerError

NewDeleteDeploymentV1InternalServerError creates a DeleteDeploymentV1InternalServerError with default headers values

func (*DeleteDeploymentV1InternalServerError) Error

func (*DeleteDeploymentV1InternalServerError) GetPayload

func (*DeleteDeploymentV1InternalServerError) ToJSONString

type DeleteDeploymentV1NoContent

type DeleteDeploymentV1NoContent struct {
}

DeleteDeploymentV1NoContent handles this case with default header values.

func NewDeleteDeploymentV1NoContent

func NewDeleteDeploymentV1NoContent() *DeleteDeploymentV1NoContent

NewDeleteDeploymentV1NoContent creates a DeleteDeploymentV1NoContent with default headers values

func (*DeleteDeploymentV1NoContent) Error

type DeleteDeploymentV1NotFound

type DeleteDeploymentV1NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV1NotFound handles this case with default header values.

Not Found

func NewDeleteDeploymentV1NotFound

func NewDeleteDeploymentV1NotFound() *DeleteDeploymentV1NotFound

NewDeleteDeploymentV1NotFound creates a DeleteDeploymentV1NotFound with default headers values

func (*DeleteDeploymentV1NotFound) Error

func (*DeleteDeploymentV1NotFound) GetPayload

func (*DeleteDeploymentV1NotFound) ToJSONString

func (o *DeleteDeploymentV1NotFound) ToJSONString() string

type DeleteDeploymentV1Params

type DeleteDeploymentV1Params struct {

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

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

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

func NewDeleteDeploymentV1Params

func NewDeleteDeploymentV1Params() *DeleteDeploymentV1Params

NewDeleteDeploymentV1Params creates a new DeleteDeploymentV1Params object with the default values initialized.

func NewDeleteDeploymentV1ParamsWithContext

func NewDeleteDeploymentV1ParamsWithContext(ctx context.Context) *DeleteDeploymentV1Params

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

func NewDeleteDeploymentV1ParamsWithHTTPClient

func NewDeleteDeploymentV1ParamsWithHTTPClient(client *http.Client) *DeleteDeploymentV1Params

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

func NewDeleteDeploymentV1ParamsWithTimeout

func NewDeleteDeploymentV1ParamsWithTimeout(timeout time.Duration) *DeleteDeploymentV1Params

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

func (*DeleteDeploymentV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the delete deployment v1 params

func (*DeleteDeploymentV1Params) SetContext

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

SetContext adds the context to the delete deployment v1 params

func (*DeleteDeploymentV1Params) SetDeploymentID

func (o *DeleteDeploymentV1Params) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the delete deployment v1 params

func (*DeleteDeploymentV1Params) SetFlightId

func (o *DeleteDeploymentV1Params) SetFlightId(flightId string)

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

func (*DeleteDeploymentV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete deployment v1 params

func (*DeleteDeploymentV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete deployment v1 params

func (*DeleteDeploymentV1Params) SetNamespace

func (o *DeleteDeploymentV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete deployment v1 params

func (*DeleteDeploymentV1Params) SetTimeout

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

SetTimeout adds the timeout to the delete deployment v1 params

func (*DeleteDeploymentV1Params) WithContext

WithContext adds the context to the delete deployment v1 params

func (*DeleteDeploymentV1Params) WithDeploymentID

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

WithDeploymentID adds the deploymentID to the delete deployment v1 params

func (*DeleteDeploymentV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete deployment v1 params

func (*DeleteDeploymentV1Params) WithNamespace

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

WithNamespace adds the namespace to the delete deployment v1 params

func (*DeleteDeploymentV1Params) WithTimeout

WithTimeout adds the timeout to the delete deployment v1 params

func (*DeleteDeploymentV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeploymentV1Reader

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

DeleteDeploymentV1Reader is a Reader for the DeleteDeploymentV1 structure.

func (*DeleteDeploymentV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDeploymentV1Unauthorized

type DeleteDeploymentV1Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

DeleteDeploymentV1Unauthorized handles this case with default header values.

Unauthorized

func NewDeleteDeploymentV1Unauthorized

func NewDeleteDeploymentV1Unauthorized() *DeleteDeploymentV1Unauthorized

NewDeleteDeploymentV1Unauthorized creates a DeleteDeploymentV1Unauthorized with default headers values

func (*DeleteDeploymentV1Unauthorized) Error

func (*DeleteDeploymentV1Unauthorized) GetPayload

func (*DeleteDeploymentV1Unauthorized) ToJSONString

func (o *DeleteDeploymentV1Unauthorized) ToJSONString() string

type GetDeploymentV1Forbidden

type GetDeploymentV1Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV1Forbidden handles this case with default header values.

Forbidden

func NewGetDeploymentV1Forbidden

func NewGetDeploymentV1Forbidden() *GetDeploymentV1Forbidden

NewGetDeploymentV1Forbidden creates a GetDeploymentV1Forbidden with default headers values

func (*GetDeploymentV1Forbidden) Error

func (o *GetDeploymentV1Forbidden) Error() string

func (*GetDeploymentV1Forbidden) GetPayload

func (*GetDeploymentV1Forbidden) ToJSONString

func (o *GetDeploymentV1Forbidden) ToJSONString() string

type GetDeploymentV1InternalServerError

type GetDeploymentV1InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetDeploymentV1InternalServerError

func NewGetDeploymentV1InternalServerError() *GetDeploymentV1InternalServerError

NewGetDeploymentV1InternalServerError creates a GetDeploymentV1InternalServerError with default headers values

func (*GetDeploymentV1InternalServerError) Error

func (*GetDeploymentV1InternalServerError) GetPayload

func (*GetDeploymentV1InternalServerError) ToJSONString

func (o *GetDeploymentV1InternalServerError) ToJSONString() string

type GetDeploymentV1NotFound

type GetDeploymentV1NotFound struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV1NotFound handles this case with default header values.

Not Found

func NewGetDeploymentV1NotFound

func NewGetDeploymentV1NotFound() *GetDeploymentV1NotFound

NewGetDeploymentV1NotFound creates a GetDeploymentV1NotFound with default headers values

func (*GetDeploymentV1NotFound) Error

func (o *GetDeploymentV1NotFound) Error() string

func (*GetDeploymentV1NotFound) GetPayload

func (*GetDeploymentV1NotFound) ToJSONString

func (o *GetDeploymentV1NotFound) ToJSONString() string

type GetDeploymentV1OK

type GetDeploymentV1OK struct {
	Payload *csmclientmodels.GeneratedGetDeploymentV1Response
}

GetDeploymentV1OK handles this case with default header values.

func NewGetDeploymentV1OK

func NewGetDeploymentV1OK() *GetDeploymentV1OK

NewGetDeploymentV1OK creates a GetDeploymentV1OK with default headers values

func (*GetDeploymentV1OK) Error

func (o *GetDeploymentV1OK) Error() string

func (*GetDeploymentV1OK) GetPayload

func (*GetDeploymentV1OK) ToJSONString

func (o *GetDeploymentV1OK) ToJSONString() string

type GetDeploymentV1Params

type GetDeploymentV1Params struct {

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

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

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

func NewGetDeploymentV1Params

func NewGetDeploymentV1Params() *GetDeploymentV1Params

NewGetDeploymentV1Params creates a new GetDeploymentV1Params object with the default values initialized.

func NewGetDeploymentV1ParamsWithContext

func NewGetDeploymentV1ParamsWithContext(ctx context.Context) *GetDeploymentV1Params

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

func NewGetDeploymentV1ParamsWithHTTPClient

func NewGetDeploymentV1ParamsWithHTTPClient(client *http.Client) *GetDeploymentV1Params

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

func NewGetDeploymentV1ParamsWithTimeout

func NewGetDeploymentV1ParamsWithTimeout(timeout time.Duration) *GetDeploymentV1Params

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

func (*GetDeploymentV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get deployment v1 params

func (*GetDeploymentV1Params) SetContext

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

SetContext adds the context to the get deployment v1 params

func (*GetDeploymentV1Params) SetDeploymentID

func (o *GetDeploymentV1Params) SetDeploymentID(deploymentID string)

SetDeploymentID adds the deploymentId to the get deployment v1 params

func (*GetDeploymentV1Params) SetFlightId

func (o *GetDeploymentV1Params) SetFlightId(flightId string)

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

func (*GetDeploymentV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get deployment v1 params

func (*GetDeploymentV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get deployment v1 params

func (*GetDeploymentV1Params) SetNamespace

func (o *GetDeploymentV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the get deployment v1 params

func (*GetDeploymentV1Params) SetTimeout

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

SetTimeout adds the timeout to the get deployment v1 params

func (*GetDeploymentV1Params) WithContext

WithContext adds the context to the get deployment v1 params

func (*GetDeploymentV1Params) WithDeploymentID

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

WithDeploymentID adds the deploymentID to the get deployment v1 params

func (*GetDeploymentV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get deployment v1 params

func (*GetDeploymentV1Params) WithNamespace

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

WithNamespace adds the namespace to the get deployment v1 params

func (*GetDeploymentV1Params) WithTimeout

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

WithTimeout adds the timeout to the get deployment v1 params

func (*GetDeploymentV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDeploymentV1Reader

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

GetDeploymentV1Reader is a Reader for the GetDeploymentV1 structure.

func (*GetDeploymentV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeploymentV1Unauthorized

type GetDeploymentV1Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetDeploymentV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetDeploymentV1Unauthorized

func NewGetDeploymentV1Unauthorized() *GetDeploymentV1Unauthorized

NewGetDeploymentV1Unauthorized creates a GetDeploymentV1Unauthorized with default headers values

func (*GetDeploymentV1Unauthorized) Error

func (*GetDeploymentV1Unauthorized) GetPayload

func (*GetDeploymentV1Unauthorized) ToJSONString

func (o *GetDeploymentV1Unauthorized) ToJSONString() string

type GetListOfDeploymentV1BadRequest

type GetListOfDeploymentV1BadRequest struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV1BadRequest handles this case with default header values.

Bad Request

func NewGetListOfDeploymentV1BadRequest

func NewGetListOfDeploymentV1BadRequest() *GetListOfDeploymentV1BadRequest

NewGetListOfDeploymentV1BadRequest creates a GetListOfDeploymentV1BadRequest with default headers values

func (*GetListOfDeploymentV1BadRequest) Error

func (*GetListOfDeploymentV1BadRequest) GetPayload

func (*GetListOfDeploymentV1BadRequest) ToJSONString

func (o *GetListOfDeploymentV1BadRequest) ToJSONString() string

type GetListOfDeploymentV1Forbidden

type GetListOfDeploymentV1Forbidden struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV1Forbidden handles this case with default header values.

Forbidden

func NewGetListOfDeploymentV1Forbidden

func NewGetListOfDeploymentV1Forbidden() *GetListOfDeploymentV1Forbidden

NewGetListOfDeploymentV1Forbidden creates a GetListOfDeploymentV1Forbidden with default headers values

func (*GetListOfDeploymentV1Forbidden) Error

func (*GetListOfDeploymentV1Forbidden) GetPayload

func (*GetListOfDeploymentV1Forbidden) ToJSONString

func (o *GetListOfDeploymentV1Forbidden) ToJSONString() string

type GetListOfDeploymentV1InternalServerError

type GetListOfDeploymentV1InternalServerError struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV1InternalServerError handles this case with default header values.

Internal Server Error

func NewGetListOfDeploymentV1InternalServerError

func NewGetListOfDeploymentV1InternalServerError() *GetListOfDeploymentV1InternalServerError

NewGetListOfDeploymentV1InternalServerError creates a GetListOfDeploymentV1InternalServerError with default headers values

func (*GetListOfDeploymentV1InternalServerError) Error

func (*GetListOfDeploymentV1InternalServerError) GetPayload

func (*GetListOfDeploymentV1InternalServerError) ToJSONString

type GetListOfDeploymentV1OK

type GetListOfDeploymentV1OK struct {
	Payload *csmclientmodels.GeneratedGetDeploymentListV1Response
}

GetListOfDeploymentV1OK handles this case with default header values.

func NewGetListOfDeploymentV1OK

func NewGetListOfDeploymentV1OK() *GetListOfDeploymentV1OK

NewGetListOfDeploymentV1OK creates a GetListOfDeploymentV1OK with default headers values

func (*GetListOfDeploymentV1OK) Error

func (o *GetListOfDeploymentV1OK) Error() string

func (*GetListOfDeploymentV1OK) GetPayload

func (*GetListOfDeploymentV1OK) ToJSONString

func (o *GetListOfDeploymentV1OK) ToJSONString() string

type GetListOfDeploymentV1Params

type GetListOfDeploymentV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *csmclientmodels.GeneratedGetDeploymentListV1Request
	/*Namespace
	  Game Name

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

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

func NewGetListOfDeploymentV1Params

func NewGetListOfDeploymentV1Params() *GetListOfDeploymentV1Params

NewGetListOfDeploymentV1Params creates a new GetListOfDeploymentV1Params object with the default values initialized.

func NewGetListOfDeploymentV1ParamsWithContext

func NewGetListOfDeploymentV1ParamsWithContext(ctx context.Context) *GetListOfDeploymentV1Params

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

func NewGetListOfDeploymentV1ParamsWithHTTPClient

func NewGetListOfDeploymentV1ParamsWithHTTPClient(client *http.Client) *GetListOfDeploymentV1Params

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

func NewGetListOfDeploymentV1ParamsWithTimeout

func NewGetListOfDeploymentV1ParamsWithTimeout(timeout time.Duration) *GetListOfDeploymentV1Params

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

func (*GetListOfDeploymentV1Params) SetAuthInfoWriter

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

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

func (*GetListOfDeploymentV1Params) SetBody

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

func (*GetListOfDeploymentV1Params) SetContext

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

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

func (*GetListOfDeploymentV1Params) SetFlightId

func (o *GetListOfDeploymentV1Params) SetFlightId(flightId string)

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

func (*GetListOfDeploymentV1Params) SetHTTPClient

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

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

func (*GetListOfDeploymentV1Params) SetHTTPClientTransport

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

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

func (*GetListOfDeploymentV1Params) SetLimit

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

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

func (*GetListOfDeploymentV1Params) SetNamespace

func (o *GetListOfDeploymentV1Params) SetNamespace(namespace string)

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

func (*GetListOfDeploymentV1Params) SetOffset

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

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

func (*GetListOfDeploymentV1Params) SetTimeout

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

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

func (*GetListOfDeploymentV1Params) WithBody

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

func (*GetListOfDeploymentV1Params) WithContext

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

func (*GetListOfDeploymentV1Params) WithHTTPClient

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

func (*GetListOfDeploymentV1Params) WithLimit

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

func (*GetListOfDeploymentV1Params) WithNamespace

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

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

func (*GetListOfDeploymentV1Params) WithOffset

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

func (*GetListOfDeploymentV1Params) WithTimeout

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

func (*GetListOfDeploymentV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetListOfDeploymentV1Reader

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

GetListOfDeploymentV1Reader is a Reader for the GetListOfDeploymentV1 structure.

func (*GetListOfDeploymentV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetListOfDeploymentV1Unauthorized

type GetListOfDeploymentV1Unauthorized struct {
	Payload *csmclientmodels.ResponseErrorResponse
}

GetListOfDeploymentV1Unauthorized handles this case with default header values.

Unauthorized

func NewGetListOfDeploymentV1Unauthorized

func NewGetListOfDeploymentV1Unauthorized() *GetListOfDeploymentV1Unauthorized

NewGetListOfDeploymentV1Unauthorized creates a GetListOfDeploymentV1Unauthorized with default headers values

func (*GetListOfDeploymentV1Unauthorized) Error

func (*GetListOfDeploymentV1Unauthorized) GetPayload

func (*GetListOfDeploymentV1Unauthorized) ToJSONString

func (o *GetListOfDeploymentV1Unauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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