Documentation ¶
Index ¶
- type Client
- func (a *Client) FleetClaimByID(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, *FleetClaimByIDBadRequest, *FleetClaimByIDUnauthorized, ...)deprecated
- func (a *Client) FleetClaimByIDShort(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, error)
- func (a *Client) FleetClaimByKeys(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, *FleetClaimByKeysBadRequest, ...)deprecated
- func (a *Client) FleetClaimByKeysShort(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, error)
- func (a *Client) FleetCreate(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, *FleetCreateBadRequest, *FleetCreateUnauthorized, ...)deprecated
- func (a *Client) FleetCreateShort(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, error)
- func (a *Client) FleetDelete(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, *FleetDeleteUnauthorized, *FleetDeleteForbidden, ...)deprecated
- func (a *Client) FleetDeleteShort(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, error)
- func (a *Client) FleetGet(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, *FleetGetUnauthorized, *FleetGetForbidden, *FleetGetNotFound, ...)deprecated
- func (a *Client) FleetGetShort(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, error)
- func (a *Client) FleetList(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, *FleetListInternalServerError, error)deprecated
- func (a *Client) FleetListShort(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, error)
- func (a *Client) FleetServers(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, *FleetServersUnauthorized, *FleetServersForbidden, ...)deprecated
- func (a *Client) FleetServersShort(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, error)
- func (a *Client) FleetUpdate(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, *FleetUpdateBadRequest, *FleetUpdateUnauthorized, ...)deprecated
- func (a *Client) FleetUpdateShort(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type FleetClaimByIDBadRequest
- type FleetClaimByIDForbidden
- type FleetClaimByIDInternalServerError
- type FleetClaimByIDNotFound
- type FleetClaimByIDOK
- type FleetClaimByIDParams
- func NewFleetClaimByIDParams() *FleetClaimByIDParams
- func NewFleetClaimByIDParamsWithContext(ctx context.Context) *FleetClaimByIDParams
- func NewFleetClaimByIDParamsWithHTTPClient(client *http.Client) *FleetClaimByIDParams
- func NewFleetClaimByIDParamsWithTimeout(timeout time.Duration) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetClaimByIDParams) SetBody(body *amsclientmodels.APIFleetClaimReq)
- func (o *FleetClaimByIDParams) SetContext(ctx context.Context)
- func (o *FleetClaimByIDParams) SetFleetID(fleetID string)
- func (o *FleetClaimByIDParams) SetHTTPClient(client *http.Client)
- func (o *FleetClaimByIDParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetClaimByIDParams) SetNamespace(namespace string)
- func (o *FleetClaimByIDParams) SetTimeout(timeout time.Duration)
- func (o *FleetClaimByIDParams) WithBody(body *amsclientmodels.APIFleetClaimReq) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) WithContext(ctx context.Context) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) WithFleetID(fleetID string) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) WithHTTPClient(client *http.Client) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) WithNamespace(namespace string) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) WithTimeout(timeout time.Duration) *FleetClaimByIDParams
- func (o *FleetClaimByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetClaimByIDReader
- type FleetClaimByIDUnauthorized
- type FleetClaimByKeysBadRequest
- type FleetClaimByKeysForbidden
- type FleetClaimByKeysInternalServerError
- type FleetClaimByKeysNotFound
- type FleetClaimByKeysOK
- type FleetClaimByKeysParams
- func NewFleetClaimByKeysParams() *FleetClaimByKeysParams
- func NewFleetClaimByKeysParamsWithContext(ctx context.Context) *FleetClaimByKeysParams
- func NewFleetClaimByKeysParamsWithHTTPClient(client *http.Client) *FleetClaimByKeysParams
- func NewFleetClaimByKeysParamsWithTimeout(timeout time.Duration) *FleetClaimByKeysParams
- func (o *FleetClaimByKeysParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetClaimByKeysParams) SetBody(body *amsclientmodels.APIFleetClaimReq)
- func (o *FleetClaimByKeysParams) SetContext(ctx context.Context)
- func (o *FleetClaimByKeysParams) SetHTTPClient(client *http.Client)
- func (o *FleetClaimByKeysParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetClaimByKeysParams) SetNamespace(namespace string)
- func (o *FleetClaimByKeysParams) SetTimeout(timeout time.Duration)
- func (o *FleetClaimByKeysParams) WithBody(body *amsclientmodels.APIFleetClaimReq) *FleetClaimByKeysParams
- func (o *FleetClaimByKeysParams) WithContext(ctx context.Context) *FleetClaimByKeysParams
- func (o *FleetClaimByKeysParams) WithHTTPClient(client *http.Client) *FleetClaimByKeysParams
- func (o *FleetClaimByKeysParams) WithNamespace(namespace string) *FleetClaimByKeysParams
- func (o *FleetClaimByKeysParams) WithTimeout(timeout time.Duration) *FleetClaimByKeysParams
- func (o *FleetClaimByKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetClaimByKeysReader
- type FleetClaimByKeysUnauthorized
- type FleetCreateBadRequest
- type FleetCreateCreated
- type FleetCreateForbidden
- type FleetCreateInternalServerError
- type FleetCreateParams
- func (o *FleetCreateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetCreateParams) SetBody(body *amsclientmodels.APIFleetParameters)
- func (o *FleetCreateParams) SetContext(ctx context.Context)
- func (o *FleetCreateParams) SetHTTPClient(client *http.Client)
- func (o *FleetCreateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetCreateParams) SetNamespace(namespace string)
- func (o *FleetCreateParams) SetTimeout(timeout time.Duration)
- func (o *FleetCreateParams) WithBody(body *amsclientmodels.APIFleetParameters) *FleetCreateParams
- func (o *FleetCreateParams) WithContext(ctx context.Context) *FleetCreateParams
- func (o *FleetCreateParams) WithHTTPClient(client *http.Client) *FleetCreateParams
- func (o *FleetCreateParams) WithNamespace(namespace string) *FleetCreateParams
- func (o *FleetCreateParams) WithTimeout(timeout time.Duration) *FleetCreateParams
- func (o *FleetCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetCreateReader
- type FleetCreateUnauthorized
- type FleetDeleteForbidden
- type FleetDeleteInternalServerError
- type FleetDeleteNoContent
- type FleetDeleteNotFound
- type FleetDeleteParams
- func (o *FleetDeleteParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetDeleteParams) SetContext(ctx context.Context)
- func (o *FleetDeleteParams) SetFleetID(fleetID string)
- func (o *FleetDeleteParams) SetHTTPClient(client *http.Client)
- func (o *FleetDeleteParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetDeleteParams) SetNamespace(namespace string)
- func (o *FleetDeleteParams) SetTimeout(timeout time.Duration)
- func (o *FleetDeleteParams) WithContext(ctx context.Context) *FleetDeleteParams
- func (o *FleetDeleteParams) WithFleetID(fleetID string) *FleetDeleteParams
- func (o *FleetDeleteParams) WithHTTPClient(client *http.Client) *FleetDeleteParams
- func (o *FleetDeleteParams) WithNamespace(namespace string) *FleetDeleteParams
- func (o *FleetDeleteParams) WithTimeout(timeout time.Duration) *FleetDeleteParams
- func (o *FleetDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetDeleteReader
- type FleetDeleteUnauthorized
- type FleetGetForbidden
- type FleetGetInternalServerError
- type FleetGetNotFound
- type FleetGetOK
- type FleetGetParams
- func (o *FleetGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetGetParams) SetContext(ctx context.Context)
- func (o *FleetGetParams) SetFleetID(fleetID string)
- func (o *FleetGetParams) SetHTTPClient(client *http.Client)
- func (o *FleetGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetGetParams) SetNamespace(namespace string)
- func (o *FleetGetParams) SetTimeout(timeout time.Duration)
- func (o *FleetGetParams) WithContext(ctx context.Context) *FleetGetParams
- func (o *FleetGetParams) WithFleetID(fleetID string) *FleetGetParams
- func (o *FleetGetParams) WithHTTPClient(client *http.Client) *FleetGetParams
- func (o *FleetGetParams) WithNamespace(namespace string) *FleetGetParams
- func (o *FleetGetParams) WithTimeout(timeout time.Duration) *FleetGetParams
- func (o *FleetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetGetReader
- type FleetGetUnauthorized
- type FleetListInternalServerError
- type FleetListOK
- type FleetListParams
- func (o *FleetListParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetListParams) SetContext(ctx context.Context)
- func (o *FleetListParams) SetHTTPClient(client *http.Client)
- func (o *FleetListParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetListParams) SetNamespace(namespace string)
- func (o *FleetListParams) SetTimeout(timeout time.Duration)
- func (o *FleetListParams) WithContext(ctx context.Context) *FleetListParams
- func (o *FleetListParams) WithHTTPClient(client *http.Client) *FleetListParams
- func (o *FleetListParams) WithNamespace(namespace string) *FleetListParams
- func (o *FleetListParams) WithTimeout(timeout time.Duration) *FleetListParams
- func (o *FleetListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetListReader
- type FleetServersForbidden
- type FleetServersInternalServerError
- type FleetServersNotFound
- type FleetServersOK
- type FleetServersParams
- func (o *FleetServersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetServersParams) SetContext(ctx context.Context)
- func (o *FleetServersParams) SetFleetID(fleetID string)
- func (o *FleetServersParams) SetHTTPClient(client *http.Client)
- func (o *FleetServersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetServersParams) SetNamespace(namespace string)
- func (o *FleetServersParams) SetTimeout(timeout time.Duration)
- func (o *FleetServersParams) WithContext(ctx context.Context) *FleetServersParams
- func (o *FleetServersParams) WithFleetID(fleetID string) *FleetServersParams
- func (o *FleetServersParams) WithHTTPClient(client *http.Client) *FleetServersParams
- func (o *FleetServersParams) WithNamespace(namespace string) *FleetServersParams
- func (o *FleetServersParams) WithTimeout(timeout time.Duration) *FleetServersParams
- func (o *FleetServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetServersReader
- type FleetServersUnauthorized
- type FleetUpdateBadRequest
- type FleetUpdateForbidden
- type FleetUpdateInternalServerError
- type FleetUpdateNoContent
- type FleetUpdateNotFound
- type FleetUpdateParams
- func (o *FleetUpdateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *FleetUpdateParams) SetBody(body *amsclientmodels.APIFleetParameters)
- func (o *FleetUpdateParams) SetContext(ctx context.Context)
- func (o *FleetUpdateParams) SetFleetID(fleetID string)
- func (o *FleetUpdateParams) SetHTTPClient(client *http.Client)
- func (o *FleetUpdateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *FleetUpdateParams) SetNamespace(namespace string)
- func (o *FleetUpdateParams) SetTimeout(timeout time.Duration)
- func (o *FleetUpdateParams) WithBody(body *amsclientmodels.APIFleetParameters) *FleetUpdateParams
- func (o *FleetUpdateParams) WithContext(ctx context.Context) *FleetUpdateParams
- func (o *FleetUpdateParams) WithFleetID(fleetID string) *FleetUpdateParams
- func (o *FleetUpdateParams) WithHTTPClient(client *http.Client) *FleetUpdateParams
- func (o *FleetUpdateParams) WithNamespace(namespace string) *FleetUpdateParams
- func (o *FleetUpdateParams) WithTimeout(timeout time.Duration) *FleetUpdateParams
- func (o *FleetUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FleetUpdateReader
- type FleetUpdateUnauthorized
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 fleets API
func (*Client) FleetClaimByID
deprecated
func (a *Client) FleetClaimByID(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, *FleetClaimByIDBadRequest, *FleetClaimByIDUnauthorized, *FleetClaimByIDForbidden, *FleetClaimByIDNotFound, *FleetClaimByIDInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetClaimByIDShort instead.
FleetClaimByID claim a dedicated server from a specific fleet Required Permission: NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
func (*Client) FleetClaimByIDShort ¶
func (a *Client) FleetClaimByIDShort(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, error)
FleetClaimByIDShort claim a dedicated server from a specific fleet Required Permission: NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
func (*Client) FleetClaimByKeys
deprecated
func (a *Client) FleetClaimByKeys(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, *FleetClaimByKeysBadRequest, *FleetClaimByKeysUnauthorized, *FleetClaimByKeysForbidden, *FleetClaimByKeysNotFound, *FleetClaimByKeysInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetClaimByKeysShort instead.
FleetClaimByKeys claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
func (*Client) FleetClaimByKeysShort ¶
func (a *Client) FleetClaimByKeysShort(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, error)
FleetClaimByKeysShort claim a dedicated server from fleets with matching claim keys Required Permission: NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
func (*Client) FleetCreate
deprecated
func (a *Client) FleetCreate(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, *FleetCreateBadRequest, *FleetCreateUnauthorized, *FleetCreateForbidden, *FleetCreateInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetCreateShort instead.
FleetCreate create fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
func (*Client) FleetCreateShort ¶
func (a *Client) FleetCreateShort(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, error)
FleetCreateShort create fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [CREATE]
func (*Client) FleetDelete
deprecated
func (a *Client) FleetDelete(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, *FleetDeleteUnauthorized, *FleetDeleteForbidden, *FleetDeleteNotFound, *FleetDeleteInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetDeleteShort instead.
FleetDelete delete a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [DELETE]
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) FleetGet
deprecated
func (a *Client) FleetGet(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, *FleetGetUnauthorized, *FleetGetForbidden, *FleetGetNotFound, *FleetGetInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetGetShort instead.
FleetGet get a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
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) FleetList
deprecated
func (a *Client) FleetList(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, *FleetListInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetListShort instead.
FleetList get a list of all fleets in the namespace Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) FleetListShort ¶
func (a *Client) FleetListShort(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, error)
FleetListShort get a list of all fleets in the namespace Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) FleetServers
deprecated
func (a *Client) FleetServers(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, *FleetServersUnauthorized, *FleetServersForbidden, *FleetServersNotFound, *FleetServersInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetServersShort instead.
FleetServers get server details and counts for a fleet 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 and counts for a fleet Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [READ]
func (*Client) FleetUpdate
deprecated
func (a *Client) FleetUpdate(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, *FleetUpdateBadRequest, *FleetUpdateUnauthorized, *FleetUpdateForbidden, *FleetUpdateNotFound, *FleetUpdateInternalServerError, error)
Deprecated: 2022-08-10 - Use FleetUpdateShort instead.
FleetUpdate update a fleet – overrides current data Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:FLEET [UPDATE]
func (*Client) FleetUpdateShort ¶
func (a *Client) FleetUpdateShort(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, error)
FleetUpdateShort update a fleet – overrides current data 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 { FleetList(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, *FleetListInternalServerError, error) FleetListShort(params *FleetListParams, authInfo runtime.ClientAuthInfoWriter) (*FleetListOK, error) FleetCreate(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, *FleetCreateBadRequest, *FleetCreateUnauthorized, *FleetCreateForbidden, *FleetCreateInternalServerError, error) FleetCreateShort(params *FleetCreateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetCreateCreated, error) FleetGet(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, *FleetGetUnauthorized, *FleetGetForbidden, *FleetGetNotFound, *FleetGetInternalServerError, error) FleetGetShort(params *FleetGetParams, authInfo runtime.ClientAuthInfoWriter) (*FleetGetOK, error) FleetUpdate(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, *FleetUpdateBadRequest, *FleetUpdateUnauthorized, *FleetUpdateForbidden, *FleetUpdateNotFound, *FleetUpdateInternalServerError, error) FleetUpdateShort(params *FleetUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*FleetUpdateNoContent, error) FleetDelete(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, *FleetDeleteUnauthorized, *FleetDeleteForbidden, *FleetDeleteNotFound, *FleetDeleteInternalServerError, error) FleetDeleteShort(params *FleetDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*FleetDeleteNoContent, error) FleetServers(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, *FleetServersUnauthorized, *FleetServersForbidden, *FleetServersNotFound, *FleetServersInternalServerError, error) FleetServersShort(params *FleetServersParams, authInfo runtime.ClientAuthInfoWriter) (*FleetServersOK, error) FleetClaimByID(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, *FleetClaimByIDBadRequest, *FleetClaimByIDUnauthorized, *FleetClaimByIDForbidden, *FleetClaimByIDNotFound, *FleetClaimByIDInternalServerError, error) FleetClaimByIDShort(params *FleetClaimByIDParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByIDOK, error) FleetClaimByKeys(params *FleetClaimByKeysParams, authInfo runtime.ClientAuthInfoWriter) (*FleetClaimByKeysOK, *FleetClaimByKeysBadRequest, *FleetClaimByKeysUnauthorized, *FleetClaimByKeysForbidden, *FleetClaimByKeysNotFound, *FleetClaimByKeysInternalServerError, 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 (o *FleetClaimByIDBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByIDForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByIDInternalServerError) Error() string
func (*FleetClaimByIDInternalServerError) GetPayload ¶
func (o *FleetClaimByIDInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByIDNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByIDOK) GetPayload() *amsclientmodels.APIFleetClaimResponse
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 // 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 ¶
func (o *FleetClaimByIDParams) SetBody(body *amsclientmodels.APIFleetClaimReq)
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) 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 ¶
func (o *FleetClaimByIDParams) WithBody(body *amsclientmodels.APIFleetClaimReq) *FleetClaimByIDParams
WithBody adds the body to the fleet claim by id params
func (*FleetClaimByIDParams) WithContext ¶
func (o *FleetClaimByIDParams) WithContext(ctx context.Context) *FleetClaimByIDParams
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 {
}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 (o *FleetClaimByIDUnauthorized) Error() string
func (*FleetClaimByIDUnauthorized) GetPayload ¶
func (o *FleetClaimByIDUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByKeysBadRequest) Error() string
func (*FleetClaimByKeysBadRequest) GetPayload ¶
func (o *FleetClaimByKeysBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByKeysForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByKeysInternalServerError) Error() string
func (*FleetClaimByKeysInternalServerError) GetPayload ¶
func (o *FleetClaimByKeysInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetClaimByKeysInternalServerError) ToJSONString ¶
func (o *FleetClaimByKeysInternalServerError) ToJSONString() string
type FleetClaimByKeysNotFound ¶
type FleetClaimByKeysNotFound struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetClaimByKeysNotFound handles this case with default header values.
fleet not found
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 (o *FleetClaimByKeysNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetClaimByKeysOK) GetPayload() *amsclientmodels.APIFleetClaimResponse
func (*FleetClaimByKeysOK) ToJSONString ¶
func (o *FleetClaimByKeysOK) ToJSONString() string
type FleetClaimByKeysParams ¶
type FleetClaimByKeysParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *amsclientmodels.APIFleetClaimReq /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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 ¶
func (o *FleetClaimByKeysParams) SetBody(body *amsclientmodels.APIFleetClaimReq)
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) 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 ¶
func (o *FleetClaimByKeysParams) WithBody(body *amsclientmodels.APIFleetClaimReq) *FleetClaimByKeysParams
WithBody adds the body to the fleet claim by keys params
func (*FleetClaimByKeysParams) WithContext ¶
func (o *FleetClaimByKeysParams) WithContext(ctx context.Context) *FleetClaimByKeysParams
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 ¶
func (o *FleetClaimByKeysParams) WithTimeout(timeout time.Duration) *FleetClaimByKeysParams
WithTimeout adds the timeout to the fleet claim by keys params
func (*FleetClaimByKeysParams) WriteToRequest ¶
func (o *FleetClaimByKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *FleetClaimByKeysUnauthorized) Error() string
func (*FleetClaimByKeysUnauthorized) GetPayload ¶
func (o *FleetClaimByKeysUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetCreateBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetCreateCreated) GetPayload() *amsclientmodels.APIFleetCreateResponse
func (*FleetCreateCreated) ToJSONString ¶
func (o *FleetCreateCreated) ToJSONString() string
type FleetCreateForbidden ¶
type FleetCreateForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
FleetCreateForbidden handles this case with default header values.
insufficient permissions
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 (o *FleetCreateForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetCreateInternalServerError) Error() string
func (*FleetCreateInternalServerError) GetPayload ¶
func (o *FleetCreateInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 // 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 ¶
func (o *FleetCreateParams) SetBody(body *amsclientmodels.APIFleetParameters)
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) 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 ¶
func (o *FleetCreateParams) WithBody(body *amsclientmodels.APIFleetParameters) *FleetCreateParams
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 {
}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 (o *FleetCreateUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetCreateUnauthorized) ToJSONString ¶
func (o *FleetCreateUnauthorized) 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 (o *FleetDeleteForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetDeleteInternalServerError) Error() string
func (*FleetDeleteInternalServerError) GetPayload ¶
func (o *FleetDeleteInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetDeleteNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 // 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) 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 {
}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 (o *FleetDeleteUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetDeleteUnauthorized) ToJSONString ¶
func (o *FleetDeleteUnauthorized) 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 (o *FleetGetForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetGetInternalServerError) Error() string
func (*FleetGetInternalServerError) GetPayload ¶
func (o *FleetGetInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetGetNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetGetOK) GetPayload() *amsclientmodels.APIFleetGetResponse
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 // 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) 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 {
}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 (o *FleetGetUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetListInternalServerError) Error() string
func (*FleetListInternalServerError) GetPayload ¶
func (o *FleetListInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetListOK) GetPayload() *amsclientmodels.APIFleetListResponse
func (*FleetListOK) ToJSONString ¶
func (o *FleetListOK) ToJSONString() string
type FleetListParams ¶
type FleetListParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) 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) 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) SetNamespace ¶
func (o *FleetListParams) SetNamespace(namespace string)
SetNamespace adds the namespace 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) 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) WithNamespace ¶
func (o *FleetListParams) WithNamespace(namespace string) *FleetListParams
WithNamespace adds the namespace 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 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 (o *FleetServersForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetServersInternalServerError) Error() string
func (*FleetServersInternalServerError) GetPayload ¶
func (o *FleetServersInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetServersNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetServersOK) GetPayload() *amsclientmodels.APIFleetServersResponse
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 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // 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) SetFleetID ¶
func (o *FleetServersParams) SetFleetID(fleetID string)
SetFleetID adds the fleetId to the fleet servers params
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) SetTimeout ¶
func (o *FleetServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the fleet servers params
func (*FleetServersParams) WithContext ¶
func (o *FleetServersParams) WithContext(ctx context.Context) *FleetServersParams
WithContext adds the context 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) 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 {
}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 (o *FleetServersUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetUpdateBadRequest) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetUpdateForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetUpdateInternalServerError) Error() string
func (*FleetUpdateInternalServerError) GetPayload ¶
func (o *FleetUpdateInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *FleetUpdateNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 // 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 ¶
func (o *FleetUpdateParams) SetBody(body *amsclientmodels.APIFleetParameters)
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) 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 ¶
func (o *FleetUpdateParams) WithBody(body *amsclientmodels.APIFleetParameters) *FleetUpdateParams
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 {
}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 (o *FleetUpdateUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*FleetUpdateUnauthorized) ToJSONString ¶
func (o *FleetUpdateUnauthorized) ToJSONString() string
Source Files ¶
- fleet_claim_by_id_parameters.go
- fleet_claim_by_id_responses.go
- fleet_claim_by_keys_parameters.go
- fleet_claim_by_keys_responses.go
- fleet_create_parameters.go
- fleet_create_responses.go
- fleet_delete_parameters.go
- fleet_delete_responses.go
- fleet_get_parameters.go
- fleet_get_responses.go
- fleet_list_parameters.go
- fleet_list_responses.go
- fleet_servers_parameters.go
- fleet_servers_responses.go
- fleet_update_parameters.go
- fleet_update_responses.go
- fleets_client.go