f_c_g_i_app

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 12 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 f c g i app API

func (*Client) CreateFCGIApp

CreateFCGIApp adds an f c g i app

Adds a new FCGI application to the configuration file.

func (*Client) DeleteFCGIApp

DeleteFCGIApp deletes an f c g i app

Deletes an FCGI application from the configuration by its name.

func (*Client) GetFCGIApp

func (a *Client) GetFCGIApp(params *GetFCGIAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFCGIAppOK, error)

GetFCGIApp returns a f c g i app

Returns one FCGI application configuration by its name.

func (*Client) GetFCGIApps

func (a *Client) GetFCGIApps(params *GetFCGIAppsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFCGIAppsOK, error)

GetFCGIApps returns an array of f c g i apps

Returns an array of all configured FCGI applications.

func (*Client) ReplaceFCGIApp

ReplaceFCGIApp replaces a f c g i app

Replaces a FCGI application configuration by its name.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateFCGIApp(params *CreateFCGIAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFCGIAppCreated, *CreateFCGIAppAccepted, error)

	DeleteFCGIApp(params *DeleteFCGIAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFCGIAppAccepted, *DeleteFCGIAppNoContent, error)

	GetFCGIApp(params *GetFCGIAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFCGIAppOK, error)

	GetFCGIApps(params *GetFCGIAppsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFCGIAppsOK, error)

	ReplaceFCGIApp(params *ReplaceFCGIAppParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceFCGIAppOK, *ReplaceFCGIAppAccepted, 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 f c g i app API client.

type CreateFCGIAppAccepted

type CreateFCGIAppAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.FcgiApp
}

CreateFCGIAppAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewCreateFCGIAppAccepted

func NewCreateFCGIAppAccepted() *CreateFCGIAppAccepted

NewCreateFCGIAppAccepted creates a CreateFCGIAppAccepted with default headers values

func (*CreateFCGIAppAccepted) Error

func (o *CreateFCGIAppAccepted) Error() string

func (*CreateFCGIAppAccepted) GetPayload

func (o *CreateFCGIAppAccepted) GetPayload() *models.FcgiApp

func (*CreateFCGIAppAccepted) IsClientError

func (o *CreateFCGIAppAccepted) IsClientError() bool

IsClientError returns true when this create f c g i app accepted response has a 4xx status code

func (*CreateFCGIAppAccepted) IsCode

func (o *CreateFCGIAppAccepted) IsCode(code int) bool

IsCode returns true when this create f c g i app accepted response a status code equal to that given

func (*CreateFCGIAppAccepted) IsRedirect

func (o *CreateFCGIAppAccepted) IsRedirect() bool

IsRedirect returns true when this create f c g i app accepted response has a 3xx status code

func (*CreateFCGIAppAccepted) IsServerError

func (o *CreateFCGIAppAccepted) IsServerError() bool

IsServerError returns true when this create f c g i app accepted response has a 5xx status code

func (*CreateFCGIAppAccepted) IsSuccess

func (o *CreateFCGIAppAccepted) IsSuccess() bool

IsSuccess returns true when this create f c g i app accepted response has a 2xx status code

func (*CreateFCGIAppAccepted) String

func (o *CreateFCGIAppAccepted) String() string

type CreateFCGIAppBadRequest

type CreateFCGIAppBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateFCGIAppBadRequest describes a response with status code 400, with default header values.

Bad request

func NewCreateFCGIAppBadRequest

func NewCreateFCGIAppBadRequest() *CreateFCGIAppBadRequest

NewCreateFCGIAppBadRequest creates a CreateFCGIAppBadRequest with default headers values

func (*CreateFCGIAppBadRequest) Error

func (o *CreateFCGIAppBadRequest) Error() string

func (*CreateFCGIAppBadRequest) GetPayload

func (o *CreateFCGIAppBadRequest) GetPayload() *models.Error

func (*CreateFCGIAppBadRequest) IsClientError

func (o *CreateFCGIAppBadRequest) IsClientError() bool

IsClientError returns true when this create f c g i app bad request response has a 4xx status code

func (*CreateFCGIAppBadRequest) IsCode

func (o *CreateFCGIAppBadRequest) IsCode(code int) bool

IsCode returns true when this create f c g i app bad request response a status code equal to that given

func (*CreateFCGIAppBadRequest) IsRedirect

func (o *CreateFCGIAppBadRequest) IsRedirect() bool

IsRedirect returns true when this create f c g i app bad request response has a 3xx status code

func (*CreateFCGIAppBadRequest) IsServerError

func (o *CreateFCGIAppBadRequest) IsServerError() bool

IsServerError returns true when this create f c g i app bad request response has a 5xx status code

func (*CreateFCGIAppBadRequest) IsSuccess

func (o *CreateFCGIAppBadRequest) IsSuccess() bool

IsSuccess returns true when this create f c g i app bad request response has a 2xx status code

func (*CreateFCGIAppBadRequest) String

func (o *CreateFCGIAppBadRequest) String() string

type CreateFCGIAppConflict

type CreateFCGIAppConflict struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

CreateFCGIAppConflict describes a response with status code 409, with default header values.

The specified resource already exists

func NewCreateFCGIAppConflict

func NewCreateFCGIAppConflict() *CreateFCGIAppConflict

NewCreateFCGIAppConflict creates a CreateFCGIAppConflict with default headers values

func (*CreateFCGIAppConflict) Error

func (o *CreateFCGIAppConflict) Error() string

func (*CreateFCGIAppConflict) GetPayload

func (o *CreateFCGIAppConflict) GetPayload() *models.Error

func (*CreateFCGIAppConflict) IsClientError

func (o *CreateFCGIAppConflict) IsClientError() bool

IsClientError returns true when this create f c g i app conflict response has a 4xx status code

func (*CreateFCGIAppConflict) IsCode

func (o *CreateFCGIAppConflict) IsCode(code int) bool

IsCode returns true when this create f c g i app conflict response a status code equal to that given

func (*CreateFCGIAppConflict) IsRedirect

func (o *CreateFCGIAppConflict) IsRedirect() bool

IsRedirect returns true when this create f c g i app conflict response has a 3xx status code

func (*CreateFCGIAppConflict) IsServerError

func (o *CreateFCGIAppConflict) IsServerError() bool

IsServerError returns true when this create f c g i app conflict response has a 5xx status code

func (*CreateFCGIAppConflict) IsSuccess

func (o *CreateFCGIAppConflict) IsSuccess() bool

IsSuccess returns true when this create f c g i app conflict response has a 2xx status code

func (*CreateFCGIAppConflict) String

func (o *CreateFCGIAppConflict) String() string

