pod_config

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for pod config API

func (*Client) CreatePodConfig deprecated

Deprecated: Use CreatePodConfigShort instead.

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)
CreatePodConfigShort 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) DeletePodConfig deprecated

Deprecated: Use DeletePodConfigShort instead.

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)
DeletePodConfigShort 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) GetAllPodConfig deprecated

Deprecated: Use GetAllPodConfigShort instead.

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

Parameter Offset and Count is Required

func (*Client) GetAllPodConfigShort added in v0.8.0

func (a *Client) GetAllPodConfigShort(params *GetAllPodConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetAllPodConfigOK, error)
GetAllPodConfigShort 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

Parameter Offset and Count is Required

func (*Client) GetPodConfig deprecated

Deprecated: Use GetPodConfigShort instead.

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)
GetPodConfigShort 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) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePodConfig deprecated

Deprecated: Use UpdatePodConfigShort instead.

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)
UpdatePodConfigShort 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.

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 (*CreatePodConfigBadRequest) ToJSONString added in v0.25.0

func (o *CreatePodConfigBadRequest) ToJSONString() string

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 (*CreatePodConfigConflict) ToJSONString added in v0.25.0

func (o *CreatePodConfigConflict) ToJSONString() string

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 (*CreatePodConfigCreated) ToJSONString added in v0.25.0

func (o *CreatePodConfigCreated) ToJSONString() string

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 (*CreatePodConfigInternalServerError) GetPayload

func (*CreatePodConfigInternalServerError) ToJSONString added in v0.25.0

func (o *CreatePodConfigInternalServerError) ToJSONString() string

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

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

WithBody adds the body to the create pod config params

func (*CreatePodConfigParams) WithContext

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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 (*CreatePodConfigUnauthorized) GetPayload

func (*CreatePodConfigUnauthorized) ToJSONString added in v0.25.0

func (o *CreatePodConfigUnauthorized) ToJSONString() string

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 (*DeletePodConfigBadRequest) ToJSONString added in v0.25.0

func (o *DeletePodConfigBadRequest) ToJSONString() string

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 (*DeletePodConfigConflict) ToJSONString added in v0.25.0

func (o *DeletePodConfigConflict) ToJSONString() string

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 (*DeletePodConfigInternalServerError) GetPayload

func (*DeletePodConfigInternalServerError) ToJSONString added in v0.25.0

func (o *DeletePodConfigInternalServerError) ToJSONString() string

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 (*DeletePodConfigNotFound) ToJSONString added in v0.25.0

func (o *DeletePodConfigNotFound) ToJSONString() string

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

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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 (*DeletePodConfigUnauthorized) GetPayload

func (*DeletePodConfigUnauthorized) ToJSONString added in v0.25.0

func (o *DeletePodConfigUnauthorized) ToJSONString() string

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 (*GetAllPodConfigBadRequest) ToJSONString added in v0.25.0

func (o *GetAllPodConfigBadRequest) ToJSONString() string

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 (*GetAllPodConfigInternalServerError) GetPayload

func (*GetAllPodConfigInternalServerError) ToJSONString added in v0.25.0

func (o *GetAllPodConfigInternalServerError) ToJSONString() string

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 (*GetAllPodConfigOK) ToJSONString added in v0.25.0

func (o *GetAllPodConfigOK) ToJSONString() string

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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 (*GetAllPodConfigUnauthorized) GetPayload

func (*GetAllPodConfigUnauthorized) ToJSONString added in v0.25.0

func (o *GetAllPodConfigUnauthorized) ToJSONString() string

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 (*GetPodConfigBadRequest) ToJSONString added in v0.25.0

func (o *GetPodConfigBadRequest) ToJSONString() string

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 (*GetPodConfigInternalServerError) GetPayload

func (*GetPodConfigInternalServerError) ToJSONString added in v0.25.0

func (o *GetPodConfigInternalServerError) ToJSONString() string

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 (*GetPodConfigNotFound) ToJSONString added in v0.25.0

func (o *GetPodConfigNotFound) ToJSONString() string

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 (*GetPodConfigOK) ToJSONString added in v0.25.0

func (o *GetPodConfigOK) ToJSONString() string

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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 (*GetPodConfigUnauthorized) ToJSONString added in v0.25.0

func (o *GetPodConfigUnauthorized) ToJSONString() string

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 (*UpdatePodConfigBadRequest) ToJSONString added in v0.25.0

func (o *UpdatePodConfigBadRequest) ToJSONString() string

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 (*UpdatePodConfigConflict) ToJSONString added in v0.25.0

func (o *UpdatePodConfigConflict) ToJSONString() string

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 (*UpdatePodConfigInternalServerError) GetPayload

func (*UpdatePodConfigInternalServerError) ToJSONString added in v0.25.0

func (o *UpdatePodConfigInternalServerError) ToJSONString() string

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 (*UpdatePodConfigNotFound) ToJSONString added in v0.25.0

func (o *UpdatePodConfigNotFound) ToJSONString() string

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 (*UpdatePodConfigOK) ToJSONString added in v0.25.0

func (o *UpdatePodConfigOK) ToJSONString() string

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

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

WithBody adds the body to the update pod config params

func (*UpdatePodConfigParams) WithContext

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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 (*UpdatePodConfigUnauthorized) GetPayload

func (*UpdatePodConfigUnauthorized) ToJSONString added in v0.25.0

func (o *UpdatePodConfigUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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