Documentation
¶
Index ¶
Constants ¶
View Source
const (
FilterDefault = "{}"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditConfig ¶
AuditConfig represents the Atlas Project audit log config
func NewAuditConfig ¶ added in v2.4.0
func NewAuditConfig(auditConfig *akov2.Auditing) *AuditConfig
type AuditLog ¶
type AuditLog struct {
// contains filtered or unexported fields
}
AuditLog is the default implementation of the AuditLogService using the Atlas SDK
func NewAuditLog ¶
func NewAuditLog(api admin.AuditingApi) *AuditLog
NewAuditLog wraps the SDK AuditingApi as an AuditLog
type AuditLogService ¶
type AuditLogService interface { Get(ctx context.Context, projectID string) (*AuditConfig, error) Update(ctx context.Context, projectID string, auditing *AuditConfig) error }
AuditLogService is the interface exposed by this translation layer over the Atlas AuditLog
type AuditingConfigType ¶
type AuditingConfigType string
Click to show internal directories.
Click to hide internal directories.