type CreateFCGIAppCreated

type CreateFCGIAppCreated struct {
	Payload *models.FcgiApp
}

CreateFCGIAppCreated describes a response with status code 201, with default header values.

Application created

func NewCreateFCGIAppCreated

func NewCreateFCGIAppCreated() *CreateFCGIAppCreated

NewCreateFCGIAppCreated creates a CreateFCGIAppCreated with default headers values

func (*CreateFCGIAppCreated) Error

func (o *CreateFCGIAppCreated) Error() string

func (*CreateFCGIAppCreated) GetPayload

func (o *CreateFCGIAppCreated) GetPayload() *models.FcgiApp

func (*CreateFCGIAppCreated) IsClientError

func (o *CreateFCGIAppCreated) IsClientError() bool

IsClientError returns true when this create f c g i app created response has a 4xx status code

func (*CreateFCGIAppCreated) IsCode

func (o *CreateFCGIAppCreated) IsCode(code int) bool

IsCode returns true when this create f c g i app created response a status code equal to that given

func (*CreateFCGIAppCreated) IsRedirect

func (o *CreateFCGIAppCreated) IsRedirect() bool

IsRedirect returns true when this create f c g i app created response has a 3xx status code

func (*CreateFCGIAppCreated) IsServerError

func (o *CreateFCGIAppCreated) IsServerError() bool

IsServerError returns true when this create f c g i app created response has a 5xx status code

func (*CreateFCGIAppCreated) IsSuccess

func (o *CreateFCGIAppCreated) IsSuccess() bool

IsSuccess returns true when this create f c g i app created response has a 2xx status code

func (*CreateFCGIAppCreated) String

func (o *CreateFCGIAppCreated) String() string

type CreateFCGIAppDefault

type CreateFCGIAppDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

CreateFCGIAppDefault describes a response with status code -1, with default header values.

General Error

func NewCreateFCGIAppDefault

func NewCreateFCGIAppDefault(code int) *CreateFCGIAppDefault

NewCreateFCGIAppDefault creates a CreateFCGIAppDefault with default headers values

func (*CreateFCGIAppDefault) Code

func (o *CreateFCGIAppDefault) Code() int

Code gets the status code for the create f c g i app default response

func (*CreateFCGIAppDefault) Error

func (o *CreateFCGIAppDefault) Error() string

func (*CreateFCGIAppDefault) GetPayload

func (o *CreateFCGIAppDefault) GetPayload() *models.Error

func (*CreateFCGIAppDefault) IsClientError

func (o *CreateFCGIAppDefault) IsClientError() bool

IsClientError returns true when this create f c g i app default response has a 4xx status code

func (*CreateFCGIAppDefault) IsCode

func (o *CreateFCGIAppDefault) IsCode(code int) bool

IsCode returns true when this create f c g i app default response a status code equal to that given

func (*CreateFCGIAppDefault) IsRedirect

func (o *CreateFCGIAppDefault) IsRedirect() bool

IsRedirect returns true when this create f c g i app default response has a 3xx status code

func (*CreateFCGIAppDefault) IsServerError

func (o *CreateFCGIAppDefault) IsServerError() bool

IsServerError returns true when this create f c g i app default response has a 5xx status code

func (*CreateFCGIAppDefault) IsSuccess

func (o *CreateFCGIAppDefault) IsSuccess() bool

IsSuccess returns true when this create f c g i app default response has a 2xx status code

func (*CreateFCGIAppDefault) String

func (o *CreateFCGIAppDefault) String() string

type CreateFCGIAppParams

type CreateFCGIAppParams struct {

	// Data.
	Data *models.FcgiApp

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateFCGIAppParams contains all the parameters to send to the API endpoint

for the create f c g i app operation.

Typically these are written to a http.Request.

func NewCreateFCGIAppParams

func NewCreateFCGIAppParams() *CreateFCGIAppParams

NewCreateFCGIAppParams creates a new CreateFCGIAppParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateFCGIAppParamsWithContext

func NewCreateFCGIAppParamsWithContext(ctx context.Context) *CreateFCGIAppParams

NewCreateFCGIAppParamsWithContext creates a new CreateFCGIAppParams object with the ability to set a context for a request.

func NewCreateFCGIAppParamsWithHTTPClient

func NewCreateFCGIAppParamsWithHTTPClient(client *http.Client) *CreateFCGIAppParams

NewCreateFCGIAppParamsWithHTTPClient creates a new CreateFCGIAppParams object with the ability to set a custom HTTPClient for a request.

func NewCreateFCGIAppParamsWithTimeout

func NewCreateFCGIAppParamsWithTimeout(timeout time.Duration) *CreateFCGIAppParams

NewCreateFCGIAppParamsWithTimeout creates a new CreateFCGIAppParams object with the ability to set a timeout on a request.

func (*CreateFCGIAppParams) SetContext

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

SetContext adds the context to the create f c g i app params

func (*CreateFCGIAppParams) SetData

func (o *CreateFCGIAppParams) SetData(data *models.FcgiApp)

SetData adds the data to the create f c g i app params

func (*CreateFCGIAppParams) SetDefaults

func (o *CreateFCGIAppParams) SetDefaults()

SetDefaults hydrates default values in the create f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*CreateFCGIAppParams) SetForceReload

