definition

package
v0.11.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2025 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package definition provides basic Enterprise feature definitions.

Package definition provides basic Enterprise feature definitions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audit

type Audit struct {
	Enabled bool
}

Audit describes Enterprise audit options of the application.

type CmdBuilder

type CmdBuilder interface {
}

CmdBuilder provides a builder for Enterprise commands.

type DBLab

type DBLab struct {
	InstanceLimit uint
}

DBLab describes Enterprise dblab options of the application.

type EnterpriseOptions

type EnterpriseOptions struct {
	Quota Quota
	Audit Audit
	DBLab DBLab
}

EnterpriseOptions describes Enterprise options of the application.

type Entertainer

type Entertainer interface {
	GetEdition() string
	GetEnterpriseHelpMessage() string
}

Entertainer provides a help message for Enterprise commands.

type Executor

type Executor interface {
	Execute() error
}

Executor describes a command interface.

type OptionProvider

type OptionProvider interface {
	GetEnterpriseOptions(file string) (EnterpriseOptions, error)
}

OptionProvider defines an interface to receive values of Enterprise application options.

type Quota

type Quota struct {
	Limit    uint
	Interval uint
}

Quota describes Enterprise quota options of the application.

Jump to

Keyboard shortcuts

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