Documentation ¶
Index ¶
- type Client
- type GetAuditEventsOK
- type GetAuditEventsParams
- func NewGetAuditEventsParams() *GetAuditEventsParams
- func NewGetAuditEventsParamsWithContext(ctx context.Context) *GetAuditEventsParams
- func NewGetAuditEventsParamsWithHTTPClient(client *http.Client) *GetAuditEventsParams
- func NewGetAuditEventsParamsWithTimeout(timeout time.Duration) *GetAuditEventsParams
- func (o *GetAuditEventsParams) SetContext(ctx context.Context)
- func (o *GetAuditEventsParams) SetHTTPClient(client *http.Client)
- func (o *GetAuditEventsParams) SetResourceID(resourceID int64)
- func (o *GetAuditEventsParams) SetResourceType(resourceType string)
- func (o *GetAuditEventsParams) SetTimeout(timeout time.Duration)
- func (o *GetAuditEventsParams) WithContext(ctx context.Context) *GetAuditEventsParams
- func (o *GetAuditEventsParams) WithHTTPClient(client *http.Client) *GetAuditEventsParams
- func (o *GetAuditEventsParams) WithResourceID(resourceID int64) *GetAuditEventsParams
- func (o *GetAuditEventsParams) WithResourceType(resourceType string) *GetAuditEventsParams
- func (o *GetAuditEventsParams) WithTimeout(timeout time.Duration) *GetAuditEventsParams
- func (o *GetAuditEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuditEventsReader
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 v1audits API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new v1audits API client.
func (*Client) GetAuditEvents ¶
func (a *Client) GetAuditEvents(params *GetAuditEventsParams) (*GetAuditEventsOK, error)
GetAuditEvents get audit events API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetAuditEventsOK ¶
type GetAuditEventsOK struct {
Payload []*models_cloudbreak.AuditEvent
}
GetAuditEventsOK handles this case with default header values.
successful operation
func NewGetAuditEventsOK ¶
func NewGetAuditEventsOK() *GetAuditEventsOK
NewGetAuditEventsOK creates a GetAuditEventsOK with default headers values
func (*GetAuditEventsOK) Error ¶
func (o *GetAuditEventsOK) Error() string
type GetAuditEventsParams ¶
type GetAuditEventsParams struct { /*ResourceID*/ ResourceID int64 /*ResourceType*/ ResourceType string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAuditEventsParams contains all the parameters to send to the API endpoint for the get audit events operation typically these are written to a http.Request
func NewGetAuditEventsParams ¶
func NewGetAuditEventsParams() *GetAuditEventsParams
NewGetAuditEventsParams creates a new GetAuditEventsParams object with the default values initialized.
func NewGetAuditEventsParamsWithContext ¶
func NewGetAuditEventsParamsWithContext(ctx context.Context) *GetAuditEventsParams
NewGetAuditEventsParamsWithContext creates a new GetAuditEventsParams object with the default values initialized, and the ability to set a context for a request
func NewGetAuditEventsParamsWithHTTPClient ¶
func NewGetAuditEventsParamsWithHTTPClient(client *http.Client) *GetAuditEventsParams
NewGetAuditEventsParamsWithHTTPClient creates a new GetAuditEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetAuditEventsParamsWithTimeout ¶
func NewGetAuditEventsParamsWithTimeout(timeout time.Duration) *GetAuditEventsParams
NewGetAuditEventsParamsWithTimeout creates a new GetAuditEventsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetAuditEventsParams) SetContext ¶
func (o *GetAuditEventsParams) SetContext(ctx context.Context)
SetContext adds the context to the get audit events params
func (*GetAuditEventsParams) SetHTTPClient ¶
func (o *GetAuditEventsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get audit events params
func (*GetAuditEventsParams) SetResourceID ¶
func (o *GetAuditEventsParams) SetResourceID(resourceID int64)
SetResourceID adds the resourceId to the get audit events params
func (*GetAuditEventsParams) SetResourceType ¶
func (o *GetAuditEventsParams) SetResourceType(resourceType string)
SetResourceType adds the resourceType to the get audit events params
func (*GetAuditEventsParams) SetTimeout ¶
func (o *GetAuditEventsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get audit events params
func (*GetAuditEventsParams) WithContext ¶
func (o *GetAuditEventsParams) WithContext(ctx context.Context) *GetAuditEventsParams
WithContext adds the context to the get audit events params
func (*GetAuditEventsParams) WithHTTPClient ¶
func (o *GetAuditEventsParams) WithHTTPClient(client *http.Client) *GetAuditEventsParams
WithHTTPClient adds the HTTPClient to the get audit events params
func (*GetAuditEventsParams) WithResourceID ¶
func (o *GetAuditEventsParams) WithResourceID(resourceID int64) *GetAuditEventsParams
WithResourceID adds the resourceID to the get audit events params
func (*GetAuditEventsParams) WithResourceType ¶
func (o *GetAuditEventsParams) WithResourceType(resourceType string) *GetAuditEventsParams
WithResourceType adds the resourceType to the get audit events params
func (*GetAuditEventsParams) WithTimeout ¶
func (o *GetAuditEventsParams) WithTimeout(timeout time.Duration) *GetAuditEventsParams
WithTimeout adds the timeout to the get audit events params
func (*GetAuditEventsParams) WriteToRequest ¶
func (o *GetAuditEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuditEventsReader ¶
type GetAuditEventsReader struct {
// contains filtered or unexported fields
}
GetAuditEventsReader is a Reader for the GetAuditEvents structure.
func (*GetAuditEventsReader) ReadResponse ¶
func (o *GetAuditEventsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.