a_m_s_info

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 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 a m s info API

func (*Client) InfoRegions deprecated

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

InfoRegions get a list of the available ams regions Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]

func (*Client) InfoRegionsShort

func (a *Client) InfoRegionsShort(params *InfoRegionsParams, authInfo runtime.ClientAuthInfoWriter) (*InfoRegionsOK, error)

InfoRegionsShort get a list of the available ams regions Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]

func (*Client) InfoSupportedInstances deprecated

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

InfoSupportedInstances get a list of available vm configurations Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]

func (*Client) InfoSupportedInstancesShort

func (a *Client) InfoSupportedInstancesShort(params *InfoSupportedInstancesParams, authInfo runtime.ClientAuthInfoWriter) (*InfoSupportedInstancesOK, error)

InfoSupportedInstancesShort get a list of available vm configurations Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA [READ]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadURLGet deprecated added in v0.62.0

func (a *Client) UploadURLGet(params *UploadURLGetParams, authInfo runtime.ClientAuthInfoWriter) (*UploadURLGetOK, error)

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

UploadURLGet get an url for uploading an image

func (*Client) UploadURLGetShort added in v0.62.0

func (a *Client) UploadURLGetShort(params *UploadURLGetParams, authInfo runtime.ClientAuthInfoWriter) (*UploadURLGetOK, error)

UploadURLGetShort get an url for uploading an image

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new a m s info API client.

type InfoRegionsForbidden

type InfoRegionsForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

InfoRegionsForbidden handles this case with default header values.

insufficient permissions

func NewInfoRegionsForbidden

func NewInfoRegionsForbidden() *InfoRegionsForbidden

NewInfoRegionsForbidden creates a InfoRegionsForbidden with default headers values

func (*InfoRegionsForbidden) Error

func (o *InfoRegionsForbidden) Error() string

func (*InfoRegionsForbidden) GetPayload

func (*InfoRegionsForbidden) ToJSONString

func (o *InfoRegionsForbidden) ToJSONString() string

type InfoRegionsInternalServerError

type InfoRegionsInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

InfoRegionsInternalServerError handles this case with default header values.

internal server error

func NewInfoRegionsInternalServerError

func NewInfoRegionsInternalServerError() *InfoRegionsInternalServerError

NewInfoRegionsInternalServerError creates a InfoRegionsInternalServerError with default headers values

func (*InfoRegionsInternalServerError) Error

func (*InfoRegionsInternalServerError) GetPayload

func (*InfoRegionsInternalServerError) ToJSONString

func (o *InfoRegionsInternalServerError) ToJSONString() string

type InfoRegionsOK

type InfoRegionsOK struct {
	Payload *amsclientmodels.APIAMSRegionsResponse
}

InfoRegionsOK handles this case with default header values.

success

func NewInfoRegionsOK

func NewInfoRegionsOK() *InfoRegionsOK

NewInfoRegionsOK creates a InfoRegionsOK with default headers values

func (*InfoRegionsOK) Error

func (o *InfoRegionsOK) Error() string

func (*InfoRegionsOK) GetPayload

func (*InfoRegionsOK) ToJSONString

func (o *InfoRegionsOK) ToJSONString() string

type InfoRegionsParams

type InfoRegionsParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

InfoRegionsParams contains all the parameters to send to the API endpoint for the info regions operation typically these are written to a http.Request

func NewInfoRegionsParams

func NewInfoRegionsParams() *InfoRegionsParams

NewInfoRegionsParams creates a new InfoRegionsParams object with the default values initialized.

func NewInfoRegionsParamsWithContext

func NewInfoRegionsParamsWithContext(ctx context.Context) *InfoRegionsParams

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

func NewInfoRegionsParamsWithHTTPClient

func NewInfoRegionsParamsWithHTTPClient(client *http.Client) *InfoRegionsParams

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

func NewInfoRegionsParamsWithTimeout

func NewInfoRegionsParamsWithTimeout(timeout time.Duration) *InfoRegionsParams

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

