flags

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathConfigFlags = "flags"
)

Variables

View Source
var FieldSchemaFlags = map[string]*framework.FieldSchema{
	"show_config_token": {
		Type:         framework.TypeBool,
		Description:  "Should we display the token value for the roles?",
		Default:      false,
		DisplayAttrs: &framework.DisplayAttributes{Name: "Show Config Token"},
	},
}

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider implements backend.PathProvider for the flags path.

func New

func New(b flagsBackend) *Provider

New creates a new flags path provider.

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) Paths

func (p *Provider) Paths() []*framework.Path

Paths returns the framework paths for the flags endpoint.

Jump to

Keyboard shortcuts

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