Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDefaultProvider(params *GetDefaultProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultProviderOK, error)
- func (a *Client) GetDefaultProviderShort(params *GetDefaultProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultProviderOK, error)
- func (a *Client) ListProviders(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error)
- func (a *Client) ListProvidersByRegion(params *ListProvidersByRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersByRegionOK, error)
- func (a *Client) ListProvidersByRegionShort(params *ListProvidersByRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersByRegionOK, error)
- func (a *Client) ListProvidersShort(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetDefaultProviderOK
- type GetDefaultProviderParams
- func NewGetDefaultProviderParams() *GetDefaultProviderParams
- func NewGetDefaultProviderParamsWithContext(ctx context.Context) *GetDefaultProviderParams
- func NewGetDefaultProviderParamsWithHTTPClient(client *http.Client) *GetDefaultProviderParams
- func NewGetDefaultProviderParamsWithTimeout(timeout time.Duration) *GetDefaultProviderParams
- func (o *GetDefaultProviderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetDefaultProviderParams) SetContext(ctx context.Context)
- func (o *GetDefaultProviderParams) SetHTTPClient(client *http.Client)
- func (o *GetDefaultProviderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetDefaultProviderParams) SetTimeout(timeout time.Duration)
- func (o *GetDefaultProviderParams) WithContext(ctx context.Context) *GetDefaultProviderParams
- func (o *GetDefaultProviderParams) WithHTTPClient(client *http.Client) *GetDefaultProviderParams
- func (o *GetDefaultProviderParams) WithTimeout(timeout time.Duration) *GetDefaultProviderParams
- func (o *GetDefaultProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDefaultProviderReader
- type ListProvidersByRegionOK
- type ListProvidersByRegionParams
- func NewListProvidersByRegionParams() *ListProvidersByRegionParams
- func NewListProvidersByRegionParamsWithContext(ctx context.Context) *ListProvidersByRegionParams
- func NewListProvidersByRegionParamsWithHTTPClient(client *http.Client) *ListProvidersByRegionParams
- func NewListProvidersByRegionParamsWithTimeout(timeout time.Duration) *ListProvidersByRegionParams
- func (o *ListProvidersByRegionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListProvidersByRegionParams) SetContext(ctx context.Context)
- func (o *ListProvidersByRegionParams) SetHTTPClient(client *http.Client)
- func (o *ListProvidersByRegionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListProvidersByRegionParams) SetRegion(region string)
- func (o *ListProvidersByRegionParams) SetTimeout(timeout time.Duration)
- func (o *ListProvidersByRegionParams) WithContext(ctx context.Context) *ListProvidersByRegionParams
- func (o *ListProvidersByRegionParams) WithHTTPClient(client *http.Client) *ListProvidersByRegionParams
- func (o *ListProvidersByRegionParams) WithRegion(region string) *ListProvidersByRegionParams
- func (o *ListProvidersByRegionParams) WithTimeout(timeout time.Duration) *ListProvidersByRegionParams
- func (o *ListProvidersByRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProvidersByRegionReader
- type ListProvidersOK
- type ListProvidersParams
- func (o *ListProvidersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListProvidersParams) SetContext(ctx context.Context)
- func (o *ListProvidersParams) SetHTTPClient(client *http.Client)
- func (o *ListProvidersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListProvidersParams) SetTimeout(timeout time.Duration)
- func (o *ListProvidersParams) WithContext(ctx context.Context) *ListProvidersParams
- func (o *ListProvidersParams) WithHTTPClient(client *http.Client) *ListProvidersParams
- func (o *ListProvidersParams) WithTimeout(timeout time.Duration) *ListProvidersParams
- func (o *ListProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProvidersReader
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 public API
func (*Client) GetDefaultProvider ¶
func (a *Client) GetDefaultProvider(params *GetDefaultProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultProviderOK, error)
GetDefaultProvider gets default provider
This endpoints returns the default provider.
func (*Client) GetDefaultProviderShort ¶ added in v0.8.0
func (a *Client) GetDefaultProviderShort(params *GetDefaultProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultProviderOK, error)
func (*Client) ListProviders ¶
func (a *Client) ListProviders(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error)
ListProviders lists all supported providers
This endpoints returns list of supported providers. Armada is the default provider.
func (*Client) ListProvidersByRegion ¶ added in v0.7.0
func (a *Client) ListProvidersByRegion(params *ListProvidersByRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersByRegionOK, error)
ListProvidersByRegion lists providers by region
This endpoint returns the providers by region.
func (*Client) ListProvidersByRegionShort ¶ added in v0.8.0
func (a *Client) ListProvidersByRegionShort(params *ListProvidersByRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersByRegionOK, error)
func (*Client) ListProvidersShort ¶ added in v0.8.0
func (a *Client) ListProvidersShort(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetDefaultProvider(params *GetDefaultProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultProviderOK, error) GetDefaultProviderShort(params *GetDefaultProviderParams, authInfo runtime.ClientAuthInfoWriter) (*GetDefaultProviderOK, error) ListProviders(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error) ListProvidersShort(params *ListProvidersParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersOK, error) ListProvidersByRegion(params *ListProvidersByRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersByRegionOK, error) ListProvidersByRegionShort(params *ListProvidersByRegionParams, authInfo runtime.ClientAuthInfoWriter) (*ListProvidersByRegionOK, 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 public API client.
type GetDefaultProviderOK ¶
type GetDefaultProviderOK struct {
Payload *dsmcclientmodels.ModelsDefaultProvider
}
GetDefaultProviderOK handles this case with default header values.
Default provider got
func NewGetDefaultProviderOK ¶
func NewGetDefaultProviderOK() *GetDefaultProviderOK
NewGetDefaultProviderOK creates a GetDefaultProviderOK with default headers values
func (*GetDefaultProviderOK) Error ¶
func (o *GetDefaultProviderOK) Error() string
func (*GetDefaultProviderOK) GetPayload ¶
func (o *GetDefaultProviderOK) GetPayload() *dsmcclientmodels.ModelsDefaultProvider
type GetDefaultProviderParams ¶
type GetDefaultProviderParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDefaultProviderParams contains all the parameters to send to the API endpoint for the get default provider operation typically these are written to a http.Request
func NewGetDefaultProviderParams ¶
func NewGetDefaultProviderParams() *GetDefaultProviderParams
NewGetDefaultProviderParams creates a new GetDefaultProviderParams object with the default values initialized.
func NewGetDefaultProviderParamsWithContext ¶
func NewGetDefaultProviderParamsWithContext(ctx context.Context) *GetDefaultProviderParams
NewGetDefaultProviderParamsWithContext creates a new GetDefaultProviderParams object with the default values initialized, and the ability to set a context for a request
func NewGetDefaultProviderParamsWithHTTPClient ¶
func NewGetDefaultProviderParamsWithHTTPClient(client *http.Client) *GetDefaultProviderParams
NewGetDefaultProviderParamsWithHTTPClient creates a new GetDefaultProviderParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDefaultProviderParamsWithTimeout ¶
func NewGetDefaultProviderParamsWithTimeout(timeout time.Duration) *GetDefaultProviderParams
NewGetDefaultProviderParamsWithTimeout creates a new GetDefaultProviderParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDefaultProviderParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetDefaultProviderParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get default provider params
func (*GetDefaultProviderParams) SetContext ¶
func (o *GetDefaultProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the get default provider params
func (*GetDefaultProviderParams) SetHTTPClient ¶
func (o *GetDefaultProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get default provider params
func (*GetDefaultProviderParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetDefaultProviderParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get default provider params
func (*GetDefaultProviderParams) SetTimeout ¶
func (o *GetDefaultProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get default provider params
func (*GetDefaultProviderParams) WithContext ¶
func (o *GetDefaultProviderParams) WithContext(ctx context.Context) *GetDefaultProviderParams
WithContext adds the context to the get default provider params
func (*GetDefaultProviderParams) WithHTTPClient ¶
func (o *GetDefaultProviderParams) WithHTTPClient(client *http.Client) *GetDefaultProviderParams
WithHTTPClient adds the HTTPClient to the get default provider params
func (*GetDefaultProviderParams) WithTimeout ¶
func (o *GetDefaultProviderParams) WithTimeout(timeout time.Duration) *GetDefaultProviderParams
WithTimeout adds the timeout to the get default provider params
func (*GetDefaultProviderParams) WriteToRequest ¶
func (o *GetDefaultProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDefaultProviderReader ¶
type GetDefaultProviderReader struct {
// contains filtered or unexported fields
}
GetDefaultProviderReader is a Reader for the GetDefaultProvider structure.
func (*GetDefaultProviderReader) ReadResponse ¶
func (o *GetDefaultProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProvidersByRegionOK ¶ added in v0.7.0
type ListProvidersByRegionOK struct {
Payload *dsmcclientmodels.ModelsDefaultProvider
}
ListProvidersByRegionOK handles this case with default header values.
Default providers got
func NewListProvidersByRegionOK ¶ added in v0.7.0
func NewListProvidersByRegionOK() *ListProvidersByRegionOK
NewListProvidersByRegionOK creates a ListProvidersByRegionOK with default headers values
func (*ListProvidersByRegionOK) Error ¶ added in v0.7.0
func (o *ListProvidersByRegionOK) Error() string
func (*ListProvidersByRegionOK) GetPayload ¶ added in v0.7.0
func (o *ListProvidersByRegionOK) GetPayload() *dsmcclientmodels.ModelsDefaultProvider
type ListProvidersByRegionParams ¶ added in v0.7.0
type ListProvidersByRegionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Region region of the providers */ Region string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProvidersByRegionParams contains all the parameters to send to the API endpoint for the list providers by region operation typically these are written to a http.Request
func NewListProvidersByRegionParams ¶ added in v0.7.0
func NewListProvidersByRegionParams() *ListProvidersByRegionParams
NewListProvidersByRegionParams creates a new ListProvidersByRegionParams object with the default values initialized.
func NewListProvidersByRegionParamsWithContext ¶ added in v0.7.0
func NewListProvidersByRegionParamsWithContext(ctx context.Context) *ListProvidersByRegionParams
NewListProvidersByRegionParamsWithContext creates a new ListProvidersByRegionParams object with the default values initialized, and the ability to set a context for a request
func NewListProvidersByRegionParamsWithHTTPClient ¶ added in v0.7.0
func NewListProvidersByRegionParamsWithHTTPClient(client *http.Client) *ListProvidersByRegionParams
NewListProvidersByRegionParamsWithHTTPClient creates a new ListProvidersByRegionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListProvidersByRegionParamsWithTimeout ¶ added in v0.7.0
func NewListProvidersByRegionParamsWithTimeout(timeout time.Duration) *ListProvidersByRegionParams
NewListProvidersByRegionParamsWithTimeout creates a new ListProvidersByRegionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListProvidersByRegionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListProvidersByRegionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list providers by region params
func (*ListProvidersByRegionParams) SetContext ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) SetContext(ctx context.Context)
SetContext adds the context to the list providers by region params
func (*ListProvidersByRegionParams) SetHTTPClient ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list providers by region params
func (*ListProvidersByRegionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListProvidersByRegionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list providers by region params
func (*ListProvidersByRegionParams) SetRegion ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) SetRegion(region string)
SetRegion adds the region to the list providers by region params
func (*ListProvidersByRegionParams) SetTimeout ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list providers by region params
func (*ListProvidersByRegionParams) WithContext ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) WithContext(ctx context.Context) *ListProvidersByRegionParams
WithContext adds the context to the list providers by region params
func (*ListProvidersByRegionParams) WithHTTPClient ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) WithHTTPClient(client *http.Client) *ListProvidersByRegionParams
WithHTTPClient adds the HTTPClient to the list providers by region params
func (*ListProvidersByRegionParams) WithRegion ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) WithRegion(region string) *ListProvidersByRegionParams
WithRegion adds the region to the list providers by region params
func (*ListProvidersByRegionParams) WithTimeout ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) WithTimeout(timeout time.Duration) *ListProvidersByRegionParams
WithTimeout adds the timeout to the list providers by region params
func (*ListProvidersByRegionParams) WriteToRequest ¶ added in v0.7.0
func (o *ListProvidersByRegionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProvidersByRegionReader ¶ added in v0.7.0
type ListProvidersByRegionReader struct {
// contains filtered or unexported fields
}
ListProvidersByRegionReader is a Reader for the ListProvidersByRegion structure.
func (*ListProvidersByRegionReader) ReadResponse ¶ added in v0.7.0
func (o *ListProvidersByRegionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProvidersOK ¶
type ListProvidersOK struct {
Payload []string
}
ListProvidersOK handles this case with default header values.
Providers listed
func NewListProvidersOK ¶
func NewListProvidersOK() *ListProvidersOK
NewListProvidersOK creates a ListProvidersOK with default headers values
func (*ListProvidersOK) Error ¶
func (o *ListProvidersOK) Error() string
func (*ListProvidersOK) GetPayload ¶
func (o *ListProvidersOK) GetPayload() []string
type ListProvidersParams ¶
type ListProvidersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProvidersParams contains all the parameters to send to the API endpoint for the list providers operation typically these are written to a http.Request
func NewListProvidersParams ¶
func NewListProvidersParams() *ListProvidersParams
NewListProvidersParams creates a new ListProvidersParams object with the default values initialized.
func NewListProvidersParamsWithContext ¶
func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams
NewListProvidersParamsWithContext creates a new ListProvidersParams object with the default values initialized, and the ability to set a context for a request
func NewListProvidersParamsWithHTTPClient ¶
func NewListProvidersParamsWithHTTPClient(client *http.Client) *ListProvidersParams
NewListProvidersParamsWithHTTPClient creates a new ListProvidersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListProvidersParamsWithTimeout ¶
func NewListProvidersParamsWithTimeout(timeout time.Duration) *ListProvidersParams
NewListProvidersParamsWithTimeout creates a new ListProvidersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListProvidersParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListProvidersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list providers params
func (*ListProvidersParams) SetContext ¶
func (o *ListProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the list providers params
func (*ListProvidersParams) SetHTTPClient ¶
func (o *ListProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list providers params
func (*ListProvidersParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListProvidersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list providers params
func (*ListProvidersParams) SetTimeout ¶
func (o *ListProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list providers params
func (*ListProvidersParams) WithContext ¶
func (o *ListProvidersParams) WithContext(ctx context.Context) *ListProvidersParams
WithContext adds the context to the list providers params
func (*ListProvidersParams) WithHTTPClient ¶
func (o *ListProvidersParams) WithHTTPClient(client *http.Client) *ListProvidersParams
WithHTTPClient adds the HTTPClient to the list providers params
func (*ListProvidersParams) WithTimeout ¶
func (o *ListProvidersParams) WithTimeout(timeout time.Duration) *ListProvidersParams
WithTimeout adds the timeout to the list providers params
func (*ListProvidersParams) WriteToRequest ¶
func (o *ListProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProvidersReader ¶
type ListProvidersReader struct {
// contains filtered or unexported fields
}
ListProvidersReader is a Reader for the ListProviders structure.
func (*ListProvidersReader) ReadResponse ¶
func (o *ListProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.