audit_log

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT 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 audit log API

func (*Client) ListAuditLogEvents

func (a *Client) ListAuditLogEvents(params *ListAuditLogEventsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuditLogEventsOK, error)

ListAuditLogEvents lists audit log events

Lists audit log events.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListAuditLogEvents(params *ListAuditLogEventsParams, authInfo runtime.ClientAuthInfoWriter) (*ListAuditLogEventsOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new audit log API client.

type ListAuditLogEventsBadRequest

type ListAuditLogEventsBadRequest struct {
	Payload *models.BadRequestError
}

ListAuditLogEventsBadRequest handles this case with default header values.

Bad request error.

func NewListAuditLogEventsBadRequest

func NewListAuditLogEventsBadRequest() *ListAuditLogEventsBadRequest

NewListAuditLogEventsBadRequest creates a ListAuditLogEventsBadRequest with default headers values

func (*ListAuditLogEventsBadRequest) Error

func (*ListAuditLogEventsBadRequest) GetPayload

type ListAuditLogEventsForbidden

type ListAuditLogEventsForbidden struct {
	Payload *models.AuthorizationError
}

ListAuditLogEventsForbidden handles this case with default header values.

Authorization error.

func NewListAuditLogEventsForbidden

func NewListAuditLogEventsForbidden() *ListAuditLogEventsForbidden

NewListAuditLogEventsForbidden creates a ListAuditLogEventsForbidden with default headers values

func (*ListAuditLogEventsForbidden) Error

func (*ListAuditLogEventsForbidden) GetPayload

type ListAuditLogEventsInternalServerError

type ListAuditLogEventsInternalServerError struct {
	Payload *models.InternalServerError
}

ListAuditLogEventsInternalServerError handles this case with default header values.

Internal server error.

func NewListAuditLogEventsInternalServerError

func NewListAuditLogEventsInternalServerError() *ListAuditLogEventsInternalServerError

NewListAuditLogEventsInternalServerError creates a ListAuditLogEventsInternalServerError with default headers values

func (*ListAuditLogEventsInternalServerError) Error

func (*ListAuditLogEventsInternalServerError) GetPayload

type ListAuditLogEventsOK

type ListAuditLogEventsOK struct {
	Payload *models.AuditLogEvents
}

ListAuditLogEventsOK handles this case with default header values.

List of audit log events.

func NewListAuditLogEventsOK

func NewListAuditLogEventsOK() *ListAuditLogEventsOK

NewListAuditLogEventsOK creates a ListAuditLogEventsOK with default headers values

func (*ListAuditLogEventsOK) Error

func (o *ListAuditLogEventsOK) Error() string

func (*ListAuditLogEventsOK) GetPayload

func (o *ListAuditLogEventsOK) GetPayload() *models.AuditLogEvents

type ListAuditLogEventsParams

type ListAuditLogEventsParams struct {

	/*MaxItems
	  Maximum number of items to return.

	*/
	MaxItems *int64
	/*NextToken
	  If set can be used to retrieve the next page of records.

	*/
	NextToken *string
	/*OrderDirection
	  Direction to sort the items in.

	*/
	OrderDirection *string
	/*RangeFrom
	  Earliest timestamp to include in results. format: ISO 8601

	*/
	RangeFrom *strfmt.DateTime
	/*RangeTo
	  Latest timestamp to include in results. format: ISO 8601

	*/
	RangeTo *strfmt.DateTime
	/*SubjectKind
	  The kind or type of entity to filter on.

	*/
	SubjectKind *string

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

ListAuditLogEventsParams contains all the parameters to send to the API endpoint for the list audit log events operation typically these are written to a http.Request

func NewListAuditLogEventsParams

func NewListAuditLogEventsParams() *ListAuditLogEventsParams

NewListAuditLogEventsParams creates a new ListAuditLogEventsParams object with the default values initialized.

func NewListAuditLogEventsParamsWithContext

func NewListAuditLogEventsParamsWithContext(ctx context.Context) *ListAuditLogEventsParams

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

func NewListAuditLogEventsParamsWithHTTPClient

func NewListAuditLogEventsParamsWithHTTPClient(client *http.Client) *ListAuditLogEventsParams

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

func NewListAuditLogEventsParamsWithTimeout

func NewListAuditLogEventsParamsWithTimeout(timeout time.Duration) *ListAuditLogEventsParams

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

func (*ListAuditLogEventsParams) SetContext

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

SetContext adds the context to the list audit log events params

func (*ListAuditLogEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list audit log events params

func (*ListAuditLogEventsParams) SetMaxItems

func (o *ListAuditLogEventsParams) SetMaxItems(maxItems *int64)

SetMaxItems adds the maxItems to the list audit log events params

func (*ListAuditLogEventsParams) SetNextToken

func (o *ListAuditLogEventsParams) SetNextToken(nextToken *string)

SetNextToken adds the nextToken to the list audit log events params

func (*ListAuditLogEventsParams) SetOrderDirection

func (o *ListAuditLogEventsParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the list audit log events params

func (*ListAuditLogEventsParams) SetRangeFrom

func (o *ListAuditLogEventsParams) SetRangeFrom(rangeFrom *strfmt.DateTime)

SetRangeFrom adds the rangeFrom to the list audit log events params

func (*ListAuditLogEventsParams) SetRangeTo

func (o *ListAuditLogEventsParams) SetRangeTo(rangeTo *strfmt.DateTime)

SetRangeTo adds the rangeTo to the list audit log events params

func (*ListAuditLogEventsParams) SetSubjectKind

func (o *ListAuditLogEventsParams) SetSubjectKind(subjectKind *string)

SetSubjectKind adds the subjectKind to the list audit log events params

func (*ListAuditLogEventsParams) SetTimeout

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

SetTimeout adds the timeout to the list audit log events params

func (*ListAuditLogEventsParams) WithContext

WithContext adds the context to the list audit log events params

func (*ListAuditLogEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list audit log events params

func (*ListAuditLogEventsParams) WithMaxItems

func (o *ListAuditLogEventsParams) WithMaxItems(maxItems *int64) *ListAuditLogEventsParams

WithMaxItems adds the maxItems to the list audit log events params

func (*ListAuditLogEventsParams) WithNextToken

func (o *ListAuditLogEventsParams) WithNextToken(nextToken *string) *ListAuditLogEventsParams

WithNextToken adds the nextToken to the list audit log events params

func (*ListAuditLogEventsParams) WithOrderDirection

func (o *ListAuditLogEventsParams) WithOrderDirection(orderDirection *string) *ListAuditLogEventsParams

WithOrderDirection adds the orderDirection to the list audit log events params

func (*ListAuditLogEventsParams) WithRangeFrom

func (o *ListAuditLogEventsParams) WithRangeFrom(rangeFrom *strfmt.DateTime) *ListAuditLogEventsParams

WithRangeFrom adds the rangeFrom to the list audit log events params

func (*ListAuditLogEventsParams) WithRangeTo

WithRangeTo adds the rangeTo to the list audit log events params

func (*ListAuditLogEventsParams) WithSubjectKind

func (o *ListAuditLogEventsParams) WithSubjectKind(subjectKind *string) *ListAuditLogEventsParams

WithSubjectKind adds the subjectKind to the list audit log events params

func (*ListAuditLogEventsParams) WithTimeout

WithTimeout adds the timeout to the list audit log events params

func (*ListAuditLogEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAuditLogEventsReader

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

ListAuditLogEventsReader is a Reader for the ListAuditLogEvents structure.

func (*ListAuditLogEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAuditLogEventsUnauthorized

type ListAuditLogEventsUnauthorized struct {
	Payload *models.AuthenticationError
}

ListAuditLogEventsUnauthorized handles this case with default header values.

Authentication error.

func NewListAuditLogEventsUnauthorized

func NewListAuditLogEventsUnauthorized() *ListAuditLogEventsUnauthorized

NewListAuditLogEventsUnauthorized creates a ListAuditLogEventsUnauthorized with default headers values

func (*ListAuditLogEventsUnauthorized) Error

func (*ListAuditLogEventsUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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