func (*InfoRegionsParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the info regions params

func (*InfoRegionsParams) SetContext

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

SetContext adds the context to the info regions params

func (*InfoRegionsParams) SetFlightId added in v0.63.0

func (o *InfoRegionsParams) SetFlightId(flightId string)

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

func (*InfoRegionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the info regions params

func (*InfoRegionsParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the info regions params

func (*InfoRegionsParams) SetNamespace

func (o *InfoRegionsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the info regions params

func (*InfoRegionsParams) SetTimeout

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

SetTimeout adds the timeout to the info regions params

func (*InfoRegionsParams) WithContext

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

WithContext adds the context to the info regions params

func (*InfoRegionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the info regions params

func (*InfoRegionsParams) WithNamespace

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

WithNamespace adds the namespace to the info regions params

func (*InfoRegionsParams) WithTimeout

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

WithTimeout adds the timeout to the info regions params

func (*InfoRegionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type InfoRegionsReader

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

InfoRegionsReader is a Reader for the InfoRegions structure.

func (*InfoRegionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InfoRegionsUnauthorized

type InfoRegionsUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

InfoRegionsUnauthorized handles this case with default header values.

no authorization provided

func NewInfoRegionsUnauthorized

func NewInfoRegionsUnauthorized() *InfoRegionsUnauthorized

NewInfoRegionsUnauthorized creates a InfoRegionsUnauthorized with default headers values

func (*InfoRegionsUnauthorized) Error

func (o *InfoRegionsUnauthorized) Error() string

func (*InfoRegionsUnauthorized) GetPayload

func (*InfoRegionsUnauthorized) ToJSONString

func (o *InfoRegionsUnauthorized) ToJSONString() string

type InfoSupportedInstancesForbidden

type InfoSupportedInstancesForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

InfoSupportedInstancesForbidden handles this case with default header values.

insufficient permissions

func NewInfoSupportedInstancesForbidden

func NewInfoSupportedInstancesForbidden() *InfoSupportedInstancesForbidden

NewInfoSupportedInstancesForbidden creates a InfoSupportedInstancesForbidden with default headers values

func (*InfoSupportedInstancesForbidden) Error

func (*InfoSupportedInstancesForbidden) GetPayload

func (*InfoSupportedInstancesForbidden) ToJSONString

func (o *InfoSupportedInstancesForbidden) ToJSONString() string

type InfoSupportedInstancesInternalServerError

type InfoSupportedInstancesInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

InfoSupportedInstancesInternalServerError handles this case with default header values.

internal server error

func NewInfoSupportedInstancesInternalServerError

func NewInfoSupportedInstancesInternalServerError() *InfoSupportedInstancesInternalServerError

NewInfoSupportedInstancesInternalServerError creates a InfoSupportedInstancesInternalServerError with default headers values

func (*InfoSupportedInstancesInternalServerError) Error

func (*InfoSupportedInstancesInternalServerError) GetPayload

func (*InfoSupportedInstancesInternalServerError) ToJSONString

type InfoSupportedInstancesOK

type InfoSupportedInstancesOK struct {
	Payload *amsclientmodels.APIInstanceTypesForNamespaceResponse
}

InfoSupportedInstancesOK handles this case with default header values.

success

func NewInfoSupportedInstancesOK

func NewInfoSupportedInstancesOK() *InfoSupportedInstancesOK

NewInfoSupportedInstancesOK creates a InfoSupportedInstancesOK with default headers values

func (*InfoSupportedInstancesOK) Error

func (o *InfoSupportedInstancesOK) Error() string

func (*InfoSupportedInstancesOK) GetPayload

func (*InfoSupportedInstancesOK) ToJSONString

func (o *InfoSupportedInstancesOK) ToJSONString() string

type InfoSupportedInstancesParams

type InfoSupportedInstancesParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

InfoSupportedInstancesParams contains all the parameters to send to the API endpoint for the info supported instances operation typically these are written to a http.Request

func NewInfoSupportedInstancesParams

func NewInfoSupportedInstancesParams() *InfoSupportedInstancesParams

NewInfoSupportedInstancesParams creates a new InfoSupportedInstancesParams object with the default values initialized.

func NewInfoSupportedInstancesParamsWithContext

func NewInfoSupportedInstancesParamsWithContext(ctx context.Context) *InfoSupportedInstancesParams

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

func NewInfoSupportedInstancesParamsWithHTTPClient

func NewInfoSupportedInstancesParamsWithHTTPClient(client *http.Client) *InfoSupportedInstancesParams

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

func NewInfoSupportedInstancesParamsWithTimeout

func NewInfoSupportedInstancesParamsWithTimeout(timeout time.Duration) *InfoSupportedInstancesParams

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

func (*InfoSupportedInstancesParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the info supported instances params

func (*InfoSupportedInstancesParams) SetContext

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

SetContext adds the context to the info supported instances params

func (*InfoSupportedInstancesParams) SetFlightId added in v0.63.0

func (o *InfoSupportedInstancesParams) SetFlightId(flightId string)

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

func (*InfoSupportedInstancesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the info supported instances params

func (*InfoSupportedInstancesParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the info supported instances params

func (*InfoSupportedInstancesParams) SetNamespace

func (o *InfoSupportedInstancesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the info supported instances params

func (*InfoSupportedInstancesParams) SetTimeout

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

SetTimeout adds the timeout to the info supported instances params

func (*InfoSupportedInstancesParams) WithContext

WithContext adds the context to the info supported instances params

func (*InfoSupportedInstancesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the info supported instances params

func (*InfoSupportedInstancesParams) WithNamespace

WithNamespace adds the namespace to the info supported instances params

func (*InfoSupportedInstancesParams) WithTimeout

WithTimeout adds the timeout to the info supported instances params

func (*InfoSupportedInstancesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type InfoSupportedInstancesReader

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

InfoSupportedInstancesReader is a Reader for the InfoSupportedInstances structure.

func (*InfoSupportedInstancesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type InfoSupportedInstancesUnauthorized

type InfoSupportedInstancesUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

InfoSupportedInstancesUnauthorized handles this case with default header values.

no authorization provided

func NewInfoSupportedInstancesUnauthorized

func NewInfoSupportedInstancesUnauthorized() *InfoSupportedInstancesUnauthorized

NewInfoSupportedInstancesUnauthorized creates a InfoSupportedInstancesUnauthorized with default headers values

func (*InfoSupportedInstancesUnauthorized) Error

func (*InfoSupportedInstancesUnauthorized) GetPayload

func (*InfoSupportedInstancesUnauthorized) ToJSONString

func (o *InfoSupportedInstancesUnauthorized) ToJSONString() string

type UploadURLGetOK added in v0.62.0

type UploadURLGetOK struct {
}

UploadURLGetOK handles this case with default header values.

success

func NewUploadURLGetOK added in v0.62.0

func NewUploadURLGetOK() *UploadURLGetOK

NewUploadURLGetOK creates a UploadURLGetOK with default headers values

func (*UploadURLGetOK) Error added in v0.62.0

func (o *UploadURLGetOK) Error() string

type UploadURLGetParams added in v0.62.0

type UploadURLGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

UploadURLGetParams contains all the parameters to send to the API endpoint for the upload url get operation typically these are written to a http.Request

func NewUploadURLGetParams added in v0.62.0

func NewUploadURLGetParams() *UploadURLGetParams

NewUploadURLGetParams creates a new UploadURLGetParams object with the default values initialized.

func NewUploadURLGetParamsWithContext added in v0.62.0

func NewUploadURLGetParamsWithContext(ctx context.Context) *UploadURLGetParams

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

func NewUploadURLGetParamsWithHTTPClient added in v0.62.0

func NewUploadURLGetParamsWithHTTPClient(client *http.Client) *UploadURLGetParams

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

func NewUploadURLGetParamsWithTimeout added in v0.62.0

func NewUploadURLGetParamsWithTimeout(timeout time.Duration) *UploadURLGetParams

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

func (*UploadURLGetParams) SetAuthInfoWriter added in v0.62.0

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

SetAuthInfoWriter adds the authInfoWriter to the upload url get params

func (*UploadURLGetParams) SetContext added in v0.62.0

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

SetContext adds the context to the upload url get params

func (*UploadURLGetParams) SetFlightId added in v0.63.0

func (o *UploadURLGetParams) SetFlightId(flightId string)

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

func (*UploadURLGetParams) SetHTTPClient added in v0.62.0

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

SetHTTPClient adds the HTTPClient to the upload url get params

func (*UploadURLGetParams) SetHTTPClientTransport added in v0.62.0

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

SetHTTPClient adds the HTTPClient Transport to the upload url get params

func (*UploadURLGetParams) SetTimeout added in v0.62.0

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

SetTimeout adds the timeout to the upload url get params

func (*UploadURLGetParams) WithContext added in v0.62.0

WithContext adds the context to the upload url get params

func (*UploadURLGetParams) WithHTTPClient added in v0.62.0

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

WithHTTPClient adds the HTTPClient to the upload url get params

func (*UploadURLGetParams) WithTimeout added in v0.62.0

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

WithTimeout adds the timeout to the upload url get params

func (*UploadURLGetParams) WriteToRequest added in v0.62.0

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

WriteToRequest writes these params to a swagger request

type UploadURLGetReader added in v0.62.0

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

UploadURLGetReader is a Reader for the UploadURLGet structure.

func (*UploadURLGetReader) ReadResponse added in v0.62.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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