fleets

package
v0.1.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FleetServersAscConstant  = "asc"
	FleetServersDescConstant = "desc"
)

Get the enum in FleetServersParams

View Source
const (
	FleetServersClaimedConstant      = "claimed"
	FleetServersClaimingConstant     = "claiming"
	FleetServersCrashBackoffConstant = "crash backoff"
	FleetServersCreatingConstant     = "creating"
	FleetServersDrainingConstant     = "draining"
	FleetServersReadyConstant        = "ready"
	FleetServersUnresponsiveConstant = "unresponsive"
)

Get the enum in FleetServersParams

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for fleets API

func (*Client) FleetClaimByIDShort

func (a *Client) FleetClaimByIDShort(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, error)

FleetClaimByIDShort claim a dedicated server from a fleet Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]

func (*Client) FleetClaimByKeysShort

func (a *Client) FleetClaimByKeysShort(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, error)

FleetClaimByKeysShort claim a dedicated server Claim a dedicated server from fleets with matching claim keys. If the claim key is for a regular fleet (non development), the request will instantly fail if there are no DS available (HTTP 404). If the claim key is for a development fleet and there are no DS available, a new DS will be launched and the request might take up to 8 seconds to return (depending on the environment configuration). If it's not ready after that duration the request will still return HTTP 404. In either case, the call to this endpoint may be retried at any time to check if a DS has become available.

Required Permission: NAMESPACE:{namespace}:AMS:SERVER:CLAIM [UPDATE]

func (*Client) FleetCreateShort

func (a *Client) FleetCreateShort(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, error)

FleetCreateShort create a fleet Optionally, sampling rules for the fleet can also be specified

Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]

func (*Client) FleetDeleteShort

func (a *Client) FleetDeleteShort(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, error)

FleetDeleteShort delete a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]

func (*Client) FleetGetShort

func (a *Client) FleetGetShort(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, error)

FleetGetShort get a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) FleetListShort

func (a *Client) FleetListShort(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, error)

FleetListShort list all fleets in a namespace Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) FleetServersShort

func (a *Client) FleetServersShort(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, error)

FleetServersShort get server details & counts for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]

func (*Client) FleetUpdateShort

func (a *Client) FleetUpdateShort(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, error)

