Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogger ¶
type AuditLogger interface { Log(auditMessageInfo *AuditMessageInfo) (string, error) Close() error }
type AuditLoggerImpl ¶
type AuditLoggerImpl struct {
// contains filtered or unexported fields
}
func NewAuditLogger ¶
func NewAuditLogger(logger logr.Logger) (*AuditLoggerImpl, error)
func (*AuditLoggerImpl) Close ¶
func (a *AuditLoggerImpl) Close() error
func (*AuditLoggerImpl) Init ¶
func (a *AuditLoggerImpl) Init() error
func (*AuditLoggerImpl) Log ¶
func (a *AuditLoggerImpl) Log(auditMessageInfo *AuditMessageInfo) (string, error)
type AuditMessageInfo ¶
type AuditMessageInfo struct { Action Action ClusterBOM string ProjectName string ClusterName string ServiceUser string ClusterURL string Bom string OldBom string ID string // set on return Success *bool }
func NewAuditMessage ¶
func NewAuditMessage(action Action, clusterBOM, projectName, clusterName, serviceUser, clusterURL, bom, oldBom string, success *bool) *AuditMessageInfo
type AuditMessageResponse ¶
type AuditMessageResponse struct {
ID string
}
Click to show internal directories.
Click to hide internal directories.