gates

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package gates provides a general tool for working with experimental feature gates.

This provides convenience methods where the user can determine if certain experimental features are enabled.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gate

type Gate string

Gate is the name of the feature gate.

func (Gate) Error

func (g Gate) Error() error

func (Gate) IsEnabled

func (g Gate) IsEnabled() bool

IsEnabled determines whether a certain feature gate is enabled.

func (Gate) String

func (g Gate) String() string

String returns the string representation of this feature gate.

Jump to

Keyboard shortcuts

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