Documentation ¶
Index ¶
- type Client
- func (a *Client) Decisions(params *DecisionsParams, opts ...ClientOption) (*DecisionsOK, error)
- func (a *Client) GetRule(params *GetRuleParams, opts ...ClientOption) (*GetRuleOK, error)
- func (a *Client) GetVersion(params *GetVersionParams, opts ...ClientOption) (*GetVersionOK, error)
- func (a *Client) GetWellKnownJSONWebKeys(params *GetWellKnownJSONWebKeysParams, opts ...ClientOption) (*GetWellKnownJSONWebKeysOK, error)
- func (a *Client) IsInstanceAlive(params *IsInstanceAliveParams, opts ...ClientOption) (*IsInstanceAliveOK, error)
- func (a *Client) IsInstanceReady(params *IsInstanceReadyParams, opts ...ClientOption) (*IsInstanceReadyOK, error)
- func (a *Client) ListRules(params *ListRulesParams, opts ...ClientOption) (*ListRulesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DecisionsForbidden
- func (o *DecisionsForbidden) Error() string
- func (o *DecisionsForbidden) GetPayload() *models.GenericError
- func (o *DecisionsForbidden) IsClientError() bool
- func (o *DecisionsForbidden) IsCode(code int) bool
- func (o *DecisionsForbidden) IsRedirect() bool
- func (o *DecisionsForbidden) IsServerError() bool
- func (o *DecisionsForbidden) IsSuccess() bool
- func (o *DecisionsForbidden) String() string
- type DecisionsInternalServerError
- func (o *DecisionsInternalServerError) Error() string
- func (o *DecisionsInternalServerError) GetPayload() *models.GenericError
- func (o *DecisionsInternalServerError) IsClientError() bool
- func (o *DecisionsInternalServerError) IsCode(code int) bool
- func (o *DecisionsInternalServerError) IsRedirect() bool
- func (o *DecisionsInternalServerError) IsServerError() bool
- func (o *DecisionsInternalServerError) IsSuccess() bool
- func (o *DecisionsInternalServerError) String() string
- type DecisionsNotFound
- func (o *DecisionsNotFound) Error() string
- func (o *DecisionsNotFound) GetPayload() *models.GenericError
- func (o *DecisionsNotFound) IsClientError() bool
- func (o *DecisionsNotFound) IsCode(code int) bool
- func (o *DecisionsNotFound) IsRedirect() bool
- func (o *DecisionsNotFound) IsServerError() bool
- func (o *DecisionsNotFound) IsSuccess() bool
- func (o *DecisionsNotFound) String() string
- type DecisionsOK
- type DecisionsParams
- func (o *DecisionsParams) SetContext(ctx context.Context)
- func (o *DecisionsParams) SetDefaults()
- func (o *DecisionsParams) SetHTTPClient(client *http.Client)
- func (o *DecisionsParams) SetTimeout(timeout time.Duration)
- func (o *DecisionsParams) WithContext(ctx context.Context) *DecisionsParams
- func (o *DecisionsParams) WithDefaults() *DecisionsParams
- func (o *DecisionsParams) WithHTTPClient(client *http.Client) *DecisionsParams
- func (o *DecisionsParams) WithTimeout(timeout time.Duration) *DecisionsParams
- func (o *DecisionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DecisionsReader
- type DecisionsUnauthorized
- func (o *DecisionsUnauthorized) Error() string
- func (o *DecisionsUnauthorized) GetPayload() *models.GenericError
- func (o *DecisionsUnauthorized) IsClientError() bool
- func (o *DecisionsUnauthorized) IsCode(code int) bool
- func (o *DecisionsUnauthorized) IsRedirect() bool
- func (o *DecisionsUnauthorized) IsServerError() bool
- func (o *DecisionsUnauthorized) IsSuccess() bool
- func (o *DecisionsUnauthorized) String() string
- type GetRuleInternalServerError
- func (o *GetRuleInternalServerError) Error() string
- func (o *GetRuleInternalServerError) GetPayload() *models.GenericError
- func (o *GetRuleInternalServerError) IsClientError() bool
- func (o *GetRuleInternalServerError) IsCode(code int) bool
- func (o *GetRuleInternalServerError) IsRedirect() bool
- func (o *GetRuleInternalServerError) IsServerError() bool
- func (o *GetRuleInternalServerError) IsSuccess() bool
- func (o *GetRuleInternalServerError) String() string
- type GetRuleNotFound
- func (o *GetRuleNotFound) Error() string
- func (o *GetRuleNotFound) GetPayload() *models.GenericError
- func (o *GetRuleNotFound) IsClientError() bool
- func (o *GetRuleNotFound) IsCode(code int) bool
- func (o *GetRuleNotFound) IsRedirect() bool
- func (o *GetRuleNotFound) IsServerError() bool
- func (o *GetRuleNotFound) IsSuccess() bool
- func (o *GetRuleNotFound) String() string
- type GetRuleOK
- func (o *GetRuleOK) Error() string
- func (o *GetRuleOK) GetPayload() *models.Rule
- func (o *GetRuleOK) IsClientError() bool
- func (o *GetRuleOK) IsCode(code int) bool
- func (o *GetRuleOK) IsRedirect() bool
- func (o *GetRuleOK) IsServerError() bool
- func (o *GetRuleOK) IsSuccess() bool
- func (o *GetRuleOK) String() string
- type GetRuleParams
- func (o *GetRuleParams) SetContext(ctx context.Context)
- func (o *GetRuleParams) SetDefaults()
- func (o *GetRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleParams) SetID(id string)
- func (o *GetRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleParams) WithContext(ctx context.Context) *GetRuleParams
- func (o *GetRuleParams) WithDefaults() *GetRuleParams
- func (o *GetRuleParams) WithHTTPClient(client *http.Client) *GetRuleParams
- func (o *GetRuleParams) WithID(id string) *GetRuleParams
- func (o *GetRuleParams) WithTimeout(timeout time.Duration) *GetRuleParams
- func (o *GetRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleReader
- type GetVersionOK
- func (o *GetVersionOK) Error() string
- func (o *GetVersionOK) GetPayload() *models.Version
- func (o *GetVersionOK) IsClientError() bool
- func (o *GetVersionOK) IsCode(code int) bool
- func (o *GetVersionOK) IsRedirect() bool
- func (o *GetVersionOK) IsServerError() bool
- func (o *GetVersionOK) IsSuccess() bool
- func (o *GetVersionOK) String() string
- type GetVersionParams
- func (o *GetVersionParams) SetContext(ctx context.Context)
- func (o *GetVersionParams) SetDefaults()
- func (o *GetVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetVersionParams) WithContext(ctx context.Context) *GetVersionParams
- func (o *GetVersionParams) WithDefaults() *GetVersionParams
- func (o *GetVersionParams) WithHTTPClient(client *http.Client) *GetVersionParams
- func (o *GetVersionParams) WithTimeout(timeout time.Duration) *GetVersionParams
- func (o *GetVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVersionReader
- type GetWellKnownJSONWebKeysInternalServerError
- func (o *GetWellKnownJSONWebKeysInternalServerError) Error() string
- func (o *GetWellKnownJSONWebKeysInternalServerError) GetPayload() *models.GenericError
- func (o *GetWellKnownJSONWebKeysInternalServerError) IsClientError() bool
- func (o *GetWellKnownJSONWebKeysInternalServerError) IsCode(code int) bool
- func (o *GetWellKnownJSONWebKeysInternalServerError) IsRedirect() bool
- func (o *GetWellKnownJSONWebKeysInternalServerError) IsServerError() bool
- func (o *GetWellKnownJSONWebKeysInternalServerError) IsSuccess() bool
- func (o *GetWellKnownJSONWebKeysInternalServerError) String() string
- type GetWellKnownJSONWebKeysOK
- func (o *GetWellKnownJSONWebKeysOK) Error() string
- func (o *GetWellKnownJSONWebKeysOK) GetPayload() *models.JSONWebKeySet
- func (o *GetWellKnownJSONWebKeysOK) IsClientError() bool
- func (o *GetWellKnownJSONWebKeysOK) IsCode(code int) bool
- func (o *GetWellKnownJSONWebKeysOK) IsRedirect() bool
- func (o *GetWellKnownJSONWebKeysOK) IsServerError() bool
- func (o *GetWellKnownJSONWebKeysOK) IsSuccess() bool
- func (o *GetWellKnownJSONWebKeysOK) String() string
- type GetWellKnownJSONWebKeysParams
- func NewGetWellKnownJSONWebKeysParams() *GetWellKnownJSONWebKeysParams
- func NewGetWellKnownJSONWebKeysParamsWithContext(ctx context.Context) *GetWellKnownJSONWebKeysParams
- func NewGetWellKnownJSONWebKeysParamsWithHTTPClient(client *http.Client) *GetWellKnownJSONWebKeysParams
- func NewGetWellKnownJSONWebKeysParamsWithTimeout(timeout time.Duration) *GetWellKnownJSONWebKeysParams
- func (o *GetWellKnownJSONWebKeysParams) SetContext(ctx context.Context)
- func (o *GetWellKnownJSONWebKeysParams) SetDefaults()
- func (o *GetWellKnownJSONWebKeysParams) SetHTTPClient(client *http.Client)
- func (o *GetWellKnownJSONWebKeysParams) SetTimeout(timeout time.Duration)
- func (o *GetWellKnownJSONWebKeysParams) WithContext(ctx context.Context) *GetWellKnownJSONWebKeysParams
- func (o *GetWellKnownJSONWebKeysParams) WithDefaults() *GetWellKnownJSONWebKeysParams
- func (o *GetWellKnownJSONWebKeysParams) WithHTTPClient(client *http.Client) *GetWellKnownJSONWebKeysParams
- func (o *GetWellKnownJSONWebKeysParams) WithTimeout(timeout time.Duration) *GetWellKnownJSONWebKeysParams
- func (o *GetWellKnownJSONWebKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetWellKnownJSONWebKeysReader
- type IsInstanceAliveInternalServerError
- func (o *IsInstanceAliveInternalServerError) Error() string
- func (o *IsInstanceAliveInternalServerError) GetPayload() *models.GenericError
- func (o *IsInstanceAliveInternalServerError) IsClientError() bool
- func (o *IsInstanceAliveInternalServerError) IsCode(code int) bool
- func (o *IsInstanceAliveInternalServerError) IsRedirect() bool
- func (o *IsInstanceAliveInternalServerError) IsServerError() bool
- func (o *IsInstanceAliveInternalServerError) IsSuccess() bool
- func (o *IsInstanceAliveInternalServerError) String() string
- type IsInstanceAliveOK
- func (o *IsInstanceAliveOK) Error() string
- func (o *IsInstanceAliveOK) GetPayload() *models.HealthStatus
- func (o *IsInstanceAliveOK) IsClientError() bool
- func (o *IsInstanceAliveOK) IsCode(code int) bool
- func (o *IsInstanceAliveOK) IsRedirect() bool
- func (o *IsInstanceAliveOK) IsServerError() bool
- func (o *IsInstanceAliveOK) IsSuccess() bool
- func (o *IsInstanceAliveOK) String() string
- type IsInstanceAliveParams
- func NewIsInstanceAliveParams() *IsInstanceAliveParams
- func NewIsInstanceAliveParamsWithContext(ctx context.Context) *IsInstanceAliveParams
- func NewIsInstanceAliveParamsWithHTTPClient(client *http.Client) *IsInstanceAliveParams
- func NewIsInstanceAliveParamsWithTimeout(timeout time.Duration) *IsInstanceAliveParams
- func (o *IsInstanceAliveParams) SetContext(ctx context.Context)
- func (o *IsInstanceAliveParams) SetDefaults()
- func (o *IsInstanceAliveParams) SetHTTPClient(client *http.Client)
- func (o *IsInstanceAliveParams) SetTimeout(timeout time.Duration)
- func (o *IsInstanceAliveParams) WithContext(ctx context.Context) *IsInstanceAliveParams
- func (o *IsInstanceAliveParams) WithDefaults() *IsInstanceAliveParams
- func (o *IsInstanceAliveParams) WithHTTPClient(client *http.Client) *IsInstanceAliveParams
- func (o *IsInstanceAliveParams) WithTimeout(timeout time.Duration) *IsInstanceAliveParams
- func (o *IsInstanceAliveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IsInstanceAliveReader
- type IsInstanceReadyOK
- func (o *IsInstanceReadyOK) Error() string
- func (o *IsInstanceReadyOK) GetPayload() *models.HealthStatus
- func (o *IsInstanceReadyOK) IsClientError() bool
- func (o *IsInstanceReadyOK) IsCode(code int) bool
- func (o *IsInstanceReadyOK) IsRedirect() bool
- func (o *IsInstanceReadyOK) IsServerError() bool
- func (o *IsInstanceReadyOK) IsSuccess() bool
- func (o *IsInstanceReadyOK) String() string
- type IsInstanceReadyParams
- func NewIsInstanceReadyParams() *IsInstanceReadyParams
- func NewIsInstanceReadyParamsWithContext(ctx context.Context) *IsInstanceReadyParams
- func NewIsInstanceReadyParamsWithHTTPClient(client *http.Client) *IsInstanceReadyParams
- func NewIsInstanceReadyParamsWithTimeout(timeout time.Duration) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) SetContext(ctx context.Context)
- func (o *IsInstanceReadyParams) SetDefaults()
- func (o *IsInstanceReadyParams) SetHTTPClient(client *http.Client)
- func (o *IsInstanceReadyParams) SetTimeout(timeout time.Duration)
- func (o *IsInstanceReadyParams) WithContext(ctx context.Context) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WithDefaults() *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WithHTTPClient(client *http.Client) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WithTimeout(timeout time.Duration) *IsInstanceReadyParams
- func (o *IsInstanceReadyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IsInstanceReadyReader
- type IsInstanceReadyServiceUnavailable
- func (o *IsInstanceReadyServiceUnavailable) Error() string
- func (o *IsInstanceReadyServiceUnavailable) GetPayload() *models.HealthNotReadyStatus
- func (o *IsInstanceReadyServiceUnavailable) IsClientError() bool
- func (o *IsInstanceReadyServiceUnavailable) IsCode(code int) bool
- func (o *IsInstanceReadyServiceUnavailable) IsRedirect() bool
- func (o *IsInstanceReadyServiceUnavailable) IsServerError() bool
- func (o *IsInstanceReadyServiceUnavailable) IsSuccess() bool
- func (o *IsInstanceReadyServiceUnavailable) String() string
- type ListRulesInternalServerError
- func (o *ListRulesInternalServerError) Error() string
- func (o *ListRulesInternalServerError) GetPayload() *models.GenericError
- func (o *ListRulesInternalServerError) IsClientError() bool
- func (o *ListRulesInternalServerError) IsCode(code int) bool
- func (o *ListRulesInternalServerError) IsRedirect() bool
- func (o *ListRulesInternalServerError) IsServerError() bool
- func (o *ListRulesInternalServerError) IsSuccess() bool
- func (o *ListRulesInternalServerError) String() string
- type ListRulesOK
- func (o *ListRulesOK) Error() string
- func (o *ListRulesOK) GetPayload() []*models.Rule
- func (o *ListRulesOK) IsClientError() bool
- func (o *ListRulesOK) IsCode(code int) bool
- func (o *ListRulesOK) IsRedirect() bool
- func (o *ListRulesOK) IsServerError() bool
- func (o *ListRulesOK) IsSuccess() bool
- func (o *ListRulesOK) String() string
- type ListRulesParams
- func (o *ListRulesParams) SetContext(ctx context.Context)
- func (o *ListRulesParams) SetDefaults()
- func (o *ListRulesParams) SetHTTPClient(client *http.Client)
- func (o *ListRulesParams) SetLimit(limit *int64)
- func (o *ListRulesParams) SetOffset(offset *int64)
- func (o *ListRulesParams) SetTimeout(timeout time.Duration)
- func (o *ListRulesParams) WithContext(ctx context.Context) *ListRulesParams
- func (o *ListRulesParams) WithDefaults() *ListRulesParams
- func (o *ListRulesParams) WithHTTPClient(client *http.Client) *ListRulesParams
- func (o *ListRulesParams) WithLimit(limit *int64) *ListRulesParams
- func (o *ListRulesParams) WithOffset(offset *int64) *ListRulesParams
- func (o *ListRulesParams) WithTimeout(timeout time.Duration) *ListRulesParams
- func (o *ListRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRulesReader
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 api API
func (*Client) Decisions ¶
func (a *Client) Decisions(params *DecisionsParams, opts ...ClientOption) (*DecisionsOK, error)
Decisions accesses control decision API > This endpoint works with all HTTP Methods (GET, POST, PUT, ...) and matches every path prefixed with /decision.
This endpoint mirrors the proxy capability of ORY Oathkeeper's proxy functionality but instead of forwarding the request to the upstream server, returns 200 (request should be allowed), 401 (unauthorized), or 403 (forbidden) status codes. This endpoint can be used to integrate with other API Proxies like Ambassador, Kong, Envoy, and many more.
func (*Client) GetRule ¶
func (a *Client) GetRule(params *GetRuleParams, opts ...ClientOption) (*GetRuleOK, error)
GetRule retrieves a rule
Use this method to retrieve a rule from the storage. If it does not exist you will receive a 404 error.
func (*Client) GetVersion ¶
func (a *Client) GetVersion(params *GetVersionParams, opts ...ClientOption) (*GetVersionOK, error)
GetVersion gets service version This endpoint returns the service version typically notated using semantic versioning.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
func (*Client) GetWellKnownJSONWebKeys ¶
func (a *Client) GetWellKnownJSONWebKeys(params *GetWellKnownJSONWebKeysParams, opts ...ClientOption) (*GetWellKnownJSONWebKeysOK, error)
GetWellKnownJSONWebKeys lists cryptographic keys
This endpoint returns cryptographic keys that are required to, for example, verify signatures of ID Tokens.
func (*Client) IsInstanceAlive ¶
func (a *Client) IsInstanceAlive(params *IsInstanceAliveParams, opts ...ClientOption) (*IsInstanceAliveOK, error)
IsInstanceAlive checks alive status This endpoint returns a 200 status code when the HTTP server is up running.
This status does currently not include checks whether the database connection is working.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
func (*Client) IsInstanceReady ¶
func (a *Client) IsInstanceReady(params *IsInstanceReadyParams, opts ...ClientOption) (*IsInstanceReadyOK, error)
IsInstanceReady checks readiness status This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g.
the database) are responsive as well.
If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.
Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.
func (*Client) ListRules ¶
func (a *Client) ListRules(params *ListRulesParams, opts ...ClientOption) (*ListRulesOK, error)
ListRules lists all rules This method returns an array of all rules that are stored in the backend. This is useful if you want to get a full
view of what rules you have currently in place.
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 { Decisions(params *DecisionsParams, opts ...ClientOption) (*DecisionsOK, error) GetRule(params *GetRuleParams, opts ...ClientOption) (*GetRuleOK, error) GetVersion(params *GetVersionParams, opts ...ClientOption) (*GetVersionOK, error) GetWellKnownJSONWebKeys(params *GetWellKnownJSONWebKeysParams, opts ...ClientOption) (*GetWellKnownJSONWebKeysOK, error) IsInstanceAlive(params *IsInstanceAliveParams, opts ...ClientOption) (*IsInstanceAliveOK, error) IsInstanceReady(params *IsInstanceReadyParams, opts ...ClientOption) (*IsInstanceReadyOK, error) ListRules(params *ListRulesParams, opts ...ClientOption) (*ListRulesOK, 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 api API client.
type DecisionsForbidden ¶
type DecisionsForbidden struct {
Payload *models.GenericError
}
DecisionsForbidden describes a response with status code 403, with default header values.
genericError
func NewDecisionsForbidden ¶
func NewDecisionsForbidden() *DecisionsForbidden
NewDecisionsForbidden creates a DecisionsForbidden with default headers values
func (*DecisionsForbidden) Error ¶
func (o *DecisionsForbidden) Error() string
func (*DecisionsForbidden) GetPayload ¶
func (o *DecisionsForbidden) GetPayload() *models.GenericError
func (*DecisionsForbidden) IsClientError ¶
func (o *DecisionsForbidden) IsClientError() bool
IsClientError returns true when this decisions forbidden response has a 4xx status code
func (*DecisionsForbidden) IsCode ¶
func (o *DecisionsForbidden) IsCode(code int) bool
IsCode returns true when this decisions forbidden response a status code equal to that given
func (*DecisionsForbidden) IsRedirect ¶
func (o *DecisionsForbidden) IsRedirect() bool
IsRedirect returns true when this decisions forbidden response has a 3xx status code
func (*DecisionsForbidden) IsServerError ¶
func (o *DecisionsForbidden) IsServerError() bool
IsServerError returns true when this decisions forbidden response has a 5xx status code
func (*DecisionsForbidden) IsSuccess ¶
func (o *DecisionsForbidden) IsSuccess() bool
IsSuccess returns true when this decisions forbidden response has a 2xx status code
func (*DecisionsForbidden) String ¶
func (o *DecisionsForbidden) String() string
type DecisionsInternalServerError ¶
type DecisionsInternalServerError struct {
Payload *models.GenericError
}
DecisionsInternalServerError describes a response with status code 500, with default header values.
genericError
func NewDecisionsInternalServerError ¶
func NewDecisionsInternalServerError() *DecisionsInternalServerError
NewDecisionsInternalServerError creates a DecisionsInternalServerError with default headers values
func (*DecisionsInternalServerError) Error ¶
func (o *DecisionsInternalServerError) Error() string
func (*DecisionsInternalServerError) GetPayload ¶
func (o *DecisionsInternalServerError) GetPayload() *models.GenericError
func (*DecisionsInternalServerError) IsClientError ¶
func (o *DecisionsInternalServerError) IsClientError() bool
IsClientError returns true when this decisions internal server error response has a 4xx status code
func (*DecisionsInternalServerError) IsCode ¶
func (o *DecisionsInternalServerError) IsCode(code int) bool
IsCode returns true when this decisions internal server error response a status code equal to that given
func (*DecisionsInternalServerError) IsRedirect ¶
func (o *DecisionsInternalServerError) IsRedirect() bool
IsRedirect returns true when this decisions internal server error response has a 3xx status code
func (*DecisionsInternalServerError) IsServerError ¶
func (o *DecisionsInternalServerError) IsServerError() bool
IsServerError returns true when this decisions internal server error response has a 5xx status code
func (*DecisionsInternalServerError) IsSuccess ¶
func (o *DecisionsInternalServerError) IsSuccess() bool
IsSuccess returns true when this decisions internal server error response has a 2xx status code
func (*DecisionsInternalServerError) String ¶
func (o *DecisionsInternalServerError) String() string
type DecisionsNotFound ¶
type DecisionsNotFound struct {
Payload *models.GenericError
}
DecisionsNotFound describes a response with status code 404, with default header values.
genericError
func NewDecisionsNotFound ¶
func NewDecisionsNotFound() *DecisionsNotFound
NewDecisionsNotFound creates a DecisionsNotFound with default headers values
func (*DecisionsNotFound) Error ¶
func (o *DecisionsNotFound) Error() string
func (*DecisionsNotFound) GetPayload ¶
func (o *DecisionsNotFound) GetPayload() *models.GenericError
func (*DecisionsNotFound) IsClientError ¶
func (o *DecisionsNotFound) IsClientError() bool
IsClientError returns true when this decisions not found response has a 4xx status code
func (*DecisionsNotFound) IsCode ¶
func (o *DecisionsNotFound) IsCode(code int) bool
IsCode returns true when this decisions not found response a status code equal to that given
func (*DecisionsNotFound) IsRedirect ¶
func (o *DecisionsNotFound) IsRedirect() bool
IsRedirect returns true when this decisions not found response has a 3xx status code
func (*DecisionsNotFound) IsServerError ¶
func (o *DecisionsNotFound) IsServerError() bool
IsServerError returns true when this decisions not found response has a 5xx status code
func (*DecisionsNotFound) IsSuccess ¶
func (o *DecisionsNotFound) IsSuccess() bool
IsSuccess returns true when this decisions not found response has a 2xx status code
func (*DecisionsNotFound) String ¶
func (o *DecisionsNotFound) String() string
type DecisionsOK ¶
type DecisionsOK struct { }
DecisionsOK describes a response with status code 200, with default header values.
An empty response
func NewDecisionsOK ¶
func NewDecisionsOK() *DecisionsOK
NewDecisionsOK creates a DecisionsOK with default headers values
func (*DecisionsOK) Error ¶
func (o *DecisionsOK) Error() string
func (*DecisionsOK) IsClientError ¶
func (o *DecisionsOK) IsClientError() bool
IsClientError returns true when this decisions o k response has a 4xx status code
func (*DecisionsOK) IsCode ¶
func (o *DecisionsOK) IsCode(code int) bool
IsCode returns true when this decisions o k response a status code equal to that given
func (*DecisionsOK) IsRedirect ¶
func (o *DecisionsOK) IsRedirect() bool
IsRedirect returns true when this decisions o k response has a 3xx status code
func (*DecisionsOK) IsServerError ¶
func (o *DecisionsOK) IsServerError() bool
IsServerError returns true when this decisions o k response has a 5xx status code
func (*DecisionsOK) IsSuccess ¶
func (o *DecisionsOK) IsSuccess() bool
IsSuccess returns true when this decisions o k response has a 2xx status code
func (*DecisionsOK) String ¶
func (o *DecisionsOK) String() string
type DecisionsParams ¶
type DecisionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DecisionsParams contains all the parameters to send to the API endpoint
for the decisions operation. Typically these are written to a http.Request.
func NewDecisionsParams ¶
func NewDecisionsParams() *DecisionsParams
NewDecisionsParams creates a new DecisionsParams 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 NewDecisionsParamsWithContext ¶
func NewDecisionsParamsWithContext(ctx context.Context) *DecisionsParams
NewDecisionsParamsWithContext creates a new DecisionsParams object with the ability to set a context for a request.
func NewDecisionsParamsWithHTTPClient ¶
func NewDecisionsParamsWithHTTPClient(client *http.Client) *DecisionsParams
NewDecisionsParamsWithHTTPClient creates a new DecisionsParams object with the ability to set a custom HTTPClient for a request.
func NewDecisionsParamsWithTimeout ¶
func NewDecisionsParamsWithTimeout(timeout time.Duration) *DecisionsParams
NewDecisionsParamsWithTimeout creates a new DecisionsParams object with the ability to set a timeout on a request.
func (*DecisionsParams) SetContext ¶
func (o *DecisionsParams) SetContext(ctx context.Context)
SetContext adds the context to the decisions params
func (*DecisionsParams) SetDefaults ¶
func (o *DecisionsParams) SetDefaults()
SetDefaults hydrates default values in the decisions params (not the query body).
All values with no default are reset to their zero value.
func (*DecisionsParams) SetHTTPClient ¶
func (o *DecisionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the decisions params
func (*DecisionsParams) SetTimeout ¶
func (o *DecisionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the decisions params
func (*DecisionsParams) WithContext ¶
func (o *DecisionsParams) WithContext(ctx context.Context) *DecisionsParams
WithContext adds the context to the decisions params
func (*DecisionsParams) WithDefaults ¶
func (o *DecisionsParams) WithDefaults() *DecisionsParams
WithDefaults hydrates default values in the decisions params (not the query body).
All values with no default are reset to their zero value.
func (*DecisionsParams) WithHTTPClient ¶
func (o *DecisionsParams) WithHTTPClient(client *http.Client) *DecisionsParams
WithHTTPClient adds the HTTPClient to the decisions params
func (*DecisionsParams) WithTimeout ¶
func (o *DecisionsParams) WithTimeout(timeout time.Duration) *DecisionsParams
WithTimeout adds the timeout to the decisions params
func (*DecisionsParams) WriteToRequest ¶
func (o *DecisionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DecisionsReader ¶
type DecisionsReader struct {
// contains filtered or unexported fields
}
DecisionsReader is a Reader for the Decisions structure.
func (*DecisionsReader) ReadResponse ¶
func (o *DecisionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DecisionsUnauthorized ¶
type DecisionsUnauthorized struct {
}DecisionsUnauthorized describes a response with status code 401, with default header values.
genericError
func NewDecisionsUnauthorized ¶
func NewDecisionsUnauthorized() *DecisionsUnauthorized
NewDecisionsUnauthorized creates a DecisionsUnauthorized with default headers values
func (*DecisionsUnauthorized) Error ¶
func (o *DecisionsUnauthorized) Error() string
func (*DecisionsUnauthorized) GetPayload ¶
func (o *DecisionsUnauthorized) GetPayload() *models.GenericError
func (*DecisionsUnauthorized) IsClientError ¶
func (o *DecisionsUnauthorized) IsClientError() bool
IsClientError returns true when this decisions unauthorized response has a 4xx status code
func (*DecisionsUnauthorized) IsCode ¶
func (o *DecisionsUnauthorized) IsCode(code int) bool
IsCode returns true when this decisions unauthorized response a status code equal to that given
func (*DecisionsUnauthorized) IsRedirect ¶
func (o *DecisionsUnauthorized) IsRedirect() bool
IsRedirect returns true when this decisions unauthorized response has a 3xx status code
func (*DecisionsUnauthorized) IsServerError ¶
func (o *DecisionsUnauthorized) IsServerError() bool
IsServerError returns true when this decisions unauthorized response has a 5xx status code
func (*DecisionsUnauthorized) IsSuccess ¶
func (o *DecisionsUnauthorized) IsSuccess() bool
IsSuccess returns true when this decisions unauthorized response has a 2xx status code
func (*DecisionsUnauthorized) String ¶
func (o *DecisionsUnauthorized) String() string
type GetRuleInternalServerError ¶
type GetRuleInternalServerError struct {
Payload *models.GenericError
}
GetRuleInternalServerError describes a response with status code 500, with default header values.
genericError
func NewGetRuleInternalServerError ¶
func NewGetRuleInternalServerError() *GetRuleInternalServerError
NewGetRuleInternalServerError creates a GetRuleInternalServerError with default headers values
func (*GetRuleInternalServerError) Error ¶
func (o *GetRuleInternalServerError) Error() string
func (*GetRuleInternalServerError) GetPayload ¶
func (o *GetRuleInternalServerError) GetPayload() *models.GenericError
func (*GetRuleInternalServerError) IsClientError ¶
func (o *GetRuleInternalServerError) IsClientError() bool
IsClientError returns true when this get rule internal server error response has a 4xx status code
func (*GetRuleInternalServerError) IsCode ¶
func (o *GetRuleInternalServerError) IsCode(code int) bool
IsCode returns true when this get rule internal server error response a status code equal to that given
func (*GetRuleInternalServerError) IsRedirect ¶
func (o *GetRuleInternalServerError) IsRedirect() bool
IsRedirect returns true when this get rule internal server error response has a 3xx status code
func (*GetRuleInternalServerError) IsServerError ¶
func (o *GetRuleInternalServerError) IsServerError() bool
IsServerError returns true when this get rule internal server error response has a 5xx status code
func (*GetRuleInternalServerError) IsSuccess ¶
func (o *GetRuleInternalServerError) IsSuccess() bool
IsSuccess returns true when this get rule internal server error response has a 2xx status code
func (*GetRuleInternalServerError) String ¶
func (o *GetRuleInternalServerError) String() string
type GetRuleNotFound ¶
type GetRuleNotFound struct {
Payload *models.GenericError
}
GetRuleNotFound describes a response with status code 404, with default header values.
genericError
func NewGetRuleNotFound ¶
func NewGetRuleNotFound() *GetRuleNotFound
NewGetRuleNotFound creates a GetRuleNotFound with default headers values
func (*GetRuleNotFound) Error ¶
func (o *GetRuleNotFound) Error() string
func (*GetRuleNotFound) GetPayload ¶
func (o *GetRuleNotFound) GetPayload() *models.GenericError
func (*GetRuleNotFound) IsClientError ¶
func (o *GetRuleNotFound) IsClientError() bool
IsClientError returns true when this get rule not found response has a 4xx status code
func (*GetRuleNotFound) IsCode ¶
func (o *GetRuleNotFound) IsCode(code int) bool
IsCode returns true when this get rule not found response a status code equal to that given
func (*GetRuleNotFound) IsRedirect ¶
func (o *GetRuleNotFound) IsRedirect() bool
IsRedirect returns true when this get rule not found response has a 3xx status code
func (*GetRuleNotFound) IsServerError ¶
func (o *GetRuleNotFound) IsServerError() bool
IsServerError returns true when this get rule not found response has a 5xx status code
func (*GetRuleNotFound) IsSuccess ¶
func (o *GetRuleNotFound) IsSuccess() bool
IsSuccess returns true when this get rule not found response has a 2xx status code
func (*GetRuleNotFound) String ¶
func (o *GetRuleNotFound) String() string
type GetRuleOK ¶
GetRuleOK describes a response with status code 200, with default header values.
A rule
func NewGetRuleOK ¶
func NewGetRuleOK() *GetRuleOK
NewGetRuleOK creates a GetRuleOK with default headers values
func (*GetRuleOK) GetPayload ¶
func (*GetRuleOK) IsClientError ¶
IsClientError returns true when this get rule o k response has a 4xx status code
func (*GetRuleOK) IsCode ¶
IsCode returns true when this get rule o k response a status code equal to that given
func (*GetRuleOK) IsRedirect ¶
IsRedirect returns true when this get rule o k response has a 3xx status code
func (*GetRuleOK) IsServerError ¶
IsServerError returns true when this get rule o k response has a 5xx status code
type GetRuleParams ¶
type GetRuleParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleParams contains all the parameters to send to the API endpoint
for the get rule operation. Typically these are written to a http.Request.
func NewGetRuleParams ¶
func NewGetRuleParams() *GetRuleParams
NewGetRuleParams creates a new GetRuleParams 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 NewGetRuleParamsWithContext ¶
func NewGetRuleParamsWithContext(ctx context.Context) *GetRuleParams
NewGetRuleParamsWithContext creates a new GetRuleParams object with the ability to set a context for a request.
func NewGetRuleParamsWithHTTPClient ¶
func NewGetRuleParamsWithHTTPClient(client *http.Client) *GetRuleParams
NewGetRuleParamsWithHTTPClient creates a new GetRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetRuleParamsWithTimeout ¶
func NewGetRuleParamsWithTimeout(timeout time.Duration) *GetRuleParams
NewGetRuleParamsWithTimeout creates a new GetRuleParams object with the ability to set a timeout on a request.
func (*GetRuleParams) SetContext ¶
func (o *GetRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule params
func (*GetRuleParams) SetDefaults ¶
func (o *GetRuleParams) SetDefaults()
SetDefaults hydrates default values in the get rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuleParams) SetHTTPClient ¶
func (o *GetRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule params
func (*GetRuleParams) SetID ¶
func (o *GetRuleParams) SetID(id string)
SetID adds the id to the get rule params
func (*GetRuleParams) SetTimeout ¶
func (o *GetRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule params
func (*GetRuleParams) WithContext ¶
func (o *GetRuleParams) WithContext(ctx context.Context) *GetRuleParams
WithContext adds the context to the get rule params
func (*GetRuleParams) WithDefaults ¶
func (o *GetRuleParams) WithDefaults() *GetRuleParams
WithDefaults hydrates default values in the get rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetRuleParams) WithHTTPClient ¶
func (o *GetRuleParams) WithHTTPClient(client *http.Client) *GetRuleParams
WithHTTPClient adds the HTTPClient to the get rule params
func (*GetRuleParams) WithID ¶
func (o *GetRuleParams) WithID(id string) *GetRuleParams
WithID adds the id to the get rule params
func (*GetRuleParams) WithTimeout ¶
func (o *GetRuleParams) WithTimeout(timeout time.Duration) *GetRuleParams
WithTimeout adds the timeout to the get rule params
func (*GetRuleParams) WriteToRequest ¶
func (o *GetRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleReader ¶
type GetRuleReader struct {
// contains filtered or unexported fields
}
GetRuleReader is a Reader for the GetRule structure.
func (*GetRuleReader) ReadResponse ¶
func (o *GetRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVersionOK ¶
GetVersionOK describes a response with status code 200, with default header values.
version
func NewGetVersionOK ¶
func NewGetVersionOK() *GetVersionOK
NewGetVersionOK creates a GetVersionOK with default headers values
func (*GetVersionOK) Error ¶
func (o *GetVersionOK) Error() string
func (*GetVersionOK) GetPayload ¶
func (o *GetVersionOK) GetPayload() *models.Version
func (*GetVersionOK) IsClientError ¶
func (o *GetVersionOK) IsClientError() bool
IsClientError returns true when this get version o k response has a 4xx status code
func (*GetVersionOK) IsCode ¶
func (o *GetVersionOK) IsCode(code int) bool
IsCode returns true when this get version o k response a status code equal to that given
func (*GetVersionOK) IsRedirect ¶
func (o *GetVersionOK) IsRedirect() bool
IsRedirect returns true when this get version o k response has a 3xx status code
func (*GetVersionOK) IsServerError ¶
func (o *GetVersionOK) IsServerError() bool
IsServerError returns true when this get version o k response has a 5xx status code
func (*GetVersionOK) IsSuccess ¶
func (o *GetVersionOK) IsSuccess() bool
IsSuccess returns true when this get version o k response has a 2xx status code
func (*GetVersionOK) String ¶
func (o *GetVersionOK) String() string
type GetVersionParams ¶
type GetVersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVersionParams contains all the parameters to send to the API endpoint
for the get version operation. Typically these are written to a http.Request.
func NewGetVersionParams ¶
func NewGetVersionParams() *GetVersionParams
NewGetVersionParams creates a new GetVersionParams 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 NewGetVersionParamsWithContext ¶
func NewGetVersionParamsWithContext(ctx context.Context) *GetVersionParams
NewGetVersionParamsWithContext creates a new GetVersionParams object with the ability to set a context for a request.
func NewGetVersionParamsWithHTTPClient ¶
func NewGetVersionParamsWithHTTPClient(client *http.Client) *GetVersionParams
NewGetVersionParamsWithHTTPClient creates a new GetVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetVersionParamsWithTimeout ¶
func NewGetVersionParamsWithTimeout(timeout time.Duration) *GetVersionParams
NewGetVersionParamsWithTimeout creates a new GetVersionParams object with the ability to set a timeout on a request.
func (*GetVersionParams) SetContext ¶
func (o *GetVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get version params
func (*GetVersionParams) SetDefaults ¶
func (o *GetVersionParams) SetDefaults()
SetDefaults hydrates default values in the get version params (not the query body).
All values with no default are reset to their zero value.
func (*GetVersionParams) SetHTTPClient ¶
func (o *GetVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get version params
func (*GetVersionParams) SetTimeout ¶
func (o *GetVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get version params
func (*GetVersionParams) WithContext ¶
func (o *GetVersionParams) WithContext(ctx context.Context) *GetVersionParams
WithContext adds the context to the get version params
func (*GetVersionParams) WithDefaults ¶
func (o *GetVersionParams) WithDefaults() *GetVersionParams
WithDefaults hydrates default values in the get version params (not the query body).
All values with no default are reset to their zero value.
func (*GetVersionParams) WithHTTPClient ¶
func (o *GetVersionParams) WithHTTPClient(client *http.Client) *GetVersionParams
WithHTTPClient adds the HTTPClient to the get version params
func (*GetVersionParams) WithTimeout ¶
func (o *GetVersionParams) WithTimeout(timeout time.Duration) *GetVersionParams
WithTimeout adds the timeout to the get version params
func (*GetVersionParams) WriteToRequest ¶
func (o *GetVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVersionReader ¶
type GetVersionReader struct {
// contains filtered or unexported fields
}
GetVersionReader is a Reader for the GetVersion structure.
func (*GetVersionReader) ReadResponse ¶
func (o *GetVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetWellKnownJSONWebKeysInternalServerError ¶
type GetWellKnownJSONWebKeysInternalServerError struct {
Payload *models.GenericError
}
GetWellKnownJSONWebKeysInternalServerError describes a response with status code 500, with default header values.
genericError
func NewGetWellKnownJSONWebKeysInternalServerError ¶
func NewGetWellKnownJSONWebKeysInternalServerError() *GetWellKnownJSONWebKeysInternalServerError
NewGetWellKnownJSONWebKeysInternalServerError creates a GetWellKnownJSONWebKeysInternalServerError with default headers values
func (*GetWellKnownJSONWebKeysInternalServerError) Error ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) Error() string
func (*GetWellKnownJSONWebKeysInternalServerError) GetPayload ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) GetPayload() *models.GenericError
func (*GetWellKnownJSONWebKeysInternalServerError) IsClientError ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) IsClientError() bool
IsClientError returns true when this get well known Json web keys internal server error response has a 4xx status code
func (*GetWellKnownJSONWebKeysInternalServerError) IsCode ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) IsCode(code int) bool
IsCode returns true when this get well known Json web keys internal server error response a status code equal to that given
func (*GetWellKnownJSONWebKeysInternalServerError) IsRedirect ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) IsRedirect() bool
IsRedirect returns true when this get well known Json web keys internal server error response has a 3xx status code
func (*GetWellKnownJSONWebKeysInternalServerError) IsServerError ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) IsServerError() bool
IsServerError returns true when this get well known Json web keys internal server error response has a 5xx status code
func (*GetWellKnownJSONWebKeysInternalServerError) IsSuccess ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) IsSuccess() bool
IsSuccess returns true when this get well known Json web keys internal server error response has a 2xx status code
func (*GetWellKnownJSONWebKeysInternalServerError) String ¶
func (o *GetWellKnownJSONWebKeysInternalServerError) String() string
type GetWellKnownJSONWebKeysOK ¶
type GetWellKnownJSONWebKeysOK struct {
Payload *models.JSONWebKeySet
}
GetWellKnownJSONWebKeysOK describes a response with status code 200, with default header values.
jsonWebKeySet
func NewGetWellKnownJSONWebKeysOK ¶
func NewGetWellKnownJSONWebKeysOK() *GetWellKnownJSONWebKeysOK
NewGetWellKnownJSONWebKeysOK creates a GetWellKnownJSONWebKeysOK with default headers values
func (*GetWellKnownJSONWebKeysOK) Error ¶
func (o *GetWellKnownJSONWebKeysOK) Error() string
func (*GetWellKnownJSONWebKeysOK) GetPayload ¶
func (o *GetWellKnownJSONWebKeysOK) GetPayload() *models.JSONWebKeySet
func (*GetWellKnownJSONWebKeysOK) IsClientError ¶
func (o *GetWellKnownJSONWebKeysOK) IsClientError() bool
IsClientError returns true when this get well known Json web keys o k response has a 4xx status code
func (*GetWellKnownJSONWebKeysOK) IsCode ¶
func (o *GetWellKnownJSONWebKeysOK) IsCode(code int) bool
IsCode returns true when this get well known Json web keys o k response a status code equal to that given
func (*GetWellKnownJSONWebKeysOK) IsRedirect ¶
func (o *GetWellKnownJSONWebKeysOK) IsRedirect() bool
IsRedirect returns true when this get well known Json web keys o k response has a 3xx status code
func (*GetWellKnownJSONWebKeysOK) IsServerError ¶
func (o *GetWellKnownJSONWebKeysOK) IsServerError() bool
IsServerError returns true when this get well known Json web keys o k response has a 5xx status code
func (*GetWellKnownJSONWebKeysOK) IsSuccess ¶
func (o *GetWellKnownJSONWebKeysOK) IsSuccess() bool
IsSuccess returns true when this get well known Json web keys o k response has a 2xx status code
func (*GetWellKnownJSONWebKeysOK) String ¶
func (o *GetWellKnownJSONWebKeysOK) String() string
type GetWellKnownJSONWebKeysParams ¶
type GetWellKnownJSONWebKeysParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetWellKnownJSONWebKeysParams contains all the parameters to send to the API endpoint
for the get well known JSON web keys operation. Typically these are written to a http.Request.
func NewGetWellKnownJSONWebKeysParams ¶
func NewGetWellKnownJSONWebKeysParams() *GetWellKnownJSONWebKeysParams
NewGetWellKnownJSONWebKeysParams creates a new GetWellKnownJSONWebKeysParams 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 NewGetWellKnownJSONWebKeysParamsWithContext ¶
func NewGetWellKnownJSONWebKeysParamsWithContext(ctx context.Context) *GetWellKnownJSONWebKeysParams
NewGetWellKnownJSONWebKeysParamsWithContext creates a new GetWellKnownJSONWebKeysParams object with the ability to set a context for a request.
func NewGetWellKnownJSONWebKeysParamsWithHTTPClient ¶
func NewGetWellKnownJSONWebKeysParamsWithHTTPClient(client *http.Client) *GetWellKnownJSONWebKeysParams
NewGetWellKnownJSONWebKeysParamsWithHTTPClient creates a new GetWellKnownJSONWebKeysParams object with the ability to set a custom HTTPClient for a request.
func NewGetWellKnownJSONWebKeysParamsWithTimeout ¶
func NewGetWellKnownJSONWebKeysParamsWithTimeout(timeout time.Duration) *GetWellKnownJSONWebKeysParams
NewGetWellKnownJSONWebKeysParamsWithTimeout creates a new GetWellKnownJSONWebKeysParams object with the ability to set a timeout on a request.
func (*GetWellKnownJSONWebKeysParams) SetContext ¶
func (o *GetWellKnownJSONWebKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the get well known JSON web keys params
func (*GetWellKnownJSONWebKeysParams) SetDefaults ¶
func (o *GetWellKnownJSONWebKeysParams) SetDefaults()
SetDefaults hydrates default values in the get well known JSON web keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetWellKnownJSONWebKeysParams) SetHTTPClient ¶
func (o *GetWellKnownJSONWebKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get well known JSON web keys params
func (*GetWellKnownJSONWebKeysParams) SetTimeout ¶
func (o *GetWellKnownJSONWebKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get well known JSON web keys params
func (*GetWellKnownJSONWebKeysParams) WithContext ¶
func (o *GetWellKnownJSONWebKeysParams) WithContext(ctx context.Context) *GetWellKnownJSONWebKeysParams
WithContext adds the context to the get well known JSON web keys params
func (*GetWellKnownJSONWebKeysParams) WithDefaults ¶
func (o *GetWellKnownJSONWebKeysParams) WithDefaults() *GetWellKnownJSONWebKeysParams
WithDefaults hydrates default values in the get well known JSON web keys params (not the query body).
All values with no default are reset to their zero value.
func (*GetWellKnownJSONWebKeysParams) WithHTTPClient ¶
func (o *GetWellKnownJSONWebKeysParams) WithHTTPClient(client *http.Client) *GetWellKnownJSONWebKeysParams
WithHTTPClient adds the HTTPClient to the get well known JSON web keys params
func (*GetWellKnownJSONWebKeysParams) WithTimeout ¶
func (o *GetWellKnownJSONWebKeysParams) WithTimeout(timeout time.Duration) *GetWellKnownJSONWebKeysParams
WithTimeout adds the timeout to the get well known JSON web keys params
func (*GetWellKnownJSONWebKeysParams) WriteToRequest ¶
func (o *GetWellKnownJSONWebKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetWellKnownJSONWebKeysReader ¶
type GetWellKnownJSONWebKeysReader struct {
// contains filtered or unexported fields
}
GetWellKnownJSONWebKeysReader is a Reader for the GetWellKnownJSONWebKeys structure.
func (*GetWellKnownJSONWebKeysReader) ReadResponse ¶
func (o *GetWellKnownJSONWebKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IsInstanceAliveInternalServerError ¶
type IsInstanceAliveInternalServerError struct {
Payload *models.GenericError
}
IsInstanceAliveInternalServerError describes a response with status code 500, with default header values.
genericError
func NewIsInstanceAliveInternalServerError ¶
func NewIsInstanceAliveInternalServerError() *IsInstanceAliveInternalServerError
NewIsInstanceAliveInternalServerError creates a IsInstanceAliveInternalServerError with default headers values
func (*IsInstanceAliveInternalServerError) Error ¶
func (o *IsInstanceAliveInternalServerError) Error() string
func (*IsInstanceAliveInternalServerError) GetPayload ¶
func (o *IsInstanceAliveInternalServerError) GetPayload() *models.GenericError
func (*IsInstanceAliveInternalServerError) IsClientError ¶
func (o *IsInstanceAliveInternalServerError) IsClientError() bool
IsClientError returns true when this is instance alive internal server error response has a 4xx status code
func (*IsInstanceAliveInternalServerError) IsCode ¶
func (o *IsInstanceAliveInternalServerError) IsCode(code int) bool
IsCode returns true when this is instance alive internal server error response a status code equal to that given
func (*IsInstanceAliveInternalServerError) IsRedirect ¶
func (o *IsInstanceAliveInternalServerError) IsRedirect() bool
IsRedirect returns true when this is instance alive internal server error response has a 3xx status code
func (*IsInstanceAliveInternalServerError) IsServerError ¶
func (o *IsInstanceAliveInternalServerError) IsServerError() bool
IsServerError returns true when this is instance alive internal server error response has a 5xx status code
func (*IsInstanceAliveInternalServerError) IsSuccess ¶
func (o *IsInstanceAliveInternalServerError) IsSuccess() bool
IsSuccess returns true when this is instance alive internal server error response has a 2xx status code
func (*IsInstanceAliveInternalServerError) String ¶
func (o *IsInstanceAliveInternalServerError) String() string
type IsInstanceAliveOK ¶
type IsInstanceAliveOK struct {
Payload *models.HealthStatus
}
IsInstanceAliveOK describes a response with status code 200, with default header values.
healthStatus
func NewIsInstanceAliveOK ¶
func NewIsInstanceAliveOK() *IsInstanceAliveOK
NewIsInstanceAliveOK creates a IsInstanceAliveOK with default headers values
func (*IsInstanceAliveOK) Error ¶
func (o *IsInstanceAliveOK) Error() string
func (*IsInstanceAliveOK) GetPayload ¶
func (o *IsInstanceAliveOK) GetPayload() *models.HealthStatus
func (*IsInstanceAliveOK) IsClientError ¶
func (o *IsInstanceAliveOK) IsClientError() bool
IsClientError returns true when this is instance alive o k response has a 4xx status code
func (*IsInstanceAliveOK) IsCode ¶
func (o *IsInstanceAliveOK) IsCode(code int) bool
IsCode returns true when this is instance alive o k response a status code equal to that given
func (*IsInstanceAliveOK) IsRedirect ¶
func (o *IsInstanceAliveOK) IsRedirect() bool
IsRedirect returns true when this is instance alive o k response has a 3xx status code
func (*IsInstanceAliveOK) IsServerError ¶
func (o *IsInstanceAliveOK) IsServerError() bool
IsServerError returns true when this is instance alive o k response has a 5xx status code
func (*IsInstanceAliveOK) IsSuccess ¶
func (o *IsInstanceAliveOK) IsSuccess() bool
IsSuccess returns true when this is instance alive o k response has a 2xx status code
func (*IsInstanceAliveOK) String ¶
func (o *IsInstanceAliveOK) String() string
type IsInstanceAliveParams ¶
type IsInstanceAliveParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IsInstanceAliveParams contains all the parameters to send to the API endpoint
for the is instance alive operation. Typically these are written to a http.Request.
func NewIsInstanceAliveParams ¶
func NewIsInstanceAliveParams() *IsInstanceAliveParams
NewIsInstanceAliveParams creates a new IsInstanceAliveParams 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 NewIsInstanceAliveParamsWithContext ¶
func NewIsInstanceAliveParamsWithContext(ctx context.Context) *IsInstanceAliveParams
NewIsInstanceAliveParamsWithContext creates a new IsInstanceAliveParams object with the ability to set a context for a request.
func NewIsInstanceAliveParamsWithHTTPClient ¶
func NewIsInstanceAliveParamsWithHTTPClient(client *http.Client) *IsInstanceAliveParams
NewIsInstanceAliveParamsWithHTTPClient creates a new IsInstanceAliveParams object with the ability to set a custom HTTPClient for a request.
func NewIsInstanceAliveParamsWithTimeout ¶
func NewIsInstanceAliveParamsWithTimeout(timeout time.Duration) *IsInstanceAliveParams
NewIsInstanceAliveParamsWithTimeout creates a new IsInstanceAliveParams object with the ability to set a timeout on a request.
func (*IsInstanceAliveParams) SetContext ¶
func (o *IsInstanceAliveParams) SetContext(ctx context.Context)
SetContext adds the context to the is instance alive params
func (*IsInstanceAliveParams) SetDefaults ¶
func (o *IsInstanceAliveParams) SetDefaults()
SetDefaults hydrates default values in the is instance alive params (not the query body).
All values with no default are reset to their zero value.
func (*IsInstanceAliveParams) SetHTTPClient ¶
func (o *IsInstanceAliveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the is instance alive params
func (*IsInstanceAliveParams) SetTimeout ¶
func (o *IsInstanceAliveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the is instance alive params
func (*IsInstanceAliveParams) WithContext ¶
func (o *IsInstanceAliveParams) WithContext(ctx context.Context) *IsInstanceAliveParams
WithContext adds the context to the is instance alive params
func (*IsInstanceAliveParams) WithDefaults ¶
func (o *IsInstanceAliveParams) WithDefaults() *IsInstanceAliveParams
WithDefaults hydrates default values in the is instance alive params (not the query body).
All values with no default are reset to their zero value.
func (*IsInstanceAliveParams) WithHTTPClient ¶
func (o *IsInstanceAliveParams) WithHTTPClient(client *http.Client) *IsInstanceAliveParams
WithHTTPClient adds the HTTPClient to the is instance alive params
func (*IsInstanceAliveParams) WithTimeout ¶
func (o *IsInstanceAliveParams) WithTimeout(timeout time.Duration) *IsInstanceAliveParams
WithTimeout adds the timeout to the is instance alive params
func (*IsInstanceAliveParams) WriteToRequest ¶
func (o *IsInstanceAliveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IsInstanceAliveReader ¶
type IsInstanceAliveReader struct {
// contains filtered or unexported fields
}
IsInstanceAliveReader is a Reader for the IsInstanceAlive structure.
func (*IsInstanceAliveReader) ReadResponse ¶
func (o *IsInstanceAliveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IsInstanceReadyOK ¶
type IsInstanceReadyOK struct {
Payload *models.HealthStatus
}
IsInstanceReadyOK describes a response with status code 200, with default header values.
healthStatus
func NewIsInstanceReadyOK ¶
func NewIsInstanceReadyOK() *IsInstanceReadyOK
NewIsInstanceReadyOK creates a IsInstanceReadyOK with default headers values
func (*IsInstanceReadyOK) Error ¶
func (o *IsInstanceReadyOK) Error() string
func (*IsInstanceReadyOK) GetPayload ¶
func (o *IsInstanceReadyOK) GetPayload() *models.HealthStatus
func (*IsInstanceReadyOK) IsClientError ¶
func (o *IsInstanceReadyOK) IsClientError() bool
IsClientError returns true when this is instance ready o k response has a 4xx status code
func (*IsInstanceReadyOK) IsCode ¶
func (o *IsInstanceReadyOK) IsCode(code int) bool
IsCode returns true when this is instance ready o k response a status code equal to that given
func (*IsInstanceReadyOK) IsRedirect ¶
func (o *IsInstanceReadyOK) IsRedirect() bool
IsRedirect returns true when this is instance ready o k response has a 3xx status code
func (*IsInstanceReadyOK) IsServerError ¶
func (o *IsInstanceReadyOK) IsServerError() bool
IsServerError returns true when this is instance ready o k response has a 5xx status code
func (*IsInstanceReadyOK) IsSuccess ¶
func (o *IsInstanceReadyOK) IsSuccess() bool
IsSuccess returns true when this is instance ready o k response has a 2xx status code
func (*IsInstanceReadyOK) String ¶
func (o *IsInstanceReadyOK) String() string
type IsInstanceReadyParams ¶
type IsInstanceReadyParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IsInstanceReadyParams contains all the parameters to send to the API endpoint
for the is instance ready operation. Typically these are written to a http.Request.
func NewIsInstanceReadyParams ¶
func NewIsInstanceReadyParams() *IsInstanceReadyParams
NewIsInstanceReadyParams creates a new IsInstanceReadyParams 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 NewIsInstanceReadyParamsWithContext ¶
func NewIsInstanceReadyParamsWithContext(ctx context.Context) *IsInstanceReadyParams
NewIsInstanceReadyParamsWithContext creates a new IsInstanceReadyParams object with the ability to set a context for a request.
func NewIsInstanceReadyParamsWithHTTPClient ¶
func NewIsInstanceReadyParamsWithHTTPClient(client *http.Client) *IsInstanceReadyParams
NewIsInstanceReadyParamsWithHTTPClient creates a new IsInstanceReadyParams object with the ability to set a custom HTTPClient for a request.
func NewIsInstanceReadyParamsWithTimeout ¶
func NewIsInstanceReadyParamsWithTimeout(timeout time.Duration) *IsInstanceReadyParams
NewIsInstanceReadyParamsWithTimeout creates a new IsInstanceReadyParams object with the ability to set a timeout on a request.
func (*IsInstanceReadyParams) SetContext ¶
func (o *IsInstanceReadyParams) SetContext(ctx context.Context)
SetContext adds the context to the is instance ready params
func (*IsInstanceReadyParams) SetDefaults ¶
func (o *IsInstanceReadyParams) SetDefaults()
SetDefaults hydrates default values in the is instance ready params (not the query body).
All values with no default are reset to their zero value.
func (*IsInstanceReadyParams) SetHTTPClient ¶
func (o *IsInstanceReadyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the is instance ready params
func (*IsInstanceReadyParams) SetTimeout ¶
func (o *IsInstanceReadyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the is instance ready params
func (*IsInstanceReadyParams) WithContext ¶
func (o *IsInstanceReadyParams) WithContext(ctx context.Context) *IsInstanceReadyParams
WithContext adds the context to the is instance ready params
func (*IsInstanceReadyParams) WithDefaults ¶
func (o *IsInstanceReadyParams) WithDefaults() *IsInstanceReadyParams
WithDefaults hydrates default values in the is instance ready params (not the query body).
All values with no default are reset to their zero value.
func (*IsInstanceReadyParams) WithHTTPClient ¶
func (o *IsInstanceReadyParams) WithHTTPClient(client *http.Client) *IsInstanceReadyParams
WithHTTPClient adds the HTTPClient to the is instance ready params
func (*IsInstanceReadyParams) WithTimeout ¶
func (o *IsInstanceReadyParams) WithTimeout(timeout time.Duration) *IsInstanceReadyParams
WithTimeout adds the timeout to the is instance ready params
func (*IsInstanceReadyParams) WriteToRequest ¶
func (o *IsInstanceReadyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IsInstanceReadyReader ¶
type IsInstanceReadyReader struct {
// contains filtered or unexported fields
}
IsInstanceReadyReader is a Reader for the IsInstanceReady structure.
func (*IsInstanceReadyReader) ReadResponse ¶
func (o *IsInstanceReadyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type IsInstanceReadyServiceUnavailable ¶
type IsInstanceReadyServiceUnavailable struct {
}IsInstanceReadyServiceUnavailable describes a response with status code 503, with default header values.
healthNotReadyStatus
func NewIsInstanceReadyServiceUnavailable ¶
func NewIsInstanceReadyServiceUnavailable() *IsInstanceReadyServiceUnavailable
NewIsInstanceReadyServiceUnavailable creates a IsInstanceReadyServiceUnavailable with default headers values
func (*IsInstanceReadyServiceUnavailable) Error ¶
func (o *IsInstanceReadyServiceUnavailable) Error() string
func (*IsInstanceReadyServiceUnavailable) GetPayload ¶
func (o *IsInstanceReadyServiceUnavailable) GetPayload() *models.HealthNotReadyStatus
func (*IsInstanceReadyServiceUnavailable) IsClientError ¶
func (o *IsInstanceReadyServiceUnavailable) IsClientError() bool
IsClientError returns true when this is instance ready service unavailable response has a 4xx status code
func (*IsInstanceReadyServiceUnavailable) IsCode ¶
func (o *IsInstanceReadyServiceUnavailable) IsCode(code int) bool
IsCode returns true when this is instance ready service unavailable response a status code equal to that given
func (*IsInstanceReadyServiceUnavailable) IsRedirect ¶
func (o *IsInstanceReadyServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this is instance ready service unavailable response has a 3xx status code
func (*IsInstanceReadyServiceUnavailable) IsServerError ¶
func (o *IsInstanceReadyServiceUnavailable) IsServerError() bool
IsServerError returns true when this is instance ready service unavailable response has a 5xx status code
func (*IsInstanceReadyServiceUnavailable) IsSuccess ¶
func (o *IsInstanceReadyServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this is instance ready service unavailable response has a 2xx status code
func (*IsInstanceReadyServiceUnavailable) String ¶
func (o *IsInstanceReadyServiceUnavailable) String() string
type ListRulesInternalServerError ¶
type ListRulesInternalServerError struct {
Payload *models.GenericError
}
ListRulesInternalServerError describes a response with status code 500, with default header values.
genericError
func NewListRulesInternalServerError ¶
func NewListRulesInternalServerError() *ListRulesInternalServerError
NewListRulesInternalServerError creates a ListRulesInternalServerError with default headers values
func (*ListRulesInternalServerError) Error ¶
func (o *ListRulesInternalServerError) Error() string
func (*ListRulesInternalServerError) GetPayload ¶
func (o *ListRulesInternalServerError) GetPayload() *models.GenericError
func (*ListRulesInternalServerError) IsClientError ¶
func (o *ListRulesInternalServerError) IsClientError() bool
IsClientError returns true when this list rules internal server error response has a 4xx status code
func (*ListRulesInternalServerError) IsCode ¶
func (o *ListRulesInternalServerError) IsCode(code int) bool
IsCode returns true when this list rules internal server error response a status code equal to that given
func (*ListRulesInternalServerError) IsRedirect ¶
func (o *ListRulesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list rules internal server error response has a 3xx status code
func (*ListRulesInternalServerError) IsServerError ¶
func (o *ListRulesInternalServerError) IsServerError() bool
IsServerError returns true when this list rules internal server error response has a 5xx status code
func (*ListRulesInternalServerError) IsSuccess ¶
func (o *ListRulesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list rules internal server error response has a 2xx status code
func (*ListRulesInternalServerError) String ¶
func (o *ListRulesInternalServerError) String() string
type ListRulesOK ¶
ListRulesOK describes a response with status code 200, with default header values.
A list of rules
func NewListRulesOK ¶
func NewListRulesOK() *ListRulesOK
NewListRulesOK creates a ListRulesOK with default headers values
func (*ListRulesOK) Error ¶
func (o *ListRulesOK) Error() string
func (*ListRulesOK) GetPayload ¶
func (o *ListRulesOK) GetPayload() []*models.Rule
func (*ListRulesOK) IsClientError ¶
func (o *ListRulesOK) IsClientError() bool
IsClientError returns true when this list rules o k response has a 4xx status code
func (*ListRulesOK) IsCode ¶
func (o *ListRulesOK) IsCode(code int) bool
IsCode returns true when this list rules o k response a status code equal to that given
func (*ListRulesOK) IsRedirect ¶
func (o *ListRulesOK) IsRedirect() bool
IsRedirect returns true when this list rules o k response has a 3xx status code
func (*ListRulesOK) IsServerError ¶
func (o *ListRulesOK) IsServerError() bool
IsServerError returns true when this list rules o k response has a 5xx status code
func (*ListRulesOK) IsSuccess ¶
func (o *ListRulesOK) IsSuccess() bool
IsSuccess returns true when this list rules o k response has a 2xx status code
func (*ListRulesOK) String ¶
func (o *ListRulesOK) String() string
type ListRulesParams ¶
type ListRulesParams struct { /* Limit. The maximum amount of rules returned. Format: int64 */ Limit *int64 /* Offset. The offset from where to start looking. Format: int64 */ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRulesParams contains all the parameters to send to the API endpoint
for the list rules operation. Typically these are written to a http.Request.
func NewListRulesParams ¶
func NewListRulesParams() *ListRulesParams
NewListRulesParams creates a new ListRulesParams 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 NewListRulesParamsWithContext ¶
func NewListRulesParamsWithContext(ctx context.Context) *ListRulesParams
NewListRulesParamsWithContext creates a new ListRulesParams object with the ability to set a context for a request.
func NewListRulesParamsWithHTTPClient ¶
func NewListRulesParamsWithHTTPClient(client *http.Client) *ListRulesParams
NewListRulesParamsWithHTTPClient creates a new ListRulesParams object with the ability to set a custom HTTPClient for a request.
func NewListRulesParamsWithTimeout ¶
func NewListRulesParamsWithTimeout(timeout time.Duration) *ListRulesParams
NewListRulesParamsWithTimeout creates a new ListRulesParams object with the ability to set a timeout on a request.
func (*ListRulesParams) SetContext ¶
func (o *ListRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the list rules params
func (*ListRulesParams) SetDefaults ¶
func (o *ListRulesParams) SetDefaults()
SetDefaults hydrates default values in the list rules params (not the query body).
All values with no default are reset to their zero value.
func (*ListRulesParams) SetHTTPClient ¶
func (o *ListRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list rules params
func (*ListRulesParams) SetLimit ¶
func (o *ListRulesParams) SetLimit(limit *int64)
SetLimit adds the limit to the list rules params
func (*ListRulesParams) SetOffset ¶
func (o *ListRulesParams) SetOffset(offset *int64)
SetOffset adds the offset to the list rules params
func (*ListRulesParams) SetTimeout ¶
func (o *ListRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list rules params
func (*ListRulesParams) WithContext ¶
func (o *ListRulesParams) WithContext(ctx context.Context) *ListRulesParams
WithContext adds the context to the list rules params
func (*ListRulesParams) WithDefaults ¶
func (o *ListRulesParams) WithDefaults() *ListRulesParams
WithDefaults hydrates default values in the list rules params (not the query body).
All values with no default are reset to their zero value.
func (*ListRulesParams) WithHTTPClient ¶
func (o *ListRulesParams) WithHTTPClient(client *http.Client) *ListRulesParams
WithHTTPClient adds the HTTPClient to the list rules params
func (*ListRulesParams) WithLimit ¶
func (o *ListRulesParams) WithLimit(limit *int64) *ListRulesParams
WithLimit adds the limit to the list rules params
func (*ListRulesParams) WithOffset ¶
func (o *ListRulesParams) WithOffset(offset *int64) *ListRulesParams
WithOffset adds the offset to the list rules params
func (*ListRulesParams) WithTimeout ¶
func (o *ListRulesParams) WithTimeout(timeout time.Duration) *ListRulesParams
WithTimeout adds the timeout to the list rules params
func (*ListRulesParams) WriteToRequest ¶
func (o *ListRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRulesReader ¶
type ListRulesReader struct {
// contains filtered or unexported fields
}
ListRulesReader is a Reader for the ListRules structure.
func (*ListRulesReader) ReadResponse ¶
func (o *ListRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- api_client.go
- decisions_parameters.go
- decisions_responses.go
- get_rule_parameters.go
- get_rule_responses.go
- get_version_parameters.go
- get_version_responses.go
- get_well_known_json_web_keys_parameters.go
- get_well_known_json_web_keys_responses.go
- is_instance_alive_parameters.go
- is_instance_alive_responses.go
- is_instance_ready_parameters.go
- is_instance_ready_responses.go
- list_rules_parameters.go
- list_rules_responses.go