Documentation ¶
Index ¶
- type Client
- type GetDecisionByIDUsingGETOK
- type GetDecisionByIDUsingGETParams
- func NewGetDecisionByIDUsingGETParams() *GetDecisionByIDUsingGETParams
- func NewGetDecisionByIDUsingGETParamsWithContext(ctx context.Context) *GetDecisionByIDUsingGETParams
- func NewGetDecisionByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetDecisionByIDUsingGETParams
- func NewGetDecisionByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetDecisionByIDUsingGETParams
- func (o *GetDecisionByIDUsingGETParams) SetContext(ctx context.Context)
- func (o *GetDecisionByIDUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetDecisionByIDUsingGETParams) SetID(id strfmt.UUID)
- func (o *GetDecisionByIDUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetDecisionByIDUsingGETParams) WithContext(ctx context.Context) *GetDecisionByIDUsingGETParams
- func (o *GetDecisionByIDUsingGETParams) WithHTTPClient(client *http.Client) *GetDecisionByIDUsingGETParams
- func (o *GetDecisionByIDUsingGETParams) WithID(id strfmt.UUID) *GetDecisionByIDUsingGETParams
- func (o *GetDecisionByIDUsingGETParams) WithTimeout(timeout time.Duration) *GetDecisionByIDUsingGETParams
- func (o *GetDecisionByIDUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDecisionByIDUsingGETReader
- type GetDecisionsUsingGETOK
- type GetDecisionsUsingGETParams
- func NewGetDecisionsUsingGETParams() *GetDecisionsUsingGETParams
- func NewGetDecisionsUsingGETParamsWithContext(ctx context.Context) *GetDecisionsUsingGETParams
- func NewGetDecisionsUsingGETParamsWithHTTPClient(client *http.Client) *GetDecisionsUsingGETParams
- func NewGetDecisionsUsingGETParamsWithTimeout(timeout time.Duration) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) SetContext(ctx context.Context)
- func (o *GetDecisionsUsingGETParams) SetDollarOrderby(dollarOrderby []string)
- func (o *GetDecisionsUsingGETParams) SetDollarSkip(dollarSkip *int32)
- func (o *GetDecisionsUsingGETParams) SetDollarTop(dollarTop *int32)
- func (o *GetDecisionsUsingGETParams) SetDryRunID(dryRunID *strfmt.UUID)
- func (o *GetDecisionsUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetDecisionsUsingGETParams) SetPolicyTypeID(policyTypeID *string)
- func (o *GetDecisionsUsingGETParams) SetProjectID(projectID *string)
- func (o *GetDecisionsUsingGETParams) SetSearch(search *string)
- func (o *GetDecisionsUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetDecisionsUsingGETParams) WithContext(ctx context.Context) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithDollarTop(dollarTop *int32) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithDryRunID(dryRunID *strfmt.UUID) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithHTTPClient(client *http.Client) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithPolicyTypeID(policyTypeID *string) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithProjectID(projectID *string) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithSearch(search *string) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WithTimeout(timeout time.Duration) *GetDecisionsUsingGETParams
- func (o *GetDecisionsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDecisionsUsingGETReader
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 decisions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new policy decisions API client.
func (*Client) GetDecisionByIDUsingGET ¶
func (a *Client) GetDecisionByIDUsingGET(params *GetDecisionByIDUsingGETParams) (*GetDecisionByIDUsingGETOK, error)
GetDecisionByIDUsingGET returns a policy decision by id
Find a specific policy decision based on the input policy decision id.
func (*Client) GetDecisionsUsingGET ¶
func (a *Client) GetDecisionsUsingGET(params *GetDecisionsUsingGETParams) (*GetDecisionsUsingGETOK, error)
GetDecisionsUsingGET fetches a list of policy decisions
Returns a paginated list of policy decisions. If a dryRunId is provided, the return value has a field indicating whether the dry run is complete.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetDecisionByIDUsingGETOK ¶
type GetDecisionByIDUsingGETOK struct {
Payload *models.PolicyDecisionOfObjectNode
}
GetDecisionByIDUsingGETOK handles this case with default header values.
OK
func NewGetDecisionByIDUsingGETOK ¶
func NewGetDecisionByIDUsingGETOK() *GetDecisionByIDUsingGETOK
NewGetDecisionByIDUsingGETOK creates a GetDecisionByIDUsingGETOK with default headers values
func (*GetDecisionByIDUsingGETOK) Error ¶
func (o *GetDecisionByIDUsingGETOK) Error() string
func (*GetDecisionByIDUsingGETOK) GetPayload ¶
func (o *GetDecisionByIDUsingGETOK) GetPayload() *models.PolicyDecisionOfObjectNode
type GetDecisionByIDUsingGETParams ¶
type GetDecisionByIDUsingGETParams struct { /*ID Policy decision Id */ ID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDecisionByIDUsingGETParams contains all the parameters to send to the API endpoint for the get decision by Id using g e t operation typically these are written to a http.Request
func NewGetDecisionByIDUsingGETParams ¶
func NewGetDecisionByIDUsingGETParams() *GetDecisionByIDUsingGETParams
NewGetDecisionByIDUsingGETParams creates a new GetDecisionByIDUsingGETParams object with the default values initialized.
func NewGetDecisionByIDUsingGETParamsWithContext ¶
func NewGetDecisionByIDUsingGETParamsWithContext(ctx context.Context) *GetDecisionByIDUsingGETParams
NewGetDecisionByIDUsingGETParamsWithContext creates a new GetDecisionByIDUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetDecisionByIDUsingGETParamsWithHTTPClient ¶
func NewGetDecisionByIDUsingGETParamsWithHTTPClient(client *http.Client) *GetDecisionByIDUsingGETParams
NewGetDecisionByIDUsingGETParamsWithHTTPClient creates a new GetDecisionByIDUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDecisionByIDUsingGETParamsWithTimeout ¶
func NewGetDecisionByIDUsingGETParamsWithTimeout(timeout time.Duration) *GetDecisionByIDUsingGETParams
NewGetDecisionByIDUsingGETParamsWithTimeout creates a new GetDecisionByIDUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDecisionByIDUsingGETParams) SetContext ¶
func (o *GetDecisionByIDUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) SetHTTPClient ¶
func (o *GetDecisionByIDUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) SetID ¶
func (o *GetDecisionByIDUsingGETParams) SetID(id strfmt.UUID)
SetID adds the id to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) SetTimeout ¶
func (o *GetDecisionByIDUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) WithContext ¶
func (o *GetDecisionByIDUsingGETParams) WithContext(ctx context.Context) *GetDecisionByIDUsingGETParams
WithContext adds the context to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) WithHTTPClient ¶
func (o *GetDecisionByIDUsingGETParams) WithHTTPClient(client *http.Client) *GetDecisionByIDUsingGETParams
WithHTTPClient adds the HTTPClient to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) WithID ¶
func (o *GetDecisionByIDUsingGETParams) WithID(id strfmt.UUID) *GetDecisionByIDUsingGETParams
WithID adds the id to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) WithTimeout ¶
func (o *GetDecisionByIDUsingGETParams) WithTimeout(timeout time.Duration) *GetDecisionByIDUsingGETParams
WithTimeout adds the timeout to the get decision by Id using get params
func (*GetDecisionByIDUsingGETParams) WriteToRequest ¶
func (o *GetDecisionByIDUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDecisionByIDUsingGETReader ¶
type GetDecisionByIDUsingGETReader struct {
// contains filtered or unexported fields
}
GetDecisionByIDUsingGETReader is a Reader for the GetDecisionByIDUsingGET structure.
func (*GetDecisionByIDUsingGETReader) ReadResponse ¶
func (o *GetDecisionByIDUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDecisionsUsingGETOK ¶
type GetDecisionsUsingGETOK struct {
Payload *models.PageOfPolicyDecisionOfObjectNode
}
GetDecisionsUsingGETOK handles this case with default header values.
OK
func NewGetDecisionsUsingGETOK ¶
func NewGetDecisionsUsingGETOK() *GetDecisionsUsingGETOK
NewGetDecisionsUsingGETOK creates a GetDecisionsUsingGETOK with default headers values
func (*GetDecisionsUsingGETOK) Error ¶
func (o *GetDecisionsUsingGETOK) Error() string
func (*GetDecisionsUsingGETOK) GetPayload ¶
func (o *GetDecisionsUsingGETOK) GetPayload() *models.PageOfPolicyDecisionOfObjectNode
type GetDecisionsUsingGETParams ¶
type GetDecisionsUsingGETParams struct { /*DollarOrderby Sorting criteria in the format: property (asc|desc). Default sort order is ascending. Multiple sort criteria are supported. */ DollarOrderby []string /*DollarSkip Number of records you want to skip */ DollarSkip *int32 /*DollarTop Number of records you want */ DollarTop *int32 /*DryRunID dryRunId */ DryRunID *strfmt.UUID /*PolicyTypeID Matches will only include policies of this type */ PolicyTypeID *string /*ProjectID Matches will only include decisions with this project ID */ ProjectID *string /*Search Matches will start with this string in their policy name or target name or have this string somewhere in their description. */ Search *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDecisionsUsingGETParams contains all the parameters to send to the API endpoint for the get decisions using g e t operation typically these are written to a http.Request
func NewGetDecisionsUsingGETParams ¶
func NewGetDecisionsUsingGETParams() *GetDecisionsUsingGETParams
NewGetDecisionsUsingGETParams creates a new GetDecisionsUsingGETParams object with the default values initialized.
func NewGetDecisionsUsingGETParamsWithContext ¶
func NewGetDecisionsUsingGETParamsWithContext(ctx context.Context) *GetDecisionsUsingGETParams
NewGetDecisionsUsingGETParamsWithContext creates a new GetDecisionsUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetDecisionsUsingGETParamsWithHTTPClient ¶
func NewGetDecisionsUsingGETParamsWithHTTPClient(client *http.Client) *GetDecisionsUsingGETParams
NewGetDecisionsUsingGETParamsWithHTTPClient creates a new GetDecisionsUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDecisionsUsingGETParamsWithTimeout ¶
func NewGetDecisionsUsingGETParamsWithTimeout(timeout time.Duration) *GetDecisionsUsingGETParams
NewGetDecisionsUsingGETParamsWithTimeout creates a new GetDecisionsUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDecisionsUsingGETParams) SetContext ¶
func (o *GetDecisionsUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetDollarOrderby ¶
func (o *GetDecisionsUsingGETParams) SetDollarOrderby(dollarOrderby []string)
SetDollarOrderby adds the dollarOrderby to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetDollarSkip ¶
func (o *GetDecisionsUsingGETParams) SetDollarSkip(dollarSkip *int32)
SetDollarSkip adds the dollarSkip to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetDollarTop ¶
func (o *GetDecisionsUsingGETParams) SetDollarTop(dollarTop *int32)
SetDollarTop adds the dollarTop to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetDryRunID ¶
func (o *GetDecisionsUsingGETParams) SetDryRunID(dryRunID *strfmt.UUID)
SetDryRunID adds the dryRunId to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetHTTPClient ¶
func (o *GetDecisionsUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetPolicyTypeID ¶
func (o *GetDecisionsUsingGETParams) SetPolicyTypeID(policyTypeID *string)
SetPolicyTypeID adds the policyTypeId to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetProjectID ¶
func (o *GetDecisionsUsingGETParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetSearch ¶
func (o *GetDecisionsUsingGETParams) SetSearch(search *string)
SetSearch adds the search to the get decisions using get params
func (*GetDecisionsUsingGETParams) SetTimeout ¶
func (o *GetDecisionsUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithContext ¶
func (o *GetDecisionsUsingGETParams) WithContext(ctx context.Context) *GetDecisionsUsingGETParams
WithContext adds the context to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithDollarOrderby ¶
func (o *GetDecisionsUsingGETParams) WithDollarOrderby(dollarOrderby []string) *GetDecisionsUsingGETParams
WithDollarOrderby adds the dollarOrderby to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithDollarSkip ¶
func (o *GetDecisionsUsingGETParams) WithDollarSkip(dollarSkip *int32) *GetDecisionsUsingGETParams
WithDollarSkip adds the dollarSkip to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithDollarTop ¶
func (o *GetDecisionsUsingGETParams) WithDollarTop(dollarTop *int32) *GetDecisionsUsingGETParams
WithDollarTop adds the dollarTop to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithDryRunID ¶
func (o *GetDecisionsUsingGETParams) WithDryRunID(dryRunID *strfmt.UUID) *GetDecisionsUsingGETParams
WithDryRunID adds the dryRunID to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithHTTPClient ¶
func (o *GetDecisionsUsingGETParams) WithHTTPClient(client *http.Client) *GetDecisionsUsingGETParams
WithHTTPClient adds the HTTPClient to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithPolicyTypeID ¶
func (o *GetDecisionsUsingGETParams) WithPolicyTypeID(policyTypeID *string) *GetDecisionsUsingGETParams
WithPolicyTypeID adds the policyTypeID to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithProjectID ¶
func (o *GetDecisionsUsingGETParams) WithProjectID(projectID *string) *GetDecisionsUsingGETParams
WithProjectID adds the projectID to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithSearch ¶
func (o *GetDecisionsUsingGETParams) WithSearch(search *string) *GetDecisionsUsingGETParams
WithSearch adds the search to the get decisions using get params
func (*GetDecisionsUsingGETParams) WithTimeout ¶
func (o *GetDecisionsUsingGETParams) WithTimeout(timeout time.Duration) *GetDecisionsUsingGETParams
WithTimeout adds the timeout to the get decisions using get params
func (*GetDecisionsUsingGETParams) WriteToRequest ¶
func (o *GetDecisionsUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDecisionsUsingGETReader ¶
type GetDecisionsUsingGETReader struct {
// contains filtered or unexported fields
}
GetDecisionsUsingGETReader is a Reader for the GetDecisionsUsingGET structure.
func (*GetDecisionsUsingGETReader) ReadResponse ¶
func (o *GetDecisionsUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.