hostsettings

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 HostSettingsFieldGroup

type HostSettingsFieldGroup struct {
	ExternalTlsTermination bool   `default:"false" validate:"" json:"EXTERNAL_TLS_TERMINATION" yaml:"EXTERNAL_TLS_TERMINATION"`
	PreferredUrlScheme     string `default:"http" validate:"" json:"PREFERRED_URL_SCHEME,omitempty" yaml:"PREFERRED_URL_SCHEME,omitempty"`
	ServerHostname         string `default:"" validate:"" json:"SERVER_HOSTNAME,omitempty" yaml:"SERVER_HOSTNAME,omitempty"`
}

HostSettingsFieldGroup represents the HostSettingsFieldGroup config fields

func NewHostSettingsFieldGroup

func NewHostSettingsFieldGroup(fullConfig map[string]interface{}) (*HostSettingsFieldGroup, error)

NewHostSettingsFieldGroup creates a new HostSettingsFieldGroup

func (*HostSettingsFieldGroup) Fields

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

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

func (*HostSettingsFieldGroup) 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