timemachine

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 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 TimeMachineFieldGroup

type TimeMachineFieldGroup struct {
	DefaultTagExpiration       string        `default:"2w" validate:"" json:"DEFAULT_TAG_EXPIRATION,omitempty" yaml:"DEFAULT_TAG_EXPIRATION,omitempty"`
	FeatureChangeTagExpiration bool          `default:"true" validate:"" json:"FEATURE_CHANGE_TAG_EXPIRATION" yaml:"FEATURE_CHANGE_TAG_EXPIRATION"`
	TagExpirationOptions       []interface{} `default:"" validate:"" json:"TAG_EXPIRATION_OPTIONS,omitempty" yaml:"TAG_EXPIRATION_OPTIONS,omitempty"`
}

TimeMachineFieldGroup represents the TimeMachineFieldGroup config fields

func NewTimeMachineFieldGroup

func NewTimeMachineFieldGroup(fullConfig map[string]interface{}) (*TimeMachineFieldGroup, error)

NewTimeMachineFieldGroup creates a new TimeMachineFieldGroup

func (*TimeMachineFieldGroup) Fields

func (fg *TimeMachineFieldGroup) Fields() []string

Fields returns a list of strings representing the fields in this field group

func (*TimeMachineFieldGroup) Validate

Validate checks the configuration settings for this field group

Jump to

Keyboard shortcuts

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