application_state_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 10 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 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

type GetApplicationStateBadRequest struct {
	Payload *models.APIResult
}

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

type GetApplicationStateConflict

type GetApplicationStateConflict struct {
	Payload *models.APIResult
}

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

func (o *GetApplicationStateConflict) GetPayload() *models.APIResult

type GetApplicationStateForbidden

type GetApplicationStateForbidden struct {
	Payload *models.APIResult
}

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

type GetApplicationStateInternalServerError

type GetApplicationStateInternalServerError struct {
	Payload *models.APIResult
}

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

type GetApplicationStateNotFound

type GetApplicationStateNotFound struct {
	Payload *models.APIResult
}

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 (*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

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

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

WithTimeout adds the timeout to the get application state params

func (*GetApplicationStateParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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

type PutApplicationStateBadRequest

type PutApplicationStateBadRequest struct {
	Payload *models.APIResult
}

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

type PutApplicationStateConflict

type PutApplicationStateConflict struct {
	Payload *models.APIResult
}

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

func (o *PutApplicationStateConflict) GetPayload() *models.APIResult

type PutApplicationStateForbidden

type PutApplicationStateForbidden struct {
	Payload *models.APIResult
}

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

type PutApplicationStateInternalServerError

type PutApplicationStateInternalServerError struct {
	Payload *models.APIResult
}

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

type PutApplicationStateNotFound

type PutApplicationStateNotFound struct {
	Payload *models.APIResult
}

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 (*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

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

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

WithTimeout adds the timeout to the put application state params

func (*PutApplicationStateParams) WriteToRequest

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 {
	Payload *models.APIResult
}

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

Jump to

Keyboard shortcuts

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