Documentation ¶
Index ¶
- type Client
- func (a *Client) LocalWatchdogConnect(params *LocalWatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*LocalWatchdogConnectOK, error)deprecated
- func (a *Client) LocalWatchdogConnectShort(params *LocalWatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*LocalWatchdogConnectOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) WatchdogConnect(params *WatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*WatchdogConnectOK, error)deprecated
- func (a *Client) WatchdogConnectShort(params *WatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*WatchdogConnectOK, error)
- type ClientService
- type LocalWatchdogConnectOK
- type LocalWatchdogConnectParams
- func NewLocalWatchdogConnectParams() *LocalWatchdogConnectParams
- func NewLocalWatchdogConnectParamsWithContext(ctx context.Context) *LocalWatchdogConnectParams
- func NewLocalWatchdogConnectParamsWithHTTPClient(client *http.Client) *LocalWatchdogConnectParams
- func NewLocalWatchdogConnectParamsWithTimeout(timeout time.Duration) *LocalWatchdogConnectParams
- func (o *LocalWatchdogConnectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *LocalWatchdogConnectParams) SetContext(ctx context.Context)
- func (o *LocalWatchdogConnectParams) SetFlightId(flightId string)
- func (o *LocalWatchdogConnectParams) SetHTTPClient(client *http.Client)
- func (o *LocalWatchdogConnectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *LocalWatchdogConnectParams) SetNamespace(namespace string)
- func (o *LocalWatchdogConnectParams) SetTimeout(timeout time.Duration)
- func (o *LocalWatchdogConnectParams) SetWatchdogID(watchdogID string)
- func (o *LocalWatchdogConnectParams) WithContext(ctx context.Context) *LocalWatchdogConnectParams
- func (o *LocalWatchdogConnectParams) WithHTTPClient(client *http.Client) *LocalWatchdogConnectParams
- func (o *LocalWatchdogConnectParams) WithNamespace(namespace string) *LocalWatchdogConnectParams
- func (o *LocalWatchdogConnectParams) WithTimeout(timeout time.Duration) *LocalWatchdogConnectParams
- func (o *LocalWatchdogConnectParams) WithWatchdogID(watchdogID string) *LocalWatchdogConnectParams
- func (o *LocalWatchdogConnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LocalWatchdogConnectReader
- type WatchdogConnectOK
- type WatchdogConnectParams
- func NewWatchdogConnectParams() *WatchdogConnectParams
- func NewWatchdogConnectParamsWithContext(ctx context.Context) *WatchdogConnectParams
- func NewWatchdogConnectParamsWithHTTPClient(client *http.Client) *WatchdogConnectParams
- func NewWatchdogConnectParamsWithTimeout(timeout time.Duration) *WatchdogConnectParams
- func (o *WatchdogConnectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *WatchdogConnectParams) SetContext(ctx context.Context)
- func (o *WatchdogConnectParams) SetFlightId(flightId string)
- func (o *WatchdogConnectParams) SetHTTPClient(client *http.Client)
- func (o *WatchdogConnectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *WatchdogConnectParams) SetNamespace(namespace string)
- func (o *WatchdogConnectParams) SetTimeout(timeout time.Duration)
- func (o *WatchdogConnectParams) SetWatchdogID(watchdogID string)
- func (o *WatchdogConnectParams) WithContext(ctx context.Context) *WatchdogConnectParams
- func (o *WatchdogConnectParams) WithHTTPClient(client *http.Client) *WatchdogConnectParams
- func (o *WatchdogConnectParams) WithNamespace(namespace string) *WatchdogConnectParams
- func (o *WatchdogConnectParams) WithTimeout(timeout time.Duration) *WatchdogConnectParams
- func (o *WatchdogConnectParams) WithWatchdogID(watchdogID string) *WatchdogConnectParams
- func (o *WatchdogConnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type WatchdogConnectReader
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 watchdogs API
func (*Client) LocalWatchdogConnect
deprecated
added in
v0.54.0
func (a *Client) LocalWatchdogConnect(params *LocalWatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*LocalWatchdogConnectOK, error)
Deprecated: 2022-08-10 - Use LocalWatchdogConnectShort instead.
LocalWatchdogConnect connect a local watchdog This is to support local ds development scenarios
Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
func (*Client) LocalWatchdogConnectShort ¶ added in v0.54.0
func (a *Client) LocalWatchdogConnectShort(params *LocalWatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*LocalWatchdogConnectOK, error)
LocalWatchdogConnectShort connect a local watchdog This is to support local ds development scenarios
Required Permission: NAMESPACE:{namespace}:AMS:LOCALDS [CREATE]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) WatchdogConnect
deprecated
func (a *Client) WatchdogConnect(params *WatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*WatchdogConnectOK, error)
Deprecated: 2022-08-10 - Use WatchdogConnectShort instead.
WatchdogConnect connect a watchdog Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
func (*Client) WatchdogConnectShort ¶
func (a *Client) WatchdogConnectShort(params *WatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*WatchdogConnectOK, error)
WatchdogConnectShort connect a watchdog Required Permission: NAMESPACE:{namespace}:ARMADA:WATCHDOG [CREATE]
type ClientService ¶
type ClientService interface { LocalWatchdogConnect(params *LocalWatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*LocalWatchdogConnectOK, error) LocalWatchdogConnectShort(params *LocalWatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*LocalWatchdogConnectOK, error) WatchdogConnect(params *WatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*WatchdogConnectOK, error) WatchdogConnectShort(params *WatchdogConnectParams, authInfo runtime.ClientAuthInfoWriter) (*WatchdogConnectOK, 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 watchdogs API client.
type LocalWatchdogConnectOK ¶ added in v0.54.0
type LocalWatchdogConnectOK struct { }
LocalWatchdogConnectOK handles this case with default header values.
OK
func NewLocalWatchdogConnectOK ¶ added in v0.54.0
func NewLocalWatchdogConnectOK() *LocalWatchdogConnectOK
NewLocalWatchdogConnectOK creates a LocalWatchdogConnectOK with default headers values
func (*LocalWatchdogConnectOK) Error ¶ added in v0.54.0
func (o *LocalWatchdogConnectOK) Error() string
type LocalWatchdogConnectParams ¶ added in v0.54.0
type LocalWatchdogConnectParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*WatchdogID the id of the watchdog */ WatchdogID 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 }
LocalWatchdogConnectParams contains all the parameters to send to the API endpoint for the local watchdog connect operation typically these are written to a http.Request
func NewLocalWatchdogConnectParams ¶ added in v0.54.0
func NewLocalWatchdogConnectParams() *LocalWatchdogConnectParams
NewLocalWatchdogConnectParams creates a new LocalWatchdogConnectParams object with the default values initialized.
func NewLocalWatchdogConnectParamsWithContext ¶ added in v0.54.0
func NewLocalWatchdogConnectParamsWithContext(ctx context.Context) *LocalWatchdogConnectParams
NewLocalWatchdogConnectParamsWithContext creates a new LocalWatchdogConnectParams object with the default values initialized, and the ability to set a context for a request
func NewLocalWatchdogConnectParamsWithHTTPClient ¶ added in v0.54.0
func NewLocalWatchdogConnectParamsWithHTTPClient(client *http.Client) *LocalWatchdogConnectParams
NewLocalWatchdogConnectParamsWithHTTPClient creates a new LocalWatchdogConnectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLocalWatchdogConnectParamsWithTimeout ¶ added in v0.54.0
func NewLocalWatchdogConnectParamsWithTimeout(timeout time.Duration) *LocalWatchdogConnectParams
NewLocalWatchdogConnectParamsWithTimeout creates a new LocalWatchdogConnectParams object with the default values initialized, and the ability to set a timeout on a request
func (*LocalWatchdogConnectParams) SetAuthInfoWriter ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the local watchdog connect params
func (*LocalWatchdogConnectParams) SetContext ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetContext(ctx context.Context)
SetContext adds the context to the local watchdog connect params
func (*LocalWatchdogConnectParams) SetFlightId ¶ added in v0.63.0
func (o *LocalWatchdogConnectParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*LocalWatchdogConnectParams) SetHTTPClient ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the local watchdog connect params
func (*LocalWatchdogConnectParams) SetHTTPClientTransport ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the local watchdog connect params
func (*LocalWatchdogConnectParams) SetNamespace ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the local watchdog connect params
func (*LocalWatchdogConnectParams) SetTimeout ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the local watchdog connect params
func (*LocalWatchdogConnectParams) SetWatchdogID ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) SetWatchdogID(watchdogID string)
SetWatchdogID adds the watchdogId to the local watchdog connect params
func (*LocalWatchdogConnectParams) WithContext ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) WithContext(ctx context.Context) *LocalWatchdogConnectParams
WithContext adds the context to the local watchdog connect params
func (*LocalWatchdogConnectParams) WithHTTPClient ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) WithHTTPClient(client *http.Client) *LocalWatchdogConnectParams
WithHTTPClient adds the HTTPClient to the local watchdog connect params
func (*LocalWatchdogConnectParams) WithNamespace ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) WithNamespace(namespace string) *LocalWatchdogConnectParams
WithNamespace adds the namespace to the local watchdog connect params
func (*LocalWatchdogConnectParams) WithTimeout ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) WithTimeout(timeout time.Duration) *LocalWatchdogConnectParams
WithTimeout adds the timeout to the local watchdog connect params
func (*LocalWatchdogConnectParams) WithWatchdogID ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) WithWatchdogID(watchdogID string) *LocalWatchdogConnectParams
WithWatchdogID adds the watchdogID to the local watchdog connect params
func (*LocalWatchdogConnectParams) WriteToRequest ¶ added in v0.54.0
func (o *LocalWatchdogConnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LocalWatchdogConnectReader ¶ added in v0.54.0
type LocalWatchdogConnectReader struct {
// contains filtered or unexported fields
}
LocalWatchdogConnectReader is a Reader for the LocalWatchdogConnect structure.
func (*LocalWatchdogConnectReader) ReadResponse ¶ added in v0.54.0
func (o *LocalWatchdogConnectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type WatchdogConnectOK ¶
type WatchdogConnectOK struct { }
WatchdogConnectOK handles this case with default header values.
OK
func NewWatchdogConnectOK ¶
func NewWatchdogConnectOK() *WatchdogConnectOK
NewWatchdogConnectOK creates a WatchdogConnectOK with default headers values
func (*WatchdogConnectOK) Error ¶
func (o *WatchdogConnectOK) Error() string
type WatchdogConnectParams ¶
type WatchdogConnectParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*WatchdogID the id of the watchdog */ WatchdogID 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 }
WatchdogConnectParams contains all the parameters to send to the API endpoint for the watchdog connect operation typically these are written to a http.Request
func NewWatchdogConnectParams ¶
func NewWatchdogConnectParams() *WatchdogConnectParams
NewWatchdogConnectParams creates a new WatchdogConnectParams object with the default values initialized.
func NewWatchdogConnectParamsWithContext ¶
func NewWatchdogConnectParamsWithContext(ctx context.Context) *WatchdogConnectParams
NewWatchdogConnectParamsWithContext creates a new WatchdogConnectParams object with the default values initialized, and the ability to set a context for a request
func NewWatchdogConnectParamsWithHTTPClient ¶
func NewWatchdogConnectParamsWithHTTPClient(client *http.Client) *WatchdogConnectParams
NewWatchdogConnectParamsWithHTTPClient creates a new WatchdogConnectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewWatchdogConnectParamsWithTimeout ¶
func NewWatchdogConnectParamsWithTimeout(timeout time.Duration) *WatchdogConnectParams
NewWatchdogConnectParamsWithTimeout creates a new WatchdogConnectParams object with the default values initialized, and the ability to set a timeout on a request
func (*WatchdogConnectParams) SetAuthInfoWriter ¶
func (o *WatchdogConnectParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the watchdog connect params
func (*WatchdogConnectParams) SetContext ¶
func (o *WatchdogConnectParams) SetContext(ctx context.Context)
SetContext adds the context to the watchdog connect params
func (*WatchdogConnectParams) SetFlightId ¶ added in v0.63.0
func (o *WatchdogConnectParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*WatchdogConnectParams) SetHTTPClient ¶
func (o *WatchdogConnectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the watchdog connect params
func (*WatchdogConnectParams) SetHTTPClientTransport ¶
func (o *WatchdogConnectParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the watchdog connect params
func (*WatchdogConnectParams) SetNamespace ¶
func (o *WatchdogConnectParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the watchdog connect params
func (*WatchdogConnectParams) SetTimeout ¶
func (o *WatchdogConnectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the watchdog connect params
func (*WatchdogConnectParams) SetWatchdogID ¶
func (o *WatchdogConnectParams) SetWatchdogID(watchdogID string)
SetWatchdogID adds the watchdogId to the watchdog connect params
func (*WatchdogConnectParams) WithContext ¶
func (o *WatchdogConnectParams) WithContext(ctx context.Context) *WatchdogConnectParams
WithContext adds the context to the watchdog connect params
func (*WatchdogConnectParams) WithHTTPClient ¶
func (o *WatchdogConnectParams) WithHTTPClient(client *http.Client) *WatchdogConnectParams
WithHTTPClient adds the HTTPClient to the watchdog connect params
func (*WatchdogConnectParams) WithNamespace ¶
func (o *WatchdogConnectParams) WithNamespace(namespace string) *WatchdogConnectParams
WithNamespace adds the namespace to the watchdog connect params
func (*WatchdogConnectParams) WithTimeout ¶
func (o *WatchdogConnectParams) WithTimeout(timeout time.Duration) *WatchdogConnectParams
WithTimeout adds the timeout to the watchdog connect params
func (*WatchdogConnectParams) WithWatchdogID ¶
func (o *WatchdogConnectParams) WithWatchdogID(watchdogID string) *WatchdogConnectParams
WithWatchdogID adds the watchdogID to the watchdog connect params
func (*WatchdogConnectParams) WriteToRequest ¶
func (o *WatchdogConnectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type WatchdogConnectReader ¶
type WatchdogConnectReader struct {
// contains filtered or unexported fields
}
WatchdogConnectReader is a Reader for the WatchdogConnect structure.
func (*WatchdogConnectReader) ReadResponse ¶
func (o *WatchdogConnectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.