Documentation
¶
Index ¶
- type Client
- func (a *Client) GetApplicationState(params *GetApplicationStateParams, authInfo runtime.ClientAuthInfoWriter) (*GetApplicationStateOK, error)
- func (a *Client) PutApplicationState(params *PutApplicationStateParams, authInfo runtime.ClientAuthInfoWriter) (*PutApplicationStateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetApplicationStateBadRequest
- type GetApplicationStateConflict
- type GetApplicationStateForbidden
- type GetApplicationStateInternalServerError
- type GetApplicationStateNotFound
- type GetApplicationStateOK
- type GetApplicationStateParams
- func NewGetApplicationStateParams() *GetApplicationStateParams
- func NewGetApplicationStateParamsWithContext(ctx context.Context) *GetApplicationStateParams
- func NewGetApplicationStateParamsWithHTTPClient(client *http.Client) *GetApplicationStateParams
- func NewGetApplicationStateParamsWithTimeout(timeout time.Duration) *GetApplicationStateParams
- func (o *GetApplicationStateParams) SetContext(ctx context.Context)
- func (o *GetApplicationStateParams) SetHTTPClient(client *http.Client)
- func (o *GetApplicationStateParams) SetTimeout(timeout time.Duration)
- func (o *GetApplicationStateParams) WithContext(ctx context.Context) *GetApplicationStateParams
- func (o *GetApplicationStateParams) WithHTTPClient(client *http.Client) *GetApplicationStateParams
- func (o *GetApplicationStateParams) WithTimeout(timeout time.Duration) *GetApplicationStateParams
- func (o *GetApplicationStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApplicationStateReader
- type GetApplicationStateUnauthorized
- type PutApplicationStateBadRequest
- type PutApplicationStateConflict
- type PutApplicationStateForbidden
- type PutApplicationStateInternalServerError
- type PutApplicationStateNotFound
- type PutApplicationStateOK
- type PutApplicationStateParams
- func NewPutApplicationStateParams() *PutApplicationStateParams
- func NewPutApplicationStateParamsWithContext(ctx context.Context) *PutApplicationStateParams
- func NewPutApplicationStateParamsWithHTTPClient(client *http.Client) *PutApplicationStateParams
- func NewPutApplicationStateParamsWithTimeout(timeout time.Duration) *PutApplicationStateParams
- func (o *PutApplicationStateParams) SetApplicationState(applicationState *models.ApplicationState)
- func (o *PutApplicationStateParams) SetContext(ctx context.Context)
- func (o *PutApplicationStateParams) SetHTTPClient(client *http.Client)
- func (o *PutApplicationStateParams) SetTimeout(timeout time.Duration)
- func (o *PutApplicationStateParams) WithApplicationState(applicationState *models.ApplicationState) *PutApplicationStateParams
- func (o *PutApplicationStateParams) WithContext(ctx context.Context) *PutApplicationStateParams
- func (o *PutApplicationStateParams) WithHTTPClient(client *http.Client) *PutApplicationStateParams
- func (o *PutApplicationStateParams) WithTimeout(timeout time.Duration) *PutApplicationStateParams
- func (o *PutApplicationStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutApplicationStateReader
- type PutApplicationStateUnauthorized
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 application state controller API
func (*Client) GetApplicationState ¶
func (a *Client) GetApplicationState(params *GetApplicationStateParams, authInfo runtime.ClientAuthInfoWriter) (*GetApplicationStateOK, error)
GetApplicationState gets
func (*Client) PutApplicationState ¶
func (a *Client) PutApplicationState(params *PutApplicationStateParams, authInfo runtime.ClientAuthInfoWriter) (*PutApplicationStateOK, error)
PutApplicationState puts
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetApplicationState(params *GetApplicationStateParams, authInfo runtime.ClientAuthInfoWriter) (*GetApplicationStateOK, error) PutApplicationState(params *PutApplicationStateParams, authInfo runtime.ClientAuthInfoWriter) (*PutApplicationStateOK, 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 application state controller API client.
type GetApplicationStateBadRequest ¶
GetApplicationStateBadRequest handles this case with default header values.
Bad Request
func NewGetApplicationStateBadRequest ¶
func NewGetApplicationStateBadRequest() *GetApplicationStateBadRequest
NewGetApplicationStateBadRequest creates a GetApplicationStateBadRequest with default headers values
func (*GetApplicationStateBadRequest) Error ¶
func (o *GetApplicationStateBadRequest) Error() string
func (*GetApplicationStateBadRequest) GetPayload ¶
func (o *GetApplicationStateBadRequest) GetPayload() *models.APIResult
type GetApplicationStateConflict ¶
GetApplicationStateConflict handles this case with default header values.
Conflict
func NewGetApplicationStateConflict ¶
func NewGetApplicationStateConflict() *GetApplicationStateConflict
NewGetApplicationStateConflict creates a GetApplicationStateConflict with default headers values
func (*GetApplicationStateConflict) Error ¶
func (o *GetApplicationStateConflict) Error() string
func (*GetApplicationStateConflict) GetPayload ¶
func (o *GetApplicationStateConflict) GetPayload() *models.APIResult
type GetApplicationStateForbidden ¶
GetApplicationStateForbidden handles this case with default header values.
Forbidden
func NewGetApplicationStateForbidden ¶
func NewGetApplicationStateForbidden() *GetApplicationStateForbidden
NewGetApplicationStateForbidden creates a GetApplicationStateForbidden with default headers values
func (*GetApplicationStateForbidden) Error ¶
func (o *GetApplicationStateForbidden) Error() string
func (*GetApplicationStateForbidden) GetPayload ¶
func (o *GetApplicationStateForbidden) GetPayload() *models.APIResult
type GetApplicationStateInternalServerError ¶
GetApplicationStateInternalServerError handles this case with default header values.
Internal Server Error
func NewGetApplicationStateInternalServerError ¶
func NewGetApplicationStateInternalServerError() *GetApplicationStateInternalServerError
NewGetApplicationStateInternalServerError creates a GetApplicationStateInternalServerError with default headers values
func (*GetApplicationStateInternalServerError) Error ¶
func (o *GetApplicationStateInternalServerError) Error() string
func (*GetApplicationStateInternalServerError) GetPayload ¶
func (o *GetApplicationStateInternalServerError) GetPayload() *models.APIResult
type GetApplicationStateNotFound ¶
GetApplicationStateNotFound handles this case with default header values.
Not Found
func NewGetApplicationStateNotFound ¶
func NewGetApplicationStateNotFound() *GetApplicationStateNotFound
NewGetApplicationStateNotFound creates a GetApplicationStateNotFound with default headers values
func (*GetApplicationStateNotFound) Error ¶
func (o *GetApplicationStateNotFound) Error() string
func (*GetApplicationStateNotFound) GetPayload ¶
func (o *GetApplicationStateNotFound) GetPayload() *models.APIResult
type GetApplicationStateOK ¶
type GetApplicationStateOK struct {
Payload *models.APIResultApplicationState
}
GetApplicationStateOK handles this case with default header values.
OK
func NewGetApplicationStateOK ¶
func NewGetApplicationStateOK() *GetApplicationStateOK
NewGetApplicationStateOK creates a GetApplicationStateOK with default headers values
func (*GetApplicationStateOK) Error ¶
func (o *GetApplicationStateOK) Error() string
func (*GetApplicationStateOK) GetPayload ¶
func (o *GetApplicationStateOK) GetPayload() *models.APIResultApplicationState
type GetApplicationStateParams ¶
type GetApplicationStateParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetApplicationStateParams contains all the parameters to send to the API endpoint for the get application state operation typically these are written to a http.Request
func NewGetApplicationStateParams ¶
func NewGetApplicationStateParams() *GetApplicationStateParams
NewGetApplicationStateParams creates a new GetApplicationStateParams object with the default values initialized.
func NewGetApplicationStateParamsWithContext ¶
func NewGetApplicationStateParamsWithContext(ctx context.Context) *GetApplicationStateParams
NewGetApplicationStateParamsWithContext creates a new GetApplicationStateParams object with the default values initialized, and the ability to set a context for a request
func NewGetApplicationStateParamsWithHTTPClient ¶
func NewGetApplicationStateParamsWithHTTPClient(client *http.Client) *GetApplicationStateParams
NewGetApplicationStateParamsWithHTTPClient creates a new GetApplicationStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetApplicationStateParamsWithTimeout ¶
func NewGetApplicationStateParamsWithTimeout(timeout time.Duration) *GetApplicationStateParams
NewGetApplicationStateParamsWithTimeout creates a new GetApplicationStateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetApplicationStateParams) SetContext ¶
func (o *GetApplicationStateParams) SetContext(ctx context.Context)
SetContext adds the context to the get application state params
func (*GetApplicationStateParams) SetHTTPClient ¶
func (o *GetApplicationStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get application state params
func (*GetApplicationStateParams) SetTimeout ¶
func (o *GetApplicationStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get application state params
func (*GetApplicationStateParams) WithContext ¶
func (o *GetApplicationStateParams) WithContext(ctx context.Context) *GetApplicationStateParams
WithContext adds the context to the get application state params
func (*GetApplicationStateParams) WithHTTPClient ¶
func (o *GetApplicationStateParams) WithHTTPClient(client *http.Client) *GetApplicationStateParams
WithHTTPClient adds the HTTPClient to the get application state params
func (*GetApplicationStateParams) WithTimeout ¶
func (o *GetApplicationStateParams) WithTimeout(timeout time.Duration) *GetApplicationStateParams
WithTimeout adds the timeout to the get application state params
func (*GetApplicationStateParams) WriteToRequest ¶
func (o *GetApplicationStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetApplicationStateReader ¶
type GetApplicationStateReader struct {
// contains filtered or unexported fields
}
GetApplicationStateReader is a Reader for the GetApplicationState structure.
func (*GetApplicationStateReader) ReadResponse ¶
func (o *GetApplicationStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApplicationStateUnauthorized ¶
type GetApplicationStateUnauthorized struct {
}GetApplicationStateUnauthorized handles this case with default header values.
Unauthorized
func NewGetApplicationStateUnauthorized ¶
func NewGetApplicationStateUnauthorized() *GetApplicationStateUnauthorized
NewGetApplicationStateUnauthorized creates a GetApplicationStateUnauthorized with default headers values
func (*GetApplicationStateUnauthorized) Error ¶
func (o *GetApplicationStateUnauthorized) Error() string
func (*GetApplicationStateUnauthorized) GetPayload ¶
func (o *GetApplicationStateUnauthorized) GetPayload() *models.APIResult
type PutApplicationStateBadRequest ¶
PutApplicationStateBadRequest handles this case with default header values.
Bad Request
func NewPutApplicationStateBadRequest ¶
func NewPutApplicationStateBadRequest() *PutApplicationStateBadRequest
NewPutApplicationStateBadRequest creates a PutApplicationStateBadRequest with default headers values
func (*PutApplicationStateBadRequest) Error ¶
func (o *PutApplicationStateBadRequest) Error() string
func (*PutApplicationStateBadRequest) GetPayload ¶
func (o *PutApplicationStateBadRequest) GetPayload() *models.APIResult
type PutApplicationStateConflict ¶
PutApplicationStateConflict handles this case with default header values.
Conflict
func NewPutApplicationStateConflict ¶
func NewPutApplicationStateConflict() *PutApplicationStateConflict
NewPutApplicationStateConflict creates a PutApplicationStateConflict with default headers values
func (*PutApplicationStateConflict) Error ¶
func (o *PutApplicationStateConflict) Error() string
func (*PutApplicationStateConflict) GetPayload ¶
func (o *PutApplicationStateConflict) GetPayload() *models.APIResult
type PutApplicationStateForbidden ¶
PutApplicationStateForbidden handles this case with default header values.
Forbidden
func NewPutApplicationStateForbidden ¶
func NewPutApplicationStateForbidden() *PutApplicationStateForbidden
NewPutApplicationStateForbidden creates a PutApplicationStateForbidden with default headers values
func (*PutApplicationStateForbidden) Error ¶
func (o *PutApplicationStateForbidden) Error() string
func (*PutApplicationStateForbidden) GetPayload ¶
func (o *PutApplicationStateForbidden) GetPayload() *models.APIResult
type PutApplicationStateInternalServerError ¶
PutApplicationStateInternalServerError handles this case with default header values.
Internal Server Error
func NewPutApplicationStateInternalServerError ¶
func NewPutApplicationStateInternalServerError() *PutApplicationStateInternalServerError
NewPutApplicationStateInternalServerError creates a PutApplicationStateInternalServerError with default headers values
func (*PutApplicationStateInternalServerError) Error ¶
func (o *PutApplicationStateInternalServerError) Error() string
func (*PutApplicationStateInternalServerError) GetPayload ¶
func (o *PutApplicationStateInternalServerError) GetPayload() *models.APIResult
type PutApplicationStateNotFound ¶
PutApplicationStateNotFound handles this case with default header values.
Not Found
func NewPutApplicationStateNotFound ¶
func NewPutApplicationStateNotFound() *PutApplicationStateNotFound
NewPutApplicationStateNotFound creates a PutApplicationStateNotFound with default headers values
func (*PutApplicationStateNotFound) Error ¶
func (o *PutApplicationStateNotFound) Error() string
func (*PutApplicationStateNotFound) GetPayload ¶
func (o *PutApplicationStateNotFound) GetPayload() *models.APIResult
type PutApplicationStateOK ¶
type PutApplicationStateOK struct {
Payload *models.APIResultApplicationState
}
PutApplicationStateOK handles this case with default header values.
OK
func NewPutApplicationStateOK ¶
func NewPutApplicationStateOK() *PutApplicationStateOK
NewPutApplicationStateOK creates a PutApplicationStateOK with default headers values
func (*PutApplicationStateOK) Error ¶
func (o *PutApplicationStateOK) Error() string
func (*PutApplicationStateOK) GetPayload ¶
func (o *PutApplicationStateOK) GetPayload() *models.APIResultApplicationState
type PutApplicationStateParams ¶
type PutApplicationStateParams struct { /*ApplicationState applicationState */ ApplicationState *models.ApplicationState Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutApplicationStateParams contains all the parameters to send to the API endpoint for the put application state operation typically these are written to a http.Request
func NewPutApplicationStateParams ¶
func NewPutApplicationStateParams() *PutApplicationStateParams
NewPutApplicationStateParams creates a new PutApplicationStateParams object with the default values initialized.
func NewPutApplicationStateParamsWithContext ¶
func NewPutApplicationStateParamsWithContext(ctx context.Context) *PutApplicationStateParams
NewPutApplicationStateParamsWithContext creates a new PutApplicationStateParams object with the default values initialized, and the ability to set a context for a request
func NewPutApplicationStateParamsWithHTTPClient ¶
func NewPutApplicationStateParamsWithHTTPClient(client *http.Client) *PutApplicationStateParams
NewPutApplicationStateParamsWithHTTPClient creates a new PutApplicationStateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutApplicationStateParamsWithTimeout ¶
func NewPutApplicationStateParamsWithTimeout(timeout time.Duration) *PutApplicationStateParams
NewPutApplicationStateParamsWithTimeout creates a new PutApplicationStateParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutApplicationStateParams) SetApplicationState ¶
func (o *PutApplicationStateParams) SetApplicationState(applicationState *models.ApplicationState)
SetApplicationState adds the applicationState to the put application state params
func (*PutApplicationStateParams) SetContext ¶
func (o *PutApplicationStateParams) SetContext(ctx context.Context)
SetContext adds the context to the put application state params
func (*PutApplicationStateParams) SetHTTPClient ¶
func (o *PutApplicationStateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put application state params
func (*PutApplicationStateParams) SetTimeout ¶
func (o *PutApplicationStateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put application state params
func (*PutApplicationStateParams) WithApplicationState ¶
func (o *PutApplicationStateParams) WithApplicationState(applicationState *models.ApplicationState) *PutApplicationStateParams
WithApplicationState adds the applicationState to the put application state params
func (*PutApplicationStateParams) WithContext ¶
func (o *PutApplicationStateParams) WithContext(ctx context.Context) *PutApplicationStateParams
WithContext adds the context to the put application state params
func (*PutApplicationStateParams) WithHTTPClient ¶
func (o *PutApplicationStateParams) WithHTTPClient(client *http.Client) *PutApplicationStateParams
WithHTTPClient adds the HTTPClient to the put application state params
func (*PutApplicationStateParams) WithTimeout ¶
func (o *PutApplicationStateParams) WithTimeout(timeout time.Duration) *PutApplicationStateParams
WithTimeout adds the timeout to the put application state params
func (*PutApplicationStateParams) WriteToRequest ¶
func (o *PutApplicationStateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutApplicationStateReader ¶
type PutApplicationStateReader struct {
// contains filtered or unexported fields
}
PutApplicationStateReader is a Reader for the PutApplicationState structure.
func (*PutApplicationStateReader) ReadResponse ¶
func (o *PutApplicationStateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutApplicationStateUnauthorized ¶
type PutApplicationStateUnauthorized struct {
}PutApplicationStateUnauthorized handles this case with default header values.
Unauthorized
func NewPutApplicationStateUnauthorized ¶
func NewPutApplicationStateUnauthorized() *PutApplicationStateUnauthorized
NewPutApplicationStateUnauthorized creates a PutApplicationStateUnauthorized with default headers values
func (*PutApplicationStateUnauthorized) Error ¶
func (o *PutApplicationStateUnauthorized) Error() string
func (*PutApplicationStateUnauthorized) GetPayload ¶
func (o *PutApplicationStateUnauthorized) GetPayload() *models.APIResult