Documentation ¶
Index ¶
- type Client
- type GetFeatureFlagsBadRequest
- type GetFeatureFlagsInternalServerError
- type GetFeatureFlagsOK
- type GetFeatureFlagsParams
- func NewGetFeatureFlagsParams() *GetFeatureFlagsParams
- func NewGetFeatureFlagsParamsWithContext(ctx context.Context) *GetFeatureFlagsParams
- func NewGetFeatureFlagsParamsWithHTTPClient(client *http.Client) *GetFeatureFlagsParams
- func NewGetFeatureFlagsParamsWithTimeout(timeout time.Duration) *GetFeatureFlagsParams
- func (o *GetFeatureFlagsParams) SetContext(ctx context.Context)
- func (o *GetFeatureFlagsParams) SetHTTPClient(client *http.Client)
- func (o *GetFeatureFlagsParams) SetTimeout(timeout time.Duration)
- func (o *GetFeatureFlagsParams) WithContext(ctx context.Context) *GetFeatureFlagsParams
- func (o *GetFeatureFlagsParams) WithHTTPClient(client *http.Client) *GetFeatureFlagsParams
- func (o *GetFeatureFlagsParams) WithTimeout(timeout time.Duration) *GetFeatureFlagsParams
- func (o *GetFeatureFlagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFeatureFlagsReader
- type GetFeatureFlagsUnauthorized
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 features API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new features API client.
func (*Client) GetFeatureFlags ¶
func (a *Client) GetFeatureFlags(params *GetFeatureFlagsParams) (*GetFeatureFlagsOK, error)
GetFeatureFlags retrieves list of features
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetFeatureFlagsBadRequest ¶
GetFeatureFlagsBadRequest handles this case with default header values.
Bad Request
func NewGetFeatureFlagsBadRequest ¶
func NewGetFeatureFlagsBadRequest() *GetFeatureFlagsBadRequest
NewGetFeatureFlagsBadRequest creates a GetFeatureFlagsBadRequest with default headers values
func (*GetFeatureFlagsBadRequest) Error ¶
func (o *GetFeatureFlagsBadRequest) Error() string
func (*GetFeatureFlagsBadRequest) GetPayload ¶
func (o *GetFeatureFlagsBadRequest) GetPayload() *models.Error
type GetFeatureFlagsInternalServerError ¶
GetFeatureFlagsInternalServerError handles this case with default header values.
Internal server error
func NewGetFeatureFlagsInternalServerError ¶
func NewGetFeatureFlagsInternalServerError() *GetFeatureFlagsInternalServerError
NewGetFeatureFlagsInternalServerError creates a GetFeatureFlagsInternalServerError with default headers values
func (*GetFeatureFlagsInternalServerError) Error ¶
func (o *GetFeatureFlagsInternalServerError) Error() string
func (*GetFeatureFlagsInternalServerError) GetPayload ¶
func (o *GetFeatureFlagsInternalServerError) GetPayload() *models.Error
type GetFeatureFlagsOK ¶
GetFeatureFlagsOK handles this case with default header values.
Successful retrieval of feature flags
func NewGetFeatureFlagsOK ¶
func NewGetFeatureFlagsOK() *GetFeatureFlagsOK
NewGetFeatureFlagsOK creates a GetFeatureFlagsOK with default headers values
func (*GetFeatureFlagsOK) Error ¶
func (o *GetFeatureFlagsOK) Error() string
func (*GetFeatureFlagsOK) GetPayload ¶
func (o *GetFeatureFlagsOK) GetPayload() models.Features
type GetFeatureFlagsParams ¶
type GetFeatureFlagsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFeatureFlagsParams contains all the parameters to send to the API endpoint for the get feature flags operation typically these are written to a http.Request
func NewGetFeatureFlagsParams ¶
func NewGetFeatureFlagsParams() *GetFeatureFlagsParams
NewGetFeatureFlagsParams creates a new GetFeatureFlagsParams object with the default values initialized.
func NewGetFeatureFlagsParamsWithContext ¶
func NewGetFeatureFlagsParamsWithContext(ctx context.Context) *GetFeatureFlagsParams
NewGetFeatureFlagsParamsWithContext creates a new GetFeatureFlagsParams object with the default values initialized, and the ability to set a context for a request
func NewGetFeatureFlagsParamsWithHTTPClient ¶
func NewGetFeatureFlagsParamsWithHTTPClient(client *http.Client) *GetFeatureFlagsParams
NewGetFeatureFlagsParamsWithHTTPClient creates a new GetFeatureFlagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFeatureFlagsParamsWithTimeout ¶
func NewGetFeatureFlagsParamsWithTimeout(timeout time.Duration) *GetFeatureFlagsParams
NewGetFeatureFlagsParamsWithTimeout creates a new GetFeatureFlagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFeatureFlagsParams) SetContext ¶
func (o *GetFeatureFlagsParams) SetContext(ctx context.Context)
SetContext adds the context to the get feature flags params
func (*GetFeatureFlagsParams) SetHTTPClient ¶
func (o *GetFeatureFlagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get feature flags params
func (*GetFeatureFlagsParams) SetTimeout ¶
func (o *GetFeatureFlagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get feature flags params
func (*GetFeatureFlagsParams) WithContext ¶
func (o *GetFeatureFlagsParams) WithContext(ctx context.Context) *GetFeatureFlagsParams
WithContext adds the context to the get feature flags params
func (*GetFeatureFlagsParams) WithHTTPClient ¶
func (o *GetFeatureFlagsParams) WithHTTPClient(client *http.Client) *GetFeatureFlagsParams
WithHTTPClient adds the HTTPClient to the get feature flags params
func (*GetFeatureFlagsParams) WithTimeout ¶
func (o *GetFeatureFlagsParams) WithTimeout(timeout time.Duration) *GetFeatureFlagsParams
WithTimeout adds the timeout to the get feature flags params
func (*GetFeatureFlagsParams) WriteToRequest ¶
func (o *GetFeatureFlagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFeatureFlagsReader ¶
type GetFeatureFlagsReader struct {
// contains filtered or unexported fields
}
GetFeatureFlagsReader is a Reader for the GetFeatureFlags structure.
func (*GetFeatureFlagsReader) ReadResponse ¶
func (o *GetFeatureFlagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFeatureFlagsUnauthorized ¶
type GetFeatureFlagsUnauthorized struct {
}GetFeatureFlagsUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetFeatureFlagsUnauthorized ¶
func NewGetFeatureFlagsUnauthorized() *GetFeatureFlagsUnauthorized
NewGetFeatureFlagsUnauthorized creates a GetFeatureFlagsUnauthorized with default headers values
func (*GetFeatureFlagsUnauthorized) Error ¶
func (o *GetFeatureFlagsUnauthorized) Error() string
func (*GetFeatureFlagsUnauthorized) GetPayload ¶
func (o *GetFeatureFlagsUnauthorized) GetPayload() *models.Error