v3_workspace_id_audits

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 4

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 v3 workspace id audits API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v3 workspace id audits API client.

func (*Client) GetAuditEventByWorkspace

func (a *Client) GetAuditEventByWorkspace(params *GetAuditEventByWorkspaceParams) (*GetAuditEventByWorkspaceOK, error)

GetAuditEventByWorkspace gets audit event in workspace

Audit event operations

func (*Client) GetAuditEventsInWorkspace

func (a *Client) GetAuditEventsInWorkspace(params *GetAuditEventsInWorkspaceParams) (*GetAuditEventsInWorkspaceOK, error)

GetAuditEventsInWorkspace lists audit events for the given workspace

Audit event operations

func (*Client) GetAuditEventsZipInWorkspace

func (a *Client) GetAuditEventsZipInWorkspace(params *GetAuditEventsZipInWorkspaceParams) error

GetAuditEventsZipInWorkspace lists audit events for the given workspace in zip file

Audit event operations

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetAuditEventByWorkspaceOK

type GetAuditEventByWorkspaceOK struct {
	Payload *models_cloudbreak.AuditEvent
}

GetAuditEventByWorkspaceOK handles this case with default header values.

successful operation

func NewGetAuditEventByWorkspaceOK

func NewGetAuditEventByWorkspaceOK() *GetAuditEventByWorkspaceOK

NewGetAuditEventByWorkspaceOK creates a GetAuditEventByWorkspaceOK with default headers values

func (*GetAuditEventByWorkspaceOK) Error

type GetAuditEventByWorkspaceParams

type GetAuditEventByWorkspaceParams struct {

	/*AuditID*/
	AuditID int64
	/*WorkspaceID*/
	WorkspaceID int64

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

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

func NewGetAuditEventByWorkspaceParams

func NewGetAuditEventByWorkspaceParams() *GetAuditEventByWorkspaceParams

NewGetAuditEventByWorkspaceParams creates a new GetAuditEventByWorkspaceParams object with the default values initialized.

func NewGetAuditEventByWorkspaceParamsWithContext

func NewGetAuditEventByWorkspaceParamsWithContext(ctx context.Context) *GetAuditEventByWorkspaceParams

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

func NewGetAuditEventByWorkspaceParamsWithHTTPClient

func NewGetAuditEventByWorkspaceParamsWithHTTPClient(client *http.Client) *GetAuditEventByWorkspaceParams

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

func NewGetAuditEventByWorkspaceParamsWithTimeout

func NewGetAuditEventByWorkspaceParamsWithTimeout(timeout time.Duration) *GetAuditEventByWorkspaceParams

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

func (*GetAuditEventByWorkspaceParams) SetAuditID

func (o *GetAuditEventByWorkspaceParams) SetAuditID(auditID int64)

SetAuditID adds the auditId to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) SetContext

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

SetContext adds the context to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) SetWorkspaceID

func (o *GetAuditEventByWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) WithAuditID

WithAuditID adds the auditID to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) WithContext

WithContext adds the context to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) WithWorkspaceID

func (o *GetAuditEventByWorkspaceParams) WithWorkspaceID(workspaceID int64) *GetAuditEventByWorkspaceParams

WithWorkspaceID adds the workspaceID to the get audit event by workspace params

