features

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature interface {
	Register(i *flag.FlagSet) error
	RegisterDeprecated(i *flag.FlagSet) error

	Enabled(v Version) bool
}

func JWTRotation

func JWTRotation() Feature

func NewFeature

func NewFeature(name, description string, enabled bool, check func(v Version) bool) Feature

type Version

type Version struct {
	Enterprise bool
	Version    driver.Version
}

Jump to

Keyboard shortcuts

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