v1audits

package
v2.8.0-dev.346+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

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) GetAuditEvent

func (a *Client) GetAuditEvent(params *GetAuditEventParams) (*GetAuditEventOK, error)

GetAuditEvent get audit event API

func (*Client) GetAuditEvents

func (a *Client) GetAuditEvents(params *GetAuditEventsParams) (*GetAuditEventsOK, error)

GetAuditEvents get audit events API

func (*Client) GetAuditEventsZip

func (a *Client) GetAuditEventsZip(params *GetAuditEventsZipParams) error

GetAuditEventsZip get audit events zip API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type GetAuditEventOK

type GetAuditEventOK struct {
	Payload *models_cloudbreak.AuditEvent
}

GetAuditEventOK handles this case with default header values.

successful operation

func NewGetAuditEventOK

func NewGetAuditEventOK() *GetAuditEventOK

NewGetAuditEventOK creates a GetAuditEventOK with default headers values

func (*GetAuditEventOK) Error

func (o *GetAuditEventOK) Error() string

type GetAuditEventParams

type GetAuditEventParams struct {

	/*AuditID*/
	AuditID int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAuditEventParams contains all the parameters to send to the API endpoint for the get audit event operation typically these are written to a http.Request

func NewGetAuditEventParams

func NewGetAuditEventParams() *GetAuditEventParams

NewGetAuditEventParams creates a new GetAuditEventParams object with the default values initialized.

func NewGetAuditEventParamsWithContext

func NewGetAuditEventParamsWithContext(ctx context.Context) *GetAuditEventParams

NewGetAuditEventParamsWithContext creates a new GetAuditEventParams object with the default values initialized, and the ability to set a context for a request

func NewGetAuditEventParamsWithHTTPClient

func NewGetAuditEventParamsWithHTTPClient(client *http.Client) *GetAuditEventParams

NewGetAuditEventParamsWithHTTPClient creates a new GetAuditEventParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAuditEventParamsWithTimeout

func NewGetAuditEventParamsWithTimeout(timeout time.Duration) *GetAuditEventParams

NewGetAuditEventParamsWithTimeout creates a new GetAuditEventParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAuditEventParams) SetAuditID

func (o *GetAuditEventParams) SetAuditID(auditID int64)

SetAuditID adds the auditId to the get audit event params

func (*GetAuditEventParams) SetContext

func (o *GetAuditEventParams) SetContext(ctx context.Context)

SetContext adds the context to the get audit event params

func (*GetAuditEventParams) SetHTTPClient

func (o *GetAuditEventParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get audit event params

func (*GetAuditEventParams) SetTimeout

func (o *GetAuditEventParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get audit event params

func (*GetAuditEventParams) WithAuditID

func (o *GetAuditEventParams) WithAuditID(auditID int64) *GetAuditEventParams

WithAuditID adds the auditID to the get audit event params

func (*GetAuditEventParams) WithContext

WithContext adds the context to the get audit event params

func (*GetAuditEventParams) WithHTTPClient

func (o *GetAuditEventParams) WithHTTPClient(client *http.Client) *GetAuditEventParams

WithHTTPClient adds the HTTPClient to the get audit event params

func (*GetAuditEventParams) WithTimeout

func (o *GetAuditEventParams) WithTimeout(timeout time.Duration) *GetAuditEventParams

WithTimeout adds the timeout to the get audit event params

func (*GetAuditEventParams) WriteToRequest

func (o *GetAuditEventParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAuditEventReader

type GetAuditEventReader struct {
	// contains filtered or unexported fields
}

GetAuditEventReader is a Reader for the GetAuditEvent structure.

func (*GetAuditEventReader) ReadResponse

func (o *GetAuditEventReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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

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.

type GetAuditEventsZipDefault

type GetAuditEventsZipDefault struct {
	// contains filtered or unexported fields
}

GetAuditEventsZipDefault handles this case with default header values.

successful operation

func NewGetAuditEventsZipDefault

func NewGetAuditEventsZipDefault(code int) *GetAuditEventsZipDefault

NewGetAuditEventsZipDefault creates a GetAuditEventsZipDefault with default headers values

func (*GetAuditEventsZipDefault) Code

func (o *GetAuditEventsZipDefault) Code() int

Code gets the status code for the get audit events zip default response

func (*GetAuditEventsZipDefault) Error

func (o *GetAuditEventsZipDefault) Error() string

type GetAuditEventsZipParams

type GetAuditEventsZipParams struct {

	/*ResourceID*/
	ResourceID int64
	/*ResourceType*/
	ResourceType string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAuditEventsZipParams contains all the parameters to send to the API endpoint for the get audit events zip operation typically these are written to a http.Request

func NewGetAuditEventsZipParams

func NewGetAuditEventsZipParams() *GetAuditEventsZipParams

NewGetAuditEventsZipParams creates a new GetAuditEventsZipParams object with the default values initialized.

func NewGetAuditEventsZipParamsWithContext

func NewGetAuditEventsZipParamsWithContext(ctx context.Context) *GetAuditEventsZipParams

NewGetAuditEventsZipParamsWithContext creates a new GetAuditEventsZipParams object with the default values initialized, and the ability to set a context for a request

func NewGetAuditEventsZipParamsWithHTTPClient

func NewGetAuditEventsZipParamsWithHTTPClient(client *http.Client) *GetAuditEventsZipParams

NewGetAuditEventsZipParamsWithHTTPClient creates a new GetAuditEventsZipParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAuditEventsZipParamsWithTimeout

func NewGetAuditEventsZipParamsWithTimeout(timeout time.Duration) *GetAuditEventsZipParams

NewGetAuditEventsZipParamsWithTimeout creates a new GetAuditEventsZipParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAuditEventsZipParams) SetContext

func (o *GetAuditEventsZipParams) SetContext(ctx context.Context)

SetContext adds the context to the get audit events zip params

func (*GetAuditEventsZipParams) SetHTTPClient

func (o *GetAuditEventsZipParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get audit events zip params

func (*GetAuditEventsZipParams) SetResourceID

func (o *GetAuditEventsZipParams) SetResourceID(resourceID int64)

SetResourceID adds the resourceId to the get audit events zip params

func (*GetAuditEventsZipParams) SetResourceType

func (o *GetAuditEventsZipParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get audit events zip params

func (*GetAuditEventsZipParams) SetTimeout

func (o *GetAuditEventsZipParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get audit events zip params

func (*GetAuditEventsZipParams) WithContext

WithContext adds the context to the get audit events zip params

func (*GetAuditEventsZipParams) WithHTTPClient

func (o *GetAuditEventsZipParams) WithHTTPClient(client *http.Client) *GetAuditEventsZipParams

WithHTTPClient adds the HTTPClient to the get audit events zip params

func (*GetAuditEventsZipParams) WithResourceID

func (o *GetAuditEventsZipParams) WithResourceID(resourceID int64) *GetAuditEventsZipParams

WithResourceID adds the resourceID to the get audit events zip params

func (*GetAuditEventsZipParams) WithResourceType

func (o *GetAuditEventsZipParams) WithResourceType(resourceType string) *GetAuditEventsZipParams

WithResourceType adds the resourceType to the get audit events zip params

func (*GetAuditEventsZipParams) WithTimeout

WithTimeout adds the timeout to the get audit events zip params

func (*GetAuditEventsZipParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventsZipReader

type GetAuditEventsZipReader struct {
	// contains filtered or unexported fields
}

GetAuditEventsZipReader is a Reader for the GetAuditEventsZip structure.

func (*GetAuditEventsZipReader) ReadResponse

func (o *GetAuditEventsZipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL