Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateFrontend(params *CreateFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateFrontendCreated, *CreateFrontendAccepted, error)
- func (a *Client) DeleteFrontend(params *DeleteFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteFrontendAccepted, *DeleteFrontendNoContent, error)
- func (a *Client) GetFrontend(params *GetFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFrontendOK, error)
- func (a *Client) GetFrontends(params *GetFrontendsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetFrontendsOK, error)
- func (a *Client) ReplaceFrontend(params *ReplaceFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceFrontendOK, *ReplaceFrontendAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateFrontendAccepted
- func (o *CreateFrontendAccepted) Code() int
- func (o *CreateFrontendAccepted) Error() string
- func (o *CreateFrontendAccepted) GetPayload() *models.Frontend
- func (o *CreateFrontendAccepted) IsClientError() bool
- func (o *CreateFrontendAccepted) IsCode(code int) bool
- func (o *CreateFrontendAccepted) IsRedirect() bool
- func (o *CreateFrontendAccepted) IsServerError() bool
- func (o *CreateFrontendAccepted) IsSuccess() bool
- func (o *CreateFrontendAccepted) String() string
- type CreateFrontendBadRequest
- func (o *CreateFrontendBadRequest) Code() int
- func (o *CreateFrontendBadRequest) Error() string
- func (o *CreateFrontendBadRequest) GetPayload() *models.Error
- func (o *CreateFrontendBadRequest) IsClientError() bool
- func (o *CreateFrontendBadRequest) IsCode(code int) bool
- func (o *CreateFrontendBadRequest) IsRedirect() bool
- func (o *CreateFrontendBadRequest) IsServerError() bool
- func (o *CreateFrontendBadRequest) IsSuccess() bool
- func (o *CreateFrontendBadRequest) String() string
- type CreateFrontendConflict
- func (o *CreateFrontendConflict) Code() int
- func (o *CreateFrontendConflict) Error() string
- func (o *CreateFrontendConflict) GetPayload() *models.Error
- func (o *CreateFrontendConflict) IsClientError() bool
- func (o *CreateFrontendConflict) IsCode(code int) bool
- func (o *CreateFrontendConflict) IsRedirect() bool
- func (o *CreateFrontendConflict) IsServerError() bool
- func (o *CreateFrontendConflict) IsSuccess() bool
- func (o *CreateFrontendConflict) String() string
- type CreateFrontendCreated
- func (o *CreateFrontendCreated) Code() int
- func (o *CreateFrontendCreated) Error() string
- func (o *CreateFrontendCreated) GetPayload() *models.Frontend
- func (o *CreateFrontendCreated) IsClientError() bool
- func (o *CreateFrontendCreated) IsCode(code int) bool
- func (o *CreateFrontendCreated) IsRedirect() bool
- func (o *CreateFrontendCreated) IsServerError() bool
- func (o *CreateFrontendCreated) IsSuccess() bool
- func (o *CreateFrontendCreated) String() string
- type CreateFrontendDefault
- func (o *CreateFrontendDefault) Code() int
- func (o *CreateFrontendDefault) Error() string
- func (o *CreateFrontendDefault) GetPayload() *models.Error
- func (o *CreateFrontendDefault) IsClientError() bool
- func (o *CreateFrontendDefault) IsCode(code int) bool
- func (o *CreateFrontendDefault) IsRedirect() bool
- func (o *CreateFrontendDefault) IsServerError() bool
- func (o *CreateFrontendDefault) IsSuccess() bool
- func (o *CreateFrontendDefault) String() string
- type CreateFrontendParams
- func NewCreateFrontendParams() *CreateFrontendParams
- func NewCreateFrontendParamsWithContext(ctx context.Context) *CreateFrontendParams
- func NewCreateFrontendParamsWithHTTPClient(client *http.Client) *CreateFrontendParams
- func NewCreateFrontendParamsWithTimeout(timeout time.Duration) *CreateFrontendParams
- func (o *CreateFrontendParams) SetContext(ctx context.Context)
- func (o *CreateFrontendParams) SetData(data *models.Frontend)
- func (o *CreateFrontendParams) SetDefaults()
- func (o *CreateFrontendParams) SetForceReload(forceReload *bool)
- func (o *CreateFrontendParams) SetHTTPClient(client *http.Client)
- func (o *CreateFrontendParams) SetTimeout(timeout time.Duration)
- func (o *CreateFrontendParams) SetTransactionID(transactionID *string)
- func (o *CreateFrontendParams) SetVersion(version *int64)
- func (o *CreateFrontendParams) WithContext(ctx context.Context) *CreateFrontendParams
- func (o *CreateFrontendParams) WithData(data *models.Frontend) *CreateFrontendParams
- func (o *CreateFrontendParams) WithDefaults() *CreateFrontendParams
- func (o *CreateFrontendParams) WithForceReload(forceReload *bool) *CreateFrontendParams
- func (o *CreateFrontendParams) WithHTTPClient(client *http.Client) *CreateFrontendParams
- func (o *CreateFrontendParams) WithTimeout(timeout time.Duration) *CreateFrontendParams
- func (o *CreateFrontendParams) WithTransactionID(transactionID *string) *CreateFrontendParams
- func (o *CreateFrontendParams) WithVersion(version *int64) *CreateFrontendParams
- func (o *CreateFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFrontendReader
- type DeleteFrontendAccepted
- func (o *DeleteFrontendAccepted) Code() int
- func (o *DeleteFrontendAccepted) Error() string
- func (o *DeleteFrontendAccepted) IsClientError() bool
- func (o *DeleteFrontendAccepted) IsCode(code int) bool
- func (o *DeleteFrontendAccepted) IsRedirect() bool
- func (o *DeleteFrontendAccepted) IsServerError() bool
- func (o *DeleteFrontendAccepted) IsSuccess() bool
- func (o *DeleteFrontendAccepted) String() string
- type DeleteFrontendDefault
- func (o *DeleteFrontendDefault) Code() int
- func (o *DeleteFrontendDefault) Error() string
- func (o *DeleteFrontendDefault) GetPayload() *models.Error
- func (o *DeleteFrontendDefault) IsClientError() bool
- func (o *DeleteFrontendDefault) IsCode(code int) bool
- func (o *DeleteFrontendDefault) IsRedirect() bool
- func (o *DeleteFrontendDefault) IsServerError() bool
- func (o *DeleteFrontendDefault) IsSuccess() bool
- func (o *DeleteFrontendDefault) String() string
- type DeleteFrontendNoContent
- func (o *DeleteFrontendNoContent) Code() int
- func (o *DeleteFrontendNoContent) Error() string
- func (o *DeleteFrontendNoContent) IsClientError() bool
- func (o *DeleteFrontendNoContent) IsCode(code int) bool
- func (o *DeleteFrontendNoContent) IsRedirect() bool
- func (o *DeleteFrontendNoContent) IsServerError() bool
- func (o *DeleteFrontendNoContent) IsSuccess() bool
- func (o *DeleteFrontendNoContent) String() string
- type DeleteFrontendNotFound
- func (o *DeleteFrontendNotFound) Code() int
- func (o *DeleteFrontendNotFound) Error() string
- func (o *DeleteFrontendNotFound) GetPayload() *models.Error
- func (o *DeleteFrontendNotFound) IsClientError() bool
- func (o *DeleteFrontendNotFound) IsCode(code int) bool
- func (o *DeleteFrontendNotFound) IsRedirect() bool
- func (o *DeleteFrontendNotFound) IsServerError() bool
- func (o *DeleteFrontendNotFound) IsSuccess() bool
- func (o *DeleteFrontendNotFound) String() string
- type DeleteFrontendParams
- func NewDeleteFrontendParams() *DeleteFrontendParams
- func NewDeleteFrontendParamsWithContext(ctx context.Context) *DeleteFrontendParams
- func NewDeleteFrontendParamsWithHTTPClient(client *http.Client) *DeleteFrontendParams
- func NewDeleteFrontendParamsWithTimeout(timeout time.Duration) *DeleteFrontendParams
- func (o *DeleteFrontendParams) SetContext(ctx context.Context)
- func (o *DeleteFrontendParams) SetDefaults()
- func (o *DeleteFrontendParams) SetForceReload(forceReload *bool)
- func (o *DeleteFrontendParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFrontendParams) SetName(name string)
- func (o *DeleteFrontendParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFrontendParams) SetTransactionID(transactionID *string)
- func (o *DeleteFrontendParams) SetVersion(version *int64)
- func (o *DeleteFrontendParams) WithContext(ctx context.Context) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithDefaults() *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithForceReload(forceReload *bool) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithHTTPClient(client *http.Client) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithName(name string) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithTimeout(timeout time.Duration) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithTransactionID(transactionID *string) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithVersion(version *int64) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFrontendReader
- type GetFrontendDefault
- func (o *GetFrontendDefault) Code() int
- func (o *GetFrontendDefault) Error() string
- func (o *GetFrontendDefault) GetPayload() *models.Error
- func (o *GetFrontendDefault) IsClientError() bool
- func (o *GetFrontendDefault) IsCode(code int) bool
- func (o *GetFrontendDefault) IsRedirect() bool
- func (o *GetFrontendDefault) IsServerError() bool
- func (o *GetFrontendDefault) IsSuccess() bool
- func (o *GetFrontendDefault) String() string
- type GetFrontendNotFound
- func (o *GetFrontendNotFound) Code() int
- func (o *GetFrontendNotFound) Error() string
- func (o *GetFrontendNotFound) GetPayload() *models.Error
- func (o *GetFrontendNotFound) IsClientError() bool
- func (o *GetFrontendNotFound) IsCode(code int) bool
- func (o *GetFrontendNotFound) IsRedirect() bool
- func (o *GetFrontendNotFound) IsServerError() bool
- func (o *GetFrontendNotFound) IsSuccess() bool
- func (o *GetFrontendNotFound) String() string
- type GetFrontendOK
- func (o *GetFrontendOK) Code() int
- func (o *GetFrontendOK) Error() string
- func (o *GetFrontendOK) GetPayload() *GetFrontendOKBody
- func (o *GetFrontendOK) IsClientError() bool
- func (o *GetFrontendOK) IsCode(code int) bool
- func (o *GetFrontendOK) IsRedirect() bool
- func (o *GetFrontendOK) IsServerError() bool
- func (o *GetFrontendOK) IsSuccess() bool
- func (o *GetFrontendOK) String() string
- type GetFrontendOKBody
- type GetFrontendParams
- func (o *GetFrontendParams) SetContext(ctx context.Context)
- func (o *GetFrontendParams) SetDefaults()
- func (o *GetFrontendParams) SetHTTPClient(client *http.Client)
- func (o *GetFrontendParams) SetName(name string)
- func (o *GetFrontendParams) SetTimeout(timeout time.Duration)
- func (o *GetFrontendParams) SetTransactionID(transactionID *string)
- func (o *GetFrontendParams) WithContext(ctx context.Context) *GetFrontendParams
- func (o *GetFrontendParams) WithDefaults() *GetFrontendParams
- func (o *GetFrontendParams) WithHTTPClient(client *http.Client) *GetFrontendParams
- func (o *GetFrontendParams) WithName(name string) *GetFrontendParams
- func (o *GetFrontendParams) WithTimeout(timeout time.Duration) *GetFrontendParams
- func (o *GetFrontendParams) WithTransactionID(transactionID *string) *GetFrontendParams
- func (o *GetFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFrontendReader
- type GetFrontendsDefault
- func (o *GetFrontendsDefault) Code() int
- func (o *GetFrontendsDefault) Error() string
- func (o *GetFrontendsDefault) GetPayload() *models.Error
- func (o *GetFrontendsDefault) IsClientError() bool
- func (o *GetFrontendsDefault) IsCode(code int) bool
- func (o *GetFrontendsDefault) IsRedirect() bool
- func (o *GetFrontendsDefault) IsServerError() bool
- func (o *GetFrontendsDefault) IsSuccess() bool
- func (o *GetFrontendsDefault) String() string
- type GetFrontendsOK
- func (o *GetFrontendsOK) Code() int
- func (o *GetFrontendsOK) Error() string
- func (o *GetFrontendsOK) GetPayload() *GetFrontendsOKBody
- func (o *GetFrontendsOK) IsClientError() bool
- func (o *GetFrontendsOK) IsCode(code int) bool
- func (o *GetFrontendsOK) IsRedirect() bool
- func (o *GetFrontendsOK) IsServerError() bool
- func (o *GetFrontendsOK) IsSuccess() bool
- func (o *GetFrontendsOK) String() string
- type GetFrontendsOKBody
- type GetFrontendsParams
- func (o *GetFrontendsParams) SetContext(ctx context.Context)
- func (o *GetFrontendsParams) SetDefaults()
- func (o *GetFrontendsParams) SetHTTPClient(client *http.Client)
- func (o *GetFrontendsParams) SetTimeout(timeout time.Duration)
- func (o *GetFrontendsParams) SetTransactionID(transactionID *string)
- func (o *GetFrontendsParams) WithContext(ctx context.Context) *GetFrontendsParams
- func (o *GetFrontendsParams) WithDefaults() *GetFrontendsParams
- func (o *GetFrontendsParams) WithHTTPClient(client *http.Client) *GetFrontendsParams
- func (o *GetFrontendsParams) WithTimeout(timeout time.Duration) *GetFrontendsParams
- func (o *GetFrontendsParams) WithTransactionID(transactionID *string) *GetFrontendsParams
- func (o *GetFrontendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFrontendsReader
- type ReplaceFrontendAccepted
- func (o *ReplaceFrontendAccepted) Code() int
- func (o *ReplaceFrontendAccepted) Error() string
- func (o *ReplaceFrontendAccepted) GetPayload() *models.Frontend
- func (o *ReplaceFrontendAccepted) IsClientError() bool
- func (o *ReplaceFrontendAccepted) IsCode(code int) bool
- func (o *ReplaceFrontendAccepted) IsRedirect() bool
- func (o *ReplaceFrontendAccepted) IsServerError() bool
- func (o *ReplaceFrontendAccepted) IsSuccess() bool
- func (o *ReplaceFrontendAccepted) String() string
- type ReplaceFrontendBadRequest
- func (o *ReplaceFrontendBadRequest) Code() int
- func (o *ReplaceFrontendBadRequest) Error() string
- func (o *ReplaceFrontendBadRequest) GetPayload() *models.Error
- func (o *ReplaceFrontendBadRequest) IsClientError() bool
- func (o *ReplaceFrontendBadRequest) IsCode(code int) bool
- func (o *ReplaceFrontendBadRequest) IsRedirect() bool
- func (o *ReplaceFrontendBadRequest) IsServerError() bool
- func (o *ReplaceFrontendBadRequest) IsSuccess() bool
- func (o *ReplaceFrontendBadRequest) String() string
- type ReplaceFrontendDefault
- func (o *ReplaceFrontendDefault) Code() int
- func (o *ReplaceFrontendDefault) Error() string
- func (o *ReplaceFrontendDefault) GetPayload() *models.Error
- func (o *ReplaceFrontendDefault) IsClientError() bool
- func (o *ReplaceFrontendDefault) IsCode(code int) bool
- func (o *ReplaceFrontendDefault) IsRedirect() bool
- func (o *ReplaceFrontendDefault) IsServerError() bool
- func (o *ReplaceFrontendDefault) IsSuccess() bool
- func (o *ReplaceFrontendDefault) String() string
- type ReplaceFrontendNotFound
- func (o *ReplaceFrontendNotFound) Code() int
- func (o *ReplaceFrontendNotFound) Error() string
- func (o *ReplaceFrontendNotFound) GetPayload() *models.Error
- func (o *ReplaceFrontendNotFound) IsClientError() bool
- func (o *ReplaceFrontendNotFound) IsCode(code int) bool
- func (o *ReplaceFrontendNotFound) IsRedirect() bool
- func (o *ReplaceFrontendNotFound) IsServerError() bool
- func (o *ReplaceFrontendNotFound) IsSuccess() bool
- func (o *ReplaceFrontendNotFound) String() string
- type ReplaceFrontendOK
- func (o *ReplaceFrontendOK) Code() int
- func (o *ReplaceFrontendOK) Error() string
- func (o *ReplaceFrontendOK) GetPayload() *models.Frontend
- func (o *ReplaceFrontendOK) IsClientError() bool
- func (o *ReplaceFrontendOK) IsCode(code int) bool
- func (o *ReplaceFrontendOK) IsRedirect() bool
- func (o *ReplaceFrontendOK) IsServerError() bool
- func (o *ReplaceFrontendOK) IsSuccess() bool
- func (o *ReplaceFrontendOK) String() string
- type ReplaceFrontendParams
- func NewReplaceFrontendParams() *ReplaceFrontendParams
- func NewReplaceFrontendParamsWithContext(ctx context.Context) *ReplaceFrontendParams
- func NewReplaceFrontendParamsWithHTTPClient(client *http.Client) *ReplaceFrontendParams
- func NewReplaceFrontendParamsWithTimeout(timeout time.Duration) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) SetContext(ctx context.Context)
- func (o *ReplaceFrontendParams) SetData(data *models.Frontend)
- func (o *ReplaceFrontendParams) SetDefaults()
- func (o *ReplaceFrontendParams) SetForceReload(forceReload *bool)
- func (o *ReplaceFrontendParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceFrontendParams) SetName(name string)
- func (o *ReplaceFrontendParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceFrontendParams) SetTransactionID(transactionID *string)
- func (o *ReplaceFrontendParams) SetVersion(version *int64)
- func (o *ReplaceFrontendParams) WithContext(ctx context.Context) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithData(data *models.Frontend) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithDefaults() *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithForceReload(forceReload *bool) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithHTTPClient(client *http.Client) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithName(name string) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithTimeout(timeout time.Duration) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithTransactionID(transactionID *string) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WithVersion(version *int64) *ReplaceFrontendParams
- func (o *ReplaceFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceFrontendReader
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 frontend API
func (*Client) CreateFrontend ¶
func (a *Client) CreateFrontend(params *CreateFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFrontendCreated, *CreateFrontendAccepted, error)
CreateFrontend adds a frontend
Adds a new frontend to the configuration file.
func (*Client) DeleteFrontend ¶
func (a *Client) DeleteFrontend(params *DeleteFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFrontendAccepted, *DeleteFrontendNoContent, error)
DeleteFrontend deletes a frontend
Deletes a frontend from the configuration by it's name.
func (*Client) GetFrontend ¶
func (a *Client) GetFrontend(params *GetFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFrontendOK, error)
GetFrontend returns a frontend
Returns one frontend configuration by it's name.
func (*Client) GetFrontends ¶
func (a *Client) GetFrontends(params *GetFrontendsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFrontendsOK, error)
GetFrontends returns an array of frontends
Returns an array of all configured frontends.
func (*Client) ReplaceFrontend ¶
func (a *Client) ReplaceFrontend(params *ReplaceFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceFrontendOK, *ReplaceFrontendAccepted, error)
ReplaceFrontend replaces a frontend
Replaces a frontend configuration by it's 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 { CreateFrontend(params *CreateFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFrontendCreated, *CreateFrontendAccepted, error) DeleteFrontend(params *DeleteFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFrontendAccepted, *DeleteFrontendNoContent, error) GetFrontend(params *GetFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFrontendOK, error) GetFrontends(params *GetFrontendsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetFrontendsOK, error) ReplaceFrontend(params *ReplaceFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceFrontendOK, *ReplaceFrontendAccepted, 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 frontend API client.
type CreateFrontendAccepted ¶
type CreateFrontendAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Frontend }
CreateFrontendAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateFrontendAccepted ¶
func NewCreateFrontendAccepted() *CreateFrontendAccepted
NewCreateFrontendAccepted creates a CreateFrontendAccepted with default headers values
func (*CreateFrontendAccepted) Code ¶ added in v1.1.5
func (o *CreateFrontendAccepted) Code() int
Code gets the status code for the create frontend accepted response
func (*CreateFrontendAccepted) Error ¶
func (o *CreateFrontendAccepted) Error() string
func (*CreateFrontendAccepted) GetPayload ¶
func (o *CreateFrontendAccepted) GetPayload() *models.Frontend
func (*CreateFrontendAccepted) IsClientError ¶ added in v1.1.0
func (o *CreateFrontendAccepted) IsClientError() bool
IsClientError returns true when this create frontend accepted response has a 4xx status code
func (*CreateFrontendAccepted) IsCode ¶ added in v1.1.0
func (o *CreateFrontendAccepted) IsCode(code int) bool
IsCode returns true when this create frontend accepted response a status code equal to that given
func (*CreateFrontendAccepted) IsRedirect ¶ added in v1.1.0
func (o *CreateFrontendAccepted) IsRedirect() bool
IsRedirect returns true when this create frontend accepted response has a 3xx status code
func (*CreateFrontendAccepted) IsServerError ¶ added in v1.1.0
func (o *CreateFrontendAccepted) IsServerError() bool
IsServerError returns true when this create frontend accepted response has a 5xx status code
func (*CreateFrontendAccepted) IsSuccess ¶ added in v1.1.0
func (o *CreateFrontendAccepted) IsSuccess() bool
IsSuccess returns true when this create frontend accepted response has a 2xx status code
func (*CreateFrontendAccepted) String ¶ added in v1.1.0
func (o *CreateFrontendAccepted) String() string
type CreateFrontendBadRequest ¶
type CreateFrontendBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateFrontendBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateFrontendBadRequest ¶
func NewCreateFrontendBadRequest() *CreateFrontendBadRequest
NewCreateFrontendBadRequest creates a CreateFrontendBadRequest with default headers values
func (*CreateFrontendBadRequest) Code ¶ added in v1.1.5
func (o *CreateFrontendBadRequest) Code() int
Code gets the status code for the create frontend bad request response
func (*CreateFrontendBadRequest) Error ¶
func (o *CreateFrontendBadRequest) Error() string
func (*CreateFrontendBadRequest) GetPayload ¶
func (o *CreateFrontendBadRequest) GetPayload() *models.Error
func (*CreateFrontendBadRequest) IsClientError ¶ added in v1.1.0
func (o *CreateFrontendBadRequest) IsClientError() bool
IsClientError returns true when this create frontend bad request response has a 4xx status code
func (*CreateFrontendBadRequest) IsCode ¶ added in v1.1.0
func (o *CreateFrontendBadRequest) IsCode(code int) bool
IsCode returns true when this create frontend bad request response a status code equal to that given
func (*CreateFrontendBadRequest) IsRedirect ¶ added in v1.1.0
func (o *CreateFrontendBadRequest) IsRedirect() bool
IsRedirect returns true when this create frontend bad request response has a 3xx status code
func (*CreateFrontendBadRequest) IsServerError ¶ added in v1.1.0
func (o *CreateFrontendBadRequest) IsServerError() bool
IsServerError returns true when this create frontend bad request response has a 5xx status code
func (*CreateFrontendBadRequest) IsSuccess ¶ added in v1.1.0
func (o *CreateFrontendBadRequest) IsSuccess() bool
IsSuccess returns true when this create frontend bad request response has a 2xx status code
func (*CreateFrontendBadRequest) String ¶ added in v1.1.0
func (o *CreateFrontendBadRequest) String() string
type CreateFrontendConflict ¶
type CreateFrontendConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateFrontendConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateFrontendConflict ¶
func NewCreateFrontendConflict() *CreateFrontendConflict
NewCreateFrontendConflict creates a CreateFrontendConflict with default headers values
func (*CreateFrontendConflict) Code ¶ added in v1.1.5
func (o *CreateFrontendConflict) Code() int
Code gets the status code for the create frontend conflict response
func (*CreateFrontendConflict) Error ¶
func (o *CreateFrontendConflict) Error() string
func (*CreateFrontendConflict) GetPayload ¶
func (o *CreateFrontendConflict) GetPayload() *models.Error
func (*CreateFrontendConflict) IsClientError ¶ added in v1.1.0
func (o *CreateFrontendConflict) IsClientError() bool
IsClientError returns true when this create frontend conflict response has a 4xx status code
func (*CreateFrontendConflict) IsCode ¶ added in v1.1.0
func (o *CreateFrontendConflict) IsCode(code int) bool
IsCode returns true when this create frontend conflict response a status code equal to that given
func (*CreateFrontendConflict) IsRedirect ¶ added in v1.1.0
func (o *CreateFrontendConflict) IsRedirect() bool
IsRedirect returns true when this create frontend conflict response has a 3xx status code
func (*CreateFrontendConflict) IsServerError ¶ added in v1.1.0
func (o *CreateFrontendConflict) IsServerError() bool
IsServerError returns true when this create frontend conflict response has a 5xx status code
func (*CreateFrontendConflict) IsSuccess ¶ added in v1.1.0
func (o *CreateFrontendConflict) IsSuccess() bool
IsSuccess returns true when this create frontend conflict response has a 2xx status code
func (*CreateFrontendConflict) String ¶ added in v1.1.0
func (o *CreateFrontendConflict) String() string
type CreateFrontendCreated ¶
CreateFrontendCreated describes a response with status code 201, with default header values.
Frontend created
func NewCreateFrontendCreated ¶
func NewCreateFrontendCreated() *CreateFrontendCreated
NewCreateFrontendCreated creates a CreateFrontendCreated with default headers values
func (*CreateFrontendCreated) Code ¶ added in v1.1.5
func (o *CreateFrontendCreated) Code() int
Code gets the status code for the create frontend created response
func (*CreateFrontendCreated) Error ¶
func (o *CreateFrontendCreated) Error() string
func (*CreateFrontendCreated) GetPayload ¶
func (o *CreateFrontendCreated) GetPayload() *models.Frontend
func (*CreateFrontendCreated) IsClientError ¶ added in v1.1.0
func (o *CreateFrontendCreated) IsClientError() bool
IsClientError returns true when this create frontend created response has a 4xx status code
func (*CreateFrontendCreated) IsCode ¶ added in v1.1.0
func (o *CreateFrontendCreated) IsCode(code int) bool
IsCode returns true when this create frontend created response a status code equal to that given
func (*CreateFrontendCreated) IsRedirect ¶ added in v1.1.0
func (o *CreateFrontendCreated) IsRedirect() bool
IsRedirect returns true when this create frontend created response has a 3xx status code
func (*CreateFrontendCreated) IsServerError ¶ added in v1.1.0
func (o *CreateFrontendCreated) IsServerError() bool
IsServerError returns true when this create frontend created response has a 5xx status code
func (*CreateFrontendCreated) IsSuccess ¶ added in v1.1.0
func (o *CreateFrontendCreated) IsSuccess() bool
IsSuccess returns true when this create frontend created response has a 2xx status code
func (*CreateFrontendCreated) String ¶ added in v1.1.0
func (o *CreateFrontendCreated) String() string
type CreateFrontendDefault ¶
type CreateFrontendDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateFrontendDefault describes a response with status code -1, with default header values.
General Error
func NewCreateFrontendDefault ¶
func NewCreateFrontendDefault(code int) *CreateFrontendDefault
NewCreateFrontendDefault creates a CreateFrontendDefault with default headers values
func (*CreateFrontendDefault) Code ¶
func (o *CreateFrontendDefault) Code() int
Code gets the status code for the create frontend default response
func (*CreateFrontendDefault) Error ¶
func (o *CreateFrontendDefault) Error() string
func (*CreateFrontendDefault) GetPayload ¶
func (o *CreateFrontendDefault) GetPayload() *models.Error
func (*CreateFrontendDefault) IsClientError ¶ added in v1.1.0
func (o *CreateFrontendDefault) IsClientError() bool
IsClientError returns true when this create frontend default response has a 4xx status code
func (*CreateFrontendDefault) IsCode ¶ added in v1.1.0
func (o *CreateFrontendDefault) IsCode(code int) bool
IsCode returns true when this create frontend default response a status code equal to that given
func (*CreateFrontendDefault) IsRedirect ¶ added in v1.1.0
func (o *CreateFrontendDefault) IsRedirect() bool
IsRedirect returns true when this create frontend default response has a 3xx status code
func (*CreateFrontendDefault) IsServerError ¶ added in v1.1.0
func (o *CreateFrontendDefault) IsServerError() bool
IsServerError returns true when this create frontend default response has a 5xx status code
func (*CreateFrontendDefault) IsSuccess ¶ added in v1.1.0
func (o *CreateFrontendDefault) IsSuccess() bool
IsSuccess returns true when this create frontend default response has a 2xx status code
func (*CreateFrontendDefault) String ¶ added in v1.1.0
func (o *CreateFrontendDefault) String() string
type CreateFrontendParams ¶
type CreateFrontendParams struct { // Data. Data *models.Frontend /* 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 }
CreateFrontendParams contains all the parameters to send to the API endpoint
for the create frontend operation. Typically these are written to a http.Request.
func NewCreateFrontendParams ¶
func NewCreateFrontendParams() *CreateFrontendParams
NewCreateFrontendParams creates a new CreateFrontendParams 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 NewCreateFrontendParamsWithContext ¶
func NewCreateFrontendParamsWithContext(ctx context.Context) *CreateFrontendParams
NewCreateFrontendParamsWithContext creates a new CreateFrontendParams object with the ability to set a context for a request.
func NewCreateFrontendParamsWithHTTPClient ¶
func NewCreateFrontendParamsWithHTTPClient(client *http.Client) *CreateFrontendParams
NewCreateFrontendParamsWithHTTPClient creates a new CreateFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFrontendParamsWithTimeout ¶
func NewCreateFrontendParamsWithTimeout(timeout time.Duration) *CreateFrontendParams
NewCreateFrontendParamsWithTimeout creates a new CreateFrontendParams object with the ability to set a timeout on a request.
func (*CreateFrontendParams) SetContext ¶
func (o *CreateFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the create frontend params
func (*CreateFrontendParams) SetData ¶
func (o *CreateFrontendParams) SetData(data *models.Frontend)
SetData adds the data to the create frontend params
func (*CreateFrontendParams) SetDefaults ¶
func (o *CreateFrontendParams) SetDefaults()
SetDefaults hydrates default values in the create frontend params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFrontendParams) SetForceReload ¶
func (o *CreateFrontendParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create frontend params
func (*CreateFrontendParams) SetHTTPClient ¶
func (o *CreateFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create frontend params
func (*CreateFrontendParams) SetTimeout ¶
func (o *CreateFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create frontend params
func (*CreateFrontendParams) SetTransactionID ¶
func (o *CreateFrontendParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create frontend params
func (*CreateFrontendParams) SetVersion ¶
func (o *CreateFrontendParams) SetVersion(version *int64)
SetVersion adds the version to the create frontend params
func (*CreateFrontendParams) WithContext ¶
func (o *CreateFrontendParams) WithContext(ctx context.Context) *CreateFrontendParams
WithContext adds the context to the create frontend params
func (*CreateFrontendParams) WithData ¶
func (o *CreateFrontendParams) WithData(data *models.Frontend) *CreateFrontendParams
WithData adds the data to the create frontend params
func (*CreateFrontendParams) WithDefaults ¶
func (o *CreateFrontendParams) WithDefaults() *CreateFrontendParams
WithDefaults hydrates default values in the create frontend params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFrontendParams) WithForceReload ¶
func (o *CreateFrontendParams) WithForceReload(forceReload *bool) *CreateFrontendParams
WithForceReload adds the forceReload to the create frontend params
func (*CreateFrontendParams) WithHTTPClient ¶
func (o *CreateFrontendParams) WithHTTPClient(client *http.Client) *CreateFrontendParams
WithHTTPClient adds the HTTPClient to the create frontend params
func (*CreateFrontendParams) WithTimeout ¶
func (o *CreateFrontendParams) WithTimeout(timeout time.Duration) *CreateFrontendParams
WithTimeout adds the timeout to the create frontend params
func (*CreateFrontendParams) WithTransactionID ¶
func (o *CreateFrontendParams) WithTransactionID(transactionID *string) *CreateFrontendParams
WithTransactionID adds the transactionID to the create frontend params
func (*CreateFrontendParams) WithVersion ¶
func (o *CreateFrontendParams) WithVersion(version *int64) *CreateFrontendParams
WithVersion adds the version to the create frontend params
func (*CreateFrontendParams) WriteToRequest ¶
func (o *CreateFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFrontendReader ¶
type CreateFrontendReader struct {
// contains filtered or unexported fields
}
CreateFrontendReader is a Reader for the CreateFrontend structure.
func (*CreateFrontendReader) ReadResponse ¶
func (o *CreateFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFrontendAccepted ¶
type DeleteFrontendAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteFrontendAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteFrontendAccepted ¶
func NewDeleteFrontendAccepted() *DeleteFrontendAccepted
NewDeleteFrontendAccepted creates a DeleteFrontendAccepted with default headers values
func (*DeleteFrontendAccepted) Code ¶ added in v1.1.5
func (o *DeleteFrontendAccepted) Code() int
Code gets the status code for the delete frontend accepted response
func (*DeleteFrontendAccepted) Error ¶
func (o *DeleteFrontendAccepted) Error() string
func (*DeleteFrontendAccepted) IsClientError ¶ added in v1.1.0
func (o *DeleteFrontendAccepted) IsClientError() bool
IsClientError returns true when this delete frontend accepted response has a 4xx status code
func (*DeleteFrontendAccepted) IsCode ¶ added in v1.1.0
func (o *DeleteFrontendAccepted) IsCode(code int) bool
IsCode returns true when this delete frontend accepted response a status code equal to that given
func (*DeleteFrontendAccepted) IsRedirect ¶ added in v1.1.0
func (o *DeleteFrontendAccepted) IsRedirect() bool
IsRedirect returns true when this delete frontend accepted response has a 3xx status code
func (*DeleteFrontendAccepted) IsServerError ¶ added in v1.1.0
func (o *DeleteFrontendAccepted) IsServerError() bool
IsServerError returns true when this delete frontend accepted response has a 5xx status code
func (*DeleteFrontendAccepted) IsSuccess ¶ added in v1.1.0
func (o *DeleteFrontendAccepted) IsSuccess() bool
IsSuccess returns true when this delete frontend accepted response has a 2xx status code
func (*DeleteFrontendAccepted) String ¶ added in v1.1.0
func (o *DeleteFrontendAccepted) String() string
type DeleteFrontendDefault ¶
type DeleteFrontendDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteFrontendDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteFrontendDefault ¶
func NewDeleteFrontendDefault(code int) *DeleteFrontendDefault
NewDeleteFrontendDefault creates a DeleteFrontendDefault with default headers values
func (*DeleteFrontendDefault) Code ¶
func (o *DeleteFrontendDefault) Code() int
Code gets the status code for the delete frontend default response
func (*DeleteFrontendDefault) Error ¶
func (o *DeleteFrontendDefault) Error() string
func (*DeleteFrontendDefault) GetPayload ¶
func (o *DeleteFrontendDefault) GetPayload() *models.Error
func (*DeleteFrontendDefault) IsClientError ¶ added in v1.1.0
func (o *DeleteFrontendDefault) IsClientError() bool
IsClientError returns true when this delete frontend default response has a 4xx status code
func (*DeleteFrontendDefault) IsCode ¶ added in v1.1.0
func (o *DeleteFrontendDefault) IsCode(code int) bool
IsCode returns true when this delete frontend default response a status code equal to that given
func (*DeleteFrontendDefault) IsRedirect ¶ added in v1.1.0
func (o *DeleteFrontendDefault) IsRedirect() bool
IsRedirect returns true when this delete frontend default response has a 3xx status code
func (*DeleteFrontendDefault) IsServerError ¶ added in v1.1.0
func (o *DeleteFrontendDefault) IsServerError() bool
IsServerError returns true when this delete frontend default response has a 5xx status code
func (*DeleteFrontendDefault) IsSuccess ¶ added in v1.1.0
func (o *DeleteFrontendDefault) IsSuccess() bool
IsSuccess returns true when this delete frontend default response has a 2xx status code
func (*DeleteFrontendDefault) String ¶ added in v1.1.0
func (o *DeleteFrontendDefault) String() string
type DeleteFrontendNoContent ¶
type DeleteFrontendNoContent struct { }
DeleteFrontendNoContent describes a response with status code 204, with default header values.
Frontend deleted
func NewDeleteFrontendNoContent ¶
func NewDeleteFrontendNoContent() *DeleteFrontendNoContent
NewDeleteFrontendNoContent creates a DeleteFrontendNoContent with default headers values
func (*DeleteFrontendNoContent) Code ¶ added in v1.1.5
func (o *DeleteFrontendNoContent) Code() int
Code gets the status code for the delete frontend no content response
func (*DeleteFrontendNoContent) Error ¶
func (o *DeleteFrontendNoContent) Error() string
func (*DeleteFrontendNoContent) IsClientError ¶ added in v1.1.0
func (o *DeleteFrontendNoContent) IsClientError() bool
IsClientError returns true when this delete frontend no content response has a 4xx status code
func (*DeleteFrontendNoContent) IsCode ¶ added in v1.1.0
func (o *DeleteFrontendNoContent) IsCode(code int) bool
IsCode returns true when this delete frontend no content response a status code equal to that given
func (*DeleteFrontendNoContent) IsRedirect ¶ added in v1.1.0
func (o *DeleteFrontendNoContent) IsRedirect() bool
IsRedirect returns true when this delete frontend no content response has a 3xx status code
func (*DeleteFrontendNoContent) IsServerError ¶ added in v1.1.0
func (o *DeleteFrontendNoContent) IsServerError() bool
IsServerError returns true when this delete frontend no content response has a 5xx status code
func (*DeleteFrontendNoContent) IsSuccess ¶ added in v1.1.0
func (o *DeleteFrontendNoContent) IsSuccess() bool
IsSuccess returns true when this delete frontend no content response has a 2xx status code
func (*DeleteFrontendNoContent) String ¶ added in v1.1.0
func (o *DeleteFrontendNoContent) String() string
type DeleteFrontendNotFound ¶
type DeleteFrontendNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteFrontendNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteFrontendNotFound ¶
func NewDeleteFrontendNotFound() *DeleteFrontendNotFound
NewDeleteFrontendNotFound creates a DeleteFrontendNotFound with default headers values
func (*DeleteFrontendNotFound) Code ¶ added in v1.1.5
func (o *DeleteFrontendNotFound) Code() int
Code gets the status code for the delete frontend not found response
func (*DeleteFrontendNotFound) Error ¶
func (o *DeleteFrontendNotFound) Error() string
func (*DeleteFrontendNotFound) GetPayload ¶
func (o *DeleteFrontendNotFound) GetPayload() *models.Error
func (*DeleteFrontendNotFound) IsClientError ¶ added in v1.1.0
func (o *DeleteFrontendNotFound) IsClientError() bool
IsClientError returns true when this delete frontend not found response has a 4xx status code
func (*DeleteFrontendNotFound) IsCode ¶ added in v1.1.0
func (o *DeleteFrontendNotFound) IsCode(code int) bool
IsCode returns true when this delete frontend not found response a status code equal to that given
func (*DeleteFrontendNotFound) IsRedirect ¶ added in v1.1.0
func (o *DeleteFrontendNotFound) IsRedirect() bool
IsRedirect returns true when this delete frontend not found response has a 3xx status code
func (*DeleteFrontendNotFound) IsServerError ¶ added in v1.1.0
func (o *DeleteFrontendNotFound) IsServerError() bool
IsServerError returns true when this delete frontend not found response has a 5xx status code
func (*DeleteFrontendNotFound) IsSuccess ¶ added in v1.1.0
func (o *DeleteFrontendNotFound) IsSuccess() bool
IsSuccess returns true when this delete frontend not found response has a 2xx status code
func (*DeleteFrontendNotFound) String ¶ added in v1.1.0
func (o *DeleteFrontendNotFound) String() string
type DeleteFrontendParams ¶
type DeleteFrontendParams 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. Frontend 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 }
DeleteFrontendParams contains all the parameters to send to the API endpoint
for the delete frontend operation. Typically these are written to a http.Request.
func NewDeleteFrontendParams ¶
func NewDeleteFrontendParams() *DeleteFrontendParams
NewDeleteFrontendParams creates a new DeleteFrontendParams 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 NewDeleteFrontendParamsWithContext ¶
func NewDeleteFrontendParamsWithContext(ctx context.Context) *DeleteFrontendParams
NewDeleteFrontendParamsWithContext creates a new DeleteFrontendParams object with the ability to set a context for a request.
func NewDeleteFrontendParamsWithHTTPClient ¶
func NewDeleteFrontendParamsWithHTTPClient(client *http.Client) *DeleteFrontendParams
NewDeleteFrontendParamsWithHTTPClient creates a new DeleteFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteFrontendParamsWithTimeout ¶
func NewDeleteFrontendParamsWithTimeout(timeout time.Duration) *DeleteFrontendParams
NewDeleteFrontendParamsWithTimeout creates a new DeleteFrontendParams object with the ability to set a timeout on a request.
func (*DeleteFrontendParams) SetContext ¶
func (o *DeleteFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the delete frontend params
func (*DeleteFrontendParams) SetDefaults ¶
func (o *DeleteFrontendParams) SetDefaults()
SetDefaults hydrates default values in the delete frontend params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFrontendParams) SetForceReload ¶
func (o *DeleteFrontendParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete frontend params
func (*DeleteFrontendParams) SetHTTPClient ¶
func (o *DeleteFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete frontend params
func (*DeleteFrontendParams) SetName ¶
func (o *DeleteFrontendParams) SetName(name string)
SetName adds the name to the delete frontend params
func (*DeleteFrontendParams) SetTimeout ¶
func (o *DeleteFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete frontend params
func (*DeleteFrontendParams) SetTransactionID ¶
func (o *DeleteFrontendParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete frontend params
func (*DeleteFrontendParams) SetVersion ¶
func (o *DeleteFrontendParams) SetVersion(version *int64)
SetVersion adds the version to the delete frontend params
func (*DeleteFrontendParams) WithContext ¶
func (o *DeleteFrontendParams) WithContext(ctx context.Context) *DeleteFrontendParams
WithContext adds the context to the delete frontend params
func (*DeleteFrontendParams) WithDefaults ¶
func (o *DeleteFrontendParams) WithDefaults() *DeleteFrontendParams
WithDefaults hydrates default values in the delete frontend params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFrontendParams) WithForceReload ¶
func (o *DeleteFrontendParams) WithForceReload(forceReload *bool) *DeleteFrontendParams
WithForceReload adds the forceReload to the delete frontend params
func (*DeleteFrontendParams) WithHTTPClient ¶
func (o *DeleteFrontendParams) WithHTTPClient(client *http.Client) *DeleteFrontendParams
WithHTTPClient adds the HTTPClient to the delete frontend params
func (*DeleteFrontendParams) WithName ¶
func (o *DeleteFrontendParams) WithName(name string) *DeleteFrontendParams
WithName adds the name to the delete frontend params
func (*DeleteFrontendParams) WithTimeout ¶
func (o *DeleteFrontendParams) WithTimeout(timeout time.Duration) *DeleteFrontendParams
WithTimeout adds the timeout to the delete frontend params
func (*DeleteFrontendParams) WithTransactionID ¶
func (o *DeleteFrontendParams) WithTransactionID(transactionID *string) *DeleteFrontendParams
WithTransactionID adds the transactionID to the delete frontend params
func (*DeleteFrontendParams) WithVersion ¶
func (o *DeleteFrontendParams) WithVersion(version *int64) *DeleteFrontendParams
WithVersion adds the version to the delete frontend params
func (*DeleteFrontendParams) WriteToRequest ¶
func (o *DeleteFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFrontendReader ¶
type DeleteFrontendReader struct {
// contains filtered or unexported fields
}
DeleteFrontendReader is a Reader for the DeleteFrontend structure.
func (*DeleteFrontendReader) ReadResponse ¶
func (o *DeleteFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFrontendDefault ¶
type GetFrontendDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetFrontendDefault describes a response with status code -1, with default header values.
General Error
func NewGetFrontendDefault ¶
func NewGetFrontendDefault(code int) *GetFrontendDefault
NewGetFrontendDefault creates a GetFrontendDefault with default headers values
func (*GetFrontendDefault) Code ¶
func (o *GetFrontendDefault) Code() int
Code gets the status code for the get frontend default response
func (*GetFrontendDefault) Error ¶
func (o *GetFrontendDefault) Error() string
func (*GetFrontendDefault) GetPayload ¶
func (o *GetFrontendDefault) GetPayload() *models.Error
func (*GetFrontendDefault) IsClientError ¶ added in v1.1.0
func (o *GetFrontendDefault) IsClientError() bool
IsClientError returns true when this get frontend default response has a 4xx status code
func (*GetFrontendDefault) IsCode ¶ added in v1.1.0
func (o *GetFrontendDefault) IsCode(code int) bool
IsCode returns true when this get frontend default response a status code equal to that given
func (*GetFrontendDefault) IsRedirect ¶ added in v1.1.0
func (o *GetFrontendDefault) IsRedirect() bool
IsRedirect returns true when this get frontend default response has a 3xx status code
func (*GetFrontendDefault) IsServerError ¶ added in v1.1.0
func (o *GetFrontendDefault) IsServerError() bool
IsServerError returns true when this get frontend default response has a 5xx status code
func (*GetFrontendDefault) IsSuccess ¶ added in v1.1.0
func (o *GetFrontendDefault) IsSuccess() bool
IsSuccess returns true when this get frontend default response has a 2xx status code
func (*GetFrontendDefault) String ¶ added in v1.1.0
func (o *GetFrontendDefault) String() string
type GetFrontendNotFound ¶
type GetFrontendNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetFrontendNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewGetFrontendNotFound ¶
func NewGetFrontendNotFound() *GetFrontendNotFound
NewGetFrontendNotFound creates a GetFrontendNotFound with default headers values
func (*GetFrontendNotFound) Code ¶ added in v1.1.5
func (o *GetFrontendNotFound) Code() int
Code gets the status code for the get frontend not found response
func (*GetFrontendNotFound) Error ¶
func (o *GetFrontendNotFound) Error() string
func (*GetFrontendNotFound) GetPayload ¶
func (o *GetFrontendNotFound) GetPayload() *models.Error
func (*GetFrontendNotFound) IsClientError ¶ added in v1.1.0
func (o *GetFrontendNotFound) IsClientError() bool
IsClientError returns true when this get frontend not found response has a 4xx status code
func (*GetFrontendNotFound) IsCode ¶ added in v1.1.0
func (o *GetFrontendNotFound) IsCode(code int) bool
IsCode returns true when this get frontend not found response a status code equal to that given
func (*GetFrontendNotFound) IsRedirect ¶ added in v1.1.0
func (o *GetFrontendNotFound) IsRedirect() bool
IsRedirect returns true when this get frontend not found response has a 3xx status code
func (*GetFrontendNotFound) IsServerError ¶ added in v1.1.0
func (o *GetFrontendNotFound) IsServerError() bool
IsServerError returns true when this get frontend not found response has a 5xx status code
func (*GetFrontendNotFound) IsSuccess ¶ added in v1.1.0
func (o *GetFrontendNotFound) IsSuccess() bool
IsSuccess returns true when this get frontend not found response has a 2xx status code
func (*GetFrontendNotFound) String ¶ added in v1.1.0
func (o *GetFrontendNotFound) String() string
type GetFrontendOK ¶
type GetFrontendOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetFrontendOKBody }
GetFrontendOK describes a response with status code 200, with default header values.
Successful operation
func NewGetFrontendOK ¶
func NewGetFrontendOK() *GetFrontendOK
NewGetFrontendOK creates a GetFrontendOK with default headers values
func (*GetFrontendOK) Code ¶ added in v1.1.5
func (o *GetFrontendOK) Code() int
Code gets the status code for the get frontend o k response
func (*GetFrontendOK) Error ¶
func (o *GetFrontendOK) Error() string
func (*GetFrontendOK) GetPayload ¶
func (o *GetFrontendOK) GetPayload() *GetFrontendOKBody
func (*GetFrontendOK) IsClientError ¶ added in v1.1.0
func (o *GetFrontendOK) IsClientError() bool
IsClientError returns true when this get frontend o k response has a 4xx status code
func (*GetFrontendOK) IsCode ¶ added in v1.1.0
func (o *GetFrontendOK) IsCode(code int) bool
IsCode returns true when this get frontend o k response a status code equal to that given
func (*GetFrontendOK) IsRedirect ¶ added in v1.1.0
func (o *GetFrontendOK) IsRedirect() bool
IsRedirect returns true when this get frontend o k response has a 3xx status code
func (*GetFrontendOK) IsServerError ¶ added in v1.1.0
func (o *GetFrontendOK) IsServerError() bool
IsServerError returns true when this get frontend o k response has a 5xx status code
func (*GetFrontendOK) IsSuccess ¶ added in v1.1.0
func (o *GetFrontendOK) IsSuccess() bool
IsSuccess returns true when this get frontend o k response has a 2xx status code
func (*GetFrontendOK) String ¶ added in v1.1.0
func (o *GetFrontendOK) String() string
type GetFrontendOKBody ¶
type GetFrontendOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Frontend `json:"data,omitempty"` }
GetFrontendOKBody get frontend o k body swagger:model GetFrontendOKBody
func (*GetFrontendOKBody) ContextValidate ¶
ContextValidate validate this get frontend o k body based on the context it is used
func (*GetFrontendOKBody) MarshalBinary ¶
func (o *GetFrontendOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFrontendOKBody) UnmarshalBinary ¶
func (o *GetFrontendOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetFrontendParams ¶
type GetFrontendParams struct { /* Name. Frontend 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 }
GetFrontendParams contains all the parameters to send to the API endpoint
for the get frontend operation. Typically these are written to a http.Request.
func NewGetFrontendParams ¶
func NewGetFrontendParams() *GetFrontendParams
NewGetFrontendParams creates a new GetFrontendParams 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 NewGetFrontendParamsWithContext ¶
func NewGetFrontendParamsWithContext(ctx context.Context) *GetFrontendParams
NewGetFrontendParamsWithContext creates a new GetFrontendParams object with the ability to set a context for a request.
func NewGetFrontendParamsWithHTTPClient ¶
func NewGetFrontendParamsWithHTTPClient(client *http.Client) *GetFrontendParams
NewGetFrontendParamsWithHTTPClient creates a new GetFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewGetFrontendParamsWithTimeout ¶
func NewGetFrontendParamsWithTimeout(timeout time.Duration) *GetFrontendParams
NewGetFrontendParamsWithTimeout creates a new GetFrontendParams object with the ability to set a timeout on a request.
func (*GetFrontendParams) SetContext ¶
func (o *GetFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the get frontend params
func (*GetFrontendParams) SetDefaults ¶
func (o *GetFrontendParams) SetDefaults()
SetDefaults hydrates default values in the get frontend params (not the query body).
All values with no default are reset to their zero value.
func (*GetFrontendParams) SetHTTPClient ¶
func (o *GetFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get frontend params
func (*GetFrontendParams) SetName ¶
func (o *GetFrontendParams) SetName(name string)
SetName adds the name to the get frontend params
func (*GetFrontendParams) SetTimeout ¶
func (o *GetFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get frontend params
func (*GetFrontendParams) SetTransactionID ¶
func (o *GetFrontendParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get frontend params
func (*GetFrontendParams) WithContext ¶
func (o *GetFrontendParams) WithContext(ctx context.Context) *GetFrontendParams
WithContext adds the context to the get frontend params
func (*GetFrontendParams) WithDefaults ¶
func (o *GetFrontendParams) WithDefaults() *GetFrontendParams
WithDefaults hydrates default values in the get frontend params (not the query body).
All values with no default are reset to their zero value.
func (*GetFrontendParams) WithHTTPClient ¶
func (o *GetFrontendParams) WithHTTPClient(client *http.Client) *GetFrontendParams
WithHTTPClient adds the HTTPClient to the get frontend params
func (*GetFrontendParams) WithName ¶
func (o *GetFrontendParams) WithName(name string) *GetFrontendParams
WithName adds the name to the get frontend params
func (*GetFrontendParams) WithTimeout ¶
func (o *GetFrontendParams) WithTimeout(timeout time.Duration) *GetFrontendParams
WithTimeout adds the timeout to the get frontend params
func (*GetFrontendParams) WithTransactionID ¶
func (o *GetFrontendParams) WithTransactionID(transactionID *string) *GetFrontendParams
WithTransactionID adds the transactionID to the get frontend params
func (*GetFrontendParams) WriteToRequest ¶
func (o *GetFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFrontendReader ¶
type GetFrontendReader struct {
// contains filtered or unexported fields
}
GetFrontendReader is a Reader for the GetFrontend structure.
func (*GetFrontendReader) ReadResponse ¶
func (o *GetFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFrontendsDefault ¶
type GetFrontendsDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetFrontendsDefault describes a response with status code -1, with default header values.
General Error
func NewGetFrontendsDefault ¶
func NewGetFrontendsDefault(code int) *GetFrontendsDefault
NewGetFrontendsDefault creates a GetFrontendsDefault with default headers values
func (*GetFrontendsDefault) Code ¶
func (o *GetFrontendsDefault) Code() int
Code gets the status code for the get frontends default response
func (*GetFrontendsDefault) Error ¶
func (o *GetFrontendsDefault) Error() string
func (*GetFrontendsDefault) GetPayload ¶
func (o *GetFrontendsDefault) GetPayload() *models.Error
func (*GetFrontendsDefault) IsClientError ¶ added in v1.1.0
func (o *GetFrontendsDefault) IsClientError() bool
IsClientError returns true when this get frontends default response has a 4xx status code
func (*GetFrontendsDefault) IsCode ¶ added in v1.1.0
func (o *GetFrontendsDefault) IsCode(code int) bool
IsCode returns true when this get frontends default response a status code equal to that given
func (*GetFrontendsDefault) IsRedirect ¶ added in v1.1.0
func (o *GetFrontendsDefault) IsRedirect() bool
IsRedirect returns true when this get frontends default response has a 3xx status code
func (*GetFrontendsDefault) IsServerError ¶ added in v1.1.0
func (o *GetFrontendsDefault) IsServerError() bool
IsServerError returns true when this get frontends default response has a 5xx status code
func (*GetFrontendsDefault) IsSuccess ¶ added in v1.1.0
func (o *GetFrontendsDefault) IsSuccess() bool
IsSuccess returns true when this get frontends default response has a 2xx status code
func (*GetFrontendsDefault) String ¶ added in v1.1.0
func (o *GetFrontendsDefault) String() string
type GetFrontendsOK ¶
type GetFrontendsOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetFrontendsOKBody }
GetFrontendsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetFrontendsOK ¶
func NewGetFrontendsOK() *GetFrontendsOK
NewGetFrontendsOK creates a GetFrontendsOK with default headers values
func (*GetFrontendsOK) Code ¶ added in v1.1.5
func (o *GetFrontendsOK) Code() int
Code gets the status code for the get frontends o k response
func (*GetFrontendsOK) Error ¶
func (o *GetFrontendsOK) Error() string
func (*GetFrontendsOK) GetPayload ¶
func (o *GetFrontendsOK) GetPayload() *GetFrontendsOKBody
func (*GetFrontendsOK) IsClientError ¶ added in v1.1.0
func (o *GetFrontendsOK) IsClientError() bool
IsClientError returns true when this get frontends o k response has a 4xx status code
func (*GetFrontendsOK) IsCode ¶ added in v1.1.0
func (o *GetFrontendsOK) IsCode(code int) bool
IsCode returns true when this get frontends o k response a status code equal to that given
func (*GetFrontendsOK) IsRedirect ¶ added in v1.1.0
func (o *GetFrontendsOK) IsRedirect() bool
IsRedirect returns true when this get frontends o k response has a 3xx status code
func (*GetFrontendsOK) IsServerError ¶ added in v1.1.0
func (o *GetFrontendsOK) IsServerError() bool
IsServerError returns true when this get frontends o k response has a 5xx status code
func (*GetFrontendsOK) IsSuccess ¶ added in v1.1.0
func (o *GetFrontendsOK) IsSuccess() bool
IsSuccess returns true when this get frontends o k response has a 2xx status code
func (*GetFrontendsOK) String ¶ added in v1.1.0
func (o *GetFrontendsOK) String() string
type GetFrontendsOKBody ¶
type GetFrontendsOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.Frontends `json:"data"` }
GetFrontendsOKBody get frontends o k body swagger:model GetFrontendsOKBody
func (*GetFrontendsOKBody) ContextValidate ¶
ContextValidate validate this get frontends o k body based on the context it is used
func (*GetFrontendsOKBody) MarshalBinary ¶
func (o *GetFrontendsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetFrontendsOKBody) UnmarshalBinary ¶
func (o *GetFrontendsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetFrontendsParams ¶
type GetFrontendsParams 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 }
GetFrontendsParams contains all the parameters to send to the API endpoint
for the get frontends operation. Typically these are written to a http.Request.
func NewGetFrontendsParams ¶
func NewGetFrontendsParams() *GetFrontendsParams
NewGetFrontendsParams creates a new GetFrontendsParams 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 NewGetFrontendsParamsWithContext ¶
func NewGetFrontendsParamsWithContext(ctx context.Context) *GetFrontendsParams
NewGetFrontendsParamsWithContext creates a new GetFrontendsParams object with the ability to set a context for a request.
func NewGetFrontendsParamsWithHTTPClient ¶
func NewGetFrontendsParamsWithHTTPClient(client *http.Client) *GetFrontendsParams
NewGetFrontendsParamsWithHTTPClient creates a new GetFrontendsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFrontendsParamsWithTimeout ¶
func NewGetFrontendsParamsWithTimeout(timeout time.Duration) *GetFrontendsParams
NewGetFrontendsParamsWithTimeout creates a new GetFrontendsParams object with the ability to set a timeout on a request.
func (*GetFrontendsParams) SetContext ¶
func (o *GetFrontendsParams) SetContext(ctx context.Context)
SetContext adds the context to the get frontends params
func (*GetFrontendsParams) SetDefaults ¶
func (o *GetFrontendsParams) SetDefaults()
SetDefaults hydrates default values in the get frontends params (not the query body).
All values with no default are reset to their zero value.
func (*GetFrontendsParams) SetHTTPClient ¶
func (o *GetFrontendsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get frontends params
func (*GetFrontendsParams) SetTimeout ¶
func (o *GetFrontendsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get frontends params
func (*GetFrontendsParams) SetTransactionID ¶
func (o *GetFrontendsParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get frontends params
func (*GetFrontendsParams) WithContext ¶
func (o *GetFrontendsParams) WithContext(ctx context.Context) *GetFrontendsParams
WithContext adds the context to the get frontends params
func (*GetFrontendsParams) WithDefaults ¶
func (o *GetFrontendsParams) WithDefaults() *GetFrontendsParams
WithDefaults hydrates default values in the get frontends params (not the query body).
All values with no default are reset to their zero value.
func (*GetFrontendsParams) WithHTTPClient ¶
func (o *GetFrontendsParams) WithHTTPClient(client *http.Client) *GetFrontendsParams
WithHTTPClient adds the HTTPClient to the get frontends params
func (*GetFrontendsParams) WithTimeout ¶
func (o *GetFrontendsParams) WithTimeout(timeout time.Duration) *GetFrontendsParams
WithTimeout adds the timeout to the get frontends params
func (*GetFrontendsParams) WithTransactionID ¶
func (o *GetFrontendsParams) WithTransactionID(transactionID *string) *GetFrontendsParams
WithTransactionID adds the transactionID to the get frontends params
func (*GetFrontendsParams) WriteToRequest ¶
func (o *GetFrontendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFrontendsReader ¶
type GetFrontendsReader struct {
// contains filtered or unexported fields
}
GetFrontendsReader is a Reader for the GetFrontends structure.
func (*GetFrontendsReader) ReadResponse ¶
func (o *GetFrontendsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceFrontendAccepted ¶
type ReplaceFrontendAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Frontend }
ReplaceFrontendAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceFrontendAccepted ¶
func NewReplaceFrontendAccepted() *ReplaceFrontendAccepted
NewReplaceFrontendAccepted creates a ReplaceFrontendAccepted with default headers values
func (*ReplaceFrontendAccepted) Code ¶ added in v1.1.5
func (o *ReplaceFrontendAccepted) Code() int
Code gets the status code for the replace frontend accepted response
func (*ReplaceFrontendAccepted) Error ¶
func (o *ReplaceFrontendAccepted) Error() string
func (*ReplaceFrontendAccepted) GetPayload ¶
func (o *ReplaceFrontendAccepted) GetPayload() *models.Frontend
func (*ReplaceFrontendAccepted) IsClientError ¶ added in v1.1.0
func (o *ReplaceFrontendAccepted) IsClientError() bool
IsClientError returns true when this replace frontend accepted response has a 4xx status code
func (*ReplaceFrontendAccepted) IsCode ¶ added in v1.1.0
func (o *ReplaceFrontendAccepted) IsCode(code int) bool
IsCode returns true when this replace frontend accepted response a status code equal to that given
func (*ReplaceFrontendAccepted) IsRedirect ¶ added in v1.1.0
func (o *ReplaceFrontendAccepted) IsRedirect() bool
IsRedirect returns true when this replace frontend accepted response has a 3xx status code
func (*ReplaceFrontendAccepted) IsServerError ¶ added in v1.1.0
func (o *ReplaceFrontendAccepted) IsServerError() bool
IsServerError returns true when this replace frontend accepted response has a 5xx status code
func (*ReplaceFrontendAccepted) IsSuccess ¶ added in v1.1.0
func (o *ReplaceFrontendAccepted) IsSuccess() bool
IsSuccess returns true when this replace frontend accepted response has a 2xx status code
func (*ReplaceFrontendAccepted) String ¶ added in v1.1.0
func (o *ReplaceFrontendAccepted) String() string
type ReplaceFrontendBadRequest ¶
type ReplaceFrontendBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceFrontendBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceFrontendBadRequest ¶
func NewReplaceFrontendBadRequest() *ReplaceFrontendBadRequest
NewReplaceFrontendBadRequest creates a ReplaceFrontendBadRequest with default headers values
func (*ReplaceFrontendBadRequest) Code ¶ added in v1.1.5
func (o *ReplaceFrontendBadRequest) Code() int
Code gets the status code for the replace frontend bad request response
func (*ReplaceFrontendBadRequest) Error ¶
func (o *ReplaceFrontendBadRequest) Error() string
func (*ReplaceFrontendBadRequest) GetPayload ¶
func (o *ReplaceFrontendBadRequest) GetPayload() *models.Error
func (*ReplaceFrontendBadRequest) IsClientError ¶ added in v1.1.0
func (o *ReplaceFrontendBadRequest) IsClientError() bool
IsClientError returns true when this replace frontend bad request response has a 4xx status code
func (*ReplaceFrontendBadRequest) IsCode ¶ added in v1.1.0
func (o *ReplaceFrontendBadRequest) IsCode(code int) bool
IsCode returns true when this replace frontend bad request response a status code equal to that given
func (*ReplaceFrontendBadRequest) IsRedirect ¶ added in v1.1.0
func (o *ReplaceFrontendBadRequest) IsRedirect() bool
IsRedirect returns true when this replace frontend bad request response has a 3xx status code
func (*ReplaceFrontendBadRequest) IsServerError ¶ added in v1.1.0
func (o *ReplaceFrontendBadRequest) IsServerError() bool
IsServerError returns true when this replace frontend bad request response has a 5xx status code
func (*ReplaceFrontendBadRequest) IsSuccess ¶ added in v1.1.0
func (o *ReplaceFrontendBadRequest) IsSuccess() bool
IsSuccess returns true when this replace frontend bad request response has a 2xx status code
func (*ReplaceFrontendBadRequest) String ¶ added in v1.1.0
func (o *ReplaceFrontendBadRequest) String() string
type ReplaceFrontendDefault ¶
type ReplaceFrontendDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceFrontendDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceFrontendDefault ¶
func NewReplaceFrontendDefault(code int) *ReplaceFrontendDefault
NewReplaceFrontendDefault creates a ReplaceFrontendDefault with default headers values
func (*ReplaceFrontendDefault) Code ¶
func (o *ReplaceFrontendDefault) Code() int
Code gets the status code for the replace frontend default response
func (*ReplaceFrontendDefault) Error ¶
func (o *ReplaceFrontendDefault) Error() string
func (*ReplaceFrontendDefault) GetPayload ¶
func (o *ReplaceFrontendDefault) GetPayload() *models.Error
func (*ReplaceFrontendDefault) IsClientError ¶ added in v1.1.0
func (o *ReplaceFrontendDefault) IsClientError() bool
IsClientError returns true when this replace frontend default response has a 4xx status code
func (*ReplaceFrontendDefault) IsCode ¶ added in v1.1.0
func (o *ReplaceFrontendDefault) IsCode(code int) bool
IsCode returns true when this replace frontend default response a status code equal to that given
func (*ReplaceFrontendDefault) IsRedirect ¶ added in v1.1.0
func (o *ReplaceFrontendDefault) IsRedirect() bool
IsRedirect returns true when this replace frontend default response has a 3xx status code
func (*ReplaceFrontendDefault) IsServerError ¶ added in v1.1.0
func (o *ReplaceFrontendDefault) IsServerError() bool
IsServerError returns true when this replace frontend default response has a 5xx status code
func (*ReplaceFrontendDefault) IsSuccess ¶ added in v1.1.0
func (o *ReplaceFrontendDefault) IsSuccess() bool
IsSuccess returns true when this replace frontend default response has a 2xx status code
func (*ReplaceFrontendDefault) String ¶ added in v1.1.0
func (o *ReplaceFrontendDefault) String() string
type ReplaceFrontendNotFound ¶
type ReplaceFrontendNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceFrontendNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceFrontendNotFound ¶
func NewReplaceFrontendNotFound() *ReplaceFrontendNotFound
NewReplaceFrontendNotFound creates a ReplaceFrontendNotFound with default headers values
func (*ReplaceFrontendNotFound) Code ¶ added in v1.1.5
func (o *ReplaceFrontendNotFound) Code() int
Code gets the status code for the replace frontend not found response
func (*ReplaceFrontendNotFound) Error ¶
func (o *ReplaceFrontendNotFound) Error() string
func (*ReplaceFrontendNotFound) GetPayload ¶
func (o *ReplaceFrontendNotFound) GetPayload() *models.Error
func (*ReplaceFrontendNotFound) IsClientError ¶ added in v1.1.0
func (o *ReplaceFrontendNotFound) IsClientError() bool
IsClientError returns true when this replace frontend not found response has a 4xx status code
func (*ReplaceFrontendNotFound) IsCode ¶ added in v1.1.0
func (o *ReplaceFrontendNotFound) IsCode(code int) bool
IsCode returns true when this replace frontend not found response a status code equal to that given
func (*ReplaceFrontendNotFound) IsRedirect ¶ added in v1.1.0
func (o *ReplaceFrontendNotFound) IsRedirect() bool
IsRedirect returns true when this replace frontend not found response has a 3xx status code
func (*ReplaceFrontendNotFound) IsServerError ¶ added in v1.1.0
func (o *ReplaceFrontendNotFound) IsServerError() bool
IsServerError returns true when this replace frontend not found response has a 5xx status code
func (*ReplaceFrontendNotFound) IsSuccess ¶ added in v1.1.0
func (o *ReplaceFrontendNotFound) IsSuccess() bool
IsSuccess returns true when this replace frontend not found response has a 2xx status code
func (*ReplaceFrontendNotFound) String ¶ added in v1.1.0
func (o *ReplaceFrontendNotFound) String() string
type ReplaceFrontendOK ¶
ReplaceFrontendOK describes a response with status code 200, with default header values.
Frontend replaced
func NewReplaceFrontendOK ¶
func NewReplaceFrontendOK() *ReplaceFrontendOK
NewReplaceFrontendOK creates a ReplaceFrontendOK with default headers values
func (*ReplaceFrontendOK) Code ¶ added in v1.1.5
func (o *ReplaceFrontendOK) Code() int
Code gets the status code for the replace frontend o k response
func (*ReplaceFrontendOK) Error ¶
func (o *ReplaceFrontendOK) Error() string
func (*ReplaceFrontendOK) GetPayload ¶
func (o *ReplaceFrontendOK) GetPayload() *models.Frontend
func (*ReplaceFrontendOK) IsClientError ¶ added in v1.1.0
func (o *ReplaceFrontendOK) IsClientError() bool
IsClientError returns true when this replace frontend o k response has a 4xx status code
func (*ReplaceFrontendOK) IsCode ¶ added in v1.1.0
func (o *ReplaceFrontendOK) IsCode(code int) bool
IsCode returns true when this replace frontend o k response a status code equal to that given
func (*ReplaceFrontendOK) IsRedirect ¶ added in v1.1.0
func (o *ReplaceFrontendOK) IsRedirect() bool
IsRedirect returns true when this replace frontend o k response has a 3xx status code
func (*ReplaceFrontendOK) IsServerError ¶ added in v1.1.0
func (o *ReplaceFrontendOK) IsServerError() bool
IsServerError returns true when this replace frontend o k response has a 5xx status code
func (*ReplaceFrontendOK) IsSuccess ¶ added in v1.1.0
func (o *ReplaceFrontendOK) IsSuccess() bool
IsSuccess returns true when this replace frontend o k response has a 2xx status code
func (*ReplaceFrontendOK) String ¶ added in v1.1.0
func (o *ReplaceFrontendOK) String() string
type ReplaceFrontendParams ¶
type ReplaceFrontendParams struct { // Data. Data *models.Frontend /* 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. Frontend 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 }
ReplaceFrontendParams contains all the parameters to send to the API endpoint
for the replace frontend operation. Typically these are written to a http.Request.
func NewReplaceFrontendParams ¶
func NewReplaceFrontendParams() *ReplaceFrontendParams
NewReplaceFrontendParams creates a new ReplaceFrontendParams 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 NewReplaceFrontendParamsWithContext ¶
func NewReplaceFrontendParamsWithContext(ctx context.Context) *ReplaceFrontendParams
NewReplaceFrontendParamsWithContext creates a new ReplaceFrontendParams object with the ability to set a context for a request.
func NewReplaceFrontendParamsWithHTTPClient ¶
func NewReplaceFrontendParamsWithHTTPClient(client *http.Client) *ReplaceFrontendParams
NewReplaceFrontendParamsWithHTTPClient creates a new ReplaceFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceFrontendParamsWithTimeout ¶
func NewReplaceFrontendParamsWithTimeout(timeout time.Duration) *ReplaceFrontendParams
NewReplaceFrontendParamsWithTimeout creates a new ReplaceFrontendParams object with the ability to set a timeout on a request.
func (*ReplaceFrontendParams) SetContext ¶
func (o *ReplaceFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the replace frontend params
func (*ReplaceFrontendParams) SetData ¶
func (o *ReplaceFrontendParams) SetData(data *models.Frontend)
SetData adds the data to the replace frontend params
func (*ReplaceFrontendParams) SetDefaults ¶
func (o *ReplaceFrontendParams) SetDefaults()
SetDefaults hydrates default values in the replace frontend params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceFrontendParams) SetForceReload ¶
func (o *ReplaceFrontendParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace frontend params
func (*ReplaceFrontendParams) SetHTTPClient ¶
func (o *ReplaceFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace frontend params
func (*ReplaceFrontendParams) SetName ¶
func (o *ReplaceFrontendParams) SetName(name string)
SetName adds the name to the replace frontend params
func (*ReplaceFrontendParams) SetTimeout ¶
func (o *ReplaceFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace frontend params
func (*ReplaceFrontendParams) SetTransactionID ¶
func (o *ReplaceFrontendParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace frontend params
func (*ReplaceFrontendParams) SetVersion ¶
func (o *ReplaceFrontendParams) SetVersion(version *int64)
SetVersion adds the version to the replace frontend params
func (*ReplaceFrontendParams) WithContext ¶
func (o *ReplaceFrontendParams) WithContext(ctx context.Context) *ReplaceFrontendParams
WithContext adds the context to the replace frontend params
func (*ReplaceFrontendParams) WithData ¶
func (o *ReplaceFrontendParams) WithData(data *models.Frontend) *ReplaceFrontendParams
WithData adds the data to the replace frontend params
func (*ReplaceFrontendParams) WithDefaults ¶
func (o *ReplaceFrontendParams) WithDefaults() *ReplaceFrontendParams
WithDefaults hydrates default values in the replace frontend params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceFrontendParams) WithForceReload ¶
func (o *ReplaceFrontendParams) WithForceReload(forceReload *bool) *ReplaceFrontendParams
WithForceReload adds the forceReload to the replace frontend params
func (*ReplaceFrontendParams) WithHTTPClient ¶
func (o *ReplaceFrontendParams) WithHTTPClient(client *http.Client) *ReplaceFrontendParams
WithHTTPClient adds the HTTPClient to the replace frontend params
func (*ReplaceFrontendParams) WithName ¶
func (o *ReplaceFrontendParams) WithName(name string) *ReplaceFrontendParams
WithName adds the name to the replace frontend params
func (*ReplaceFrontendParams) WithTimeout ¶
func (o *ReplaceFrontendParams) WithTimeout(timeout time.Duration) *ReplaceFrontendParams
WithTimeout adds the timeout to the replace frontend params
func (*ReplaceFrontendParams) WithTransactionID ¶
func (o *ReplaceFrontendParams) WithTransactionID(transactionID *string) *ReplaceFrontendParams
WithTransactionID adds the transactionID to the replace frontend params
func (*ReplaceFrontendParams) WithVersion ¶
func (o *ReplaceFrontendParams) WithVersion(version *int64) *ReplaceFrontendParams
WithVersion adds the version to the replace frontend params
func (*ReplaceFrontendParams) WriteToRequest ¶
func (o *ReplaceFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceFrontendReader ¶
type ReplaceFrontendReader struct {
// contains filtered or unexported fields
}
ReplaceFrontendReader is a Reader for the ReplaceFrontend structure.
func (*ReplaceFrontendReader) ReadResponse ¶
func (o *ReplaceFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_frontend_parameters.go
- create_frontend_responses.go
- delete_frontend_parameters.go
- delete_frontend_responses.go
- frontend_client.go
- get_frontend_parameters.go
- get_frontend_responses.go
- get_frontends_parameters.go
- get_frontends_responses.go
- replace_frontend_parameters.go
- replace_frontend_responses.go