database

package
v1.57.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FeatureTypess = struct {
	Boolean FeatureTypes
	Number  FeatureTypes
	String  FeatureTypes
}{
	"boolean",
	"number",
	"string",
}

Functions

This section is empty.

Types

type FeatureTypes

type FeatureTypes string

type Settings

type Settings struct {
	BooleanValue *bool        `json:"booleanValue,omitempty"` // State of boolean feature flag
	Name         string       `json:"name"`                   // Name of the feature
	NumberValue  *int         `json:"numberValue,omitempty"`  // State of numeric feature flag
	StringValue  *string      `json:"stringValue,omitempty"`  // State of textual feature flag
	Type         FeatureTypes `json:"type"`                   // Possible Values: `Boolean`, `Number`, `String`
}

func (*Settings) HandlePreconditions

func (me *Settings) HandlePreconditions() error

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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