Versions in this module Expand all Collapse all v1 v1.30.3 Mar 15, 2026 v1.30.1 Dec 19, 2025 v1.30.0 Nov 19, 2025 v1.29.8 Jul 14, 2025 v1.29.7 Jun 27, 2025 v1.29.6 Jun 13, 2025 v1.29.4 May 20, 2025 Changes in this version + const TLSVersion10 + const TLSVersion11 + const TLSVersion12 + const TLSVersion13 + func GetTLSVersion(version string) (uint16, error) type EmailServer + TLSMinVersion string v1.29.3 Apr 28, 2025 v1.29.2 Mar 31, 2025 v1.29.1 Mar 14, 2025 v1.29.0 Feb 28, 2025 v1.28.2 Feb 17, 2025 v1.28.0 Jan 11, 2025 v1.27.0 Dec 18, 2024 v1.26.1 Dec 4, 2024 Changes in this version + const LogTypeAccess + const LogTypeOperation + const OperationTypeAccess + const OperationTypeDeletion + const OperationTypeLogin + const OperationTypeModification + const OperationTypeNew + const ResourceTypeAccountCenter + const ResourceTypeAuditLog + const ResourceTypeClusterManagement + const ResourceTypeDataMigration + const ResourceTypeDevTool + var ErrCreatedTimeNotProvided = errors.New("created time not provided") + var ErrEventNotProvided = errors.New("event not provided") + var ErrEventSourceIPNotProvided = errors.New("event source ip not provided or invalid") + var ErrLogTypeNotProvided = errors.New("log type not provided or invalid") + var ErrOperationNotProvided = errors.New("operation not provided or invalid") + var ErrOperatorNotProvided = errors.New("operator not provided") + var ErrResourceTypeNotProvided = errors.New("resource type not provided or invalid") + func CheckLogType(logType string) bool + func CheckOperationType(operationType string) bool + func CheckResourceType(resourceType string) bool + type AuditLog struct + ID string + Metadata AuditLogMetadata + Timestamp time.Time + func (log *AuditLog) Reset() *AuditLog + func (log *AuditLog) Validate() error + type AuditLogBuilder struct + func NewAuditLogBuilder() *AuditLogBuilder + func NewAuditLogBuilderWithDefault() *AuditLogBuilder + func (builder *AuditLogBuilder) Build() (a *AuditLog, err error) + func (builder *AuditLogBuilder) WithEventName(eventName string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithEventRecord(eventRecord string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithEventSourceIP(eventSourceIP string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithEventSourceIPAndPlace(eventSourceIP, ipPlace string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithID(id string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithLogTypeAccess() *AuditLogBuilder + func (builder *AuditLogBuilder) WithLogTypeOperation() *AuditLogBuilder + func (builder *AuditLogBuilder) WithOperationTypeAccess() *AuditLogBuilder + func (builder *AuditLogBuilder) WithOperationTypeDeletion() *AuditLogBuilder + func (builder *AuditLogBuilder) WithOperationTypeLogin() *AuditLogBuilder + func (builder *AuditLogBuilder) WithOperationTypeModification() *AuditLogBuilder + func (builder *AuditLogBuilder) WithOperationTypeNew() *AuditLogBuilder + func (builder *AuditLogBuilder) WithOperator(operator string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithResourceName(resourceName string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithResourceTypeAccountCenter() *AuditLogBuilder + func (builder *AuditLogBuilder) WithResourceTypeAuditLog() *AuditLogBuilder + func (builder *AuditLogBuilder) WithResourceTypeClusterManagement() *AuditLogBuilder + func (builder *AuditLogBuilder) WithResourceTypeDataMigration() *AuditLogBuilder + func (builder *AuditLogBuilder) WithResourceTypeDevTool() *AuditLogBuilder + func (builder *AuditLogBuilder) WithTeam(team string) *AuditLogBuilder + func (builder *AuditLogBuilder) WithTimestamp(eventTime time.Time) *AuditLogBuilder + func (builder *AuditLogBuilder) WithTimestampNow() *AuditLogBuilder + type AuditLogMetadata struct + Labels util.MapStr + LogType string + Operator string + ResourceType string + type EmailServer struct + Auth *model.BasicAuth + CredentialID string + Enabled bool + Host string + Name string + Port int + TLS bool + func (serv *EmailServer) Validate(requireName bool) error + type Layout struct + Config interface{} + Creator struct{ ... } + Description string + IsFixed bool + Name string + Reserved bool + Type LayoutType + ViewID string + type LayoutType string + const LayoutTypeWorkspace + type MessageType string + const MessageTypeAlerting + const MessageTypeComparison + const MessageTypeMigration + const MessageTypeNews + type Notification struct + Body string + Link string + MessageType MessageType + Status NotificationStatus + Title string + Type NotificationType + UserId string + type NotificationStatus string + const NotificationStatusNew + const NotificationStatusRead + type NotificationType string + const NotificationTypeNotification + const NotificationTypeTodo + type TaskWorker struct + func (inst *TaskWorker) CreatePipeline(body []byte) error + func (inst *TaskWorker) DeletePipeline(pipelineID string) error + func (inst *TaskWorker) DeleteQueueBySelector(selector util.MapStr) error + func (inst *TaskWorker) DeleteQueueConsumersBySelector(selector util.MapStr) error + func (inst *TaskWorker) GetPipeline(pipelineID string) (*pipeline.PipelineStatus, error) + func (inst *TaskWorker) GetPipelinesByIDs(pipelineIDs []string) (pipeline.GetPipelinesResponse, error) + func (inst *TaskWorker) StartPipeline(pipelineID string) error + func (inst *TaskWorker) StopPipeline(ctx context.Context, pipelineID string) error + func (inst *TaskWorker) StopPipelineWithTimeout(pipelineID string, duration time.Duration) error + func (inst *TaskWorker) TryConnect(ctx context.Context) error + func (inst *TaskWorker) TryConnectWithTimeout(duration time.Duration) error