Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePodConfig(params *CreatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePodConfigCreated, *CreatePodConfigBadRequest, ...)
- func (a *Client) CreatePodConfigShort(params *CreatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePodConfigCreated, error)
- func (a *Client) DeletePodConfig(params *DeletePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePodConfigNoContent, *DeletePodConfigBadRequest, ...)
- func (a *Client) DeletePodConfigShort(params *DeletePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePodConfigNoContent, error)
- func (a *Client) GetAllPodConfig(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, *GetAllPodConfigBadRequest, *GetAllPodConfigUnauthorized, ...)
- func (a *Client) GetAllPodConfigShort(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, error)
- func (a *Client) GetPodConfig(params *GetPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPodConfigOK, *GetPodConfigBadRequest, *GetPodConfigUnauthorized, ...)
- func (a *Client) GetPodConfigShort(params *GetPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPodConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePodConfig(params *UpdatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePodConfigOK, *UpdatePodConfigBadRequest, *UpdatePodConfigUnauthorized, ...)
- func (a *Client) UpdatePodConfigShort(params *UpdatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePodConfigOK, error)
- type ClientService
- type CreatePodConfigBadRequest
- type CreatePodConfigConflict
- type CreatePodConfigCreated
- type CreatePodConfigInternalServerError
- type CreatePodConfigParams
- func NewCreatePodConfigParams() *CreatePodConfigParams
- func NewCreatePodConfigParamsWithContext(ctx context.Context) *CreatePodConfigParams
- func NewCreatePodConfigParamsWithHTTPClient(client *http.Client) *CreatePodConfigParams
- func NewCreatePodConfigParamsWithTimeout(timeout time.Duration) *CreatePodConfigParams
- func (o *CreatePodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CreatePodConfigParams) SetBody(body *dsmcclientmodels.ModelsCreatePodConfigRequest)
- func (o *CreatePodConfigParams) SetContext(ctx context.Context)
- func (o *CreatePodConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreatePodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CreatePodConfigParams) SetName(name string)
- func (o *CreatePodConfigParams) SetNamespace(namespace string)
- func (o *CreatePodConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreatePodConfigParams) WithBody(body *dsmcclientmodels.ModelsCreatePodConfigRequest) *CreatePodConfigParams
- func (o *CreatePodConfigParams) WithContext(ctx context.Context) *CreatePodConfigParams
- func (o *CreatePodConfigParams) WithHTTPClient(client *http.Client) *CreatePodConfigParams
- func (o *CreatePodConfigParams) WithName(name string) *CreatePodConfigParams
- func (o *CreatePodConfigParams) WithNamespace(namespace string) *CreatePodConfigParams
- func (o *CreatePodConfigParams) WithTimeout(timeout time.Duration) *CreatePodConfigParams
- func (o *CreatePodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePodConfigReader
- type CreatePodConfigUnauthorized
- type DeletePodConfigBadRequest
- type DeletePodConfigConflict
- type DeletePodConfigInternalServerError
- type DeletePodConfigNoContent
- type DeletePodConfigNotFound
- type DeletePodConfigParams
- func NewDeletePodConfigParams() *DeletePodConfigParams
- func NewDeletePodConfigParamsWithContext(ctx context.Context) *DeletePodConfigParams
- func NewDeletePodConfigParamsWithHTTPClient(client *http.Client) *DeletePodConfigParams
- func NewDeletePodConfigParamsWithTimeout(timeout time.Duration) *DeletePodConfigParams
- func (o *DeletePodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeletePodConfigParams) SetContext(ctx context.Context)
- func (o *DeletePodConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeletePodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeletePodConfigParams) SetName(name string)
- func (o *DeletePodConfigParams) SetNamespace(namespace string)
- func (o *DeletePodConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeletePodConfigParams) WithContext(ctx context.Context) *DeletePodConfigParams
- func (o *DeletePodConfigParams) WithHTTPClient(client *http.Client) *DeletePodConfigParams
- func (o *DeletePodConfigParams) WithName(name string) *DeletePodConfigParams
- func (o *DeletePodConfigParams) WithNamespace(namespace string) *DeletePodConfigParams
- func (o *DeletePodConfigParams) WithTimeout(timeout time.Duration) *DeletePodConfigParams
- func (o *DeletePodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePodConfigReader
- type DeletePodConfigUnauthorized
- type GetAllPodConfigBadRequest
- type GetAllPodConfigInternalServerError
- type GetAllPodConfigOK
- type GetAllPodConfigParams
- func NewGetAllPodConfigParams() *GetAllPodConfigParams
- func NewGetAllPodConfigParamsWithContext(ctx context.Context) *GetAllPodConfigParams
- func NewGetAllPodConfigParamsWithHTTPClient(client *http.Client) *GetAllPodConfigParams
- func NewGetAllPodConfigParamsWithTimeout(timeout time.Duration) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetAllPodConfigParams) SetContext(ctx context.Context)
- func (o *GetAllPodConfigParams) SetCount(count *int64)
- func (o *GetAllPodConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetAllPodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetAllPodConfigParams) SetNamespace(namespace string)
- func (o *GetAllPodConfigParams) SetOffset(offset *int64)
- func (o *GetAllPodConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetAllPodConfigParams) WithContext(ctx context.Context) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) WithCount(count *int64) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) WithHTTPClient(client *http.Client) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) WithNamespace(namespace string) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) WithOffset(offset *int64) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) WithTimeout(timeout time.Duration) *GetAllPodConfigParams
- func (o *GetAllPodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAllPodConfigReader
- type GetAllPodConfigUnauthorized
- type GetPodConfigBadRequest
- type GetPodConfigInternalServerError
- type GetPodConfigNotFound
- type GetPodConfigOK
- type GetPodConfigParams
- func (o *GetPodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetPodConfigParams) SetContext(ctx context.Context)
- func (o *GetPodConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetPodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetPodConfigParams) SetName(name string)
- func (o *GetPodConfigParams) SetNamespace(namespace string)
- func (o *GetPodConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetPodConfigParams) WithContext(ctx context.Context) *GetPodConfigParams
- func (o *GetPodConfigParams) WithHTTPClient(client *http.Client) *GetPodConfigParams
- func (o *GetPodConfigParams) WithName(name string) *GetPodConfigParams
- func (o *GetPodConfigParams) WithNamespace(namespace string) *GetPodConfigParams
- func (o *GetPodConfigParams) WithTimeout(timeout time.Duration) *GetPodConfigParams
- func (o *GetPodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPodConfigReader
- type GetPodConfigUnauthorized
- type UpdatePodConfigBadRequest
- type UpdatePodConfigConflict
- type UpdatePodConfigInternalServerError
- type UpdatePodConfigNotFound
- type UpdatePodConfigOK
- type UpdatePodConfigParams
- func NewUpdatePodConfigParams() *UpdatePodConfigParams
- func NewUpdatePodConfigParamsWithContext(ctx context.Context) *UpdatePodConfigParams
- func NewUpdatePodConfigParamsWithHTTPClient(client *http.Client) *UpdatePodConfigParams
- func NewUpdatePodConfigParamsWithTimeout(timeout time.Duration) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdatePodConfigParams) SetBody(body *dsmcclientmodels.ModelsUpdatePodConfigRequest)
- func (o *UpdatePodConfigParams) SetContext(ctx context.Context)
- func (o *UpdatePodConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdatePodConfigParams) SetName(name string)
- func (o *UpdatePodConfigParams) SetNamespace(namespace string)
- func (o *UpdatePodConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePodConfigParams) WithBody(body *dsmcclientmodels.ModelsUpdatePodConfigRequest) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) WithContext(ctx context.Context) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) WithHTTPClient(client *http.Client) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) WithName(name string) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) WithNamespace(namespace string) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) WithTimeout(timeout time.Duration) *UpdatePodConfigParams
- func (o *UpdatePodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePodConfigReader
- type UpdatePodConfigUnauthorized
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 pod config API
func (*Client) CreatePodConfig ¶
func (a *Client) CreatePodConfig(params *CreatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePodConfigCreated, *CreatePodConfigBadRequest, *CreatePodConfigUnauthorized, *CreatePodConfigConflict, *CreatePodConfigInternalServerError, error)
CreatePodConfig creates pod config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]
Required scope: social
This endpoint create a dedicated servers pod config in a namespace.
func (*Client) CreatePodConfigShort ¶ added in v0.8.0
func (a *Client) CreatePodConfigShort(params *CreatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePodConfigCreated, error)
func (*Client) DeletePodConfig ¶
func (a *Client) DeletePodConfig(params *DeletePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePodConfigNoContent, *DeletePodConfigBadRequest, *DeletePodConfigUnauthorized, *DeletePodConfigNotFound, *DeletePodConfigConflict, *DeletePodConfigInternalServerError, error)
DeletePodConfig deletes pod config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]
Required scope: social
This endpoint delete a dedicated server pod config in a namespace
func (*Client) DeletePodConfigShort ¶ added in v0.8.0
func (a *Client) DeletePodConfigShort(params *DeletePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePodConfigNoContent, error)
func (*Client) GetAllPodConfig ¶
func (a *Client) GetAllPodConfig(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, *GetAllPodConfigBadRequest, *GetAllPodConfigUnauthorized, *GetAllPodConfigInternalServerError, error)
GetAllPodConfig gets all pod configs Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]
Required scope: social
This endpoint get a all pod configs in a namespace
func (*Client) GetAllPodConfigShort ¶ added in v0.8.0
func (a *Client) GetAllPodConfigShort(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, error)
func (*Client) GetPodConfig ¶
func (a *Client) GetPodConfig(params *GetPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPodConfigOK, *GetPodConfigBadRequest, *GetPodConfigUnauthorized, *GetPodConfigNotFound, *GetPodConfigInternalServerError, error)
GetPodConfig gets pod config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]
Required scope: social
This endpoint get a dedicated server pod config in a namespace
func (*Client) GetPodConfigShort ¶ added in v0.8.0
func (a *Client) GetPodConfigShort(params *GetPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPodConfigOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePodConfig ¶
func (a *Client) UpdatePodConfig(params *UpdatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePodConfigOK, *UpdatePodConfigBadRequest, *UpdatePodConfigUnauthorized, *UpdatePodConfigNotFound, *UpdatePodConfigConflict, *UpdatePodConfigInternalServerError, error)
UpdatePodConfig updates pod config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE]
Required scope: social
This endpoint update a dedicated servers pod config in a namespace.
func (*Client) UpdatePodConfigShort ¶ added in v0.8.0
func (a *Client) UpdatePodConfigShort(params *UpdatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePodConfigOK, error)
type ClientService ¶
type ClientService interface { CreatePodConfig(params *CreatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePodConfigCreated, *CreatePodConfigBadRequest, *CreatePodConfigUnauthorized, *CreatePodConfigConflict, *CreatePodConfigInternalServerError, error) CreatePodConfigShort(params *CreatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreatePodConfigCreated, error) DeletePodConfig(params *DeletePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePodConfigNoContent, *DeletePodConfigBadRequest, *DeletePodConfigUnauthorized, *DeletePodConfigNotFound, *DeletePodConfigConflict, *DeletePodConfigInternalServerError, error) DeletePodConfigShort(params *DeletePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePodConfigNoContent, error) GetAllPodConfig(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, *GetAllPodConfigBadRequest, *GetAllPodConfigUnauthorized, *GetAllPodConfigInternalServerError, error) GetAllPodConfigShort(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, error) GetPodConfig(params *GetPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPodConfigOK, *GetPodConfigBadRequest, *GetPodConfigUnauthorized, *GetPodConfigNotFound, *GetPodConfigInternalServerError, error) GetPodConfigShort(params *GetPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetPodConfigOK, error) UpdatePodConfig(params *UpdatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePodConfigOK, *UpdatePodConfigBadRequest, *UpdatePodConfigUnauthorized, *UpdatePodConfigNotFound, *UpdatePodConfigConflict, *UpdatePodConfigInternalServerError, error) UpdatePodConfigShort(params *UpdatePodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePodConfigOK, 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 pod config API client.
type CreatePodConfigBadRequest ¶
type CreatePodConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
CreatePodConfigBadRequest handles this case with default header values.
malformed request
func NewCreatePodConfigBadRequest ¶
func NewCreatePodConfigBadRequest() *CreatePodConfigBadRequest
NewCreatePodConfigBadRequest creates a CreatePodConfigBadRequest with default headers values
func (*CreatePodConfigBadRequest) Error ¶
func (o *CreatePodConfigBadRequest) Error() string
func (*CreatePodConfigBadRequest) GetPayload ¶
func (o *CreatePodConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type CreatePodConfigConflict ¶
type CreatePodConfigConflict struct {
Payload *dsmcclientmodels.ResponseError
}
CreatePodConfigConflict handles this case with default header values.
pod config already exists
func NewCreatePodConfigConflict ¶
func NewCreatePodConfigConflict() *CreatePodConfigConflict
NewCreatePodConfigConflict creates a CreatePodConfigConflict with default headers values
func (*CreatePodConfigConflict) Error ¶
func (o *CreatePodConfigConflict) Error() string
func (*CreatePodConfigConflict) GetPayload ¶
func (o *CreatePodConfigConflict) GetPayload() *dsmcclientmodels.ResponseError
type CreatePodConfigCreated ¶
type CreatePodConfigCreated struct {
Payload *dsmcclientmodels.ModelsPodConfigRecord
}
CreatePodConfigCreated handles this case with default header values.
pod config created
func NewCreatePodConfigCreated ¶
func NewCreatePodConfigCreated() *CreatePodConfigCreated
NewCreatePodConfigCreated creates a CreatePodConfigCreated with default headers values
func (*CreatePodConfigCreated) Error ¶
func (o *CreatePodConfigCreated) Error() string
func (*CreatePodConfigCreated) GetPayload ¶
func (o *CreatePodConfigCreated) GetPayload() *dsmcclientmodels.ModelsPodConfigRecord
type CreatePodConfigInternalServerError ¶
type CreatePodConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
CreatePodConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewCreatePodConfigInternalServerError ¶
func NewCreatePodConfigInternalServerError() *CreatePodConfigInternalServerError
NewCreatePodConfigInternalServerError creates a CreatePodConfigInternalServerError with default headers values
func (*CreatePodConfigInternalServerError) Error ¶
func (o *CreatePodConfigInternalServerError) Error() string
func (*CreatePodConfigInternalServerError) GetPayload ¶
func (o *CreatePodConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type CreatePodConfigParams ¶
type CreatePodConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsCreatePodConfigRequest /*Name pod name */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePodConfigParams contains all the parameters to send to the API endpoint for the create pod config operation typically these are written to a http.Request
func NewCreatePodConfigParams ¶
func NewCreatePodConfigParams() *CreatePodConfigParams
NewCreatePodConfigParams creates a new CreatePodConfigParams object with the default values initialized.
func NewCreatePodConfigParamsWithContext ¶
func NewCreatePodConfigParamsWithContext(ctx context.Context) *CreatePodConfigParams
NewCreatePodConfigParamsWithContext creates a new CreatePodConfigParams object with the default values initialized, and the ability to set a context for a request
func NewCreatePodConfigParamsWithHTTPClient ¶
func NewCreatePodConfigParamsWithHTTPClient(client *http.Client) *CreatePodConfigParams
NewCreatePodConfigParamsWithHTTPClient creates a new CreatePodConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreatePodConfigParamsWithTimeout ¶
func NewCreatePodConfigParamsWithTimeout(timeout time.Duration) *CreatePodConfigParams
NewCreatePodConfigParamsWithTimeout creates a new CreatePodConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreatePodConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CreatePodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the create pod config params
func (*CreatePodConfigParams) SetBody ¶
func (o *CreatePodConfigParams) SetBody(body *dsmcclientmodels.ModelsCreatePodConfigRequest)
SetBody adds the body to the create pod config params
func (*CreatePodConfigParams) SetContext ¶
func (o *CreatePodConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create pod config params
func (*CreatePodConfigParams) SetHTTPClient ¶
func (o *CreatePodConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create pod config params
func (*CreatePodConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CreatePodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the create pod config params
func (*CreatePodConfigParams) SetName ¶
func (o *CreatePodConfigParams) SetName(name string)
SetName adds the name to the create pod config params
func (*CreatePodConfigParams) SetNamespace ¶
func (o *CreatePodConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create pod config params
func (*CreatePodConfigParams) SetTimeout ¶
func (o *CreatePodConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create pod config params
func (*CreatePodConfigParams) WithBody ¶
func (o *CreatePodConfigParams) WithBody(body *dsmcclientmodels.ModelsCreatePodConfigRequest) *CreatePodConfigParams
WithBody adds the body to the create pod config params
func (*CreatePodConfigParams) WithContext ¶
func (o *CreatePodConfigParams) WithContext(ctx context.Context) *CreatePodConfigParams
WithContext adds the context to the create pod config params
func (*CreatePodConfigParams) WithHTTPClient ¶
func (o *CreatePodConfigParams) WithHTTPClient(client *http.Client) *CreatePodConfigParams
WithHTTPClient adds the HTTPClient to the create pod config params
func (*CreatePodConfigParams) WithName ¶
func (o *CreatePodConfigParams) WithName(name string) *CreatePodConfigParams
WithName adds the name to the create pod config params
func (*CreatePodConfigParams) WithNamespace ¶
func (o *CreatePodConfigParams) WithNamespace(namespace string) *CreatePodConfigParams
WithNamespace adds the namespace to the create pod config params
func (*CreatePodConfigParams) WithTimeout ¶
func (o *CreatePodConfigParams) WithTimeout(timeout time.Duration) *CreatePodConfigParams
WithTimeout adds the timeout to the create pod config params
func (*CreatePodConfigParams) WriteToRequest ¶
func (o *CreatePodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePodConfigReader ¶
type CreatePodConfigReader struct {
// contains filtered or unexported fields
}
CreatePodConfigReader is a Reader for the CreatePodConfig structure.
func (*CreatePodConfigReader) ReadResponse ¶
func (o *CreatePodConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreatePodConfigUnauthorized ¶
type CreatePodConfigUnauthorized struct {
}CreatePodConfigUnauthorized handles this case with default header values.
Unauthorized
func NewCreatePodConfigUnauthorized ¶
func NewCreatePodConfigUnauthorized() *CreatePodConfigUnauthorized
NewCreatePodConfigUnauthorized creates a CreatePodConfigUnauthorized with default headers values
func (*CreatePodConfigUnauthorized) Error ¶
func (o *CreatePodConfigUnauthorized) Error() string
func (*CreatePodConfigUnauthorized) GetPayload ¶
func (o *CreatePodConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type DeletePodConfigBadRequest ¶
type DeletePodConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePodConfigBadRequest handles this case with default header values.
malformed request
func NewDeletePodConfigBadRequest ¶
func NewDeletePodConfigBadRequest() *DeletePodConfigBadRequest
NewDeletePodConfigBadRequest creates a DeletePodConfigBadRequest with default headers values
func (*DeletePodConfigBadRequest) Error ¶
func (o *DeletePodConfigBadRequest) Error() string
func (*DeletePodConfigBadRequest) GetPayload ¶
func (o *DeletePodConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type DeletePodConfigConflict ¶
type DeletePodConfigConflict struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePodConfigConflict handles this case with default header values.
pod config in use
func NewDeletePodConfigConflict ¶
func NewDeletePodConfigConflict() *DeletePodConfigConflict
NewDeletePodConfigConflict creates a DeletePodConfigConflict with default headers values
func (*DeletePodConfigConflict) Error ¶
func (o *DeletePodConfigConflict) Error() string
func (*DeletePodConfigConflict) GetPayload ¶
func (o *DeletePodConfigConflict) GetPayload() *dsmcclientmodels.ResponseError
type DeletePodConfigInternalServerError ¶
type DeletePodConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePodConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewDeletePodConfigInternalServerError ¶
func NewDeletePodConfigInternalServerError() *DeletePodConfigInternalServerError
NewDeletePodConfigInternalServerError creates a DeletePodConfigInternalServerError with default headers values
func (*DeletePodConfigInternalServerError) Error ¶
func (o *DeletePodConfigInternalServerError) Error() string
func (*DeletePodConfigInternalServerError) GetPayload ¶
func (o *DeletePodConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type DeletePodConfigNoContent ¶
type DeletePodConfigNoContent struct { }
DeletePodConfigNoContent handles this case with default header values.
pod config deleted
func NewDeletePodConfigNoContent ¶
func NewDeletePodConfigNoContent() *DeletePodConfigNoContent
NewDeletePodConfigNoContent creates a DeletePodConfigNoContent with default headers values
func (*DeletePodConfigNoContent) Error ¶
func (o *DeletePodConfigNoContent) Error() string
type DeletePodConfigNotFound ¶
type DeletePodConfigNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePodConfigNotFound handles this case with default header values.
pod config not found
func NewDeletePodConfigNotFound ¶
func NewDeletePodConfigNotFound() *DeletePodConfigNotFound
NewDeletePodConfigNotFound creates a DeletePodConfigNotFound with default headers values
func (*DeletePodConfigNotFound) Error ¶
func (o *DeletePodConfigNotFound) Error() string
func (*DeletePodConfigNotFound) GetPayload ¶
func (o *DeletePodConfigNotFound) GetPayload() *dsmcclientmodels.ResponseError
type DeletePodConfigParams ¶
type DeletePodConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Name pod name */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePodConfigParams contains all the parameters to send to the API endpoint for the delete pod config operation typically these are written to a http.Request
func NewDeletePodConfigParams ¶
func NewDeletePodConfigParams() *DeletePodConfigParams
NewDeletePodConfigParams creates a new DeletePodConfigParams object with the default values initialized.
func NewDeletePodConfigParamsWithContext ¶
func NewDeletePodConfigParamsWithContext(ctx context.Context) *DeletePodConfigParams
NewDeletePodConfigParamsWithContext creates a new DeletePodConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePodConfigParamsWithHTTPClient ¶
func NewDeletePodConfigParamsWithHTTPClient(client *http.Client) *DeletePodConfigParams
NewDeletePodConfigParamsWithHTTPClient creates a new DeletePodConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePodConfigParamsWithTimeout ¶
func NewDeletePodConfigParamsWithTimeout(timeout time.Duration) *DeletePodConfigParams
NewDeletePodConfigParamsWithTimeout creates a new DeletePodConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePodConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeletePodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete pod config params
func (*DeletePodConfigParams) SetContext ¶
func (o *DeletePodConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete pod config params
func (*DeletePodConfigParams) SetHTTPClient ¶
func (o *DeletePodConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete pod config params
func (*DeletePodConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeletePodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete pod config params
func (*DeletePodConfigParams) SetName ¶
func (o *DeletePodConfigParams) SetName(name string)
SetName adds the name to the delete pod config params
func (*DeletePodConfigParams) SetNamespace ¶
func (o *DeletePodConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete pod config params
func (*DeletePodConfigParams) SetTimeout ¶
func (o *DeletePodConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete pod config params
func (*DeletePodConfigParams) WithContext ¶
func (o *DeletePodConfigParams) WithContext(ctx context.Context) *DeletePodConfigParams
WithContext adds the context to the delete pod config params
func (*DeletePodConfigParams) WithHTTPClient ¶
func (o *DeletePodConfigParams) WithHTTPClient(client *http.Client) *DeletePodConfigParams
WithHTTPClient adds the HTTPClient to the delete pod config params
func (*DeletePodConfigParams) WithName ¶
func (o *DeletePodConfigParams) WithName(name string) *DeletePodConfigParams
WithName adds the name to the delete pod config params
func (*DeletePodConfigParams) WithNamespace ¶
func (o *DeletePodConfigParams) WithNamespace(namespace string) *DeletePodConfigParams
WithNamespace adds the namespace to the delete pod config params
func (*DeletePodConfigParams) WithTimeout ¶
func (o *DeletePodConfigParams) WithTimeout(timeout time.Duration) *DeletePodConfigParams
WithTimeout adds the timeout to the delete pod config params
func (*DeletePodConfigParams) WriteToRequest ¶
func (o *DeletePodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePodConfigReader ¶
type DeletePodConfigReader struct {
// contains filtered or unexported fields
}
DeletePodConfigReader is a Reader for the DeletePodConfig structure.
func (*DeletePodConfigReader) ReadResponse ¶
func (o *DeletePodConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePodConfigUnauthorized ¶
type DeletePodConfigUnauthorized struct {
}DeletePodConfigUnauthorized handles this case with default header values.
Unauthorized
func NewDeletePodConfigUnauthorized ¶
func NewDeletePodConfigUnauthorized() *DeletePodConfigUnauthorized
NewDeletePodConfigUnauthorized creates a DeletePodConfigUnauthorized with default headers values
func (*DeletePodConfigUnauthorized) Error ¶
func (o *DeletePodConfigUnauthorized) Error() string
func (*DeletePodConfigUnauthorized) GetPayload ¶
func (o *DeletePodConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type GetAllPodConfigBadRequest ¶
type GetAllPodConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
GetAllPodConfigBadRequest handles this case with default header values.
malformed request
func NewGetAllPodConfigBadRequest ¶
func NewGetAllPodConfigBadRequest() *GetAllPodConfigBadRequest
NewGetAllPodConfigBadRequest creates a GetAllPodConfigBadRequest with default headers values
func (*GetAllPodConfigBadRequest) Error ¶
func (o *GetAllPodConfigBadRequest) Error() string
func (*GetAllPodConfigBadRequest) GetPayload ¶
func (o *GetAllPodConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type GetAllPodConfigInternalServerError ¶
type GetAllPodConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetAllPodConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewGetAllPodConfigInternalServerError ¶
func NewGetAllPodConfigInternalServerError() *GetAllPodConfigInternalServerError
NewGetAllPodConfigInternalServerError creates a GetAllPodConfigInternalServerError with default headers values
func (*GetAllPodConfigInternalServerError) Error ¶
func (o *GetAllPodConfigInternalServerError) Error() string
func (*GetAllPodConfigInternalServerError) GetPayload ¶
func (o *GetAllPodConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type GetAllPodConfigOK ¶
type GetAllPodConfigOK struct {
Payload *dsmcclientmodels.ModelsListPodConfigResponse
}
GetAllPodConfigOK handles this case with default header values.
ok
func NewGetAllPodConfigOK ¶
func NewGetAllPodConfigOK() *GetAllPodConfigOK
NewGetAllPodConfigOK creates a GetAllPodConfigOK with default headers values
func (*GetAllPodConfigOK) Error ¶
func (o *GetAllPodConfigOK) Error() string
func (*GetAllPodConfigOK) GetPayload ¶
func (o *GetAllPodConfigOK) GetPayload() *dsmcclientmodels.ModelsListPodConfigResponse
type GetAllPodConfigParams ¶
type GetAllPodConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Count how many items to return */ Count *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset from list to query from */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAllPodConfigParams contains all the parameters to send to the API endpoint for the get all pod config operation typically these are written to a http.Request
func NewGetAllPodConfigParams ¶
func NewGetAllPodConfigParams() *GetAllPodConfigParams
NewGetAllPodConfigParams creates a new GetAllPodConfigParams object with the default values initialized.
func NewGetAllPodConfigParamsWithContext ¶
func NewGetAllPodConfigParamsWithContext(ctx context.Context) *GetAllPodConfigParams
NewGetAllPodConfigParamsWithContext creates a new GetAllPodConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetAllPodConfigParamsWithHTTPClient ¶
func NewGetAllPodConfigParamsWithHTTPClient(client *http.Client) *GetAllPodConfigParams
NewGetAllPodConfigParamsWithHTTPClient creates a new GetAllPodConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAllPodConfigParamsWithTimeout ¶
func NewGetAllPodConfigParamsWithTimeout(timeout time.Duration) *GetAllPodConfigParams
NewGetAllPodConfigParamsWithTimeout creates a new GetAllPodConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAllPodConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetAllPodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get all pod config params
func (*GetAllPodConfigParams) SetContext ¶
func (o *GetAllPodConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get all pod config params
func (*GetAllPodConfigParams) SetCount ¶
func (o *GetAllPodConfigParams) SetCount(count *int64)
SetCount adds the count to the get all pod config params
func (*GetAllPodConfigParams) SetHTTPClient ¶
func (o *GetAllPodConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get all pod config params
func (*GetAllPodConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetAllPodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get all pod config params
func (*GetAllPodConfigParams) SetNamespace ¶
func (o *GetAllPodConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get all pod config params
func (*GetAllPodConfigParams) SetOffset ¶
func (o *GetAllPodConfigParams) SetOffset(offset *int64)
SetOffset adds the offset to the get all pod config params
func (*GetAllPodConfigParams) SetTimeout ¶
func (o *GetAllPodConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get all pod config params
func (*GetAllPodConfigParams) WithContext ¶
func (o *GetAllPodConfigParams) WithContext(ctx context.Context) *GetAllPodConfigParams
WithContext adds the context to the get all pod config params
func (*GetAllPodConfigParams) WithCount ¶
func (o *GetAllPodConfigParams) WithCount(count *int64) *GetAllPodConfigParams
WithCount adds the count to the get all pod config params
func (*GetAllPodConfigParams) WithHTTPClient ¶
func (o *GetAllPodConfigParams) WithHTTPClient(client *http.Client) *GetAllPodConfigParams
WithHTTPClient adds the HTTPClient to the get all pod config params
func (*GetAllPodConfigParams) WithNamespace ¶
func (o *GetAllPodConfigParams) WithNamespace(namespace string) *GetAllPodConfigParams
WithNamespace adds the namespace to the get all pod config params
func (*GetAllPodConfigParams) WithOffset ¶
func (o *GetAllPodConfigParams) WithOffset(offset *int64) *GetAllPodConfigParams
WithOffset adds the offset to the get all pod config params
func (*GetAllPodConfigParams) WithTimeout ¶
func (o *GetAllPodConfigParams) WithTimeout(timeout time.Duration) *GetAllPodConfigParams
WithTimeout adds the timeout to the get all pod config params
func (*GetAllPodConfigParams) WriteToRequest ¶
func (o *GetAllPodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAllPodConfigReader ¶
type GetAllPodConfigReader struct {
// contains filtered or unexported fields
}
GetAllPodConfigReader is a Reader for the GetAllPodConfig structure.
func (*GetAllPodConfigReader) ReadResponse ¶
func (o *GetAllPodConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAllPodConfigUnauthorized ¶
type GetAllPodConfigUnauthorized struct {
}GetAllPodConfigUnauthorized handles this case with default header values.
Unauthorized
func NewGetAllPodConfigUnauthorized ¶
func NewGetAllPodConfigUnauthorized() *GetAllPodConfigUnauthorized
NewGetAllPodConfigUnauthorized creates a GetAllPodConfigUnauthorized with default headers values
func (*GetAllPodConfigUnauthorized) Error ¶
func (o *GetAllPodConfigUnauthorized) Error() string
func (*GetAllPodConfigUnauthorized) GetPayload ¶
func (o *GetAllPodConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type GetPodConfigBadRequest ¶
type GetPodConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
GetPodConfigBadRequest handles this case with default header values.
malformed request
func NewGetPodConfigBadRequest ¶
func NewGetPodConfigBadRequest() *GetPodConfigBadRequest
NewGetPodConfigBadRequest creates a GetPodConfigBadRequest with default headers values
func (*GetPodConfigBadRequest) Error ¶
func (o *GetPodConfigBadRequest) Error() string
func (*GetPodConfigBadRequest) GetPayload ¶
func (o *GetPodConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type GetPodConfigInternalServerError ¶
type GetPodConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetPodConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewGetPodConfigInternalServerError ¶
func NewGetPodConfigInternalServerError() *GetPodConfigInternalServerError
NewGetPodConfigInternalServerError creates a GetPodConfigInternalServerError with default headers values
func (*GetPodConfigInternalServerError) Error ¶
func (o *GetPodConfigInternalServerError) Error() string
func (*GetPodConfigInternalServerError) GetPayload ¶
func (o *GetPodConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type GetPodConfigNotFound ¶
type GetPodConfigNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
GetPodConfigNotFound handles this case with default header values.
pod name not found
func NewGetPodConfigNotFound ¶
func NewGetPodConfigNotFound() *GetPodConfigNotFound
NewGetPodConfigNotFound creates a GetPodConfigNotFound with default headers values
func (*GetPodConfigNotFound) Error ¶
func (o *GetPodConfigNotFound) Error() string
func (*GetPodConfigNotFound) GetPayload ¶
func (o *GetPodConfigNotFound) GetPayload() *dsmcclientmodels.ResponseError
type GetPodConfigOK ¶
type GetPodConfigOK struct {
Payload *dsmcclientmodels.ModelsPodConfigRecord
}
GetPodConfigOK handles this case with default header values.
ok
func NewGetPodConfigOK ¶
func NewGetPodConfigOK() *GetPodConfigOK
NewGetPodConfigOK creates a GetPodConfigOK with default headers values
func (*GetPodConfigOK) Error ¶
func (o *GetPodConfigOK) Error() string
func (*GetPodConfigOK) GetPayload ¶
func (o *GetPodConfigOK) GetPayload() *dsmcclientmodels.ModelsPodConfigRecord
type GetPodConfigParams ¶
type GetPodConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Name pod name */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPodConfigParams contains all the parameters to send to the API endpoint for the get pod config operation typically these are written to a http.Request
func NewGetPodConfigParams ¶
func NewGetPodConfigParams() *GetPodConfigParams
NewGetPodConfigParams creates a new GetPodConfigParams object with the default values initialized.
func NewGetPodConfigParamsWithContext ¶
func NewGetPodConfigParamsWithContext(ctx context.Context) *GetPodConfigParams
NewGetPodConfigParamsWithContext creates a new GetPodConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetPodConfigParamsWithHTTPClient ¶
func NewGetPodConfigParamsWithHTTPClient(client *http.Client) *GetPodConfigParams
NewGetPodConfigParamsWithHTTPClient creates a new GetPodConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPodConfigParamsWithTimeout ¶
func NewGetPodConfigParamsWithTimeout(timeout time.Duration) *GetPodConfigParams
NewGetPodConfigParamsWithTimeout creates a new GetPodConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPodConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetPodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get pod config params
func (*GetPodConfigParams) SetContext ¶
func (o *GetPodConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get pod config params
func (*GetPodConfigParams) SetHTTPClient ¶
func (o *GetPodConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get pod config params
func (*GetPodConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetPodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get pod config params
func (*GetPodConfigParams) SetName ¶
func (o *GetPodConfigParams) SetName(name string)
SetName adds the name to the get pod config params
func (*GetPodConfigParams) SetNamespace ¶
func (o *GetPodConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get pod config params
func (*GetPodConfigParams) SetTimeout ¶
func (o *GetPodConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get pod config params
func (*GetPodConfigParams) WithContext ¶
func (o *GetPodConfigParams) WithContext(ctx context.Context) *GetPodConfigParams
WithContext adds the context to the get pod config params
func (*GetPodConfigParams) WithHTTPClient ¶
func (o *GetPodConfigParams) WithHTTPClient(client *http.Client) *GetPodConfigParams
WithHTTPClient adds the HTTPClient to the get pod config params
func (*GetPodConfigParams) WithName ¶
func (o *GetPodConfigParams) WithName(name string) *GetPodConfigParams
WithName adds the name to the get pod config params
func (*GetPodConfigParams) WithNamespace ¶
func (o *GetPodConfigParams) WithNamespace(namespace string) *GetPodConfigParams
WithNamespace adds the namespace to the get pod config params
func (*GetPodConfigParams) WithTimeout ¶
func (o *GetPodConfigParams) WithTimeout(timeout time.Duration) *GetPodConfigParams
WithTimeout adds the timeout to the get pod config params
func (*GetPodConfigParams) WriteToRequest ¶
func (o *GetPodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPodConfigReader ¶
type GetPodConfigReader struct {
// contains filtered or unexported fields
}
GetPodConfigReader is a Reader for the GetPodConfig structure.
func (*GetPodConfigReader) ReadResponse ¶
func (o *GetPodConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPodConfigUnauthorized ¶
type GetPodConfigUnauthorized struct {
}GetPodConfigUnauthorized handles this case with default header values.
Unauthorized
func NewGetPodConfigUnauthorized ¶
func NewGetPodConfigUnauthorized() *GetPodConfigUnauthorized
NewGetPodConfigUnauthorized creates a GetPodConfigUnauthorized with default headers values
func (*GetPodConfigUnauthorized) Error ¶
func (o *GetPodConfigUnauthorized) Error() string
func (*GetPodConfigUnauthorized) GetPayload ¶
func (o *GetPodConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePodConfigBadRequest ¶
type UpdatePodConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePodConfigBadRequest handles this case with default header values.
malformed request
func NewUpdatePodConfigBadRequest ¶
func NewUpdatePodConfigBadRequest() *UpdatePodConfigBadRequest
NewUpdatePodConfigBadRequest creates a UpdatePodConfigBadRequest with default headers values
func (*UpdatePodConfigBadRequest) Error ¶
func (o *UpdatePodConfigBadRequest) Error() string
func (*UpdatePodConfigBadRequest) GetPayload ¶
func (o *UpdatePodConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePodConfigConflict ¶
type UpdatePodConfigConflict struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePodConfigConflict handles this case with default header values.
pod config with same name already exist
func NewUpdatePodConfigConflict ¶
func NewUpdatePodConfigConflict() *UpdatePodConfigConflict
NewUpdatePodConfigConflict creates a UpdatePodConfigConflict with default headers values
func (*UpdatePodConfigConflict) Error ¶
func (o *UpdatePodConfigConflict) Error() string
func (*UpdatePodConfigConflict) GetPayload ¶
func (o *UpdatePodConfigConflict) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePodConfigInternalServerError ¶
type UpdatePodConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePodConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdatePodConfigInternalServerError ¶
func NewUpdatePodConfigInternalServerError() *UpdatePodConfigInternalServerError
NewUpdatePodConfigInternalServerError creates a UpdatePodConfigInternalServerError with default headers values
func (*UpdatePodConfigInternalServerError) Error ¶
func (o *UpdatePodConfigInternalServerError) Error() string
func (*UpdatePodConfigInternalServerError) GetPayload ¶
func (o *UpdatePodConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePodConfigNotFound ¶
type UpdatePodConfigNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePodConfigNotFound handles this case with default header values.
pod config not found
func NewUpdatePodConfigNotFound ¶
func NewUpdatePodConfigNotFound() *UpdatePodConfigNotFound
NewUpdatePodConfigNotFound creates a UpdatePodConfigNotFound with default headers values
func (*UpdatePodConfigNotFound) Error ¶
func (o *UpdatePodConfigNotFound) Error() string
func (*UpdatePodConfigNotFound) GetPayload ¶
func (o *UpdatePodConfigNotFound) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePodConfigOK ¶
type UpdatePodConfigOK struct {
Payload *dsmcclientmodels.ModelsPodConfigRecord
}
UpdatePodConfigOK handles this case with default header values.
pod config updated
func NewUpdatePodConfigOK ¶
func NewUpdatePodConfigOK() *UpdatePodConfigOK
NewUpdatePodConfigOK creates a UpdatePodConfigOK with default headers values
func (*UpdatePodConfigOK) Error ¶
func (o *UpdatePodConfigOK) Error() string
func (*UpdatePodConfigOK) GetPayload ¶
func (o *UpdatePodConfigOK) GetPayload() *dsmcclientmodels.ModelsPodConfigRecord
type UpdatePodConfigParams ¶
type UpdatePodConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsUpdatePodConfigRequest /*Name pod name */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePodConfigParams contains all the parameters to send to the API endpoint for the update pod config operation typically these are written to a http.Request
func NewUpdatePodConfigParams ¶
func NewUpdatePodConfigParams() *UpdatePodConfigParams
NewUpdatePodConfigParams creates a new UpdatePodConfigParams object with the default values initialized.
func NewUpdatePodConfigParamsWithContext ¶
func NewUpdatePodConfigParamsWithContext(ctx context.Context) *UpdatePodConfigParams
NewUpdatePodConfigParamsWithContext creates a new UpdatePodConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePodConfigParamsWithHTTPClient ¶
func NewUpdatePodConfigParamsWithHTTPClient(client *http.Client) *UpdatePodConfigParams
NewUpdatePodConfigParamsWithHTTPClient creates a new UpdatePodConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePodConfigParamsWithTimeout ¶
func NewUpdatePodConfigParamsWithTimeout(timeout time.Duration) *UpdatePodConfigParams
NewUpdatePodConfigParamsWithTimeout creates a new UpdatePodConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePodConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdatePodConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update pod config params
func (*UpdatePodConfigParams) SetBody ¶
func (o *UpdatePodConfigParams) SetBody(body *dsmcclientmodels.ModelsUpdatePodConfigRequest)
SetBody adds the body to the update pod config params
func (*UpdatePodConfigParams) SetContext ¶
func (o *UpdatePodConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update pod config params
func (*UpdatePodConfigParams) SetHTTPClient ¶
func (o *UpdatePodConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update pod config params
func (*UpdatePodConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdatePodConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update pod config params
func (*UpdatePodConfigParams) SetName ¶
func (o *UpdatePodConfigParams) SetName(name string)
SetName adds the name to the update pod config params
func (*UpdatePodConfigParams) SetNamespace ¶
func (o *UpdatePodConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update pod config params
func (*UpdatePodConfigParams) SetTimeout ¶
func (o *UpdatePodConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update pod config params
func (*UpdatePodConfigParams) WithBody ¶
func (o *UpdatePodConfigParams) WithBody(body *dsmcclientmodels.ModelsUpdatePodConfigRequest) *UpdatePodConfigParams
WithBody adds the body to the update pod config params
func (*UpdatePodConfigParams) WithContext ¶
func (o *UpdatePodConfigParams) WithContext(ctx context.Context) *UpdatePodConfigParams
WithContext adds the context to the update pod config params
func (*UpdatePodConfigParams) WithHTTPClient ¶
func (o *UpdatePodConfigParams) WithHTTPClient(client *http.Client) *UpdatePodConfigParams
WithHTTPClient adds the HTTPClient to the update pod config params
func (*UpdatePodConfigParams) WithName ¶
func (o *UpdatePodConfigParams) WithName(name string) *UpdatePodConfigParams
WithName adds the name to the update pod config params
func (*UpdatePodConfigParams) WithNamespace ¶
func (o *UpdatePodConfigParams) WithNamespace(namespace string) *UpdatePodConfigParams
WithNamespace adds the namespace to the update pod config params
func (*UpdatePodConfigParams) WithTimeout ¶
func (o *UpdatePodConfigParams) WithTimeout(timeout time.Duration) *UpdatePodConfigParams
WithTimeout adds the timeout to the update pod config params
func (*UpdatePodConfigParams) WriteToRequest ¶
func (o *UpdatePodConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePodConfigReader ¶
type UpdatePodConfigReader struct {
// contains filtered or unexported fields
}
UpdatePodConfigReader is a Reader for the UpdatePodConfig structure.
func (*UpdatePodConfigReader) ReadResponse ¶
func (o *UpdatePodConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePodConfigUnauthorized ¶
type UpdatePodConfigUnauthorized struct {
}UpdatePodConfigUnauthorized handles this case with default header values.
Unauthorized
func NewUpdatePodConfigUnauthorized ¶
func NewUpdatePodConfigUnauthorized() *UpdatePodConfigUnauthorized
NewUpdatePodConfigUnauthorized creates a UpdatePodConfigUnauthorized with default headers values
func (*UpdatePodConfigUnauthorized) Error ¶
func (o *UpdatePodConfigUnauthorized) Error() string
func (*UpdatePodConfigUnauthorized) GetPayload ¶
func (o *UpdatePodConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
Source Files
¶
- create_pod_config_parameters.go
- create_pod_config_responses.go
- delete_pod_config_parameters.go
- delete_pod_config_responses.go
- get_all_pod_config_parameters.go
- get_all_pod_config_responses.go
- get_pod_config_parameters.go
- get_pod_config_responses.go
- pod_config_client.go
- update_pod_config_parameters.go
- update_pod_config_responses.go