Documentation
¶
Index ¶
- type Client
- type ClientService
- type ListAuditLogEventsBadRequest
- type ListAuditLogEventsForbidden
- type ListAuditLogEventsInternalServerError
- type ListAuditLogEventsOK
- type ListAuditLogEventsParams
- func NewListAuditLogEventsParams() *ListAuditLogEventsParams
- func NewListAuditLogEventsParamsWithContext(ctx context.Context) *ListAuditLogEventsParams
- func NewListAuditLogEventsParamsWithHTTPClient(client *http.Client) *ListAuditLogEventsParams
- func NewListAuditLogEventsParamsWithTimeout(timeout time.Duration) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) SetContext(ctx context.Context)
- func (o *ListAuditLogEventsParams) SetHTTPClient(client *http.Client)
- func (o *ListAuditLogEventsParams) SetMaxItems(maxItems *int64)
- func (o *ListAuditLogEventsParams) SetNextToken(nextToken *string)
- func (o *ListAuditLogEventsParams) SetOrderDirection(orderDirection *string)
- func (o *ListAuditLogEventsParams) SetRangeFrom(rangeFrom *strfmt.DateTime)
- func (o *ListAuditLogEventsParams) SetRangeTo(rangeTo *strfmt.DateTime)
- func (o *ListAuditLogEventsParams) SetSubjectKind(subjectKind *string)
- func (o *ListAuditLogEventsParams) SetTimeout(timeout time.Duration)
- func (o *ListAuditLogEventsParams) WithContext(ctx context.Context) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithHTTPClient(client *http.Client) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithMaxItems(maxItems *int64) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithNextToken(nextToken *string) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithOrderDirection(orderDirection *string) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithRangeFrom(rangeFrom *strfmt.DateTime) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithRangeTo(rangeTo *strfmt.DateTime) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithSubjectKind(subjectKind *string) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WithTimeout(timeout time.Duration) *ListAuditLogEventsParams
- func (o *ListAuditLogEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAuditLogEventsReader
- type ListAuditLogEventsUnauthorized
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 (o *ListAuditLogEventsBadRequest) Error() string
func (*ListAuditLogEventsBadRequest) GetPayload ¶
func (o *ListAuditLogEventsBadRequest) GetPayload() *models.BadRequestError
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 (o *ListAuditLogEventsForbidden) Error() string
func (*ListAuditLogEventsForbidden) GetPayload ¶
func (o *ListAuditLogEventsForbidden) GetPayload() *models.AuthorizationError
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 (o *ListAuditLogEventsInternalServerError) Error() string
func (*ListAuditLogEventsInternalServerError) GetPayload ¶
func (o *ListAuditLogEventsInternalServerError) GetPayload() *models.InternalServerError
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 ¶
func (o *ListAuditLogEventsParams) WithContext(ctx context.Context) *ListAuditLogEventsParams
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 ¶
func (o *ListAuditLogEventsParams) WithRangeTo(rangeTo *strfmt.DateTime) *ListAuditLogEventsParams
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 ¶
func (o *ListAuditLogEventsParams) WithTimeout(timeout time.Duration) *ListAuditLogEventsParams
WithTimeout adds the timeout to the list audit log events params
func (*ListAuditLogEventsParams) WriteToRequest ¶
func (o *ListAuditLogEventsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListAuditLogEventsUnauthorized) Error() string
func (*ListAuditLogEventsUnauthorized) GetPayload ¶
func (o *ListAuditLogEventsUnauthorized) GetPayload() *models.AuthenticationError