FleetUpdateShort update a fleet -– overrides current data Optionally, sampling rules for the fleet can also be updated

Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	FleetListShort(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, error)
	FleetCreateShort(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, error)
	FleetGetShort(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, error)
	FleetUpdateShort(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, error)
	FleetDeleteShort(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, error)
	FleetServersShort(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, error)
	FleetClaimByIDShort(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, error)
	FleetClaimByKeysShort(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, 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 fleets API client.

type FleetClaimByIDBadRequest

type FleetClaimByIDBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByIDBadRequest handles this case with default header values.

bad request

func NewFleetClaimByIDBadRequest

func NewFleetClaimByIDBadRequest() *FleetClaimByIDBadRequest

NewFleetClaimByIDBadRequest creates a FleetClaimByIDBadRequest with default headers values

func (*FleetClaimByIDBadRequest) Error

func (o *FleetClaimByIDBadRequest) Error() string

func (*FleetClaimByIDBadRequest) GetPayload

func (*FleetClaimByIDBadRequest) ToJSONString

func (o *FleetClaimByIDBadRequest) ToJSONString() string

type FleetClaimByIDForbidden

type FleetClaimByIDForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByIDForbidden handles this case with default header values.

insufficient permissions

func NewFleetClaimByIDForbidden

func NewFleetClaimByIDForbidden() *FleetClaimByIDForbidden

NewFleetClaimByIDForbidden creates a FleetClaimByIDForbidden with default headers values

func (*FleetClaimByIDForbidden) Error

func (o *FleetClaimByIDForbidden) Error() string

func (*FleetClaimByIDForbidden) GetPayload

func (*FleetClaimByIDForbidden) ToJSONString

func (o *FleetClaimByIDForbidden) ToJSONString() string

type FleetClaimByIDInternalServerError

type FleetClaimByIDInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByIDInternalServerError handles this case with default header values.

internal server error

func NewFleetClaimByIDInternalServerError

func NewFleetClaimByIDInternalServerError() *FleetClaimByIDInternalServerError

NewFleetClaimByIDInternalServerError creates a FleetClaimByIDInternalServerError with default headers values

func (*FleetClaimByIDInternalServerError) Error

func (*FleetClaimByIDInternalServerError) GetPayload

func (*FleetClaimByIDInternalServerError) ToJSONString

func (o *FleetClaimByIDInternalServerError) ToJSONString() string

type FleetClaimByIDNotFound

type FleetClaimByIDNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByIDNotFound handles this case with default header values.

fleet not found

func NewFleetClaimByIDNotFound

func NewFleetClaimByIDNotFound() *FleetClaimByIDNotFound

NewFleetClaimByIDNotFound creates a FleetClaimByIDNotFound with default headers values

func (*FleetClaimByIDNotFound) Error

func (o *FleetClaimByIDNotFound) Error() string

func (*FleetClaimByIDNotFound) GetPayload

func (*FleetClaimByIDNotFound) ToJSONString

func (o *FleetClaimByIDNotFound) ToJSONString() string

type FleetClaimByIDOK

type FleetClaimByIDOK struct {
	Payload *amsclientmodels.APIFleetClaimResponse
}

FleetClaimByIDOK handles this case with default header values.

success

func NewFleetClaimByIDOK

func NewFleetClaimByIDOK() *FleetClaimByIDOK

NewFleetClaimByIDOK creates a FleetClaimByIDOK with default headers values

func (*FleetClaimByIDOK) Error

func (o *FleetClaimByIDOK) Error() string

func (*FleetClaimByIDOK) GetPayload

func (*FleetClaimByIDOK) ToJSONString

func (o *FleetClaimByIDOK) ToJSONString() string

type FleetClaimByIDParams

type FleetClaimByIDParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIFleetClaimReq
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

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

FleetClaimByIDParams contains all the parameters to send to the API endpoint for the fleet claim by id operation typically these are written to a http.Request

func NewFleetClaimByIDParams

func NewFleetClaimByIDParams() *FleetClaimByIDParams

NewFleetClaimByIDParams creates a new FleetClaimByIDParams object with the default values initialized.

func NewFleetClaimByIDParamsWithContext

func NewFleetClaimByIDParamsWithContext(ctx context.Context) *FleetClaimByIDParams

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

func NewFleetClaimByIDParamsWithHTTPClient

func NewFleetClaimByIDParamsWithHTTPClient(client *http.Client) *FleetClaimByIDParams

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

func NewFleetClaimByIDParamsWithTimeout

func NewFleetClaimByIDParamsWithTimeout(timeout time.Duration) *FleetClaimByIDParams

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

func (*FleetClaimByIDParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet claim by id params

func (*FleetClaimByIDParams) SetBody

SetBody adds the body to the fleet claim by id params

func (*FleetClaimByIDParams) SetContext

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

SetContext adds the context to the fleet claim by id params

func (*FleetClaimByIDParams) SetFleetID

func (o *FleetClaimByIDParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet claim by id params

func (*FleetClaimByIDParams) SetFlightId

func (o *FleetClaimByIDParams) SetFlightId(flightId string)

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

func (*FleetClaimByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet claim by id params

func (*FleetClaimByIDParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet claim by id params

func (*FleetClaimByIDParams) SetNamespace

func (o *FleetClaimByIDParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet claim by id params

func (*FleetClaimByIDParams) SetTimeout

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

SetTimeout adds the timeout to the fleet claim by id params

func (*FleetClaimByIDParams) WithBody

WithBody adds the body to the fleet claim by id params

func (*FleetClaimByIDParams) WithContext

WithContext adds the context to the fleet claim by id params

func (*FleetClaimByIDParams) WithFleetID

func (o *FleetClaimByIDParams) WithFleetID(fleetID string) *FleetClaimByIDParams

WithFleetID adds the fleetID to the fleet claim by id params

func (*FleetClaimByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet claim by id params

func (*FleetClaimByIDParams) WithNamespace

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

WithNamespace adds the namespace to the fleet claim by id params

func (*FleetClaimByIDParams) WithTimeout

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

WithTimeout adds the timeout to the fleet claim by id params

func (*FleetClaimByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetClaimByIDReader

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

FleetClaimByIDReader is a Reader for the FleetClaimByID structure.

func (*FleetClaimByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetClaimByIDUnauthorized

type FleetClaimByIDUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByIDUnauthorized handles this case with default header values.

no authorization provided

func NewFleetClaimByIDUnauthorized

func NewFleetClaimByIDUnauthorized() *FleetClaimByIDUnauthorized

NewFleetClaimByIDUnauthorized creates a FleetClaimByIDUnauthorized with default headers values

func (*FleetClaimByIDUnauthorized) Error

func (*FleetClaimByIDUnauthorized) GetPayload

func (*FleetClaimByIDUnauthorized) ToJSONString

func (o *FleetClaimByIDUnauthorized) ToJSONString() string

type FleetClaimByKeysBadRequest

type FleetClaimByKeysBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByKeysBadRequest handles this case with default header values.

bad request

func NewFleetClaimByKeysBadRequest

func NewFleetClaimByKeysBadRequest() *FleetClaimByKeysBadRequest

NewFleetClaimByKeysBadRequest creates a FleetClaimByKeysBadRequest with default headers values

func (*FleetClaimByKeysBadRequest) Error

func (*FleetClaimByKeysBadRequest) GetPayload

func (*FleetClaimByKeysBadRequest) ToJSONString

func (o *FleetClaimByKeysBadRequest) ToJSONString() string

type FleetClaimByKeysForbidden

type FleetClaimByKeysForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByKeysForbidden handles this case with default header values.

insufficient permissions

func NewFleetClaimByKeysForbidden

func NewFleetClaimByKeysForbidden() *FleetClaimByKeysForbidden

NewFleetClaimByKeysForbidden creates a FleetClaimByKeysForbidden with default headers values

func (*FleetClaimByKeysForbidden) Error

func (o *FleetClaimByKeysForbidden) Error() string

func (*FleetClaimByKeysForbidden) GetPayload

func (*FleetClaimByKeysForbidden) ToJSONString

func (o *FleetClaimByKeysForbidden) ToJSONString() string

type FleetClaimByKeysInternalServerError

type FleetClaimByKeysInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByKeysInternalServerError handles this case with default header values.

internal server error

func NewFleetClaimByKeysInternalServerError

func NewFleetClaimByKeysInternalServerError() *FleetClaimByKeysInternalServerError

NewFleetClaimByKeysInternalServerError creates a FleetClaimByKeysInternalServerError with default headers values

func (*FleetClaimByKeysInternalServerError) Error

func (*FleetClaimByKeysInternalServerError) GetPayload

func (*FleetClaimByKeysInternalServerError) ToJSONString

func (o *FleetClaimByKeysInternalServerError) ToJSONString() string

type FleetClaimByKeysNotFound

type FleetClaimByKeysNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByKeysNotFound handles this case with default header values.

no matching DS available

func NewFleetClaimByKeysNotFound

func NewFleetClaimByKeysNotFound() *FleetClaimByKeysNotFound

NewFleetClaimByKeysNotFound creates a FleetClaimByKeysNotFound with default headers values

func (*FleetClaimByKeysNotFound) Error

func (o *FleetClaimByKeysNotFound) Error() string

func (*FleetClaimByKeysNotFound) GetPayload

func (*FleetClaimByKeysNotFound) ToJSONString

func (o *FleetClaimByKeysNotFound) ToJSONString() string

type FleetClaimByKeysOK

type FleetClaimByKeysOK struct {
	Payload *amsclientmodels.APIFleetClaimResponse
}

FleetClaimByKeysOK handles this case with default header values.

success

func NewFleetClaimByKeysOK

func NewFleetClaimByKeysOK() *FleetClaimByKeysOK

NewFleetClaimByKeysOK creates a FleetClaimByKeysOK with default headers values

func (*FleetClaimByKeysOK) Error

func (o *FleetClaimByKeysOK) Error() string

func (*FleetClaimByKeysOK) GetPayload

func (*FleetClaimByKeysOK) ToJSONString

func (o *FleetClaimByKeysOK) ToJSONString() string

type FleetClaimByKeysParams

type FleetClaimByKeysParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIFleetClaimByKeysReq
	/*Namespace
	  namespace of the game

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

FleetClaimByKeysParams contains all the parameters to send to the API endpoint for the fleet claim by keys operation typically these are written to a http.Request

func NewFleetClaimByKeysParams

func NewFleetClaimByKeysParams() *FleetClaimByKeysParams

NewFleetClaimByKeysParams creates a new FleetClaimByKeysParams object with the default values initialized.

func NewFleetClaimByKeysParamsWithContext

func NewFleetClaimByKeysParamsWithContext(ctx context.Context) *FleetClaimByKeysParams

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

func NewFleetClaimByKeysParamsWithHTTPClient

func NewFleetClaimByKeysParamsWithHTTPClient(client *http.Client) *FleetClaimByKeysParams

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

func NewFleetClaimByKeysParamsWithTimeout

func NewFleetClaimByKeysParamsWithTimeout(timeout time.Duration) *FleetClaimByKeysParams

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

func (*FleetClaimByKeysParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet claim by keys params

func (*FleetClaimByKeysParams) SetBody

SetBody adds the body to the fleet claim by keys params

func (*FleetClaimByKeysParams) SetContext

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

SetContext adds the context to the fleet claim by keys params

func (*FleetClaimByKeysParams) SetFlightId

func (o *FleetClaimByKeysParams) SetFlightId(flightId string)

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

func (*FleetClaimByKeysParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet claim by keys params

func (*FleetClaimByKeysParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet claim by keys params

func (*FleetClaimByKeysParams) SetNamespace

func (o *FleetClaimByKeysParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet claim by keys params

func (*FleetClaimByKeysParams) SetTimeout

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

SetTimeout adds the timeout to the fleet claim by keys params

func (*FleetClaimByKeysParams) WithBody

WithBody adds the body to the fleet claim by keys params

func (*FleetClaimByKeysParams) WithContext

WithContext adds the context to the fleet claim by keys params

func (*FleetClaimByKeysParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet claim by keys params

func (*FleetClaimByKeysParams) WithNamespace

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

WithNamespace adds the namespace to the fleet claim by keys params

func (*FleetClaimByKeysParams) WithTimeout

WithTimeout adds the timeout to the fleet claim by keys params

func (*FleetClaimByKeysParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type FleetClaimByKeysReader

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

FleetClaimByKeysReader is a Reader for the FleetClaimByKeys structure.

func (*FleetClaimByKeysReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetClaimByKeysUnauthorized

type FleetClaimByKeysUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetClaimByKeysUnauthorized handles this case with default header values.

no authorization provided

func NewFleetClaimByKeysUnauthorized

func NewFleetClaimByKeysUnauthorized() *FleetClaimByKeysUnauthorized

NewFleetClaimByKeysUnauthorized creates a FleetClaimByKeysUnauthorized with default headers values

func (*FleetClaimByKeysUnauthorized) Error

func (*FleetClaimByKeysUnauthorized) GetPayload

func (*FleetClaimByKeysUnauthorized) ToJSONString

func (o *FleetClaimByKeysUnauthorized) ToJSONString() string

type FleetCreateBadRequest

type FleetCreateBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetCreateBadRequest handles this case with default header values.

bad request

func NewFleetCreateBadRequest

func NewFleetCreateBadRequest() *FleetCreateBadRequest

NewFleetCreateBadRequest creates a FleetCreateBadRequest with default headers values

func (*FleetCreateBadRequest) Error

func (o *FleetCreateBadRequest) Error() string

func (*FleetCreateBadRequest) GetPayload

func (*FleetCreateBadRequest) ToJSONString

func (o *FleetCreateBadRequest) ToJSONString() string

type FleetCreateCreated

type FleetCreateCreated struct {
	Payload *amsclientmodels.APIFleetCreateResponse
}

FleetCreateCreated handles this case with default header values.

success

func NewFleetCreateCreated

func NewFleetCreateCreated() *FleetCreateCreated

NewFleetCreateCreated creates a FleetCreateCreated with default headers values

func (*FleetCreateCreated) Error

func (o *FleetCreateCreated) Error() string

func (*FleetCreateCreated) GetPayload

func (*FleetCreateCreated) ToJSONString

func (o *FleetCreateCreated) ToJSONString() string

type FleetCreateForbidden

type FleetCreateForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetCreateForbidden handles this case with default header values.

exceeded quota

func NewFleetCreateForbidden

func NewFleetCreateForbidden() *FleetCreateForbidden

NewFleetCreateForbidden creates a FleetCreateForbidden with default headers values

func (*FleetCreateForbidden) Error

func (o *FleetCreateForbidden) Error() string

func (*FleetCreateForbidden) GetPayload

func (*FleetCreateForbidden) ToJSONString

func (o *FleetCreateForbidden) ToJSONString() string

type FleetCreateInternalServerError

type FleetCreateInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetCreateInternalServerError handles this case with default header values.

internal server error

func NewFleetCreateInternalServerError

func NewFleetCreateInternalServerError() *FleetCreateInternalServerError

NewFleetCreateInternalServerError creates a FleetCreateInternalServerError with default headers values

func (*FleetCreateInternalServerError) Error

func (*FleetCreateInternalServerError) GetPayload

func (*FleetCreateInternalServerError) ToJSONString

func (o *FleetCreateInternalServerError) ToJSONString() string

type FleetCreateParams

type FleetCreateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIFleetParameters
	/*Namespace
	  namespace of the game

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

FleetCreateParams contains all the parameters to send to the API endpoint for the fleet create operation typically these are written to a http.Request

func NewFleetCreateParams

func NewFleetCreateParams() *FleetCreateParams

NewFleetCreateParams creates a new FleetCreateParams object with the default values initialized.

func NewFleetCreateParamsWithContext

func NewFleetCreateParamsWithContext(ctx context.Context) *FleetCreateParams

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

func NewFleetCreateParamsWithHTTPClient

func NewFleetCreateParamsWithHTTPClient(client *http.Client) *FleetCreateParams

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

func NewFleetCreateParamsWithTimeout

func NewFleetCreateParamsWithTimeout(timeout time.Duration) *FleetCreateParams

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

func (*FleetCreateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet create params

func (*FleetCreateParams) SetBody

SetBody adds the body to the fleet create params

func (*FleetCreateParams) SetContext

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

SetContext adds the context to the fleet create params

func (*FleetCreateParams) SetFlightId

func (o *FleetCreateParams) SetFlightId(flightId string)

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

func (*FleetCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet create params

func (*FleetCreateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet create params

func (*FleetCreateParams) SetNamespace

func (o *FleetCreateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet create params

func (*FleetCreateParams) SetTimeout

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

SetTimeout adds the timeout to the fleet create params

func (*FleetCreateParams) WithBody

WithBody adds the body to the fleet create params

func (*FleetCreateParams) WithContext

func (o *FleetCreateParams) WithContext(ctx context.Context) *FleetCreateParams

WithContext adds the context to the fleet create params

func (*FleetCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet create params

func (*FleetCreateParams) WithNamespace

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

WithNamespace adds the namespace to the fleet create params

func (*FleetCreateParams) WithTimeout

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

WithTimeout adds the timeout to the fleet create params

func (*FleetCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetCreateReader

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

FleetCreateReader is a Reader for the FleetCreate structure.

func (*FleetCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetCreateUnauthorized

type FleetCreateUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetCreateUnauthorized handles this case with default header values.

no authorization provided

func NewFleetCreateUnauthorized

func NewFleetCreateUnauthorized() *FleetCreateUnauthorized

NewFleetCreateUnauthorized creates a FleetCreateUnauthorized with default headers values

func (*FleetCreateUnauthorized) Error

func (o *FleetCreateUnauthorized) Error() string

func (*FleetCreateUnauthorized) GetPayload

func (*FleetCreateUnauthorized) ToJSONString

func (o *FleetCreateUnauthorized) ToJSONString() string

type FleetDeleteBadRequest

type FleetDeleteBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetDeleteBadRequest handles this case with default header values.

bad request

func NewFleetDeleteBadRequest

func NewFleetDeleteBadRequest() *FleetDeleteBadRequest

NewFleetDeleteBadRequest creates a FleetDeleteBadRequest with default headers values

func (*FleetDeleteBadRequest) Error

func (o *FleetDeleteBadRequest) Error() string

func (*FleetDeleteBadRequest) GetPayload

func (*FleetDeleteBadRequest) ToJSONString

func (o *FleetDeleteBadRequest) ToJSONString() string

type FleetDeleteForbidden

type FleetDeleteForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetDeleteForbidden handles this case with default header values.

insufficient permissions

func NewFleetDeleteForbidden

func NewFleetDeleteForbidden() *FleetDeleteForbidden

NewFleetDeleteForbidden creates a FleetDeleteForbidden with default headers values

func (*FleetDeleteForbidden) Error

func (o *FleetDeleteForbidden) Error() string

func (*FleetDeleteForbidden) GetPayload

func (*FleetDeleteForbidden) ToJSONString

func (o *FleetDeleteForbidden) ToJSONString() string

type FleetDeleteInternalServerError

type FleetDeleteInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetDeleteInternalServerError handles this case with default header values.

internal server error

func NewFleetDeleteInternalServerError

func NewFleetDeleteInternalServerError() *FleetDeleteInternalServerError

NewFleetDeleteInternalServerError creates a FleetDeleteInternalServerError with default headers values

func (*FleetDeleteInternalServerError) Error

func (*FleetDeleteInternalServerError) GetPayload

func (*FleetDeleteInternalServerError) ToJSONString

func (o *FleetDeleteInternalServerError) ToJSONString() string

type FleetDeleteNoContent

type FleetDeleteNoContent struct {
}

FleetDeleteNoContent handles this case with default header values.

no content

func NewFleetDeleteNoContent

func NewFleetDeleteNoContent() *FleetDeleteNoContent

NewFleetDeleteNoContent creates a FleetDeleteNoContent with default headers values

func (*FleetDeleteNoContent) Error

func (o *FleetDeleteNoContent) Error() string

type FleetDeleteNotFound

type FleetDeleteNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetDeleteNotFound handles this case with default header values.

fleet not found

func NewFleetDeleteNotFound

func NewFleetDeleteNotFound() *FleetDeleteNotFound

NewFleetDeleteNotFound creates a FleetDeleteNotFound with default headers values

func (*FleetDeleteNotFound) Error

func (o *FleetDeleteNotFound) Error() string

func (*FleetDeleteNotFound) GetPayload

func (*FleetDeleteNotFound) ToJSONString

func (o *FleetDeleteNotFound) ToJSONString() string

type FleetDeleteParams

type FleetDeleteParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

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

FleetDeleteParams contains all the parameters to send to the API endpoint for the fleet delete operation typically these are written to a http.Request

func NewFleetDeleteParams

func NewFleetDeleteParams() *FleetDeleteParams

NewFleetDeleteParams creates a new FleetDeleteParams object with the default values initialized.

func NewFleetDeleteParamsWithContext

func NewFleetDeleteParamsWithContext(ctx context.Context) *FleetDeleteParams

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

func NewFleetDeleteParamsWithHTTPClient

func NewFleetDeleteParamsWithHTTPClient(client *http.Client) *FleetDeleteParams

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

func NewFleetDeleteParamsWithTimeout

func NewFleetDeleteParamsWithTimeout(timeout time.Duration) *FleetDeleteParams

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

func (*FleetDeleteParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet delete params

func (*FleetDeleteParams) SetContext

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

SetContext adds the context to the fleet delete params

func (*FleetDeleteParams) SetFleetID

func (o *FleetDeleteParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet delete params

func (*FleetDeleteParams) SetFlightId

func (o *FleetDeleteParams) SetFlightId(flightId string)

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

func (*FleetDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet delete params

func (*FleetDeleteParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet delete params

func (*FleetDeleteParams) SetNamespace

func (o *FleetDeleteParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet delete params

func (*FleetDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the fleet delete params

func (*FleetDeleteParams) WithContext

func (o *FleetDeleteParams) WithContext(ctx context.Context) *FleetDeleteParams

WithContext adds the context to the fleet delete params

func (*FleetDeleteParams) WithFleetID

func (o *FleetDeleteParams) WithFleetID(fleetID string) *FleetDeleteParams

WithFleetID adds the fleetID to the fleet delete params

func (*FleetDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet delete params

func (*FleetDeleteParams) WithNamespace

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

WithNamespace adds the namespace to the fleet delete params

func (*FleetDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the fleet delete params

func (*FleetDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetDeleteReader

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

FleetDeleteReader is a Reader for the FleetDelete structure.

func (*FleetDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetDeleteUnauthorized

type FleetDeleteUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetDeleteUnauthorized handles this case with default header values.

no authorization provided

func NewFleetDeleteUnauthorized

func NewFleetDeleteUnauthorized() *FleetDeleteUnauthorized

NewFleetDeleteUnauthorized creates a FleetDeleteUnauthorized with default headers values

func (*FleetDeleteUnauthorized) Error

func (o *FleetDeleteUnauthorized) Error() string

func (*FleetDeleteUnauthorized) GetPayload

func (*FleetDeleteUnauthorized) ToJSONString

func (o *FleetDeleteUnauthorized) ToJSONString() string

type FleetGetBadRequest

type FleetGetBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetGetBadRequest handles this case with default header values.

bad request

func NewFleetGetBadRequest

func NewFleetGetBadRequest() *FleetGetBadRequest

NewFleetGetBadRequest creates a FleetGetBadRequest with default headers values

func (*FleetGetBadRequest) Error

func (o *FleetGetBadRequest) Error() string

func (*FleetGetBadRequest) GetPayload

func (*FleetGetBadRequest) ToJSONString

func (o *FleetGetBadRequest) ToJSONString() string

type FleetGetForbidden

type FleetGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetGetForbidden handles this case with default header values.

insufficient permissions

func NewFleetGetForbidden

func NewFleetGetForbidden() *FleetGetForbidden

NewFleetGetForbidden creates a FleetGetForbidden with default headers values

func (*FleetGetForbidden) Error

func (o *FleetGetForbidden) Error() string

func (*FleetGetForbidden) GetPayload

func (*FleetGetForbidden) ToJSONString

func (o *FleetGetForbidden) ToJSONString() string

type FleetGetInternalServerError

type FleetGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetGetInternalServerError handles this case with default header values.

internal server error

func NewFleetGetInternalServerError

func NewFleetGetInternalServerError() *FleetGetInternalServerError

NewFleetGetInternalServerError creates a FleetGetInternalServerError with default headers values

func (*FleetGetInternalServerError) Error

func (*FleetGetInternalServerError) GetPayload

func (*FleetGetInternalServerError) ToJSONString

func (o *FleetGetInternalServerError) ToJSONString() string

type FleetGetNotFound

type FleetGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetGetNotFound handles this case with default header values.

fleet not found

func NewFleetGetNotFound

func NewFleetGetNotFound() *FleetGetNotFound

NewFleetGetNotFound creates a FleetGetNotFound with default headers values

func (*FleetGetNotFound) Error

func (o *FleetGetNotFound) Error() string

func (*FleetGetNotFound) GetPayload

func (*FleetGetNotFound) ToJSONString

func (o *FleetGetNotFound) ToJSONString() string

type FleetGetOK

type FleetGetOK struct {
	Payload *amsclientmodels.APIFleetGetResponse
}

FleetGetOK handles this case with default header values.

success

func NewFleetGetOK

func NewFleetGetOK() *FleetGetOK

NewFleetGetOK creates a FleetGetOK with default headers values

func (*FleetGetOK) Error

func (o *FleetGetOK) Error() string

func (*FleetGetOK) GetPayload

func (*FleetGetOK) ToJSONString

func (o *FleetGetOK) ToJSONString() string

type FleetGetParams

type FleetGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

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

FleetGetParams contains all the parameters to send to the API endpoint for the fleet get operation typically these are written to a http.Request

func NewFleetGetParams

func NewFleetGetParams() *FleetGetParams

NewFleetGetParams creates a new FleetGetParams object with the default values initialized.

func NewFleetGetParamsWithContext

func NewFleetGetParamsWithContext(ctx context.Context) *FleetGetParams

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

func NewFleetGetParamsWithHTTPClient

func NewFleetGetParamsWithHTTPClient(client *http.Client) *FleetGetParams

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

func NewFleetGetParamsWithTimeout

func NewFleetGetParamsWithTimeout(timeout time.Duration) *FleetGetParams

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

func (*FleetGetParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet get params

func (*FleetGetParams) SetContext

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

SetContext adds the context to the fleet get params

func (*FleetGetParams) SetFleetID

func (o *FleetGetParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet get params

func (*FleetGetParams) SetFlightId

func (o *FleetGetParams) SetFlightId(flightId string)

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

func (*FleetGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet get params

func (*FleetGetParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet get params

func (*FleetGetParams) SetNamespace

func (o *FleetGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet get params

func (*FleetGetParams) SetTimeout

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

SetTimeout adds the timeout to the fleet get params

func (*FleetGetParams) WithContext

func (o *FleetGetParams) WithContext(ctx context.Context) *FleetGetParams

WithContext adds the context to the fleet get params

func (*FleetGetParams) WithFleetID

func (o *FleetGetParams) WithFleetID(fleetID string) *FleetGetParams

WithFleetID adds the fleetID to the fleet get params

func (*FleetGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet get params

func (*FleetGetParams) WithNamespace

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

WithNamespace adds the namespace to the fleet get params

func (*FleetGetParams) WithTimeout

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

WithTimeout adds the timeout to the fleet get params

func (*FleetGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetGetReader

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

FleetGetReader is a Reader for the FleetGet structure.

func (*FleetGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetGetUnauthorized

type FleetGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetGetUnauthorized handles this case with default header values.

no authorization provided

func NewFleetGetUnauthorized

func NewFleetGetUnauthorized() *FleetGetUnauthorized

NewFleetGetUnauthorized creates a FleetGetUnauthorized with default headers values

func (*FleetGetUnauthorized) Error

func (o *FleetGetUnauthorized) Error() string

func (*FleetGetUnauthorized) GetPayload

func (*FleetGetUnauthorized) ToJSONString

func (o *FleetGetUnauthorized) ToJSONString() string

type FleetListInternalServerError

type FleetListInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetListInternalServerError handles this case with default header values.

internal server error

func NewFleetListInternalServerError

func NewFleetListInternalServerError() *FleetListInternalServerError

NewFleetListInternalServerError creates a FleetListInternalServerError with default headers values

func (*FleetListInternalServerError) Error

func (*FleetListInternalServerError) GetPayload

func (*FleetListInternalServerError) ToJSONString

func (o *FleetListInternalServerError) ToJSONString() string

type FleetListOK

type FleetListOK struct {
	Payload *amsclientmodels.APIFleetListResponse
}

FleetListOK handles this case with default header values.

success

func NewFleetListOK

func NewFleetListOK() *FleetListOK

NewFleetListOK creates a FleetListOK with default headers values

func (*FleetListOK) Error

func (o *FleetListOK) Error() string

func (*FleetListOK) GetPayload

func (*FleetListOK) ToJSONString

func (o *FleetListOK) ToJSONString() string

type FleetListParams

type FleetListParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Active
	  filter fleets by active status

	*/
	Active *bool
	/*Name
	  filter fleets by name

	*/
	Name *string
	/*Region
	  filter fleets by region

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

FleetListParams contains all the parameters to send to the API endpoint for the fleet list operation typically these are written to a http.Request

func NewFleetListParams

func NewFleetListParams() *FleetListParams

NewFleetListParams creates a new FleetListParams object with the default values initialized.

func NewFleetListParamsWithContext

func NewFleetListParamsWithContext(ctx context.Context) *FleetListParams

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

func NewFleetListParamsWithHTTPClient

func NewFleetListParamsWithHTTPClient(client *http.Client) *FleetListParams

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

func NewFleetListParamsWithTimeout

func NewFleetListParamsWithTimeout(timeout time.Duration) *FleetListParams

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

func (*FleetListParams) SetActive

func (o *FleetListParams) SetActive(active *bool)

SetActive adds the active to the fleet list params

func (*FleetListParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet list params

func (*FleetListParams) SetContext

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

SetContext adds the context to the fleet list params

func (*FleetListParams) SetFlightId

func (o *FleetListParams) SetFlightId(flightId string)

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

func (*FleetListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet list params

func (*FleetListParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet list params

func (*FleetListParams) SetName

func (o *FleetListParams) SetName(name *string)

SetName adds the name to the fleet list params

func (*FleetListParams) SetNamespace

func (o *FleetListParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet list params

func (*FleetListParams) SetRegion

func (o *FleetListParams) SetRegion(region *string)

SetRegion adds the region to the fleet list params

func (*FleetListParams) SetTimeout

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

SetTimeout adds the timeout to the fleet list params

func (*FleetListParams) WithActive

func (o *FleetListParams) WithActive(active *bool) *FleetListParams

WithActive adds the active to the fleet list params

func (*FleetListParams) WithContext

func (o *FleetListParams) WithContext(ctx context.Context) *FleetListParams

WithContext adds the context to the fleet list params

func (*FleetListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet list params

func (*FleetListParams) WithName

func (o *FleetListParams) WithName(name *string) *FleetListParams

WithName adds the name to the fleet list params

func (*FleetListParams) WithNamespace

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

WithNamespace adds the namespace to the fleet list params

func (*FleetListParams) WithRegion

func (o *FleetListParams) WithRegion(region *string) *FleetListParams

WithRegion adds the region to the fleet list params

func (*FleetListParams) WithTimeout

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

WithTimeout adds the timeout to the fleet list params

func (*FleetListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetListReader

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

FleetListReader is a Reader for the FleetList structure.

func (*FleetListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetServersBadRequest

type FleetServersBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServersBadRequest handles this case with default header values.

bad request

func NewFleetServersBadRequest

func NewFleetServersBadRequest() *FleetServersBadRequest

NewFleetServersBadRequest creates a FleetServersBadRequest with default headers values

func (*FleetServersBadRequest) Error

func (o *FleetServersBadRequest) Error() string

func (*FleetServersBadRequest) GetPayload

func (*FleetServersBadRequest) ToJSONString

func (o *FleetServersBadRequest) ToJSONString() string

type FleetServersForbidden

type FleetServersForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServersForbidden handles this case with default header values.

insufficient permissions

func NewFleetServersForbidden

func NewFleetServersForbidden() *FleetServersForbidden

NewFleetServersForbidden creates a FleetServersForbidden with default headers values

func (*FleetServersForbidden) Error

func (o *FleetServersForbidden) Error() string

func (*FleetServersForbidden) GetPayload

func (*FleetServersForbidden) ToJSONString

func (o *FleetServersForbidden) ToJSONString() string

type FleetServersInternalServerError

type FleetServersInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServersInternalServerError handles this case with default header values.

internal server error

func NewFleetServersInternalServerError

func NewFleetServersInternalServerError() *FleetServersInternalServerError

NewFleetServersInternalServerError creates a FleetServersInternalServerError with default headers values

func (*FleetServersInternalServerError) Error

func (*FleetServersInternalServerError) GetPayload

func (*FleetServersInternalServerError) ToJSONString

func (o *FleetServersInternalServerError) ToJSONString() string

type FleetServersNotFound

type FleetServersNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServersNotFound handles this case with default header values.

fleet not found

func NewFleetServersNotFound

func NewFleetServersNotFound() *FleetServersNotFound

NewFleetServersNotFound creates a FleetServersNotFound with default headers values

func (*FleetServersNotFound) Error

func (o *FleetServersNotFound) Error() string

func (*FleetServersNotFound) GetPayload

func (*FleetServersNotFound) ToJSONString

func (o *FleetServersNotFound) ToJSONString() string

type FleetServersOK

type FleetServersOK struct {
	Payload *amsclientmodels.APIFleetServersResponse
}

FleetServersOK handles this case with default header values.

success

func NewFleetServersOK

func NewFleetServersOK() *FleetServersOK

NewFleetServersOK creates a FleetServersOK with default headers values

func (*FleetServersOK) Error

func (o *FleetServersOK) Error() string

func (*FleetServersOK) GetPayload

func (*FleetServersOK) ToJSONString

func (o *FleetServersOK) ToJSONString() string

type FleetServersParams

type FleetServersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Count
	  the data limit

	*/
	Count *int64
	/*Offset
	  the data offset

	*/
	Offset *int64
	/*Region
	  the servers region

	*/
	Region *string
	/*ServerID
	  the id of the server

	*/
	ServerID *string
	/*SortBy
	  the field by which to order the data

	*/
	SortBy *string
	/*SortDirection
	  the data ordering direction

	*/
	SortDirection *string
	/*Status
	  the servers status

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

FleetServersParams contains all the parameters to send to the API endpoint for the fleet servers operation typically these are written to a http.Request

func NewFleetServersParams

func NewFleetServersParams() *FleetServersParams

NewFleetServersParams creates a new FleetServersParams object with the default values initialized.

func NewFleetServersParamsWithContext

func NewFleetServersParamsWithContext(ctx context.Context) *FleetServersParams

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

func NewFleetServersParamsWithHTTPClient

func NewFleetServersParamsWithHTTPClient(client *http.Client) *FleetServersParams

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

func NewFleetServersParamsWithTimeout

func NewFleetServersParamsWithTimeout(timeout time.Duration) *FleetServersParams

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

func (*FleetServersParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet servers params

func (*FleetServersParams) SetContext

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

SetContext adds the context to the fleet servers params

func (*FleetServersParams) SetCount

func (o *FleetServersParams) SetCount(count *int64)

SetCount adds the count to the fleet servers params

func (*FleetServersParams) SetFleetID

func (o *FleetServersParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet servers params

func (*FleetServersParams) SetFlightId

func (o *FleetServersParams) SetFlightId(flightId string)

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

func (*FleetServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet servers params

func (*FleetServersParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet servers params

func (*FleetServersParams) SetNamespace

func (o *FleetServersParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet servers params

func (*FleetServersParams) SetOffset

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

SetOffset adds the offset to the fleet servers params

func (*FleetServersParams) SetRegion

func (o *FleetServersParams) SetRegion(region *string)

SetRegion adds the region to the fleet servers params

func (*FleetServersParams) SetServerID

func (o *FleetServersParams) SetServerID(serverID *string)

SetServerID adds the serverId to the fleet servers params

func (*FleetServersParams) SetSortBy

func (o *FleetServersParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the fleet servers params

func (*FleetServersParams) SetSortDirection

func (o *FleetServersParams) SetSortDirection(sortDirection *string)

SetSortDirection adds the sortDirection to the fleet servers params

func (*FleetServersParams) SetStatus

func (o *FleetServersParams) SetStatus(status *string)

SetStatus adds the status to the fleet servers params

func (*FleetServersParams) SetTimeout

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

SetTimeout adds the timeout to the fleet servers params

func (*FleetServersParams) WithContext

WithContext adds the context to the fleet servers params

func (*FleetServersParams) WithCount

func (o *FleetServersParams) WithCount(count *int64) *FleetServersParams

WithCount adds the count to the fleet servers params

func (*FleetServersParams) WithFleetID

func (o *FleetServersParams) WithFleetID(fleetID string) *FleetServersParams

WithFleetID adds the fleetID to the fleet servers params

func (*FleetServersParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet servers params

func (*FleetServersParams) WithNamespace

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

WithNamespace adds the namespace to the fleet servers params

func (*FleetServersParams) WithOffset

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

WithOffset adds the offset to the fleet servers params

func (*FleetServersParams) WithRegion

func (o *FleetServersParams) WithRegion(region *string) *FleetServersParams

WithRegion adds the region to the fleet servers params

func (*FleetServersParams) WithServerID

func (o *FleetServersParams) WithServerID(serverID *string) *FleetServersParams

WithServerID adds the serverID to the fleet servers params

func (*FleetServersParams) WithSortBy

func (o *FleetServersParams) WithSortBy(sortBy *string) *FleetServersParams

WithSortBy adds the sortBy to the fleet servers params

func (*FleetServersParams) WithSortDirection

func (o *FleetServersParams) WithSortDirection(sortDirection *string) *FleetServersParams

WithSortDirection adds the sortDirection to the fleet servers params

func (*FleetServersParams) WithStatus

func (o *FleetServersParams) WithStatus(status *string) *FleetServersParams

WithStatus adds the status to the fleet servers params

func (*FleetServersParams) WithTimeout

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

WithTimeout adds the timeout to the fleet servers params

func (*FleetServersParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetServersReader

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

FleetServersReader is a Reader for the FleetServers structure.

func (*FleetServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetServersUnauthorized

type FleetServersUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetServersUnauthorized handles this case with default header values.

no authorization provided

func NewFleetServersUnauthorized

func NewFleetServersUnauthorized() *FleetServersUnauthorized

NewFleetServersUnauthorized creates a FleetServersUnauthorized with default headers values

func (*FleetServersUnauthorized) Error

func (o *FleetServersUnauthorized) Error() string

func (*FleetServersUnauthorized) GetPayload

func (*FleetServersUnauthorized) ToJSONString

func (o *FleetServersUnauthorized) ToJSONString() string

type FleetUpdateBadRequest

type FleetUpdateBadRequest struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetUpdateBadRequest handles this case with default header values.

bad request

func NewFleetUpdateBadRequest

func NewFleetUpdateBadRequest() *FleetUpdateBadRequest

NewFleetUpdateBadRequest creates a FleetUpdateBadRequest with default headers values

func (*FleetUpdateBadRequest) Error

func (o *FleetUpdateBadRequest) Error() string

func (*FleetUpdateBadRequest) GetPayload

func (*FleetUpdateBadRequest) ToJSONString

func (o *FleetUpdateBadRequest) ToJSONString() string

type FleetUpdateForbidden

type FleetUpdateForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetUpdateForbidden handles this case with default header values.

insufficient permissions

func NewFleetUpdateForbidden

func NewFleetUpdateForbidden() *FleetUpdateForbidden

NewFleetUpdateForbidden creates a FleetUpdateForbidden with default headers values

func (*FleetUpdateForbidden) Error

func (o *FleetUpdateForbidden) Error() string

func (*FleetUpdateForbidden) GetPayload

func (*FleetUpdateForbidden) ToJSONString

func (o *FleetUpdateForbidden) ToJSONString() string

type FleetUpdateInternalServerError

type FleetUpdateInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetUpdateInternalServerError handles this case with default header values.

internal server error

func NewFleetUpdateInternalServerError

func NewFleetUpdateInternalServerError() *FleetUpdateInternalServerError

NewFleetUpdateInternalServerError creates a FleetUpdateInternalServerError with default headers values

func (*FleetUpdateInternalServerError) Error

func (*FleetUpdateInternalServerError) GetPayload

func (*FleetUpdateInternalServerError) ToJSONString

func (o *FleetUpdateInternalServerError) ToJSONString() string

type FleetUpdateNoContent

type FleetUpdateNoContent struct {
}

FleetUpdateNoContent handles this case with default header values.

no content

func NewFleetUpdateNoContent

func NewFleetUpdateNoContent() *FleetUpdateNoContent

NewFleetUpdateNoContent creates a FleetUpdateNoContent with default headers values

func (*FleetUpdateNoContent) Error

func (o *FleetUpdateNoContent) Error() string

type FleetUpdateNotFound

type FleetUpdateNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetUpdateNotFound handles this case with default header values.

fleet not found

func NewFleetUpdateNotFound

func NewFleetUpdateNotFound() *FleetUpdateNotFound

NewFleetUpdateNotFound creates a FleetUpdateNotFound with default headers values

func (*FleetUpdateNotFound) Error

func (o *FleetUpdateNotFound) Error() string

func (*FleetUpdateNotFound) GetPayload

func (*FleetUpdateNotFound) ToJSONString

func (o *FleetUpdateNotFound) ToJSONString() string

type FleetUpdateParams

type FleetUpdateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIFleetParameters
	/*FleetID
	  the id of the fleet

	*/
	FleetID string
	/*Namespace
	  namespace of the game

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

FleetUpdateParams contains all the parameters to send to the API endpoint for the fleet update operation typically these are written to a http.Request

func NewFleetUpdateParams

func NewFleetUpdateParams() *FleetUpdateParams

NewFleetUpdateParams creates a new FleetUpdateParams object with the default values initialized.

func NewFleetUpdateParamsWithContext

func NewFleetUpdateParamsWithContext(ctx context.Context) *FleetUpdateParams

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

func NewFleetUpdateParamsWithHTTPClient

func NewFleetUpdateParamsWithHTTPClient(client *http.Client) *FleetUpdateParams

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

func NewFleetUpdateParamsWithTimeout

func NewFleetUpdateParamsWithTimeout(timeout time.Duration) *FleetUpdateParams

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

func (*FleetUpdateParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the fleet update params

func (*FleetUpdateParams) SetBody

SetBody adds the body to the fleet update params

func (*FleetUpdateParams) SetContext

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

SetContext adds the context to the fleet update params

func (*FleetUpdateParams) SetFleetID

func (o *FleetUpdateParams) SetFleetID(fleetID string)

SetFleetID adds the fleetId to the fleet update params

func (*FleetUpdateParams) SetFlightId

func (o *FleetUpdateParams) SetFlightId(flightId string)

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

func (*FleetUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the fleet update params

func (*FleetUpdateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the fleet update params

func (*FleetUpdateParams) SetNamespace

func (o *FleetUpdateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the fleet update params

func (*FleetUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the fleet update params

func (*FleetUpdateParams) WithBody

WithBody adds the body to the fleet update params

func (*FleetUpdateParams) WithContext

func (o *FleetUpdateParams) WithContext(ctx context.Context) *FleetUpdateParams

WithContext adds the context to the fleet update params

func (*FleetUpdateParams) WithFleetID

func (o *FleetUpdateParams) WithFleetID(fleetID string) *FleetUpdateParams

WithFleetID adds the fleetID to the fleet update params

func (*FleetUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the fleet update params

func (*FleetUpdateParams) WithNamespace

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

WithNamespace adds the namespace to the fleet update params

func (*FleetUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the fleet update params

func (*FleetUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type FleetUpdateReader

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

FleetUpdateReader is a Reader for the FleetUpdate structure.

func (*FleetUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type FleetUpdateUnauthorized

type FleetUpdateUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

FleetUpdateUnauthorized handles this case with default header values.

no authorization provided

func NewFleetUpdateUnauthorized

func NewFleetUpdateUnauthorized() *FleetUpdateUnauthorized

NewFleetUpdateUnauthorized creates a FleetUpdateUnauthorized with default headers values

func (*FleetUpdateUnauthorized) Error

func (o *FleetUpdateUnauthorized) Error() string

func (*FleetUpdateUnauthorized) GetPayload

func (*FleetUpdateUnauthorized) ToJSONString

func (o *FleetUpdateUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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