func (o *CreateFCGIAppParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the create f c g i app params

func (*CreateFCGIAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create f c g i app params

func (*CreateFCGIAppParams) SetTimeout

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

SetTimeout adds the timeout to the create f c g i app params

func (*CreateFCGIAppParams) SetTransactionID

func (o *CreateFCGIAppParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the create f c g i app params

func (*CreateFCGIAppParams) SetVersion

func (o *CreateFCGIAppParams) SetVersion(version *int64)

SetVersion adds the version to the create f c g i app params

func (*CreateFCGIAppParams) WithContext

WithContext adds the context to the create f c g i app params

func (*CreateFCGIAppParams) WithData

WithData adds the data to the create f c g i app params

func (*CreateFCGIAppParams) WithDefaults

func (o *CreateFCGIAppParams) WithDefaults() *CreateFCGIAppParams

WithDefaults hydrates default values in the create f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*CreateFCGIAppParams) WithForceReload

func (o *CreateFCGIAppParams) WithForceReload(forceReload *bool) *CreateFCGIAppParams

WithForceReload adds the forceReload to the create f c g i app params

func (*CreateFCGIAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create f c g i app params

func (*CreateFCGIAppParams) WithTimeout

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

WithTimeout adds the timeout to the create f c g i app params

func (*CreateFCGIAppParams) WithTransactionID

func (o *CreateFCGIAppParams) WithTransactionID(transactionID *string) *CreateFCGIAppParams

WithTransactionID adds the transactionID to the create f c g i app params

func (*CreateFCGIAppParams) WithVersion

func (o *CreateFCGIAppParams) WithVersion(version *int64) *CreateFCGIAppParams

WithVersion adds the version to the create f c g i app params

func (*CreateFCGIAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateFCGIAppReader

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

CreateFCGIAppReader is a Reader for the CreateFCGIApp structure.

func (*CreateFCGIAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFCGIAppAccepted

type DeleteFCGIAppAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string
}

DeleteFCGIAppAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewDeleteFCGIAppAccepted

func NewDeleteFCGIAppAccepted() *DeleteFCGIAppAccepted

NewDeleteFCGIAppAccepted creates a DeleteFCGIAppAccepted with default headers values

func (*DeleteFCGIAppAccepted) Error

func (o *DeleteFCGIAppAccepted) Error() string

func (*DeleteFCGIAppAccepted) IsClientError

func (o *DeleteFCGIAppAccepted) IsClientError() bool

IsClientError returns true when this delete f c g i app accepted response has a 4xx status code

func (*DeleteFCGIAppAccepted) IsCode

func (o *DeleteFCGIAppAccepted) IsCode(code int) bool

IsCode returns true when this delete f c g i app accepted response a status code equal to that given

func (*DeleteFCGIAppAccepted) IsRedirect

func (o *DeleteFCGIAppAccepted) IsRedirect() bool

IsRedirect returns true when this delete f c g i app accepted response has a 3xx status code

func (*DeleteFCGIAppAccepted) IsServerError

func (o *DeleteFCGIAppAccepted) IsServerError() bool

IsServerError returns true when this delete f c g i app accepted response has a 5xx status code

func (*DeleteFCGIAppAccepted) IsSuccess

func (o *DeleteFCGIAppAccepted) IsSuccess() bool

IsSuccess returns true when this delete f c g i app accepted response has a 2xx status code

func (*DeleteFCGIAppAccepted) String

func (o *DeleteFCGIAppAccepted) String() string

type DeleteFCGIAppDefault

type DeleteFCGIAppDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteFCGIAppDefault describes a response with status code -1, with default header values.

General Error

func NewDeleteFCGIAppDefault

func NewDeleteFCGIAppDefault(code int) *DeleteFCGIAppDefault

NewDeleteFCGIAppDefault creates a DeleteFCGIAppDefault with default headers values

func (*DeleteFCGIAppDefault) Code

func (o *DeleteFCGIAppDefault) Code() int

Code gets the status code for the delete f c g i app default response

func (*DeleteFCGIAppDefault) Error

func (o *DeleteFCGIAppDefault) Error() string

func (*DeleteFCGIAppDefault) GetPayload

func (o *DeleteFCGIAppDefault) GetPayload() *models.Error

func (*DeleteFCGIAppDefault) IsClientError

func (o *DeleteFCGIAppDefault) IsClientError() bool

IsClientError returns true when this delete f c g i app default response has a 4xx status code

func (*DeleteFCGIAppDefault) IsCode

func (o *DeleteFCGIAppDefault) IsCode(code int) bool

IsCode returns true when this delete f c g i app default response a status code equal to that given

func (*DeleteFCGIAppDefault) IsRedirect

func (o *DeleteFCGIAppDefault) IsRedirect() bool

IsRedirect returns true when this delete f c g i app default response has a 3xx status code

func (*DeleteFCGIAppDefault) IsServerError

func (o *DeleteFCGIAppDefault) IsServerError() bool

IsServerError returns true when this delete f c g i app default response has a 5xx status code

func (*DeleteFCGIAppDefault) IsSuccess

func (o *DeleteFCGIAppDefault) IsSuccess() bool

IsSuccess returns true when this delete f c g i app default response has a 2xx status code

func (*DeleteFCGIAppDefault) String

func (o *DeleteFCGIAppDefault) String() string

type DeleteFCGIAppNoContent

type DeleteFCGIAppNoContent struct {
}

DeleteFCGIAppNoContent describes a response with status code 204, with default header values.

Application deleted

func NewDeleteFCGIAppNoContent

func NewDeleteFCGIAppNoContent() *DeleteFCGIAppNoContent

NewDeleteFCGIAppNoContent creates a DeleteFCGIAppNoContent with default headers values

func (*DeleteFCGIAppNoContent) Error

func (o *DeleteFCGIAppNoContent) Error() string

func (*DeleteFCGIAppNoContent) IsClientError

func (o *DeleteFCGIAppNoContent) IsClientError() bool

IsClientError returns true when this delete f c g i app no content response has a 4xx status code

func (*DeleteFCGIAppNoContent) IsCode

func (o *DeleteFCGIAppNoContent) IsCode(code int) bool

IsCode returns true when this delete f c g i app no content response a status code equal to that given

func (*DeleteFCGIAppNoContent) IsRedirect

func (o *DeleteFCGIAppNoContent) IsRedirect() bool

IsRedirect returns true when this delete f c g i app no content response has a 3xx status code

func (*DeleteFCGIAppNoContent) IsServerError

func (o *DeleteFCGIAppNoContent) IsServerError() bool

IsServerError returns true when this delete f c g i app no content response has a 5xx status code

func (*DeleteFCGIAppNoContent) IsSuccess

func (o *DeleteFCGIAppNoContent) IsSuccess() bool

IsSuccess returns true when this delete f c g i app no content response has a 2xx status code

func (*DeleteFCGIAppNoContent) String

func (o *DeleteFCGIAppNoContent) String() string

type DeleteFCGIAppNotFound

type DeleteFCGIAppNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

DeleteFCGIAppNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewDeleteFCGIAppNotFound

func NewDeleteFCGIAppNotFound() *DeleteFCGIAppNotFound

NewDeleteFCGIAppNotFound creates a DeleteFCGIAppNotFound with default headers values

func (*DeleteFCGIAppNotFound) Error

func (o *DeleteFCGIAppNotFound) Error() string

func (*DeleteFCGIAppNotFound) GetPayload

func (o *DeleteFCGIAppNotFound) GetPayload() *models.Error

func (*DeleteFCGIAppNotFound) IsClientError

func (o *DeleteFCGIAppNotFound) IsClientError() bool

IsClientError returns true when this delete f c g i app not found response has a 4xx status code

func (*DeleteFCGIAppNotFound) IsCode

func (o *DeleteFCGIAppNotFound) IsCode(code int) bool

IsCode returns true when this delete f c g i app not found response a status code equal to that given

func (*DeleteFCGIAppNotFound) IsRedirect

func (o *DeleteFCGIAppNotFound) IsRedirect() bool

IsRedirect returns true when this delete f c g i app not found response has a 3xx status code

func (*DeleteFCGIAppNotFound) IsServerError

func (o *DeleteFCGIAppNotFound) IsServerError() bool

IsServerError returns true when this delete f c g i app not found response has a 5xx status code

func (*DeleteFCGIAppNotFound) IsSuccess

func (o *DeleteFCGIAppNotFound) IsSuccess() bool

IsSuccess returns true when this delete f c g i app not found response has a 2xx status code

func (*DeleteFCGIAppNotFound) String

func (o *DeleteFCGIAppNotFound) String() string

type DeleteFCGIAppParams

type DeleteFCGIAppParams struct {

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   Application name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteFCGIAppParams contains all the parameters to send to the API endpoint

for the delete f c g i app operation.

Typically these are written to a http.Request.

func NewDeleteFCGIAppParams

func NewDeleteFCGIAppParams() *DeleteFCGIAppParams

NewDeleteFCGIAppParams creates a new DeleteFCGIAppParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteFCGIAppParamsWithContext

func NewDeleteFCGIAppParamsWithContext(ctx context.Context) *DeleteFCGIAppParams

NewDeleteFCGIAppParamsWithContext creates a new DeleteFCGIAppParams object with the ability to set a context for a request.

func NewDeleteFCGIAppParamsWithHTTPClient

func NewDeleteFCGIAppParamsWithHTTPClient(client *http.Client) *DeleteFCGIAppParams

NewDeleteFCGIAppParamsWithHTTPClient creates a new DeleteFCGIAppParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteFCGIAppParamsWithTimeout

func NewDeleteFCGIAppParamsWithTimeout(timeout time.Duration) *DeleteFCGIAppParams

NewDeleteFCGIAppParamsWithTimeout creates a new DeleteFCGIAppParams object with the ability to set a timeout on a request.

func (*DeleteFCGIAppParams) SetContext

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

SetContext adds the context to the delete f c g i app params

func (*DeleteFCGIAppParams) SetDefaults

func (o *DeleteFCGIAppParams) SetDefaults()

SetDefaults hydrates default values in the delete f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteFCGIAppParams) SetForceReload

func (o *DeleteFCGIAppParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the delete f c g i app params

func (*DeleteFCGIAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete f c g i app params

func (*DeleteFCGIAppParams) SetName

func (o *DeleteFCGIAppParams) SetName(name string)

SetName adds the name to the delete f c g i app params

func (*DeleteFCGIAppParams) SetTimeout

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

SetTimeout adds the timeout to the delete f c g i app params

func (*DeleteFCGIAppParams) SetTransactionID

func (o *DeleteFCGIAppParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the delete f c g i app params

func (*DeleteFCGIAppParams) SetVersion

func (o *DeleteFCGIAppParams) SetVersion(version *int64)

SetVersion adds the version to the delete f c g i app params

func (*DeleteFCGIAppParams) WithContext

WithContext adds the context to the delete f c g i app params

func (*DeleteFCGIAppParams) WithDefaults

func (o *DeleteFCGIAppParams) WithDefaults() *DeleteFCGIAppParams

WithDefaults hydrates default values in the delete f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteFCGIAppParams) WithForceReload

func (o *DeleteFCGIAppParams) WithForceReload(forceReload *bool) *DeleteFCGIAppParams

WithForceReload adds the forceReload to the delete f c g i app params

func (*DeleteFCGIAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete f c g i app params

func (*DeleteFCGIAppParams) WithName

func (o *DeleteFCGIAppParams) WithName(name string) *DeleteFCGIAppParams

WithName adds the name to the delete f c g i app params

func (*DeleteFCGIAppParams) WithTimeout

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

WithTimeout adds the timeout to the delete f c g i app params

func (*DeleteFCGIAppParams) WithTransactionID

func (o *DeleteFCGIAppParams) WithTransactionID(transactionID *string) *DeleteFCGIAppParams

WithTransactionID adds the transactionID to the delete f c g i app params

func (*DeleteFCGIAppParams) WithVersion

func (o *DeleteFCGIAppParams) WithVersion(version *int64) *DeleteFCGIAppParams

WithVersion adds the version to the delete f c g i app params

func (*DeleteFCGIAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteFCGIAppReader

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

DeleteFCGIAppReader is a Reader for the DeleteFCGIApp structure.

func (*DeleteFCGIAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFCGIAppDefault

type GetFCGIAppDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetFCGIAppDefault describes a response with status code -1, with default header values.

General Error

func NewGetFCGIAppDefault

func NewGetFCGIAppDefault(code int) *GetFCGIAppDefault

NewGetFCGIAppDefault creates a GetFCGIAppDefault with default headers values

func (*GetFCGIAppDefault) Code

func (o *GetFCGIAppDefault) Code() int

Code gets the status code for the get f c g i app default response

func (*GetFCGIAppDefault) Error

func (o *GetFCGIAppDefault) Error() string

func (*GetFCGIAppDefault) GetPayload

func (o *GetFCGIAppDefault) GetPayload() *models.Error

func (*GetFCGIAppDefault) IsClientError

func (o *GetFCGIAppDefault) IsClientError() bool

IsClientError returns true when this get f c g i app default response has a 4xx status code

func (*GetFCGIAppDefault) IsCode

func (o *GetFCGIAppDefault) IsCode(code int) bool

IsCode returns true when this get f c g i app default response a status code equal to that given

func (*GetFCGIAppDefault) IsRedirect

func (o *GetFCGIAppDefault) IsRedirect() bool

IsRedirect returns true when this get f c g i app default response has a 3xx status code

func (*GetFCGIAppDefault) IsServerError

func (o *GetFCGIAppDefault) IsServerError() bool

IsServerError returns true when this get f c g i app default response has a 5xx status code

func (*GetFCGIAppDefault) IsSuccess

func (o *GetFCGIAppDefault) IsSuccess() bool

IsSuccess returns true when this get f c g i app default response has a 2xx status code

func (*GetFCGIAppDefault) String

func (o *GetFCGIAppDefault) String() string

type GetFCGIAppNotFound

type GetFCGIAppNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

GetFCGIAppNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetFCGIAppNotFound

func NewGetFCGIAppNotFound() *GetFCGIAppNotFound

NewGetFCGIAppNotFound creates a GetFCGIAppNotFound with default headers values

func (*GetFCGIAppNotFound) Error

func (o *GetFCGIAppNotFound) Error() string

func (*GetFCGIAppNotFound) GetPayload

func (o *GetFCGIAppNotFound) GetPayload() *models.Error

func (*GetFCGIAppNotFound) IsClientError

func (o *GetFCGIAppNotFound) IsClientError() bool

IsClientError returns true when this get f c g i app not found response has a 4xx status code

func (*GetFCGIAppNotFound) IsCode

func (o *GetFCGIAppNotFound) IsCode(code int) bool

IsCode returns true when this get f c g i app not found response a status code equal to that given

func (*GetFCGIAppNotFound) IsRedirect

func (o *GetFCGIAppNotFound) IsRedirect() bool

IsRedirect returns true when this get f c g i app not found response has a 3xx status code

func (*GetFCGIAppNotFound) IsServerError

func (o *GetFCGIAppNotFound) IsServerError() bool

IsServerError returns true when this get f c g i app not found response has a 5xx status code

func (*GetFCGIAppNotFound) IsSuccess

func (o *GetFCGIAppNotFound) IsSuccess() bool

IsSuccess returns true when this get f c g i app not found response has a 2xx status code

func (*GetFCGIAppNotFound) String

func (o *GetFCGIAppNotFound) String() string

type GetFCGIAppOK

type GetFCGIAppOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetFCGIAppOKBody
}

GetFCGIAppOK describes a response with status code 200, with default header values.

Successful operation

func NewGetFCGIAppOK

func NewGetFCGIAppOK() *GetFCGIAppOK

NewGetFCGIAppOK creates a GetFCGIAppOK with default headers values

func (*GetFCGIAppOK) Error

func (o *GetFCGIAppOK) Error() string

func (*GetFCGIAppOK) GetPayload

func (o *GetFCGIAppOK) GetPayload() *GetFCGIAppOKBody

func (*GetFCGIAppOK) IsClientError

func (o *GetFCGIAppOK) IsClientError() bool

IsClientError returns true when this get f c g i app o k response has a 4xx status code

func (*GetFCGIAppOK) IsCode

func (o *GetFCGIAppOK) IsCode(code int) bool

IsCode returns true when this get f c g i app o k response a status code equal to that given

func (*GetFCGIAppOK) IsRedirect

func (o *GetFCGIAppOK) IsRedirect() bool

IsRedirect returns true when this get f c g i app o k response has a 3xx status code

func (*GetFCGIAppOK) IsServerError

func (o *GetFCGIAppOK) IsServerError() bool

IsServerError returns true when this get f c g i app o k response has a 5xx status code

func (*GetFCGIAppOK) IsSuccess

func (o *GetFCGIAppOK) IsSuccess() bool

IsSuccess returns true when this get f c g i app o k response has a 2xx status code

func (*GetFCGIAppOK) String

func (o *GetFCGIAppOK) String() string

type GetFCGIAppOKBody

type GetFCGIAppOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	Data *models.FcgiApp `json:"data,omitempty"`
}

GetFCGIAppOKBody get f c g i app o k body swagger:model GetFCGIAppOKBody

func (*GetFCGIAppOKBody) ContextValidate

func (o *GetFCGIAppOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get f c g i app o k body based on the context it is used

func (*GetFCGIAppOKBody) MarshalBinary

func (o *GetFCGIAppOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFCGIAppOKBody) UnmarshalBinary

func (o *GetFCGIAppOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFCGIAppOKBody) Validate

func (o *GetFCGIAppOKBody) Validate(formats strfmt.Registry) error

Validate validates this get f c g i app o k body

type GetFCGIAppParams

type GetFCGIAppParams struct {

	/* Name.

	   Application name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFCGIAppParams contains all the parameters to send to the API endpoint

for the get f c g i app operation.

Typically these are written to a http.Request.

func NewGetFCGIAppParams

func NewGetFCGIAppParams() *GetFCGIAppParams

NewGetFCGIAppParams creates a new GetFCGIAppParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFCGIAppParamsWithContext

func NewGetFCGIAppParamsWithContext(ctx context.Context) *GetFCGIAppParams

NewGetFCGIAppParamsWithContext creates a new GetFCGIAppParams object with the ability to set a context for a request.

func NewGetFCGIAppParamsWithHTTPClient

func NewGetFCGIAppParamsWithHTTPClient(client *http.Client) *GetFCGIAppParams

NewGetFCGIAppParamsWithHTTPClient creates a new GetFCGIAppParams object with the ability to set a custom HTTPClient for a request.

func NewGetFCGIAppParamsWithTimeout

func NewGetFCGIAppParamsWithTimeout(timeout time.Duration) *GetFCGIAppParams

NewGetFCGIAppParamsWithTimeout creates a new GetFCGIAppParams object with the ability to set a timeout on a request.

func (*GetFCGIAppParams) SetContext

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

SetContext adds the context to the get f c g i app params

func (*GetFCGIAppParams) SetDefaults

func (o *GetFCGIAppParams) SetDefaults()

SetDefaults hydrates default values in the get f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*GetFCGIAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get f c g i app params

func (*GetFCGIAppParams) SetName

func (o *GetFCGIAppParams) SetName(name string)

SetName adds the name to the get f c g i app params

func (*GetFCGIAppParams) SetTimeout

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

SetTimeout adds the timeout to the get f c g i app params

func (*GetFCGIAppParams) SetTransactionID

func (o *GetFCGIAppParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get f c g i app params

func (*GetFCGIAppParams) WithContext

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

WithContext adds the context to the get f c g i app params

func (*GetFCGIAppParams) WithDefaults

func (o *GetFCGIAppParams) WithDefaults() *GetFCGIAppParams

WithDefaults hydrates default values in the get f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*GetFCGIAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get f c g i app params

func (*GetFCGIAppParams) WithName

func (o *GetFCGIAppParams) WithName(name string) *GetFCGIAppParams

WithName adds the name to the get f c g i app params

func (*GetFCGIAppParams) WithTimeout

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

WithTimeout adds the timeout to the get f c g i app params

func (*GetFCGIAppParams) WithTransactionID

func (o *GetFCGIAppParams) WithTransactionID(transactionID *string) *GetFCGIAppParams

WithTransactionID adds the transactionID to the get f c g i app params

func (*GetFCGIAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFCGIAppReader

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

GetFCGIAppReader is a Reader for the GetFCGIApp structure.

func (*GetFCGIAppReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFCGIAppsDefault

type GetFCGIAppsDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

GetFCGIAppsDefault describes a response with status code -1, with default header values.

General Error

func NewGetFCGIAppsDefault

func NewGetFCGIAppsDefault(code int) *GetFCGIAppsDefault

NewGetFCGIAppsDefault creates a GetFCGIAppsDefault with default headers values

func (*GetFCGIAppsDefault) Code

func (o *GetFCGIAppsDefault) Code() int

Code gets the status code for the get f c g i apps default response

func (*GetFCGIAppsDefault) Error

func (o *GetFCGIAppsDefault) Error() string

func (*GetFCGIAppsDefault) GetPayload

func (o *GetFCGIAppsDefault) GetPayload() *models.Error

func (*GetFCGIAppsDefault) IsClientError

func (o *GetFCGIAppsDefault) IsClientError() bool

IsClientError returns true when this get f c g i apps default response has a 4xx status code

func (*GetFCGIAppsDefault) IsCode

func (o *GetFCGIAppsDefault) IsCode(code int) bool

IsCode returns true when this get f c g i apps default response a status code equal to that given

func (*GetFCGIAppsDefault) IsRedirect

func (o *GetFCGIAppsDefault) IsRedirect() bool

IsRedirect returns true when this get f c g i apps default response has a 3xx status code

func (*GetFCGIAppsDefault) IsServerError

func (o *GetFCGIAppsDefault) IsServerError() bool

IsServerError returns true when this get f c g i apps default response has a 5xx status code

func (*GetFCGIAppsDefault) IsSuccess

func (o *GetFCGIAppsDefault) IsSuccess() bool

IsSuccess returns true when this get f c g i apps default response has a 2xx status code

func (*GetFCGIAppsDefault) String

func (o *GetFCGIAppsDefault) String() string

type GetFCGIAppsOK

type GetFCGIAppsOK struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *GetFCGIAppsOKBody
}

GetFCGIAppsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetFCGIAppsOK

func NewGetFCGIAppsOK() *GetFCGIAppsOK

NewGetFCGIAppsOK creates a GetFCGIAppsOK with default headers values

func (*GetFCGIAppsOK) Error

func (o *GetFCGIAppsOK) Error() string

func (*GetFCGIAppsOK) GetPayload

func (o *GetFCGIAppsOK) GetPayload() *GetFCGIAppsOKBody

func (*GetFCGIAppsOK) IsClientError

func (o *GetFCGIAppsOK) IsClientError() bool

IsClientError returns true when this get f c g i apps o k response has a 4xx status code

func (*GetFCGIAppsOK) IsCode

func (o *GetFCGIAppsOK) IsCode(code int) bool

IsCode returns true when this get f c g i apps o k response a status code equal to that given

func (*GetFCGIAppsOK) IsRedirect

func (o *GetFCGIAppsOK) IsRedirect() bool

IsRedirect returns true when this get f c g i apps o k response has a 3xx status code

func (*GetFCGIAppsOK) IsServerError

func (o *GetFCGIAppsOK) IsServerError() bool

IsServerError returns true when this get f c g i apps o k response has a 5xx status code

func (*GetFCGIAppsOK) IsSuccess

func (o *GetFCGIAppsOK) IsSuccess() bool

IsSuccess returns true when this get f c g i apps o k response has a 2xx status code

func (*GetFCGIAppsOK) String

func (o *GetFCGIAppsOK) String() string

type GetFCGIAppsOKBody

type GetFCGIAppsOKBody struct {

	// version
	Version int64 `json:"_version,omitempty"`

	// data
	// Required: true
	Data models.FcgiApps `json:"data"`
}

GetFCGIAppsOKBody get f c g i apps o k body swagger:model GetFCGIAppsOKBody

func (*GetFCGIAppsOKBody) ContextValidate

func (o *GetFCGIAppsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get f c g i apps o k body based on the context it is used

func (*GetFCGIAppsOKBody) MarshalBinary

func (o *GetFCGIAppsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetFCGIAppsOKBody) UnmarshalBinary

func (o *GetFCGIAppsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetFCGIAppsOKBody) Validate

func (o *GetFCGIAppsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get f c g i apps o k body

type GetFCGIAppsParams

type GetFCGIAppsParams struct {

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetFCGIAppsParams contains all the parameters to send to the API endpoint

for the get f c g i apps operation.

Typically these are written to a http.Request.

func NewGetFCGIAppsParams

func NewGetFCGIAppsParams() *GetFCGIAppsParams

NewGetFCGIAppsParams creates a new GetFCGIAppsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFCGIAppsParamsWithContext

func NewGetFCGIAppsParamsWithContext(ctx context.Context) *GetFCGIAppsParams

NewGetFCGIAppsParamsWithContext creates a new GetFCGIAppsParams object with the ability to set a context for a request.

func NewGetFCGIAppsParamsWithHTTPClient

func NewGetFCGIAppsParamsWithHTTPClient(client *http.Client) *GetFCGIAppsParams

NewGetFCGIAppsParamsWithHTTPClient creates a new GetFCGIAppsParams object with the ability to set a custom HTTPClient for a request.

func NewGetFCGIAppsParamsWithTimeout

func NewGetFCGIAppsParamsWithTimeout(timeout time.Duration) *GetFCGIAppsParams

NewGetFCGIAppsParamsWithTimeout creates a new GetFCGIAppsParams object with the ability to set a timeout on a request.

func (*GetFCGIAppsParams) SetContext

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

SetContext adds the context to the get f c g i apps params

func (*GetFCGIAppsParams) SetDefaults

func (o *GetFCGIAppsParams) SetDefaults()

SetDefaults hydrates default values in the get f c g i apps params (not the query body).

All values with no default are reset to their zero value.

func (*GetFCGIAppsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get f c g i apps params

func (*GetFCGIAppsParams) SetTimeout

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

SetTimeout adds the timeout to the get f c g i apps params

func (*GetFCGIAppsParams) SetTransactionID

func (o *GetFCGIAppsParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the get f c g i apps params

func (*GetFCGIAppsParams) WithContext

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

WithContext adds the context to the get f c g i apps params

func (*GetFCGIAppsParams) WithDefaults

func (o *GetFCGIAppsParams) WithDefaults() *GetFCGIAppsParams

WithDefaults hydrates default values in the get f c g i apps params (not the query body).

All values with no default are reset to their zero value.

func (*GetFCGIAppsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get f c g i apps params

func (*GetFCGIAppsParams) WithTimeout

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

WithTimeout adds the timeout to the get f c g i apps params

func (*GetFCGIAppsParams) WithTransactionID

func (o *GetFCGIAppsParams) WithTransactionID(transactionID *string) *GetFCGIAppsParams

WithTransactionID adds the transactionID to the get f c g i apps params

func (*GetFCGIAppsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFCGIAppsReader

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

GetFCGIAppsReader is a Reader for the GetFCGIApps structure.

func (*GetFCGIAppsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReplaceFCGIAppAccepted

type ReplaceFCGIAppAccepted struct {

	/* ID of the requested reload
	 */
	ReloadID string

	Payload *models.FcgiApp
}

ReplaceFCGIAppAccepted describes a response with status code 202, with default header values.

Configuration change accepted and reload requested

func NewReplaceFCGIAppAccepted

func NewReplaceFCGIAppAccepted() *ReplaceFCGIAppAccepted

NewReplaceFCGIAppAccepted creates a ReplaceFCGIAppAccepted with default headers values

func (*ReplaceFCGIAppAccepted) Error

func (o *ReplaceFCGIAppAccepted) Error() string

func (*ReplaceFCGIAppAccepted) GetPayload

func (o *ReplaceFCGIAppAccepted) GetPayload() *models.FcgiApp

func (*ReplaceFCGIAppAccepted) IsClientError

func (o *ReplaceFCGIAppAccepted) IsClientError() bool

IsClientError returns true when this replace f c g i app accepted response has a 4xx status code

func (*ReplaceFCGIAppAccepted) IsCode

func (o *ReplaceFCGIAppAccepted) IsCode(code int) bool

IsCode returns true when this replace f c g i app accepted response a status code equal to that given

func (*ReplaceFCGIAppAccepted) IsRedirect

func (o *ReplaceFCGIAppAccepted) IsRedirect() bool

IsRedirect returns true when this replace f c g i app accepted response has a 3xx status code

func (*ReplaceFCGIAppAccepted) IsServerError

func (o *ReplaceFCGIAppAccepted) IsServerError() bool

IsServerError returns true when this replace f c g i app accepted response has a 5xx status code

func (*ReplaceFCGIAppAccepted) IsSuccess

func (o *ReplaceFCGIAppAccepted) IsSuccess() bool

IsSuccess returns true when this replace f c g i app accepted response has a 2xx status code

func (*ReplaceFCGIAppAccepted) String

func (o *ReplaceFCGIAppAccepted) String() string

type ReplaceFCGIAppBadRequest

type ReplaceFCGIAppBadRequest struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceFCGIAppBadRequest describes a response with status code 400, with default header values.

Bad request

func NewReplaceFCGIAppBadRequest

func NewReplaceFCGIAppBadRequest() *ReplaceFCGIAppBadRequest

NewReplaceFCGIAppBadRequest creates a ReplaceFCGIAppBadRequest with default headers values

func (*ReplaceFCGIAppBadRequest) Error

func (o *ReplaceFCGIAppBadRequest) Error() string

func (*ReplaceFCGIAppBadRequest) GetPayload

func (o *ReplaceFCGIAppBadRequest) GetPayload() *models.Error

func (*ReplaceFCGIAppBadRequest) IsClientError

func (o *ReplaceFCGIAppBadRequest) IsClientError() bool

IsClientError returns true when this replace f c g i app bad request response has a 4xx status code

func (*ReplaceFCGIAppBadRequest) IsCode

func (o *ReplaceFCGIAppBadRequest) IsCode(code int) bool

IsCode returns true when this replace f c g i app bad request response a status code equal to that given

func (*ReplaceFCGIAppBadRequest) IsRedirect

func (o *ReplaceFCGIAppBadRequest) IsRedirect() bool

IsRedirect returns true when this replace f c g i app bad request response has a 3xx status code

func (*ReplaceFCGIAppBadRequest) IsServerError

func (o *ReplaceFCGIAppBadRequest) IsServerError() bool

IsServerError returns true when this replace f c g i app bad request response has a 5xx status code

func (*ReplaceFCGIAppBadRequest) IsSuccess

func (o *ReplaceFCGIAppBadRequest) IsSuccess() bool

IsSuccess returns true when this replace f c g i app bad request response has a 2xx status code

func (*ReplaceFCGIAppBadRequest) String

func (o *ReplaceFCGIAppBadRequest) String() string

type ReplaceFCGIAppDefault

type ReplaceFCGIAppDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}

ReplaceFCGIAppDefault describes a response with status code -1, with default header values.

General Error

func NewReplaceFCGIAppDefault

func NewReplaceFCGIAppDefault(code int) *ReplaceFCGIAppDefault

NewReplaceFCGIAppDefault creates a ReplaceFCGIAppDefault with default headers values

func (*ReplaceFCGIAppDefault) Code

func (o *ReplaceFCGIAppDefault) Code() int

Code gets the status code for the replace f c g i app default response

func (*ReplaceFCGIAppDefault) Error

func (o *ReplaceFCGIAppDefault) Error() string

func (*ReplaceFCGIAppDefault) GetPayload

func (o *ReplaceFCGIAppDefault) GetPayload() *models.Error

func (*ReplaceFCGIAppDefault) IsClientError

func (o *ReplaceFCGIAppDefault) IsClientError() bool

IsClientError returns true when this replace f c g i app default response has a 4xx status code

func (*ReplaceFCGIAppDefault) IsCode

func (o *ReplaceFCGIAppDefault) IsCode(code int) bool

IsCode returns true when this replace f c g i app default response a status code equal to that given

func (*ReplaceFCGIAppDefault) IsRedirect

func (o *ReplaceFCGIAppDefault) IsRedirect() bool

IsRedirect returns true when this replace f c g i app default response has a 3xx status code

func (*ReplaceFCGIAppDefault) IsServerError

func (o *ReplaceFCGIAppDefault) IsServerError() bool

IsServerError returns true when this replace f c g i app default response has a 5xx status code

func (*ReplaceFCGIAppDefault) IsSuccess

func (o *ReplaceFCGIAppDefault) IsSuccess() bool

IsSuccess returns true when this replace f c g i app default response has a 2xx status code

func (*ReplaceFCGIAppDefault) String

func (o *ReplaceFCGIAppDefault) String() string

type ReplaceFCGIAppNotFound

type ReplaceFCGIAppNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}

ReplaceFCGIAppNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewReplaceFCGIAppNotFound

func NewReplaceFCGIAppNotFound() *ReplaceFCGIAppNotFound

NewReplaceFCGIAppNotFound creates a ReplaceFCGIAppNotFound with default headers values

func (*ReplaceFCGIAppNotFound) Error

func (o *ReplaceFCGIAppNotFound) Error() string

func (*ReplaceFCGIAppNotFound) GetPayload

func (o *ReplaceFCGIAppNotFound) GetPayload() *models.Error

func (*ReplaceFCGIAppNotFound) IsClientError

func (o *ReplaceFCGIAppNotFound) IsClientError() bool

IsClientError returns true when this replace f c g i app not found response has a 4xx status code

func (*ReplaceFCGIAppNotFound) IsCode

func (o *ReplaceFCGIAppNotFound) IsCode(code int) bool

IsCode returns true when this replace f c g i app not found response a status code equal to that given

func (*ReplaceFCGIAppNotFound) IsRedirect

func (o *ReplaceFCGIAppNotFound) IsRedirect() bool

IsRedirect returns true when this replace f c g i app not found response has a 3xx status code

func (*ReplaceFCGIAppNotFound) IsServerError

func (o *ReplaceFCGIAppNotFound) IsServerError() bool

IsServerError returns true when this replace f c g i app not found response has a 5xx status code

func (*ReplaceFCGIAppNotFound) IsSuccess

func (o *ReplaceFCGIAppNotFound) IsSuccess() bool

IsSuccess returns true when this replace f c g i app not found response has a 2xx status code

func (*ReplaceFCGIAppNotFound) String

func (o *ReplaceFCGIAppNotFound) String() string

type ReplaceFCGIAppOK

type ReplaceFCGIAppOK struct {
	Payload *models.FcgiApp
}

ReplaceFCGIAppOK describes a response with status code 200, with default header values.

Application replaced

func NewReplaceFCGIAppOK

func NewReplaceFCGIAppOK() *ReplaceFCGIAppOK

NewReplaceFCGIAppOK creates a ReplaceFCGIAppOK with default headers values

func (*ReplaceFCGIAppOK) Error

func (o *ReplaceFCGIAppOK) Error() string

func (*ReplaceFCGIAppOK) GetPayload

func (o *ReplaceFCGIAppOK) GetPayload() *models.FcgiApp

func (*ReplaceFCGIAppOK) IsClientError

func (o *ReplaceFCGIAppOK) IsClientError() bool

IsClientError returns true when this replace f c g i app o k response has a 4xx status code

func (*ReplaceFCGIAppOK) IsCode

func (o *ReplaceFCGIAppOK) IsCode(code int) bool

IsCode returns true when this replace f c g i app o k response a status code equal to that given

func (*ReplaceFCGIAppOK) IsRedirect

func (o *ReplaceFCGIAppOK) IsRedirect() bool

IsRedirect returns true when this replace f c g i app o k response has a 3xx status code

func (*ReplaceFCGIAppOK) IsServerError

func (o *ReplaceFCGIAppOK) IsServerError() bool

IsServerError returns true when this replace f c g i app o k response has a 5xx status code

func (*ReplaceFCGIAppOK) IsSuccess

func (o *ReplaceFCGIAppOK) IsSuccess() bool

IsSuccess returns true when this replace f c g i app o k response has a 2xx status code

func (*ReplaceFCGIAppOK) String

func (o *ReplaceFCGIAppOK) String() string

type ReplaceFCGIAppParams

type ReplaceFCGIAppParams struct {

	// Data.
	Data *models.FcgiApp

	/* ForceReload.

	   If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration.
	*/
	ForceReload *bool

	/* Name.

	   Application name
	*/
	Name string

	/* TransactionID.

	   ID of the transaction where we want to add the operation. Cannot be used when version is specified.
	*/
	TransactionID *string

	/* Version.

	   Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version.
	*/
	Version *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReplaceFCGIAppParams contains all the parameters to send to the API endpoint

for the replace f c g i app operation.

Typically these are written to a http.Request.

func NewReplaceFCGIAppParams

func NewReplaceFCGIAppParams() *ReplaceFCGIAppParams

NewReplaceFCGIAppParams creates a new ReplaceFCGIAppParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReplaceFCGIAppParamsWithContext

func NewReplaceFCGIAppParamsWithContext(ctx context.Context) *ReplaceFCGIAppParams

NewReplaceFCGIAppParamsWithContext creates a new ReplaceFCGIAppParams object with the ability to set a context for a request.

func NewReplaceFCGIAppParamsWithHTTPClient

func NewReplaceFCGIAppParamsWithHTTPClient(client *http.Client) *ReplaceFCGIAppParams

NewReplaceFCGIAppParamsWithHTTPClient creates a new ReplaceFCGIAppParams object with the ability to set a custom HTTPClient for a request.

func NewReplaceFCGIAppParamsWithTimeout

func NewReplaceFCGIAppParamsWithTimeout(timeout time.Duration) *ReplaceFCGIAppParams

NewReplaceFCGIAppParamsWithTimeout creates a new ReplaceFCGIAppParams object with the ability to set a timeout on a request.

func (*ReplaceFCGIAppParams) SetContext

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

SetContext adds the context to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetData

func (o *ReplaceFCGIAppParams) SetData(data *models.FcgiApp)

SetData adds the data to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetDefaults

func (o *ReplaceFCGIAppParams) SetDefaults()

SetDefaults hydrates default values in the replace f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*ReplaceFCGIAppParams) SetForceReload

func (o *ReplaceFCGIAppParams) SetForceReload(forceReload *bool)

SetForceReload adds the forceReload to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetName

func (o *ReplaceFCGIAppParams) SetName(name string)

SetName adds the name to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetTimeout

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

SetTimeout adds the timeout to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetTransactionID

func (o *ReplaceFCGIAppParams) SetTransactionID(transactionID *string)

SetTransactionID adds the transactionId to the replace f c g i app params

func (*ReplaceFCGIAppParams) SetVersion

func (o *ReplaceFCGIAppParams) SetVersion(version *int64)

SetVersion adds the version to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithContext

WithContext adds the context to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithData

WithData adds the data to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithDefaults

func (o *ReplaceFCGIAppParams) WithDefaults() *ReplaceFCGIAppParams

WithDefaults hydrates default values in the replace f c g i app params (not the query body).

All values with no default are reset to their zero value.

func (*ReplaceFCGIAppParams) WithForceReload

func (o *ReplaceFCGIAppParams) WithForceReload(forceReload *bool) *ReplaceFCGIAppParams

WithForceReload adds the forceReload to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithName

WithName adds the name to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithTimeout

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

WithTimeout adds the timeout to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithTransactionID

func (o *ReplaceFCGIAppParams) WithTransactionID(transactionID *string) *ReplaceFCGIAppParams

WithTransactionID adds the transactionID to the replace f c g i app params

func (*ReplaceFCGIAppParams) WithVersion

func (o *ReplaceFCGIAppParams) WithVersion(version *int64) *ReplaceFCGIAppParams

WithVersion adds the version to the replace f c g i app params

func (*ReplaceFCGIAppParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReplaceFCGIAppReader

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

ReplaceFCGIAppReader is a Reader for the ReplaceFCGIApp structure.

func (*ReplaceFCGIAppReader) ReadResponse

func (o *ReplaceFCGIAppReader) 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