oathkeeper: github.com/ory/oathkeeper/sdk/go/oathkeeper/client/api Index | Files

package api

import "github.com/ory/oathkeeper/sdk/go/oathkeeper/client/api"

Index

Package 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

type Client Uses

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

Client for api API

func New Uses

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new api API client.

func (*Client) Decisions Uses

func (a *Client) Decisions(params *DecisionsParams) (*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 Uses

func (a *Client) GetRule(params *GetRuleParams) (*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 Uses

func (a *Client) GetVersion(params *GetVersionParams) (*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 Uses

func (a *Client) GetWellKnownJSONWebKeys(params *GetWellKnownJSONWebKeysParams) (*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 Uses

func (a *Client) IsInstanceAlive(params *IsInstanceAliveParams) (*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 Uses

func (a *Client) IsInstanceReady(params *IsInstanceReadyParams) (*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 Uses

func (a *Client) ListRules(params *ListRulesParams) (*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 Uses

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

SetTransport changes the transport on the client

type DecisionsForbidden Uses

type DecisionsForbidden struct {
    Payload *DecisionsForbiddenBody
}

DecisionsForbidden handles this case with default header values.

The standard error format

func NewDecisionsForbidden Uses

func NewDecisionsForbidden() *DecisionsForbidden

NewDecisionsForbidden creates a DecisionsForbidden with default headers values

func (*DecisionsForbidden) Error Uses

func (o *DecisionsForbidden) Error() string

type DecisionsForbiddenBody Uses

type DecisionsForbiddenBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

DecisionsForbiddenBody decisions forbidden body swagger:model DecisionsForbiddenBody

func (*DecisionsForbiddenBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DecisionsForbiddenBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DecisionsForbiddenBody) Validate Uses

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

Validate validates this decisions forbidden body

type DecisionsInternalServerError Uses

type DecisionsInternalServerError struct {
    Payload *DecisionsInternalServerErrorBody
}

DecisionsInternalServerError handles this case with default header values.

The standard error format

func NewDecisionsInternalServerError Uses

func NewDecisionsInternalServerError() *DecisionsInternalServerError

NewDecisionsInternalServerError creates a DecisionsInternalServerError with default headers values

func (*DecisionsInternalServerError) Error Uses

func (o *DecisionsInternalServerError) Error() string

type DecisionsInternalServerErrorBody Uses

type DecisionsInternalServerErrorBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

DecisionsInternalServerErrorBody decisions internal server error body swagger:model DecisionsInternalServerErrorBody

func (*DecisionsInternalServerErrorBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DecisionsInternalServerErrorBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DecisionsInternalServerErrorBody) Validate Uses

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

Validate validates this decisions internal server error body

type DecisionsNotFound Uses

type DecisionsNotFound struct {
    Payload *DecisionsNotFoundBody
}

DecisionsNotFound handles this case with default header values.

The standard error format

func NewDecisionsNotFound Uses

func NewDecisionsNotFound() *DecisionsNotFound

NewDecisionsNotFound creates a DecisionsNotFound with default headers values

func (*DecisionsNotFound) Error Uses

func (o *DecisionsNotFound) Error() string

type DecisionsNotFoundBody Uses

type DecisionsNotFoundBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

DecisionsNotFoundBody decisions not found body swagger:model DecisionsNotFoundBody

func (*DecisionsNotFoundBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DecisionsNotFoundBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DecisionsNotFoundBody) Validate Uses

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

Validate validates this decisions not found body

type DecisionsOK Uses

type DecisionsOK struct {
}

DecisionsOK handles this case with default header values.

An empty response

func NewDecisionsOK Uses

func NewDecisionsOK() *DecisionsOK

NewDecisionsOK creates a DecisionsOK with default headers values

func (*DecisionsOK) Error Uses

func (o *DecisionsOK) Error() string

type DecisionsParams Uses

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 Uses

func NewDecisionsParams() *DecisionsParams

NewDecisionsParams creates a new DecisionsParams object with the default values initialized.

func NewDecisionsParamsWithContext Uses

func NewDecisionsParamsWithContext(ctx context.Context) *DecisionsParams

NewDecisionsParamsWithContext creates a new DecisionsParams object with the default values initialized, and the ability to set a context for a request

func NewDecisionsParamsWithHTTPClient Uses

func NewDecisionsParamsWithHTTPClient(client *http.Client) *DecisionsParams

NewDecisionsParamsWithHTTPClient creates a new DecisionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDecisionsParamsWithTimeout Uses

func NewDecisionsParamsWithTimeout(timeout time.Duration) *DecisionsParams

NewDecisionsParamsWithTimeout creates a new DecisionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DecisionsParams) SetContext Uses

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

SetContext adds the context to the decisions params

func (*DecisionsParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the decisions params

func (*DecisionsParams) SetTimeout Uses

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

SetTimeout adds the timeout to the decisions params

func (*DecisionsParams) WithContext Uses

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

WithContext adds the context to the decisions params

func (*DecisionsParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the decisions params

func (*DecisionsParams) WithTimeout Uses

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

WithTimeout adds the timeout to the decisions params

func (*DecisionsParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type DecisionsReader Uses

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

DecisionsReader is a Reader for the Decisions structure.

func (*DecisionsReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type DecisionsUnauthorized Uses

type DecisionsUnauthorized struct {
    Payload *DecisionsUnauthorizedBody
}

DecisionsUnauthorized handles this case with default header values.

The standard error format

func NewDecisionsUnauthorized Uses

func NewDecisionsUnauthorized() *DecisionsUnauthorized

NewDecisionsUnauthorized creates a DecisionsUnauthorized with default headers values

func (*DecisionsUnauthorized) Error Uses

func (o *DecisionsUnauthorized) Error() string

type DecisionsUnauthorizedBody Uses

type DecisionsUnauthorizedBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

DecisionsUnauthorizedBody decisions unauthorized body swagger:model DecisionsUnauthorizedBody

func (*DecisionsUnauthorizedBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DecisionsUnauthorizedBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DecisionsUnauthorizedBody) Validate Uses

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

Validate validates this decisions unauthorized body

type GetRuleInternalServerError Uses

type GetRuleInternalServerError struct {
    Payload *GetRuleInternalServerErrorBody
}

GetRuleInternalServerError handles this case with default header values.

The standard error format

func NewGetRuleInternalServerError Uses

func NewGetRuleInternalServerError() *GetRuleInternalServerError

NewGetRuleInternalServerError creates a GetRuleInternalServerError with default headers values

func (*GetRuleInternalServerError) Error Uses

func (o *GetRuleInternalServerError) Error() string

type GetRuleInternalServerErrorBody Uses

type GetRuleInternalServerErrorBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

GetRuleInternalServerErrorBody get rule internal server error body swagger:model GetRuleInternalServerErrorBody

func (*GetRuleInternalServerErrorBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*GetRuleInternalServerErrorBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*GetRuleInternalServerErrorBody) Validate Uses

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

Validate validates this get rule internal server error body

type GetRuleNotFound Uses

type GetRuleNotFound struct {
    Payload *GetRuleNotFoundBody
}

GetRuleNotFound handles this case with default header values.

The standard error format

func NewGetRuleNotFound Uses

func NewGetRuleNotFound() *GetRuleNotFound

NewGetRuleNotFound creates a GetRuleNotFound with default headers values

func (*GetRuleNotFound) Error Uses

func (o *GetRuleNotFound) Error() string

type GetRuleNotFoundBody Uses

type GetRuleNotFoundBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

GetRuleNotFoundBody get rule not found body swagger:model GetRuleNotFoundBody

func (*GetRuleNotFoundBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*GetRuleNotFoundBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*GetRuleNotFoundBody) Validate Uses

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

Validate validates this get rule not found body

type GetRuleOK Uses

type GetRuleOK struct {
    Payload *models.SwaggerRule
}

GetRuleOK handles this case with default header values.

A rule

func NewGetRuleOK Uses

func NewGetRuleOK() *GetRuleOK

NewGetRuleOK creates a GetRuleOK with default headers values

func (*GetRuleOK) Error Uses

func (o *GetRuleOK) Error() string

type GetRuleParams Uses

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 Uses

func NewGetRuleParams() *GetRuleParams

NewGetRuleParams creates a new GetRuleParams object with the default values initialized.

func NewGetRuleParamsWithContext Uses

func NewGetRuleParamsWithContext(ctx context.Context) *GetRuleParams

NewGetRuleParamsWithContext creates a new GetRuleParams object with the default values initialized, and the ability to set a context for a request

func NewGetRuleParamsWithHTTPClient Uses

func NewGetRuleParamsWithHTTPClient(client *http.Client) *GetRuleParams

NewGetRuleParamsWithHTTPClient creates a new GetRuleParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRuleParamsWithTimeout Uses

func NewGetRuleParamsWithTimeout(timeout time.Duration) *GetRuleParams

NewGetRuleParamsWithTimeout creates a new GetRuleParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRuleParams) SetContext Uses

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

SetContext adds the context to the get rule params

func (*GetRuleParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get rule params

func (*GetRuleParams) SetID Uses

func (o *GetRuleParams) SetID(id string)

SetID adds the id to the get rule params

func (*GetRuleParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get rule params

func (*GetRuleParams) WithContext Uses

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

WithContext adds the context to the get rule params

func (*GetRuleParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get rule params

func (*GetRuleParams) WithID Uses

func (o *GetRuleParams) WithID(id string) *GetRuleParams

WithID adds the id to the get rule params

func (*GetRuleParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get rule params

func (*GetRuleParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetRuleReader Uses

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

GetRuleReader is a Reader for the GetRule structure.

func (*GetRuleReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetVersionOK Uses

type GetVersionOK struct {
    Payload *models.SwaggerVersion
}

GetVersionOK handles this case with default header values.

version

func NewGetVersionOK Uses

func NewGetVersionOK() *GetVersionOK

NewGetVersionOK creates a GetVersionOK with default headers values

func (*GetVersionOK) Error Uses

func (o *GetVersionOK) Error() string

type GetVersionParams Uses

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 Uses

func NewGetVersionParams() *GetVersionParams

NewGetVersionParams creates a new GetVersionParams object with the default values initialized.

func NewGetVersionParamsWithContext Uses

func NewGetVersionParamsWithContext(ctx context.Context) *GetVersionParams

NewGetVersionParamsWithContext creates a new GetVersionParams object with the default values initialized, and the ability to set a context for a request

func NewGetVersionParamsWithHTTPClient Uses

func NewGetVersionParamsWithHTTPClient(client *http.Client) *GetVersionParams

NewGetVersionParamsWithHTTPClient creates a new GetVersionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetVersionParamsWithTimeout Uses

func NewGetVersionParamsWithTimeout(timeout time.Duration) *GetVersionParams

NewGetVersionParamsWithTimeout creates a new GetVersionParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetVersionParams) SetContext Uses

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

SetContext adds the context to the get version params

func (*GetVersionParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get version params

func (*GetVersionParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get version params

func (*GetVersionParams) WithContext Uses

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

WithContext adds the context to the get version params

func (*GetVersionParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get version params

func (*GetVersionParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get version params

func (*GetVersionParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetVersionReader Uses

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

GetVersionReader is a Reader for the GetVersion structure.

func (*GetVersionReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type GetWellKnownJSONWebKeysInternalServerError Uses

type GetWellKnownJSONWebKeysInternalServerError struct {
    Payload *GetWellKnownJSONWebKeysInternalServerErrorBody
}

GetWellKnownJSONWebKeysInternalServerError handles this case with default header values.

The standard error format

func NewGetWellKnownJSONWebKeysInternalServerError Uses

func NewGetWellKnownJSONWebKeysInternalServerError() *GetWellKnownJSONWebKeysInternalServerError

NewGetWellKnownJSONWebKeysInternalServerError creates a GetWellKnownJSONWebKeysInternalServerError with default headers values

func (*GetWellKnownJSONWebKeysInternalServerError) Error Uses

func (o *GetWellKnownJSONWebKeysInternalServerError) Error() string

type GetWellKnownJSONWebKeysInternalServerErrorBody Uses

type GetWellKnownJSONWebKeysInternalServerErrorBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

GetWellKnownJSONWebKeysInternalServerErrorBody get well known JSON web keys internal server error body swagger:model GetWellKnownJSONWebKeysInternalServerErrorBody

func (*GetWellKnownJSONWebKeysInternalServerErrorBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*GetWellKnownJSONWebKeysInternalServerErrorBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*GetWellKnownJSONWebKeysInternalServerErrorBody) Validate Uses

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

Validate validates this get well known JSON web keys internal server error body

type GetWellKnownJSONWebKeysOK Uses

type GetWellKnownJSONWebKeysOK struct {
    Payload *models.SwaggerJSONWebKeySet
}

GetWellKnownJSONWebKeysOK handles this case with default header values.

jsonWebKeySet

func NewGetWellKnownJSONWebKeysOK Uses

func NewGetWellKnownJSONWebKeysOK() *GetWellKnownJSONWebKeysOK

NewGetWellKnownJSONWebKeysOK creates a GetWellKnownJSONWebKeysOK with default headers values

func (*GetWellKnownJSONWebKeysOK) Error Uses

func (o *GetWellKnownJSONWebKeysOK) Error() string

type GetWellKnownJSONWebKeysParams Uses

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 Uses

func NewGetWellKnownJSONWebKeysParams() *GetWellKnownJSONWebKeysParams

NewGetWellKnownJSONWebKeysParams creates a new GetWellKnownJSONWebKeysParams object with the default values initialized.

func NewGetWellKnownJSONWebKeysParamsWithContext Uses

func NewGetWellKnownJSONWebKeysParamsWithContext(ctx context.Context) *GetWellKnownJSONWebKeysParams

NewGetWellKnownJSONWebKeysParamsWithContext creates a new GetWellKnownJSONWebKeysParams object with the default values initialized, and the ability to set a context for a request

func NewGetWellKnownJSONWebKeysParamsWithHTTPClient Uses

func NewGetWellKnownJSONWebKeysParamsWithHTTPClient(client *http.Client) *GetWellKnownJSONWebKeysParams

NewGetWellKnownJSONWebKeysParamsWithHTTPClient creates a new GetWellKnownJSONWebKeysParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetWellKnownJSONWebKeysParamsWithTimeout Uses

func NewGetWellKnownJSONWebKeysParamsWithTimeout(timeout time.Duration) *GetWellKnownJSONWebKeysParams

NewGetWellKnownJSONWebKeysParamsWithTimeout creates a new GetWellKnownJSONWebKeysParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetWellKnownJSONWebKeysParams) SetContext Uses

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

SetContext adds the context to the get well known JSON web keys params

func (*GetWellKnownJSONWebKeysParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the get well known JSON web keys params

func (*GetWellKnownJSONWebKeysParams) SetTimeout Uses

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

SetTimeout adds the timeout to the get well known JSON web keys params

func (*GetWellKnownJSONWebKeysParams) WithContext Uses

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

WithContext adds the context to the get well known JSON web keys params

func (*GetWellKnownJSONWebKeysParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the get well known JSON web keys params

func (*GetWellKnownJSONWebKeysParams) WithTimeout Uses

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

WithTimeout adds the timeout to the get well known JSON web keys params

func (*GetWellKnownJSONWebKeysParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type GetWellKnownJSONWebKeysReader Uses

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

GetWellKnownJSONWebKeysReader is a Reader for the GetWellKnownJSONWebKeys structure.

func (*GetWellKnownJSONWebKeysReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type IsInstanceAliveInternalServerError Uses

type IsInstanceAliveInternalServerError struct {
    Payload *IsInstanceAliveInternalServerErrorBody
}

IsInstanceAliveInternalServerError handles this case with default header values.

The standard error format

func NewIsInstanceAliveInternalServerError Uses

func NewIsInstanceAliveInternalServerError() *IsInstanceAliveInternalServerError

NewIsInstanceAliveInternalServerError creates a IsInstanceAliveInternalServerError with default headers values

func (*IsInstanceAliveInternalServerError) Error Uses

func (o *IsInstanceAliveInternalServerError) Error() string

type IsInstanceAliveInternalServerErrorBody Uses

type IsInstanceAliveInternalServerErrorBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

IsInstanceAliveInternalServerErrorBody is instance alive internal server error body swagger:model IsInstanceAliveInternalServerErrorBody

func (*IsInstanceAliveInternalServerErrorBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*IsInstanceAliveInternalServerErrorBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*IsInstanceAliveInternalServerErrorBody) Validate Uses

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

Validate validates this is instance alive internal server error body

type IsInstanceAliveOK Uses

type IsInstanceAliveOK struct {
    Payload *models.SwaggerHealthStatus
}

IsInstanceAliveOK handles this case with default header values.

healthStatus

func NewIsInstanceAliveOK Uses

func NewIsInstanceAliveOK() *IsInstanceAliveOK

NewIsInstanceAliveOK creates a IsInstanceAliveOK with default headers values

func (*IsInstanceAliveOK) Error Uses

func (o *IsInstanceAliveOK) Error() string

type IsInstanceAliveParams Uses

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 Uses

func NewIsInstanceAliveParams() *IsInstanceAliveParams

NewIsInstanceAliveParams creates a new IsInstanceAliveParams object with the default values initialized.

func NewIsInstanceAliveParamsWithContext Uses

func NewIsInstanceAliveParamsWithContext(ctx context.Context) *IsInstanceAliveParams

NewIsInstanceAliveParamsWithContext creates a new IsInstanceAliveParams object with the default values initialized, and the ability to set a context for a request

func NewIsInstanceAliveParamsWithHTTPClient Uses

func NewIsInstanceAliveParamsWithHTTPClient(client *http.Client) *IsInstanceAliveParams

NewIsInstanceAliveParamsWithHTTPClient creates a new IsInstanceAliveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIsInstanceAliveParamsWithTimeout Uses

func NewIsInstanceAliveParamsWithTimeout(timeout time.Duration) *IsInstanceAliveParams

NewIsInstanceAliveParamsWithTimeout creates a new IsInstanceAliveParams object with the default values initialized, and the ability to set a timeout on a request

func (*IsInstanceAliveParams) SetContext Uses

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

SetContext adds the context to the is instance alive params

func (*IsInstanceAliveParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the is instance alive params

func (*IsInstanceAliveParams) SetTimeout Uses

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

SetTimeout adds the timeout to the is instance alive params

func (*IsInstanceAliveParams) WithContext Uses

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

WithContext adds the context to the is instance alive params

func (*IsInstanceAliveParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the is instance alive params

func (*IsInstanceAliveParams) WithTimeout Uses

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

WithTimeout adds the timeout to the is instance alive params

func (*IsInstanceAliveParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type IsInstanceAliveReader Uses

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

IsInstanceAliveReader is a Reader for the IsInstanceAlive structure.

func (*IsInstanceAliveReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type IsInstanceReadyOK Uses

type IsInstanceReadyOK struct {
    Payload *models.SwaggerHealthStatus
}

IsInstanceReadyOK handles this case with default header values.

healthStatus

func NewIsInstanceReadyOK Uses

func NewIsInstanceReadyOK() *IsInstanceReadyOK

NewIsInstanceReadyOK creates a IsInstanceReadyOK with default headers values

func (*IsInstanceReadyOK) Error Uses

func (o *IsInstanceReadyOK) Error() string

type IsInstanceReadyParams Uses

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 Uses

func NewIsInstanceReadyParams() *IsInstanceReadyParams

NewIsInstanceReadyParams creates a new IsInstanceReadyParams object with the default values initialized.

func NewIsInstanceReadyParamsWithContext Uses

func NewIsInstanceReadyParamsWithContext(ctx context.Context) *IsInstanceReadyParams

NewIsInstanceReadyParamsWithContext creates a new IsInstanceReadyParams object with the default values initialized, and the ability to set a context for a request

func NewIsInstanceReadyParamsWithHTTPClient Uses

func NewIsInstanceReadyParamsWithHTTPClient(client *http.Client) *IsInstanceReadyParams

NewIsInstanceReadyParamsWithHTTPClient creates a new IsInstanceReadyParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewIsInstanceReadyParamsWithTimeout Uses

func NewIsInstanceReadyParamsWithTimeout(timeout time.Duration) *IsInstanceReadyParams

NewIsInstanceReadyParamsWithTimeout creates a new IsInstanceReadyParams object with the default values initialized, and the ability to set a timeout on a request

func (*IsInstanceReadyParams) SetContext Uses

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

SetContext adds the context to the is instance ready params

func (*IsInstanceReadyParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the is instance ready params

func (*IsInstanceReadyParams) SetTimeout Uses

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

SetTimeout adds the timeout to the is instance ready params

func (*IsInstanceReadyParams) WithContext Uses

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

WithContext adds the context to the is instance ready params

func (*IsInstanceReadyParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the is instance ready params

func (*IsInstanceReadyParams) WithTimeout Uses

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

WithTimeout adds the timeout to the is instance ready params

func (*IsInstanceReadyParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type IsInstanceReadyReader Uses

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

IsInstanceReadyReader is a Reader for the IsInstanceReady structure.

func (*IsInstanceReadyReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

type IsInstanceReadyServiceUnavailable Uses

type IsInstanceReadyServiceUnavailable struct {
    Payload *models.SwaggerNotReadyStatus
}

IsInstanceReadyServiceUnavailable handles this case with default header values.

healthNotReadyStatus

func NewIsInstanceReadyServiceUnavailable Uses

func NewIsInstanceReadyServiceUnavailable() *IsInstanceReadyServiceUnavailable

NewIsInstanceReadyServiceUnavailable creates a IsInstanceReadyServiceUnavailable with default headers values

func (*IsInstanceReadyServiceUnavailable) Error Uses

func (o *IsInstanceReadyServiceUnavailable) Error() string

type ListRulesInternalServerError Uses

type ListRulesInternalServerError struct {
    Payload *ListRulesInternalServerErrorBody
}

ListRulesInternalServerError handles this case with default header values.

The standard error format

func NewListRulesInternalServerError Uses

func NewListRulesInternalServerError() *ListRulesInternalServerError

NewListRulesInternalServerError creates a ListRulesInternalServerError with default headers values

func (*ListRulesInternalServerError) Error Uses

func (o *ListRulesInternalServerError) Error() string

type ListRulesInternalServerErrorBody Uses

type ListRulesInternalServerErrorBody struct {

    // code
    Code int64 `json:"code,omitempty"`

    // details
    Details []map[string]interface{} `json:"details"`

    // message
    Message string `json:"message,omitempty"`

    // reason
    Reason string `json:"reason,omitempty"`

    // request
    Request string `json:"request,omitempty"`

    // status
    Status string `json:"status,omitempty"`
}

ListRulesInternalServerErrorBody list rules internal server error body swagger:model ListRulesInternalServerErrorBody

func (*ListRulesInternalServerErrorBody) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ListRulesInternalServerErrorBody) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ListRulesInternalServerErrorBody) Validate Uses

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

Validate validates this list rules internal server error body

type ListRulesOK Uses

type ListRulesOK struct {
    Payload []*models.SwaggerRule
}

ListRulesOK handles this case with default header values.

A list of rules

func NewListRulesOK Uses

func NewListRulesOK() *ListRulesOK

NewListRulesOK creates a ListRulesOK with default headers values

func (*ListRulesOK) Error Uses

func (o *ListRulesOK) Error() string

type ListRulesParams Uses

type ListRulesParams struct {

    /*Limit
      The maximum amount of rules returned.

    */
    Limit *int64
    /*Offset
      The offset from where to start looking.

    */
    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 Uses

func NewListRulesParams() *ListRulesParams

NewListRulesParams creates a new ListRulesParams object with the default values initialized.

func NewListRulesParamsWithContext Uses

func NewListRulesParamsWithContext(ctx context.Context) *ListRulesParams

NewListRulesParamsWithContext creates a new ListRulesParams object with the default values initialized, and the ability to set a context for a request

func NewListRulesParamsWithHTTPClient Uses

func NewListRulesParamsWithHTTPClient(client *http.Client) *ListRulesParams

NewListRulesParamsWithHTTPClient creates a new ListRulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListRulesParamsWithTimeout Uses

func NewListRulesParamsWithTimeout(timeout time.Duration) *ListRulesParams

NewListRulesParamsWithTimeout creates a new ListRulesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListRulesParams) SetContext Uses

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

SetContext adds the context to the list rules params

func (*ListRulesParams) SetHTTPClient Uses

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

SetHTTPClient adds the HTTPClient to the list rules params

func (*ListRulesParams) SetLimit Uses

func (o *ListRulesParams) SetLimit(limit *int64)

SetLimit adds the limit to the list rules params

func (*ListRulesParams) SetOffset Uses

func (o *ListRulesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list rules params

func (*ListRulesParams) SetTimeout Uses

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

SetTimeout adds the timeout to the list rules params

func (*ListRulesParams) WithContext Uses

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

WithContext adds the context to the list rules params

func (*ListRulesParams) WithHTTPClient Uses

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

WithHTTPClient adds the HTTPClient to the list rules params

func (*ListRulesParams) WithLimit Uses

func (o *ListRulesParams) WithLimit(limit *int64) *ListRulesParams

WithLimit adds the limit to the list rules params

func (*ListRulesParams) WithOffset Uses

func (o *ListRulesParams) WithOffset(offset *int64) *ListRulesParams

WithOffset adds the offset to the list rules params

func (*ListRulesParams) WithTimeout Uses

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

WithTimeout adds the timeout to the list rules params

func (*ListRulesParams) WriteToRequest Uses

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

WriteToRequest writes these params to a swagger request

type ListRulesReader Uses

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

ListRulesReader is a Reader for the ListRules structure.

func (*ListRulesReader) ReadResponse Uses

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

ReadResponse reads a server response into the received o.

Package api imports 11 packages (graph) and is imported by 2 packages. Updated 2019-09-07. Refresh now. Tools for package owners.