func (*GetAuditEventByWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventByWorkspaceReader

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

GetAuditEventByWorkspaceReader is a Reader for the GetAuditEventByWorkspace structure.

func (*GetAuditEventByWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditEventsInWorkspaceOK

type GetAuditEventsInWorkspaceOK struct {
	Payload []*models_cloudbreak.AuditEvent
}

GetAuditEventsInWorkspaceOK handles this case with default header values.

successful operation

func NewGetAuditEventsInWorkspaceOK

func NewGetAuditEventsInWorkspaceOK() *GetAuditEventsInWorkspaceOK

NewGetAuditEventsInWorkspaceOK creates a GetAuditEventsInWorkspaceOK with default headers values

func (*GetAuditEventsInWorkspaceOK) Error

type GetAuditEventsInWorkspaceParams

type GetAuditEventsInWorkspaceParams struct {

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

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

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

func NewGetAuditEventsInWorkspaceParams

func NewGetAuditEventsInWorkspaceParams() *GetAuditEventsInWorkspaceParams

NewGetAuditEventsInWorkspaceParams creates a new GetAuditEventsInWorkspaceParams object with the default values initialized.

func NewGetAuditEventsInWorkspaceParamsWithContext

func NewGetAuditEventsInWorkspaceParamsWithContext(ctx context.Context) *GetAuditEventsInWorkspaceParams

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

func NewGetAuditEventsInWorkspaceParamsWithHTTPClient

func NewGetAuditEventsInWorkspaceParamsWithHTTPClient(client *http.Client) *GetAuditEventsInWorkspaceParams

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

func NewGetAuditEventsInWorkspaceParamsWithTimeout

func NewGetAuditEventsInWorkspaceParamsWithTimeout(timeout time.Duration) *GetAuditEventsInWorkspaceParams

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

func (*GetAuditEventsInWorkspaceParams) SetContext

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

SetContext adds the context to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) SetResourceID

func (o *GetAuditEventsInWorkspaceParams) SetResourceID(resourceID int64)

SetResourceID adds the resourceId to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) SetResourceType

func (o *GetAuditEventsInWorkspaceParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) SetWorkspaceID

func (o *GetAuditEventsInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WithContext

WithContext adds the context to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WithResourceID

WithResourceID adds the resourceID to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WithResourceType

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

WithResourceType adds the resourceType to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get audit events in workspace params

func (*GetAuditEventsInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventsInWorkspaceReader

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

GetAuditEventsInWorkspaceReader is a Reader for the GetAuditEventsInWorkspace structure.

func (*GetAuditEventsInWorkspaceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditEventsZipInWorkspaceDefault

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

GetAuditEventsZipInWorkspaceDefault handles this case with default header values.

successful operation

func NewGetAuditEventsZipInWorkspaceDefault

func NewGetAuditEventsZipInWorkspaceDefault(code int) *GetAuditEventsZipInWorkspaceDefault

NewGetAuditEventsZipInWorkspaceDefault creates a GetAuditEventsZipInWorkspaceDefault with default headers values

func (*GetAuditEventsZipInWorkspaceDefault) Code

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

func (*GetAuditEventsZipInWorkspaceDefault) Error

type GetAuditEventsZipInWorkspaceParams

type GetAuditEventsZipInWorkspaceParams struct {

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

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

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

func NewGetAuditEventsZipInWorkspaceParams

func NewGetAuditEventsZipInWorkspaceParams() *GetAuditEventsZipInWorkspaceParams

NewGetAuditEventsZipInWorkspaceParams creates a new GetAuditEventsZipInWorkspaceParams object with the default values initialized.

func NewGetAuditEventsZipInWorkspaceParamsWithContext

func NewGetAuditEventsZipInWorkspaceParamsWithContext(ctx context.Context) *GetAuditEventsZipInWorkspaceParams

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

func NewGetAuditEventsZipInWorkspaceParamsWithHTTPClient

func NewGetAuditEventsZipInWorkspaceParamsWithHTTPClient(client *http.Client) *GetAuditEventsZipInWorkspaceParams

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

func NewGetAuditEventsZipInWorkspaceParamsWithTimeout

func NewGetAuditEventsZipInWorkspaceParamsWithTimeout(timeout time.Duration) *GetAuditEventsZipInWorkspaceParams

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

func (*GetAuditEventsZipInWorkspaceParams) SetContext

SetContext adds the context to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) SetResourceID

func (o *GetAuditEventsZipInWorkspaceParams) SetResourceID(resourceID int64)

SetResourceID adds the resourceId to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) SetResourceType

func (o *GetAuditEventsZipInWorkspaceParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) SetTimeout

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

SetTimeout adds the timeout to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) SetWorkspaceID

func (o *GetAuditEventsZipInWorkspaceParams) SetWorkspaceID(workspaceID int64)

SetWorkspaceID adds the workspaceId to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WithContext

WithContext adds the context to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WithResourceID

WithResourceID adds the resourceID to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WithResourceType

WithResourceType adds the resourceType to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WithTimeout

WithTimeout adds the timeout to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WithWorkspaceID

WithWorkspaceID adds the workspaceID to the get audit events zip in workspace params

func (*GetAuditEventsZipInWorkspaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAuditEventsZipInWorkspaceReader

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

GetAuditEventsZipInWorkspaceReader is a Reader for the GetAuditEventsZipInWorkspace structure.

func (*GetAuditEventsZipInWorkspaceReader) ReadResponse

func (o *GetAuditEventsZipInWorkspaceReader) 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