gates

package
Version: v3.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 2 Imported by: 2

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.

Source Files

Jump to

Keyboard shortcuts

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