Documentation ¶
Index ¶
- type Client
- func (a *Client) GetMetadata(opts ...ClientOption) (*GetMetadataOK, error)
- func (a *Client) GetMetadataWithParams(params *GetMetadataParams, opts ...ClientOption) (*GetMetadataOK, error)
- func (a *Client) GetSAMLLogout(opts ...ClientOption) error
- func (a *Client) GetSAMLLogoutWithParams(params *GetSAMLLogoutParams, opts ...ClientOption) error
- func (a *Client) GetSLO(opts ...ClientOption) error
- func (a *Client) GetSLOWithParams(params *GetSLOParams, opts ...ClientOption) error
- func (a *Client) PostACS(params *PostACSParams, opts ...ClientOption) error
- func (a *Client) PostSLO(params *PostSLOParams, opts ...ClientOption) error
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetMetadataOK
- func (o *GetMetadataOK) Code() int
- func (o *GetMetadataOK) Error() string
- func (o *GetMetadataOK) GetPayload() []uint8
- func (o *GetMetadataOK) IsClientError() bool
- func (o *GetMetadataOK) IsCode(code int) bool
- func (o *GetMetadataOK) IsRedirect() bool
- func (o *GetMetadataOK) IsServerError() bool
- func (o *GetMetadataOK) IsSuccess() bool
- func (o *GetMetadataOK) String() string
- type GetMetadataParams
- func (o *GetMetadataParams) SetContext(ctx context.Context)
- func (o *GetMetadataParams) SetDefaults()
- func (o *GetMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetMetadataParams) WithContext(ctx context.Context) *GetMetadataParams
- func (o *GetMetadataParams) WithDefaults() *GetMetadataParams
- func (o *GetMetadataParams) WithHTTPClient(client *http.Client) *GetMetadataParams
- func (o *GetMetadataParams) WithTimeout(timeout time.Duration) *GetMetadataParams
- func (o *GetMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetadataReader
- type GetSAMLLogoutFound
- func (o *GetSAMLLogoutFound) Code() int
- func (o *GetSAMLLogoutFound) Error() string
- func (o *GetSAMLLogoutFound) IsClientError() bool
- func (o *GetSAMLLogoutFound) IsCode(code int) bool
- func (o *GetSAMLLogoutFound) IsRedirect() bool
- func (o *GetSAMLLogoutFound) IsServerError() bool
- func (o *GetSAMLLogoutFound) IsSuccess() bool
- func (o *GetSAMLLogoutFound) String() string
- type GetSAMLLogoutInternalServerError
- func (o *GetSAMLLogoutInternalServerError) Code() int
- func (o *GetSAMLLogoutInternalServerError) Error() string
- func (o *GetSAMLLogoutInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetSAMLLogoutInternalServerError) IsClientError() bool
- func (o *GetSAMLLogoutInternalServerError) IsCode(code int) bool
- func (o *GetSAMLLogoutInternalServerError) IsRedirect() bool
- func (o *GetSAMLLogoutInternalServerError) IsServerError() bool
- func (o *GetSAMLLogoutInternalServerError) IsSuccess() bool
- func (o *GetSAMLLogoutInternalServerError) String() string
- type GetSAMLLogoutNotFound
- func (o *GetSAMLLogoutNotFound) Code() int
- func (o *GetSAMLLogoutNotFound) Error() string
- func (o *GetSAMLLogoutNotFound) GetPayload() *models.ErrorResponseBody
- func (o *GetSAMLLogoutNotFound) IsClientError() bool
- func (o *GetSAMLLogoutNotFound) IsCode(code int) bool
- func (o *GetSAMLLogoutNotFound) IsRedirect() bool
- func (o *GetSAMLLogoutNotFound) IsServerError() bool
- func (o *GetSAMLLogoutNotFound) IsSuccess() bool
- func (o *GetSAMLLogoutNotFound) String() string
- type GetSAMLLogoutParams
- func (o *GetSAMLLogoutParams) SetContext(ctx context.Context)
- func (o *GetSAMLLogoutParams) SetDefaults()
- func (o *GetSAMLLogoutParams) SetHTTPClient(client *http.Client)
- func (o *GetSAMLLogoutParams) SetTimeout(timeout time.Duration)
- func (o *GetSAMLLogoutParams) WithContext(ctx context.Context) *GetSAMLLogoutParams
- func (o *GetSAMLLogoutParams) WithDefaults() *GetSAMLLogoutParams
- func (o *GetSAMLLogoutParams) WithHTTPClient(client *http.Client) *GetSAMLLogoutParams
- func (o *GetSAMLLogoutParams) WithTimeout(timeout time.Duration) *GetSAMLLogoutParams
- func (o *GetSAMLLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSAMLLogoutReader
- type GetSLOBadRequest
- func (o *GetSLOBadRequest) Code() int
- func (o *GetSLOBadRequest) Error() string
- func (o *GetSLOBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *GetSLOBadRequest) IsClientError() bool
- func (o *GetSLOBadRequest) IsCode(code int) bool
- func (o *GetSLOBadRequest) IsRedirect() bool
- func (o *GetSLOBadRequest) IsServerError() bool
- func (o *GetSLOBadRequest) IsSuccess() bool
- func (o *GetSLOBadRequest) String() string
- type GetSLOForbidden
- func (o *GetSLOForbidden) Code() int
- func (o *GetSLOForbidden) Error() string
- func (o *GetSLOForbidden) GetPayload() *models.ErrorResponseBody
- func (o *GetSLOForbidden) IsClientError() bool
- func (o *GetSLOForbidden) IsCode(code int) bool
- func (o *GetSLOForbidden) IsRedirect() bool
- func (o *GetSLOForbidden) IsServerError() bool
- func (o *GetSLOForbidden) IsSuccess() bool
- func (o *GetSLOForbidden) String() string
- type GetSLOFound
- func (o *GetSLOFound) Code() int
- func (o *GetSLOFound) Error() string
- func (o *GetSLOFound) IsClientError() bool
- func (o *GetSLOFound) IsCode(code int) bool
- func (o *GetSLOFound) IsRedirect() bool
- func (o *GetSLOFound) IsServerError() bool
- func (o *GetSLOFound) IsSuccess() bool
- func (o *GetSLOFound) String() string
- type GetSLOInternalServerError
- func (o *GetSLOInternalServerError) Code() int
- func (o *GetSLOInternalServerError) Error() string
- func (o *GetSLOInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *GetSLOInternalServerError) IsClientError() bool
- func (o *GetSLOInternalServerError) IsCode(code int) bool
- func (o *GetSLOInternalServerError) IsRedirect() bool
- func (o *GetSLOInternalServerError) IsServerError() bool
- func (o *GetSLOInternalServerError) IsSuccess() bool
- func (o *GetSLOInternalServerError) String() string
- type GetSLOParams
- func (o *GetSLOParams) SetContext(ctx context.Context)
- func (o *GetSLOParams) SetDefaults()
- func (o *GetSLOParams) SetHTTPClient(client *http.Client)
- func (o *GetSLOParams) SetTimeout(timeout time.Duration)
- func (o *GetSLOParams) WithContext(ctx context.Context) *GetSLOParams
- func (o *GetSLOParams) WithDefaults() *GetSLOParams
- func (o *GetSLOParams) WithHTTPClient(client *http.Client) *GetSLOParams
- func (o *GetSLOParams) WithTimeout(timeout time.Duration) *GetSLOParams
- func (o *GetSLOParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSLOReader
- type PostACSForbidden
- func (o *PostACSForbidden) Code() int
- func (o *PostACSForbidden) Error() string
- func (o *PostACSForbidden) GetPayload() *models.ErrorResponseBody
- func (o *PostACSForbidden) IsClientError() bool
- func (o *PostACSForbidden) IsCode(code int) bool
- func (o *PostACSForbidden) IsRedirect() bool
- func (o *PostACSForbidden) IsServerError() bool
- func (o *PostACSForbidden) IsSuccess() bool
- func (o *PostACSForbidden) String() string
- type PostACSFound
- func (o *PostACSFound) Code() int
- func (o *PostACSFound) Error() string
- func (o *PostACSFound) IsClientError() bool
- func (o *PostACSFound) IsCode(code int) bool
- func (o *PostACSFound) IsRedirect() bool
- func (o *PostACSFound) IsServerError() bool
- func (o *PostACSFound) IsSuccess() bool
- func (o *PostACSFound) String() string
- type PostACSInternalServerError
- func (o *PostACSInternalServerError) Code() int
- func (o *PostACSInternalServerError) Error() string
- func (o *PostACSInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *PostACSInternalServerError) IsClientError() bool
- func (o *PostACSInternalServerError) IsCode(code int) bool
- func (o *PostACSInternalServerError) IsRedirect() bool
- func (o *PostACSInternalServerError) IsServerError() bool
- func (o *PostACSInternalServerError) IsSuccess() bool
- func (o *PostACSInternalServerError) String() string
- type PostACSParams
- func (o *PostACSParams) SetContext(ctx context.Context)
- func (o *PostACSParams) SetDefaults()
- func (o *PostACSParams) SetHTTPClient(client *http.Client)
- func (o *PostACSParams) SetRelayState(relayState *string)
- func (o *PostACSParams) SetTimeout(timeout time.Duration)
- func (o *PostACSParams) WithContext(ctx context.Context) *PostACSParams
- func (o *PostACSParams) WithDefaults() *PostACSParams
- func (o *PostACSParams) WithHTTPClient(client *http.Client) *PostACSParams
- func (o *PostACSParams) WithRelayState(relayState *string) *PostACSParams
- func (o *PostACSParams) WithTimeout(timeout time.Duration) *PostACSParams
- func (o *PostACSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostACSReader
- type PostSLOBadRequest
- func (o *PostSLOBadRequest) Code() int
- func (o *PostSLOBadRequest) Error() string
- func (o *PostSLOBadRequest) GetPayload() *models.ErrorResponseBody
- func (o *PostSLOBadRequest) IsClientError() bool
- func (o *PostSLOBadRequest) IsCode(code int) bool
- func (o *PostSLOBadRequest) IsRedirect() bool
- func (o *PostSLOBadRequest) IsServerError() bool
- func (o *PostSLOBadRequest) IsSuccess() bool
- func (o *PostSLOBadRequest) String() string
- type PostSLOForbidden
- func (o *PostSLOForbidden) Code() int
- func (o *PostSLOForbidden) Error() string
- func (o *PostSLOForbidden) GetPayload() *models.ErrorResponseBody
- func (o *PostSLOForbidden) IsClientError() bool
- func (o *PostSLOForbidden) IsCode(code int) bool
- func (o *PostSLOForbidden) IsRedirect() bool
- func (o *PostSLOForbidden) IsServerError() bool
- func (o *PostSLOForbidden) IsSuccess() bool
- func (o *PostSLOForbidden) String() string
- type PostSLOFound
- func (o *PostSLOFound) Code() int
- func (o *PostSLOFound) Error() string
- func (o *PostSLOFound) IsClientError() bool
- func (o *PostSLOFound) IsCode(code int) bool
- func (o *PostSLOFound) IsRedirect() bool
- func (o *PostSLOFound) IsServerError() bool
- func (o *PostSLOFound) IsSuccess() bool
- func (o *PostSLOFound) String() string
- type PostSLOInternalServerError
- func (o *PostSLOInternalServerError) Code() int
- func (o *PostSLOInternalServerError) Error() string
- func (o *PostSLOInternalServerError) GetPayload() *models.ErrorResponseBody
- func (o *PostSLOInternalServerError) IsClientError() bool
- func (o *PostSLOInternalServerError) IsCode(code int) bool
- func (o *PostSLOInternalServerError) IsRedirect() bool
- func (o *PostSLOInternalServerError) IsServerError() bool
- func (o *PostSLOInternalServerError) IsSuccess() bool
- func (o *PostSLOInternalServerError) String() string
- type PostSLOParams
- func (o *PostSLOParams) SetContext(ctx context.Context)
- func (o *PostSLOParams) SetDefaults()
- func (o *PostSLOParams) SetHTTPClient(client *http.Client)
- func (o *PostSLOParams) SetSAMLRequest(sAMLRequest *string)
- func (o *PostSLOParams) SetSAMLResponse(sAMLResponse *string)
- func (o *PostSLOParams) SetTimeout(timeout time.Duration)
- func (o *PostSLOParams) WithContext(ctx context.Context) *PostSLOParams
- func (o *PostSLOParams) WithDefaults() *PostSLOParams
- func (o *PostSLOParams) WithHTTPClient(client *http.Client) *PostSLOParams
- func (o *PostSLOParams) WithSAMLRequest(sAMLRequest *string) *PostSLOParams
- func (o *PostSLOParams) WithSAMLResponse(sAMLResponse *string) *PostSLOParams
- func (o *PostSLOParams) WithTimeout(timeout time.Duration) *PostSLOParams
- func (o *PostSLOParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostSLOReader
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 saml API
func (*Client) GetMetadata ¶
func (a *Client) GetMetadata(opts ...ClientOption) (*GetMetadataOK, error)
GetMetadata its exposes the s p grafana s metadata for the Id p s consumption
func (*Client) GetMetadataWithParams ¶
func (a *Client) GetMetadataWithParams(params *GetMetadataParams, opts ...ClientOption) (*GetMetadataOK, error)
func (*Client) GetSAMLLogout ¶
func (a *Client) GetSAMLLogout(opts ...ClientOption) error
GetSAMLLogout gets logout initiates single logout process
func (*Client) GetSAMLLogoutWithParams ¶
func (a *Client) GetSAMLLogoutWithParams(params *GetSAMLLogoutParams, opts ...ClientOption) error
func (*Client) GetSLO ¶
func (a *Client) GetSLO(opts ...ClientOption) error
GetSLO its performs single logout s l o callback
There might be two possible requests: 1. Logout response (callback) when Grafana initiates single logout and IdP returns response to logout request. 2. Logout request when another SP initiates single logout and IdP sends logout request to the Grafana, or in case of IdP-initiated logout.
func (*Client) GetSLOWithParams ¶
func (a *Client) GetSLOWithParams(params *GetSLOParams, opts ...ClientOption) error
func (*Client) PostACS ¶
func (a *Client) PostACS(params *PostACSParams, opts ...ClientOption) error
func (*Client) PostSLO ¶
func (a *Client) PostSLO(params *PostSLOParams, opts ...ClientOption) error
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
func WithAuthInfo ¶
func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption
WithAuthInfo changes the transport on the client
type ClientService ¶
type ClientService interface { GetMetadata(opts ...ClientOption) (*GetMetadataOK, error) GetMetadataWithParams(params *GetMetadataParams, opts ...ClientOption) (*GetMetadataOK, error) GetSAMLLogout(opts ...ClientOption) error GetSAMLLogoutWithParams(params *GetSAMLLogoutParams, opts ...ClientOption) error GetSLO(opts ...ClientOption) error GetSLOWithParams(params *GetSLOParams, opts ...ClientOption) error PostACS(params *PostACSParams, opts ...ClientOption) error PostSLO(params *PostSLOParams, opts ...ClientOption) 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 saml API client.
type GetMetadataOK ¶
type GetMetadataOK struct {
Payload []uint8
}
GetMetadataOK describes a response with status code 200, with default header values.
(empty)
func NewGetMetadataOK ¶
func NewGetMetadataOK() *GetMetadataOK
NewGetMetadataOK creates a GetMetadataOK with default headers values
func (*GetMetadataOK) Code ¶
func (o *GetMetadataOK) Code() int
Code gets the status code for the get metadata Ok response
func (*GetMetadataOK) Error ¶
func (o *GetMetadataOK) Error() string
func (*GetMetadataOK) GetPayload ¶
func (o *GetMetadataOK) GetPayload() []uint8
func (*GetMetadataOK) IsClientError ¶
func (o *GetMetadataOK) IsClientError() bool
IsClientError returns true when this get metadata Ok response has a 4xx status code
func (*GetMetadataOK) IsCode ¶
func (o *GetMetadataOK) IsCode(code int) bool
IsCode returns true when this get metadata Ok response a status code equal to that given
func (*GetMetadataOK) IsRedirect ¶
func (o *GetMetadataOK) IsRedirect() bool
IsRedirect returns true when this get metadata Ok response has a 3xx status code
func (*GetMetadataOK) IsServerError ¶
func (o *GetMetadataOK) IsServerError() bool
IsServerError returns true when this get metadata Ok response has a 5xx status code
func (*GetMetadataOK) IsSuccess ¶
func (o *GetMetadataOK) IsSuccess() bool
IsSuccess returns true when this get metadata Ok response has a 2xx status code
func (*GetMetadataOK) String ¶
func (o *GetMetadataOK) String() string
type GetMetadataParams ¶
type GetMetadataParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetadataParams contains all the parameters to send to the API endpoint
for the get metadata operation. Typically these are written to a http.Request.
func NewGetMetadataParams ¶
func NewGetMetadataParams() *GetMetadataParams
NewGetMetadataParams creates a new GetMetadataParams 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 NewGetMetadataParamsWithContext ¶
func NewGetMetadataParamsWithContext(ctx context.Context) *GetMetadataParams
NewGetMetadataParamsWithContext creates a new GetMetadataParams object with the ability to set a context for a request.
func NewGetMetadataParamsWithHTTPClient ¶
func NewGetMetadataParamsWithHTTPClient(client *http.Client) *GetMetadataParams
NewGetMetadataParamsWithHTTPClient creates a new GetMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewGetMetadataParamsWithTimeout ¶
func NewGetMetadataParamsWithTimeout(timeout time.Duration) *GetMetadataParams
NewGetMetadataParamsWithTimeout creates a new GetMetadataParams object with the ability to set a timeout on a request.
func (*GetMetadataParams) SetContext ¶
func (o *GetMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get metadata params
func (*GetMetadataParams) SetDefaults ¶
func (o *GetMetadataParams) SetDefaults()
SetDefaults hydrates default values in the get metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetMetadataParams) SetHTTPClient ¶
func (o *GetMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get metadata params
func (*GetMetadataParams) SetTimeout ¶
func (o *GetMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get metadata params
func (*GetMetadataParams) WithContext ¶
func (o *GetMetadataParams) WithContext(ctx context.Context) *GetMetadataParams
WithContext adds the context to the get metadata params
func (*GetMetadataParams) WithDefaults ¶
func (o *GetMetadataParams) WithDefaults() *GetMetadataParams
WithDefaults hydrates default values in the get metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetMetadataParams) WithHTTPClient ¶
func (o *GetMetadataParams) WithHTTPClient(client *http.Client) *GetMetadataParams
WithHTTPClient adds the HTTPClient to the get metadata params
func (*GetMetadataParams) WithTimeout ¶
func (o *GetMetadataParams) WithTimeout(timeout time.Duration) *GetMetadataParams
WithTimeout adds the timeout to the get metadata params
func (*GetMetadataParams) WriteToRequest ¶
func (o *GetMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetadataReader ¶
type GetMetadataReader struct {
// contains filtered or unexported fields
}
GetMetadataReader is a Reader for the GetMetadata structure.
func (*GetMetadataReader) ReadResponse ¶
func (o *GetMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSAMLLogoutFound ¶
type GetSAMLLogoutFound struct { }
GetSAMLLogoutFound describes a response with status code 302, with default header values.
(empty)
func NewGetSAMLLogoutFound ¶
func NewGetSAMLLogoutFound() *GetSAMLLogoutFound
NewGetSAMLLogoutFound creates a GetSAMLLogoutFound with default headers values
func (*GetSAMLLogoutFound) Code ¶
func (o *GetSAMLLogoutFound) Code() int
Code gets the status code for the get s a m l logout found response
func (*GetSAMLLogoutFound) Error ¶
func (o *GetSAMLLogoutFound) Error() string
func (*GetSAMLLogoutFound) IsClientError ¶
func (o *GetSAMLLogoutFound) IsClientError() bool
IsClientError returns true when this get s a m l logout found response has a 4xx status code
func (*GetSAMLLogoutFound) IsCode ¶
func (o *GetSAMLLogoutFound) IsCode(code int) bool
IsCode returns true when this get s a m l logout found response a status code equal to that given
func (*GetSAMLLogoutFound) IsRedirect ¶
func (o *GetSAMLLogoutFound) IsRedirect() bool
IsRedirect returns true when this get s a m l logout found response has a 3xx status code
func (*GetSAMLLogoutFound) IsServerError ¶
func (o *GetSAMLLogoutFound) IsServerError() bool
IsServerError returns true when this get s a m l logout found response has a 5xx status code
func (*GetSAMLLogoutFound) IsSuccess ¶
func (o *GetSAMLLogoutFound) IsSuccess() bool
IsSuccess returns true when this get s a m l logout found response has a 2xx status code
func (*GetSAMLLogoutFound) String ¶
func (o *GetSAMLLogoutFound) String() string
type GetSAMLLogoutInternalServerError ¶
type GetSAMLLogoutInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetSAMLLogoutInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetSAMLLogoutInternalServerError ¶
func NewGetSAMLLogoutInternalServerError() *GetSAMLLogoutInternalServerError
NewGetSAMLLogoutInternalServerError creates a GetSAMLLogoutInternalServerError with default headers values
func (*GetSAMLLogoutInternalServerError) Code ¶
func (o *GetSAMLLogoutInternalServerError) Code() int
Code gets the status code for the get s a m l logout internal server error response
func (*GetSAMLLogoutInternalServerError) Error ¶
func (o *GetSAMLLogoutInternalServerError) Error() string
func (*GetSAMLLogoutInternalServerError) GetPayload ¶
func (o *GetSAMLLogoutInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetSAMLLogoutInternalServerError) IsClientError ¶
func (o *GetSAMLLogoutInternalServerError) IsClientError() bool
IsClientError returns true when this get s a m l logout internal server error response has a 4xx status code
func (*GetSAMLLogoutInternalServerError) IsCode ¶
func (o *GetSAMLLogoutInternalServerError) IsCode(code int) bool
IsCode returns true when this get s a m l logout internal server error response a status code equal to that given
func (*GetSAMLLogoutInternalServerError) IsRedirect ¶
func (o *GetSAMLLogoutInternalServerError) IsRedirect() bool
IsRedirect returns true when this get s a m l logout internal server error response has a 3xx status code
func (*GetSAMLLogoutInternalServerError) IsServerError ¶
func (o *GetSAMLLogoutInternalServerError) IsServerError() bool
IsServerError returns true when this get s a m l logout internal server error response has a 5xx status code
func (*GetSAMLLogoutInternalServerError) IsSuccess ¶
func (o *GetSAMLLogoutInternalServerError) IsSuccess() bool
IsSuccess returns true when this get s a m l logout internal server error response has a 2xx status code
func (*GetSAMLLogoutInternalServerError) String ¶
func (o *GetSAMLLogoutInternalServerError) String() string
type GetSAMLLogoutNotFound ¶
type GetSAMLLogoutNotFound struct {
Payload *models.ErrorResponseBody
}
GetSAMLLogoutNotFound describes a response with status code 404, with default header values.
NotFoundError is returned when the requested resource was not found.
func NewGetSAMLLogoutNotFound ¶
func NewGetSAMLLogoutNotFound() *GetSAMLLogoutNotFound
NewGetSAMLLogoutNotFound creates a GetSAMLLogoutNotFound with default headers values
func (*GetSAMLLogoutNotFound) Code ¶
func (o *GetSAMLLogoutNotFound) Code() int
Code gets the status code for the get s a m l logout not found response
func (*GetSAMLLogoutNotFound) Error ¶
func (o *GetSAMLLogoutNotFound) Error() string
func (*GetSAMLLogoutNotFound) GetPayload ¶
func (o *GetSAMLLogoutNotFound) GetPayload() *models.ErrorResponseBody
func (*GetSAMLLogoutNotFound) IsClientError ¶
func (o *GetSAMLLogoutNotFound) IsClientError() bool
IsClientError returns true when this get s a m l logout not found response has a 4xx status code
func (*GetSAMLLogoutNotFound) IsCode ¶
func (o *GetSAMLLogoutNotFound) IsCode(code int) bool
IsCode returns true when this get s a m l logout not found response a status code equal to that given
func (*GetSAMLLogoutNotFound) IsRedirect ¶
func (o *GetSAMLLogoutNotFound) IsRedirect() bool
IsRedirect returns true when this get s a m l logout not found response has a 3xx status code
func (*GetSAMLLogoutNotFound) IsServerError ¶
func (o *GetSAMLLogoutNotFound) IsServerError() bool
IsServerError returns true when this get s a m l logout not found response has a 5xx status code
func (*GetSAMLLogoutNotFound) IsSuccess ¶
func (o *GetSAMLLogoutNotFound) IsSuccess() bool
IsSuccess returns true when this get s a m l logout not found response has a 2xx status code
func (*GetSAMLLogoutNotFound) String ¶
func (o *GetSAMLLogoutNotFound) String() string
type GetSAMLLogoutParams ¶
type GetSAMLLogoutParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSAMLLogoutParams contains all the parameters to send to the API endpoint
for the get s a m l logout operation. Typically these are written to a http.Request.
func NewGetSAMLLogoutParams ¶
func NewGetSAMLLogoutParams() *GetSAMLLogoutParams
NewGetSAMLLogoutParams creates a new GetSAMLLogoutParams 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 NewGetSAMLLogoutParamsWithContext ¶
func NewGetSAMLLogoutParamsWithContext(ctx context.Context) *GetSAMLLogoutParams
NewGetSAMLLogoutParamsWithContext creates a new GetSAMLLogoutParams object with the ability to set a context for a request.
func NewGetSAMLLogoutParamsWithHTTPClient ¶
func NewGetSAMLLogoutParamsWithHTTPClient(client *http.Client) *GetSAMLLogoutParams
NewGetSAMLLogoutParamsWithHTTPClient creates a new GetSAMLLogoutParams object with the ability to set a custom HTTPClient for a request.
func NewGetSAMLLogoutParamsWithTimeout ¶
func NewGetSAMLLogoutParamsWithTimeout(timeout time.Duration) *GetSAMLLogoutParams
NewGetSAMLLogoutParamsWithTimeout creates a new GetSAMLLogoutParams object with the ability to set a timeout on a request.
func (*GetSAMLLogoutParams) SetContext ¶
func (o *GetSAMLLogoutParams) SetContext(ctx context.Context)
SetContext adds the context to the get s a m l logout params
func (*GetSAMLLogoutParams) SetDefaults ¶
func (o *GetSAMLLogoutParams) SetDefaults()
SetDefaults hydrates default values in the get s a m l logout params (not the query body).
All values with no default are reset to their zero value.
func (*GetSAMLLogoutParams) SetHTTPClient ¶
func (o *GetSAMLLogoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get s a m l logout params
func (*GetSAMLLogoutParams) SetTimeout ¶
func (o *GetSAMLLogoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get s a m l logout params
func (*GetSAMLLogoutParams) WithContext ¶
func (o *GetSAMLLogoutParams) WithContext(ctx context.Context) *GetSAMLLogoutParams
WithContext adds the context to the get s a m l logout params
func (*GetSAMLLogoutParams) WithDefaults ¶
func (o *GetSAMLLogoutParams) WithDefaults() *GetSAMLLogoutParams
WithDefaults hydrates default values in the get s a m l logout params (not the query body).
All values with no default are reset to their zero value.
func (*GetSAMLLogoutParams) WithHTTPClient ¶
func (o *GetSAMLLogoutParams) WithHTTPClient(client *http.Client) *GetSAMLLogoutParams
WithHTTPClient adds the HTTPClient to the get s a m l logout params
func (*GetSAMLLogoutParams) WithTimeout ¶
func (o *GetSAMLLogoutParams) WithTimeout(timeout time.Duration) *GetSAMLLogoutParams
WithTimeout adds the timeout to the get s a m l logout params
func (*GetSAMLLogoutParams) WriteToRequest ¶
func (o *GetSAMLLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSAMLLogoutReader ¶
type GetSAMLLogoutReader struct {
// contains filtered or unexported fields
}
GetSAMLLogoutReader is a Reader for the GetSAMLLogout structure.
func (*GetSAMLLogoutReader) ReadResponse ¶
func (o *GetSAMLLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSLOBadRequest ¶
type GetSLOBadRequest struct {
Payload *models.ErrorResponseBody
}
GetSLOBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewGetSLOBadRequest ¶
func NewGetSLOBadRequest() *GetSLOBadRequest
NewGetSLOBadRequest creates a GetSLOBadRequest with default headers values
func (*GetSLOBadRequest) Code ¶
func (o *GetSLOBadRequest) Code() int
Code gets the status code for the get s l o bad request response
func (*GetSLOBadRequest) Error ¶
func (o *GetSLOBadRequest) Error() string
func (*GetSLOBadRequest) GetPayload ¶
func (o *GetSLOBadRequest) GetPayload() *models.ErrorResponseBody
func (*GetSLOBadRequest) IsClientError ¶
func (o *GetSLOBadRequest) IsClientError() bool
IsClientError returns true when this get s l o bad request response has a 4xx status code
func (*GetSLOBadRequest) IsCode ¶
func (o *GetSLOBadRequest) IsCode(code int) bool
IsCode returns true when this get s l o bad request response a status code equal to that given
func (*GetSLOBadRequest) IsRedirect ¶
func (o *GetSLOBadRequest) IsRedirect() bool
IsRedirect returns true when this get s l o bad request response has a 3xx status code
func (*GetSLOBadRequest) IsServerError ¶
func (o *GetSLOBadRequest) IsServerError() bool
IsServerError returns true when this get s l o bad request response has a 5xx status code
func (*GetSLOBadRequest) IsSuccess ¶
func (o *GetSLOBadRequest) IsSuccess() bool
IsSuccess returns true when this get s l o bad request response has a 2xx status code
func (*GetSLOBadRequest) String ¶
func (o *GetSLOBadRequest) String() string
type GetSLOForbidden ¶
type GetSLOForbidden struct {
Payload *models.ErrorResponseBody
}
GetSLOForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewGetSLOForbidden ¶
func NewGetSLOForbidden() *GetSLOForbidden
NewGetSLOForbidden creates a GetSLOForbidden with default headers values
func (*GetSLOForbidden) Code ¶
func (o *GetSLOForbidden) Code() int
Code gets the status code for the get s l o forbidden response
func (*GetSLOForbidden) Error ¶
func (o *GetSLOForbidden) Error() string
func (*GetSLOForbidden) GetPayload ¶
func (o *GetSLOForbidden) GetPayload() *models.ErrorResponseBody
func (*GetSLOForbidden) IsClientError ¶
func (o *GetSLOForbidden) IsClientError() bool
IsClientError returns true when this get s l o forbidden response has a 4xx status code
func (*GetSLOForbidden) IsCode ¶
func (o *GetSLOForbidden) IsCode(code int) bool
IsCode returns true when this get s l o forbidden response a status code equal to that given
func (*GetSLOForbidden) IsRedirect ¶
func (o *GetSLOForbidden) IsRedirect() bool
IsRedirect returns true when this get s l o forbidden response has a 3xx status code
func (*GetSLOForbidden) IsServerError ¶
func (o *GetSLOForbidden) IsServerError() bool
IsServerError returns true when this get s l o forbidden response has a 5xx status code
func (*GetSLOForbidden) IsSuccess ¶
func (o *GetSLOForbidden) IsSuccess() bool
IsSuccess returns true when this get s l o forbidden response has a 2xx status code
func (*GetSLOForbidden) String ¶
func (o *GetSLOForbidden) String() string
type GetSLOFound ¶
type GetSLOFound struct { }
GetSLOFound describes a response with status code 302, with default header values.
(empty)
func NewGetSLOFound ¶
func NewGetSLOFound() *GetSLOFound
NewGetSLOFound creates a GetSLOFound with default headers values
func (*GetSLOFound) Code ¶
func (o *GetSLOFound) Code() int
Code gets the status code for the get s l o found response
func (*GetSLOFound) Error ¶
func (o *GetSLOFound) Error() string
func (*GetSLOFound) IsClientError ¶
func (o *GetSLOFound) IsClientError() bool
IsClientError returns true when this get s l o found response has a 4xx status code
func (*GetSLOFound) IsCode ¶
func (o *GetSLOFound) IsCode(code int) bool
IsCode returns true when this get s l o found response a status code equal to that given
func (*GetSLOFound) IsRedirect ¶
func (o *GetSLOFound) IsRedirect() bool
IsRedirect returns true when this get s l o found response has a 3xx status code
func (*GetSLOFound) IsServerError ¶
func (o *GetSLOFound) IsServerError() bool
IsServerError returns true when this get s l o found response has a 5xx status code
func (*GetSLOFound) IsSuccess ¶
func (o *GetSLOFound) IsSuccess() bool
IsSuccess returns true when this get s l o found response has a 2xx status code
func (*GetSLOFound) String ¶
func (o *GetSLOFound) String() string
type GetSLOInternalServerError ¶
type GetSLOInternalServerError struct {
Payload *models.ErrorResponseBody
}
GetSLOInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewGetSLOInternalServerError ¶
func NewGetSLOInternalServerError() *GetSLOInternalServerError
NewGetSLOInternalServerError creates a GetSLOInternalServerError with default headers values
func (*GetSLOInternalServerError) Code ¶
func (o *GetSLOInternalServerError) Code() int
Code gets the status code for the get s l o internal server error response
func (*GetSLOInternalServerError) Error ¶
func (o *GetSLOInternalServerError) Error() string
func (*GetSLOInternalServerError) GetPayload ¶
func (o *GetSLOInternalServerError) GetPayload() *models.ErrorResponseBody
func (*GetSLOInternalServerError) IsClientError ¶
func (o *GetSLOInternalServerError) IsClientError() bool
IsClientError returns true when this get s l o internal server error response has a 4xx status code
func (*GetSLOInternalServerError) IsCode ¶
func (o *GetSLOInternalServerError) IsCode(code int) bool
IsCode returns true when this get s l o internal server error response a status code equal to that given
func (*GetSLOInternalServerError) IsRedirect ¶
func (o *GetSLOInternalServerError) IsRedirect() bool
IsRedirect returns true when this get s l o internal server error response has a 3xx status code
func (*GetSLOInternalServerError) IsServerError ¶
func (o *GetSLOInternalServerError) IsServerError() bool
IsServerError returns true when this get s l o internal server error response has a 5xx status code
func (*GetSLOInternalServerError) IsSuccess ¶
func (o *GetSLOInternalServerError) IsSuccess() bool
IsSuccess returns true when this get s l o internal server error response has a 2xx status code
func (*GetSLOInternalServerError) String ¶
func (o *GetSLOInternalServerError) String() string
type GetSLOParams ¶
type GetSLOParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSLOParams contains all the parameters to send to the API endpoint
for the get s l o operation. Typically these are written to a http.Request.
func NewGetSLOParams ¶
func NewGetSLOParams() *GetSLOParams
NewGetSLOParams creates a new GetSLOParams 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 NewGetSLOParamsWithContext ¶
func NewGetSLOParamsWithContext(ctx context.Context) *GetSLOParams
NewGetSLOParamsWithContext creates a new GetSLOParams object with the ability to set a context for a request.
func NewGetSLOParamsWithHTTPClient ¶
func NewGetSLOParamsWithHTTPClient(client *http.Client) *GetSLOParams
NewGetSLOParamsWithHTTPClient creates a new GetSLOParams object with the ability to set a custom HTTPClient for a request.
func NewGetSLOParamsWithTimeout ¶
func NewGetSLOParamsWithTimeout(timeout time.Duration) *GetSLOParams
NewGetSLOParamsWithTimeout creates a new GetSLOParams object with the ability to set a timeout on a request.
func (*GetSLOParams) SetContext ¶
func (o *GetSLOParams) SetContext(ctx context.Context)
SetContext adds the context to the get s l o params
func (*GetSLOParams) SetDefaults ¶
func (o *GetSLOParams) SetDefaults()
SetDefaults hydrates default values in the get s l o params (not the query body).
All values with no default are reset to their zero value.
func (*GetSLOParams) SetHTTPClient ¶
func (o *GetSLOParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get s l o params
func (*GetSLOParams) SetTimeout ¶
func (o *GetSLOParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get s l o params
func (*GetSLOParams) WithContext ¶
func (o *GetSLOParams) WithContext(ctx context.Context) *GetSLOParams
WithContext adds the context to the get s l o params
func (*GetSLOParams) WithDefaults ¶
func (o *GetSLOParams) WithDefaults() *GetSLOParams
WithDefaults hydrates default values in the get s l o params (not the query body).
All values with no default are reset to their zero value.
func (*GetSLOParams) WithHTTPClient ¶
func (o *GetSLOParams) WithHTTPClient(client *http.Client) *GetSLOParams
WithHTTPClient adds the HTTPClient to the get s l o params
func (*GetSLOParams) WithTimeout ¶
func (o *GetSLOParams) WithTimeout(timeout time.Duration) *GetSLOParams
WithTimeout adds the timeout to the get s l o params
func (*GetSLOParams) WriteToRequest ¶
func (o *GetSLOParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSLOReader ¶
type GetSLOReader struct {
// contains filtered or unexported fields
}
GetSLOReader is a Reader for the GetSLO structure.
func (*GetSLOReader) ReadResponse ¶
func (o *GetSLOReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostACSForbidden ¶
type PostACSForbidden struct {
Payload *models.ErrorResponseBody
}
PostACSForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewPostACSForbidden ¶
func NewPostACSForbidden() *PostACSForbidden
NewPostACSForbidden creates a PostACSForbidden with default headers values
func (*PostACSForbidden) Code ¶
func (o *PostACSForbidden) Code() int
Code gets the status code for the post a c s forbidden response
func (*PostACSForbidden) Error ¶
func (o *PostACSForbidden) Error() string
func (*PostACSForbidden) GetPayload ¶
func (o *PostACSForbidden) GetPayload() *models.ErrorResponseBody
func (*PostACSForbidden) IsClientError ¶
func (o *PostACSForbidden) IsClientError() bool
IsClientError returns true when this post a c s forbidden response has a 4xx status code
func (*PostACSForbidden) IsCode ¶
func (o *PostACSForbidden) IsCode(code int) bool
IsCode returns true when this post a c s forbidden response a status code equal to that given
func (*PostACSForbidden) IsRedirect ¶
func (o *PostACSForbidden) IsRedirect() bool
IsRedirect returns true when this post a c s forbidden response has a 3xx status code
func (*PostACSForbidden) IsServerError ¶
func (o *PostACSForbidden) IsServerError() bool
IsServerError returns true when this post a c s forbidden response has a 5xx status code
func (*PostACSForbidden) IsSuccess ¶
func (o *PostACSForbidden) IsSuccess() bool
IsSuccess returns true when this post a c s forbidden response has a 2xx status code
func (*PostACSForbidden) String ¶
func (o *PostACSForbidden) String() string
type PostACSFound ¶
type PostACSFound struct { }
PostACSFound describes a response with status code 302, with default header values.
(empty)
func NewPostACSFound ¶
func NewPostACSFound() *PostACSFound
NewPostACSFound creates a PostACSFound with default headers values
func (*PostACSFound) Code ¶
func (o *PostACSFound) Code() int
Code gets the status code for the post a c s found response
func (*PostACSFound) Error ¶
func (o *PostACSFound) Error() string
func (*PostACSFound) IsClientError ¶
func (o *PostACSFound) IsClientError() bool
IsClientError returns true when this post a c s found response has a 4xx status code
func (*PostACSFound) IsCode ¶
func (o *PostACSFound) IsCode(code int) bool
IsCode returns true when this post a c s found response a status code equal to that given
func (*PostACSFound) IsRedirect ¶
func (o *PostACSFound) IsRedirect() bool
IsRedirect returns true when this post a c s found response has a 3xx status code
func (*PostACSFound) IsServerError ¶
func (o *PostACSFound) IsServerError() bool
IsServerError returns true when this post a c s found response has a 5xx status code
func (*PostACSFound) IsSuccess ¶
func (o *PostACSFound) IsSuccess() bool
IsSuccess returns true when this post a c s found response has a 2xx status code
func (*PostACSFound) String ¶
func (o *PostACSFound) String() string
type PostACSInternalServerError ¶
type PostACSInternalServerError struct {
Payload *models.ErrorResponseBody
}
PostACSInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewPostACSInternalServerError ¶
func NewPostACSInternalServerError() *PostACSInternalServerError
NewPostACSInternalServerError creates a PostACSInternalServerError with default headers values
func (*PostACSInternalServerError) Code ¶
func (o *PostACSInternalServerError) Code() int
Code gets the status code for the post a c s internal server error response
func (*PostACSInternalServerError) Error ¶
func (o *PostACSInternalServerError) Error() string
func (*PostACSInternalServerError) GetPayload ¶
func (o *PostACSInternalServerError) GetPayload() *models.ErrorResponseBody
func (*PostACSInternalServerError) IsClientError ¶
func (o *PostACSInternalServerError) IsClientError() bool
IsClientError returns true when this post a c s internal server error response has a 4xx status code
func (*PostACSInternalServerError) IsCode ¶
func (o *PostACSInternalServerError) IsCode(code int) bool
IsCode returns true when this post a c s internal server error response a status code equal to that given
func (*PostACSInternalServerError) IsRedirect ¶
func (o *PostACSInternalServerError) IsRedirect() bool
IsRedirect returns true when this post a c s internal server error response has a 3xx status code
func (*PostACSInternalServerError) IsServerError ¶
func (o *PostACSInternalServerError) IsServerError() bool
IsServerError returns true when this post a c s internal server error response has a 5xx status code
func (*PostACSInternalServerError) IsSuccess ¶
func (o *PostACSInternalServerError) IsSuccess() bool
IsSuccess returns true when this post a c s internal server error response has a 2xx status code
func (*PostACSInternalServerError) String ¶
func (o *PostACSInternalServerError) String() string
type PostACSParams ¶
type PostACSParams struct { // RelayState. RelayState *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostACSParams contains all the parameters to send to the API endpoint
for the post a c s operation. Typically these are written to a http.Request.
func NewPostACSParams ¶
func NewPostACSParams() *PostACSParams
NewPostACSParams creates a new PostACSParams 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 NewPostACSParamsWithContext ¶
func NewPostACSParamsWithContext(ctx context.Context) *PostACSParams
NewPostACSParamsWithContext creates a new PostACSParams object with the ability to set a context for a request.
func NewPostACSParamsWithHTTPClient ¶
func NewPostACSParamsWithHTTPClient(client *http.Client) *PostACSParams
NewPostACSParamsWithHTTPClient creates a new PostACSParams object with the ability to set a custom HTTPClient for a request.
func NewPostACSParamsWithTimeout ¶
func NewPostACSParamsWithTimeout(timeout time.Duration) *PostACSParams
NewPostACSParamsWithTimeout creates a new PostACSParams object with the ability to set a timeout on a request.
func (*PostACSParams) SetContext ¶
func (o *PostACSParams) SetContext(ctx context.Context)
SetContext adds the context to the post a c s params
func (*PostACSParams) SetDefaults ¶
func (o *PostACSParams) SetDefaults()
SetDefaults hydrates default values in the post a c s params (not the query body).
All values with no default are reset to their zero value.
func (*PostACSParams) SetHTTPClient ¶
func (o *PostACSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post a c s params
func (*PostACSParams) SetRelayState ¶
func (o *PostACSParams) SetRelayState(relayState *string)
SetRelayState adds the relayState to the post a c s params
func (*PostACSParams) SetTimeout ¶
func (o *PostACSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post a c s params
func (*PostACSParams) WithContext ¶
func (o *PostACSParams) WithContext(ctx context.Context) *PostACSParams
WithContext adds the context to the post a c s params
func (*PostACSParams) WithDefaults ¶
func (o *PostACSParams) WithDefaults() *PostACSParams
WithDefaults hydrates default values in the post a c s params (not the query body).
All values with no default are reset to their zero value.
func (*PostACSParams) WithHTTPClient ¶
func (o *PostACSParams) WithHTTPClient(client *http.Client) *PostACSParams
WithHTTPClient adds the HTTPClient to the post a c s params
func (*PostACSParams) WithRelayState ¶
func (o *PostACSParams) WithRelayState(relayState *string) *PostACSParams
WithRelayState adds the relayState to the post a c s params
func (*PostACSParams) WithTimeout ¶
func (o *PostACSParams) WithTimeout(timeout time.Duration) *PostACSParams
WithTimeout adds the timeout to the post a c s params
func (*PostACSParams) WriteToRequest ¶
func (o *PostACSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostACSReader ¶
type PostACSReader struct {
// contains filtered or unexported fields
}
PostACSReader is a Reader for the PostACS structure.
func (*PostACSReader) ReadResponse ¶
func (o *PostACSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostSLOBadRequest ¶
type PostSLOBadRequest struct {
Payload *models.ErrorResponseBody
}
PostSLOBadRequest describes a response with status code 400, with default header values.
BadRequestError is returned when the request is invalid and it cannot be processed.
func NewPostSLOBadRequest ¶
func NewPostSLOBadRequest() *PostSLOBadRequest
NewPostSLOBadRequest creates a PostSLOBadRequest with default headers values
func (*PostSLOBadRequest) Code ¶
func (o *PostSLOBadRequest) Code() int
Code gets the status code for the post s l o bad request response
func (*PostSLOBadRequest) Error ¶
func (o *PostSLOBadRequest) Error() string
func (*PostSLOBadRequest) GetPayload ¶
func (o *PostSLOBadRequest) GetPayload() *models.ErrorResponseBody
func (*PostSLOBadRequest) IsClientError ¶
func (o *PostSLOBadRequest) IsClientError() bool
IsClientError returns true when this post s l o bad request response has a 4xx status code
func (*PostSLOBadRequest) IsCode ¶
func (o *PostSLOBadRequest) IsCode(code int) bool
IsCode returns true when this post s l o bad request response a status code equal to that given
func (*PostSLOBadRequest) IsRedirect ¶
func (o *PostSLOBadRequest) IsRedirect() bool
IsRedirect returns true when this post s l o bad request response has a 3xx status code
func (*PostSLOBadRequest) IsServerError ¶
func (o *PostSLOBadRequest) IsServerError() bool
IsServerError returns true when this post s l o bad request response has a 5xx status code
func (*PostSLOBadRequest) IsSuccess ¶
func (o *PostSLOBadRequest) IsSuccess() bool
IsSuccess returns true when this post s l o bad request response has a 2xx status code
func (*PostSLOBadRequest) String ¶
func (o *PostSLOBadRequest) String() string
type PostSLOForbidden ¶
type PostSLOForbidden struct {
Payload *models.ErrorResponseBody
}
PostSLOForbidden describes a response with status code 403, with default header values.
ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
func NewPostSLOForbidden ¶
func NewPostSLOForbidden() *PostSLOForbidden
NewPostSLOForbidden creates a PostSLOForbidden with default headers values
func (*PostSLOForbidden) Code ¶
func (o *PostSLOForbidden) Code() int
Code gets the status code for the post s l o forbidden response
func (*PostSLOForbidden) Error ¶
func (o *PostSLOForbidden) Error() string
func (*PostSLOForbidden) GetPayload ¶
func (o *PostSLOForbidden) GetPayload() *models.ErrorResponseBody
func (*PostSLOForbidden) IsClientError ¶
func (o *PostSLOForbidden) IsClientError() bool
IsClientError returns true when this post s l o forbidden response has a 4xx status code
func (*PostSLOForbidden) IsCode ¶
func (o *PostSLOForbidden) IsCode(code int) bool
IsCode returns true when this post s l o forbidden response a status code equal to that given
func (*PostSLOForbidden) IsRedirect ¶
func (o *PostSLOForbidden) IsRedirect() bool
IsRedirect returns true when this post s l o forbidden response has a 3xx status code
func (*PostSLOForbidden) IsServerError ¶
func (o *PostSLOForbidden) IsServerError() bool
IsServerError returns true when this post s l o forbidden response has a 5xx status code
func (*PostSLOForbidden) IsSuccess ¶
func (o *PostSLOForbidden) IsSuccess() bool
IsSuccess returns true when this post s l o forbidden response has a 2xx status code
func (*PostSLOForbidden) String ¶
func (o *PostSLOForbidden) String() string
type PostSLOFound ¶
type PostSLOFound struct { }
PostSLOFound describes a response with status code 302, with default header values.
(empty)
func NewPostSLOFound ¶
func NewPostSLOFound() *PostSLOFound
NewPostSLOFound creates a PostSLOFound with default headers values
func (*PostSLOFound) Code ¶
func (o *PostSLOFound) Code() int
Code gets the status code for the post s l o found response
func (*PostSLOFound) Error ¶
func (o *PostSLOFound) Error() string
func (*PostSLOFound) IsClientError ¶
func (o *PostSLOFound) IsClientError() bool
IsClientError returns true when this post s l o found response has a 4xx status code
func (*PostSLOFound) IsCode ¶
func (o *PostSLOFound) IsCode(code int) bool
IsCode returns true when this post s l o found response a status code equal to that given
func (*PostSLOFound) IsRedirect ¶
func (o *PostSLOFound) IsRedirect() bool
IsRedirect returns true when this post s l o found response has a 3xx status code
func (*PostSLOFound) IsServerError ¶
func (o *PostSLOFound) IsServerError() bool
IsServerError returns true when this post s l o found response has a 5xx status code
func (*PostSLOFound) IsSuccess ¶
func (o *PostSLOFound) IsSuccess() bool
IsSuccess returns true when this post s l o found response has a 2xx status code
func (*PostSLOFound) String ¶
func (o *PostSLOFound) String() string
type PostSLOInternalServerError ¶
type PostSLOInternalServerError struct {
Payload *models.ErrorResponseBody
}
PostSLOInternalServerError describes a response with status code 500, with default header values.
InternalServerError is a general error indicating something went wrong internally.
func NewPostSLOInternalServerError ¶
func NewPostSLOInternalServerError() *PostSLOInternalServerError
NewPostSLOInternalServerError creates a PostSLOInternalServerError with default headers values
func (*PostSLOInternalServerError) Code ¶
func (o *PostSLOInternalServerError) Code() int
Code gets the status code for the post s l o internal server error response
func (*PostSLOInternalServerError) Error ¶
func (o *PostSLOInternalServerError) Error() string
func (*PostSLOInternalServerError) GetPayload ¶
func (o *PostSLOInternalServerError) GetPayload() *models.ErrorResponseBody
func (*PostSLOInternalServerError) IsClientError ¶
func (o *PostSLOInternalServerError) IsClientError() bool
IsClientError returns true when this post s l o internal server error response has a 4xx status code
func (*PostSLOInternalServerError) IsCode ¶
func (o *PostSLOInternalServerError) IsCode(code int) bool
IsCode returns true when this post s l o internal server error response a status code equal to that given
func (*PostSLOInternalServerError) IsRedirect ¶
func (o *PostSLOInternalServerError) IsRedirect() bool
IsRedirect returns true when this post s l o internal server error response has a 3xx status code
func (*PostSLOInternalServerError) IsServerError ¶
func (o *PostSLOInternalServerError) IsServerError() bool
IsServerError returns true when this post s l o internal server error response has a 5xx status code
func (*PostSLOInternalServerError) IsSuccess ¶
func (o *PostSLOInternalServerError) IsSuccess() bool
IsSuccess returns true when this post s l o internal server error response has a 2xx status code
func (*PostSLOInternalServerError) String ¶
func (o *PostSLOInternalServerError) String() string
type PostSLOParams ¶
type PostSLOParams struct { // SAMLRequest. SAMLRequest *string // SAMLResponse. SAMLResponse *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostSLOParams contains all the parameters to send to the API endpoint
for the post s l o operation. Typically these are written to a http.Request.
func NewPostSLOParams ¶
func NewPostSLOParams() *PostSLOParams
NewPostSLOParams creates a new PostSLOParams 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 NewPostSLOParamsWithContext ¶
func NewPostSLOParamsWithContext(ctx context.Context) *PostSLOParams
NewPostSLOParamsWithContext creates a new PostSLOParams object with the ability to set a context for a request.
func NewPostSLOParamsWithHTTPClient ¶
func NewPostSLOParamsWithHTTPClient(client *http.Client) *PostSLOParams
NewPostSLOParamsWithHTTPClient creates a new PostSLOParams object with the ability to set a custom HTTPClient for a request.
func NewPostSLOParamsWithTimeout ¶
func NewPostSLOParamsWithTimeout(timeout time.Duration) *PostSLOParams
NewPostSLOParamsWithTimeout creates a new PostSLOParams object with the ability to set a timeout on a request.
func (*PostSLOParams) SetContext ¶
func (o *PostSLOParams) SetContext(ctx context.Context)
SetContext adds the context to the post s l o params
func (*PostSLOParams) SetDefaults ¶
func (o *PostSLOParams) SetDefaults()
SetDefaults hydrates default values in the post s l o params (not the query body).
All values with no default are reset to their zero value.
func (*PostSLOParams) SetHTTPClient ¶
func (o *PostSLOParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post s l o params
func (*PostSLOParams) SetSAMLRequest ¶
func (o *PostSLOParams) SetSAMLRequest(sAMLRequest *string)
SetSAMLRequest adds the sAMLRequest to the post s l o params
func (*PostSLOParams) SetSAMLResponse ¶
func (o *PostSLOParams) SetSAMLResponse(sAMLResponse *string)
SetSAMLResponse adds the sAMLResponse to the post s l o params
func (*PostSLOParams) SetTimeout ¶
func (o *PostSLOParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post s l o params
func (*PostSLOParams) WithContext ¶
func (o *PostSLOParams) WithContext(ctx context.Context) *PostSLOParams
WithContext adds the context to the post s l o params
func (*PostSLOParams) WithDefaults ¶
func (o *PostSLOParams) WithDefaults() *PostSLOParams
WithDefaults hydrates default values in the post s l o params (not the query body).
All values with no default are reset to their zero value.
func (*PostSLOParams) WithHTTPClient ¶
func (o *PostSLOParams) WithHTTPClient(client *http.Client) *PostSLOParams
WithHTTPClient adds the HTTPClient to the post s l o params
func (*PostSLOParams) WithSAMLRequest ¶
func (o *PostSLOParams) WithSAMLRequest(sAMLRequest *string) *PostSLOParams
WithSAMLRequest adds the sAMLRequest to the post s l o params
func (*PostSLOParams) WithSAMLResponse ¶
func (o *PostSLOParams) WithSAMLResponse(sAMLResponse *string) *PostSLOParams
WithSAMLResponse adds the sAMLResponse to the post s l o params
func (*PostSLOParams) WithTimeout ¶
func (o *PostSLOParams) WithTimeout(timeout time.Duration) *PostSLOParams
WithTimeout adds the timeout to the post s l o params
func (*PostSLOParams) WriteToRequest ¶
func (o *PostSLOParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSLOReader ¶
type PostSLOReader struct {
// contains filtered or unexported fields
}
PostSLOReader is a Reader for the PostSLO structure.
func (*PostSLOReader) ReadResponse ¶
func (o *PostSLOReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.