Documentation
¶
Index ¶
- type Client
- type ListPoliciesOK
- type ListPoliciesParams
- func (o *ListPoliciesParams) SetBody(body models.IdmListPolicyGroupsRequest)
- func (o *ListPoliciesParams) SetContext(ctx context.Context)
- func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *ListPoliciesParams) WithBody(body models.IdmListPolicyGroupsRequest) *ListPoliciesParams
- func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
- func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
- func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
- func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPoliciesReader
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 policy service API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new policy service API client.
func (*Client) ListPolicies ¶
func (a *Client) ListPolicies(params *ListPoliciesParams) (*ListPoliciesOK, error)
ListPolicies lists all defined security policies
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ListPoliciesOK ¶
type ListPoliciesOK struct {
Payload *models.IdmListPolicyGroupsResponse
}
ListPoliciesOK handles this case with default header values.
ListPoliciesOK list policies o k
func NewListPoliciesOK ¶
func NewListPoliciesOK() *ListPoliciesOK
NewListPoliciesOK creates a ListPoliciesOK with default headers values
func (*ListPoliciesOK) Error ¶
func (o *ListPoliciesOK) Error() string
type ListPoliciesParams ¶
type ListPoliciesParams struct { /*Body*/ Body models.IdmListPolicyGroupsRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPoliciesParams contains all the parameters to send to the API endpoint for the list policies operation typically these are written to a http.Request
func NewListPoliciesParams ¶
func NewListPoliciesParams() *ListPoliciesParams
NewListPoliciesParams creates a new ListPoliciesParams object with the default values initialized.
func NewListPoliciesParamsWithContext ¶
func NewListPoliciesParamsWithContext(ctx context.Context) *ListPoliciesParams
NewListPoliciesParamsWithContext creates a new ListPoliciesParams object with the default values initialized, and the ability to set a context for a request
func NewListPoliciesParamsWithHTTPClient ¶
func NewListPoliciesParamsWithHTTPClient(client *http.Client) *ListPoliciesParams
NewListPoliciesParamsWithHTTPClient creates a new ListPoliciesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListPoliciesParamsWithTimeout ¶
func NewListPoliciesParamsWithTimeout(timeout time.Duration) *ListPoliciesParams
NewListPoliciesParamsWithTimeout creates a new ListPoliciesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListPoliciesParams) SetBody ¶
func (o *ListPoliciesParams) SetBody(body models.IdmListPolicyGroupsRequest)
SetBody adds the body to the list policies params
func (*ListPoliciesParams) SetContext ¶
func (o *ListPoliciesParams) SetContext(ctx context.Context)
SetContext adds the context to the list policies params
func (*ListPoliciesParams) SetHTTPClient ¶
func (o *ListPoliciesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list policies params
func (*ListPoliciesParams) SetTimeout ¶
func (o *ListPoliciesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list policies params
func (*ListPoliciesParams) WithBody ¶
func (o *ListPoliciesParams) WithBody(body models.IdmListPolicyGroupsRequest) *ListPoliciesParams
WithBody adds the body to the list policies params
func (*ListPoliciesParams) WithContext ¶
func (o *ListPoliciesParams) WithContext(ctx context.Context) *ListPoliciesParams
WithContext adds the context to the list policies params
func (*ListPoliciesParams) WithHTTPClient ¶
func (o *ListPoliciesParams) WithHTTPClient(client *http.Client) *ListPoliciesParams
WithHTTPClient adds the HTTPClient to the list policies params
func (*ListPoliciesParams) WithTimeout ¶
func (o *ListPoliciesParams) WithTimeout(timeout time.Duration) *ListPoliciesParams
WithTimeout adds the timeout to the list policies params
func (*ListPoliciesParams) WriteToRequest ¶
func (o *ListPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPoliciesReader ¶
type ListPoliciesReader struct {
// contains filtered or unexported fields
}
ListPoliciesReader is a Reader for the ListPolicies structure.
func (*ListPoliciesReader) ReadResponse ¶
func (o *ListPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.