sections

package
v0.0.0-...-7d3e243 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouse

type ClickHouse struct {
	ClickHouse *items.ClickHouse `mapstructure:"clickhouse"`
}

ClickHouse

func (ClickHouse) ClickHouseNormalize

func (c ClickHouse) ClickHouseNormalize() ClickHouse

ClickHouseNormalize

func (ClickHouse) GetClickHouseDSN

func (c ClickHouse) GetClickHouseDSN() string

GetClickHouseDSN

func (ClickHouse) GetClickHouseDatabase

func (c ClickHouse) GetClickHouseDatabase() string

GetClickHouseDatabase

func (ClickHouse) GetClickHouseHostname

func (c ClickHouse) GetClickHouseHostname() string

GetClickHouseHostname

func (ClickHouse) GetClickHousePassword

func (c ClickHouse) GetClickHousePassword() string

GetClickHousePassword

func (ClickHouse) GetClickHousePort

func (c ClickHouse) GetClickHousePort() int

GetClickHousePort

func (ClickHouse) GetClickHouseSchema

func (c ClickHouse) GetClickHouseSchema() string

GetClickHouseSchema

func (ClickHouse) GetClickHouseUsername

func (c ClickHouse) GetClickHouseUsername() string

GetClickHouseUsername

func (ClickHouse) String

func (c ClickHouse) String() string

String

type ClickHouseConfigurator

type ClickHouseConfigurator interface {
	GetClickHouseSchema() string
	GetClickHouseUsername() string
	GetClickHousePassword() string
	GetClickHouseHostname() string
	GetClickHousePort() int
	GetClickHouseDatabase() string
	GetClickHouseDSN() string
}

ClickHouseConfigurator

type Command

type Command struct {
	Command *items.Command `mapstructure:"command"`
}

Command

func (Command) CommandNormalize

func (c Command) CommandNormalize() Command

CommandNormalize

func (Command) GetCommand

func (c Command) GetCommand() string

GetCommand

func (Command) GetCommandEnv

func (c Command) GetCommandEnv() []string

GetCommandEnv

func (Command) GetCommandLines

func (c Command) GetCommandLines() []string

GetCommandLines

func (Command) GetCommandWorkdir

func (c Command) GetCommandWorkdir() string

GetCommandWorkdir

func (Command) ParseCommand

func (c Command) ParseCommand(macro *macros.Expander) string

ParseCommand

func (Command) ParseCommandLines

func (c Command) ParseCommandLines(macro *macros.Expander) []string

ParseCommandLines

func (Command) String

func (c Command) String() string

String

type CommandConfigurator

type CommandConfigurator interface {
	GetCommandWorkdir() string
	GetCommandEnv() []string
	GetCommandLines() []string
	GetCommand() string
	ParseCommandLines(*macros.Expander) []string
	ParseCommand(*macros.Expander) string
}

CommandConfigurator

type ConfigFile

type ConfigFile struct {
	ConfigFile *items.File `mapstructure:"config"`
}

ConfigFile

func (ConfigFile) ConfigFileNormalize

func (c ConfigFile) ConfigFileNormalize() ConfigFile

ConfigFileNormalize

func (ConfigFile) GetConfigFile

func (c ConfigFile) GetConfigFile() string

GetConfigFile

func (ConfigFile) String

func (c ConfigFile) String() string

String

type ConfigFileConfigurator

type ConfigFileConfigurator interface {
	GetConfigFile() string
}

ConfigFileConfigurator

type Kafka

type Kafka struct {
	Kafka *items.Kafka `mapstructure:"kafka"`
}

Kafka

func (Kafka) GetKafkaAck

func (c Kafka) GetKafkaAck() bool

GetKafkaAck

func (Kafka) GetKafkaAddress

func (c Kafka) GetKafkaAddress() *common.KafkaAddress

GetKafkaAddress

func (Kafka) GetKafkaEndpoint

func (c Kafka) GetKafkaEndpoint() *common.KafkaEndpoint

GetKafkaEndpoint

func (Kafka) GetKafkaGroupID

func (c Kafka) GetKafkaGroupID() string

GetKafkaGroupID

func (Kafka) GetKafkaReadNewest

func (c Kafka) GetKafkaReadNewest() bool

GetKafkaReadNewest

func (Kafka) GetKafkaTopic

func (c Kafka) GetKafkaTopic() string

GetKafkaTopic

func (Kafka) KafkaNormalize

func (c Kafka) KafkaNormalize() Kafka

KafkaNormalize

func (Kafka) String

func (c Kafka) String() string

String

type KafkaConfigurator

type KafkaConfigurator interface {
	GetKafkaEndpoint() *common.KafkaEndpoint
	GetKafkaAddress() *common.KafkaAddress
	GetKafkaTopic() string
	GetKafkaGroupID() string
	GetKafkaReadNewest() bool
	GetKafkaAck() bool
}

KafkaConfigurator

type Log

type Log struct {
	Log *items.Log `mapstructure:"log"`
}

Log

func (Log) GetLogFormatter

func (c Log) GetLogFormatter() string

GetLogFormatter

func (Log) GetLogLevel

func (c Log) GetLogLevel() string

GetLogLevel

func (Log) LogNormalize

func (c Log) LogNormalize() Log

LogNormalize

func (Log) String

func (c Log) String() string

String

type LogConfigurator

type LogConfigurator interface {
	GetLogLevel() string
	GetLogFormatter() string
}

LogConfigurator

type Manticore

type Manticore struct {
	Manticore *items.Manticore `mapstructure:"manticore"`
}

Manticore

func (Manticore) GetManticoreDSN

func (c Manticore) GetManticoreDSN() string

GetManticoreDSN

func (Manticore) GetManticoreHostname

func (c Manticore) GetManticoreHostname() string

GetManticoreHostname

func (Manticore) GetManticorePort

func (c Manticore) GetManticorePort() int

GetManticorePort

func (Manticore) ManticoreNormalize

func (c Manticore) ManticoreNormalize() Manticore

ManticoreNormalize

func (Manticore) String

func (c Manticore) String() string

String

type ManticoreConfigurator

type ManticoreConfigurator interface {
	GetManticoreHostname() string
	GetManticorePort() int
	GetManticoreDSN() string
}

ManticoreConfigurator

type MinIO

type MinIO struct {
	MinIO *items.MinIO `mapstructure:"minio"`
}

MinIO

func (MinIO) GetMinIOAccessKeyID

func (c MinIO) GetMinIOAccessKeyID() string

GetMinIOAccessKeyID

func (MinIO) GetMinIOBucket

func (c MinIO) GetMinIOBucket() string

GetMinIOBucket

func (MinIO) GetMinIOBucketAutoCreate

func (c MinIO) GetMinIOBucketAutoCreate() bool

GetMinIOBucketAutoCreate

func (MinIO) GetMinIOEndpoint

func (c MinIO) GetMinIOEndpoint() string

GetMinIOEndpoint

func (MinIO) GetMinIOInsecureSkipVerify

func (c MinIO) GetMinIOInsecureSkipVerify() bool

GetMinIOInsecureSkipVerify

func (MinIO) GetMinIORegion

func (c MinIO) GetMinIORegion() string

GetMinIORegion

func (MinIO) GetMinIOSecretAccessKey

func (c MinIO) GetMinIOSecretAccessKey() string

GetMinIOSecretAccessKey

func (MinIO) GetMinIOSecure

func (c MinIO) GetMinIOSecure() bool

GetMinIOSecure

func (MinIO) MinIONormalize

func (c MinIO) MinIONormalize() MinIO

MinIONormalize

func (MinIO) String

func (c MinIO) String() string

String

type MinIOConfigurator

type MinIOConfigurator interface {
	GetMinIOEndpoint() string
	GetMinIOAccessKeyID() string
	GetMinIOSecretAccessKey() string
	GetMinIOSecure() bool
	GetMinIOInsecureSkipVerify() bool
	GetMinIOBucket() string
	GetMinIOBucketAutoCreate() bool
	GetMinIORegion() string
}

MinIOConfigurator

type MultiPaths

type MultiPaths struct {
	Paths *items.MultiPaths `mapstructure:"paths"`
}

MultiPaths specifies paths list

func (MultiPaths) GetPaths

func (c MultiPaths) GetPaths() items.PathsConfigurator

GetPaths is a getter

func (MultiPaths) PathsNormalize

func (c MultiPaths) PathsNormalize() MultiPaths

PathsNormalize is a normalizer

func (MultiPaths) String

func (c MultiPaths) String() string

String is a stringifier

type MySQL

type MySQL struct {
	MySQL *items.MySQL `mapstructure:"mysql"`
}

MySQL

func (MySQL) GetMySQLDSN

func (c MySQL) GetMySQLDSN() string

GetMySQLDSN

func (MySQL) GetMySQLDatabase

func (c MySQL) GetMySQLDatabase() string

GetMySQLDatabase

func (MySQL) GetMySQLHostname

func (c MySQL) GetMySQLHostname() string

GetMySQLHostname

func (MySQL) GetMySQLPassword

func (c MySQL) GetMySQLPassword() string

GetMySQLPassword

func (MySQL) GetMySQLPort

func (c MySQL) GetMySQLPort() int

GetMySQLPort

func (MySQL) GetMySQLUsername

func (c MySQL) GetMySQLUsername() string

GetMySQLUsername

func (MySQL) MySQLNormalize

func (c MySQL) MySQLNormalize() MySQL

MySQLNormalize

func (MySQL) String

func (c MySQL) String() string

String

type MySQLConfigurator

type MySQLConfigurator interface {
	GetMySQLUsername() string
	GetMySQLPassword() string
	GetMySQLHostname() string
	GetMySQLPort() int
	GetMySQLDatabase() string
	GetMySQLDSN() string
}

MySQLConfigurator

type NamedCommands

type NamedCommands struct {
	Commands *items.NamedCommands `mapstructure:"commands"`
}

NamedCommands is a named commands

func (NamedCommands) GetCommands

func (c NamedCommands) GetCommands() *items.NamedCommands

GetCommands is a getter

func (NamedCommands) NamedCommandsNormalize

func (c NamedCommands) NamedCommandsNormalize() NamedCommands

NamedCommandsNormalize performs normalization process

func (NamedCommands) String

func (c NamedCommands) String() string

String is a stringifier

type NamedCommandsConfigurator

type NamedCommandsConfigurator interface {
	GetCommands() *items.NamedCommands
}

NamedCommandsConfigurator

type OAuth

type OAuth struct {
	OAuth *items.OAuth `mapstructure:"oauth"`
}

OAuth

func (OAuth) GetOAuth

func (c OAuth) GetOAuth() items.OAuthConfigurator

GetOAuth is a getter

func (OAuth) OAuthNormalize

func (c OAuth) OAuthNormalize() OAuth

OAuthNormalize is a normalizer

func (OAuth) String

func (c OAuth) String() string

String is a stringifier

type OAuthConfigurator

type OAuthConfigurator interface {
	GetOAuth() items.OAuthConfigurator
}

OAuthConfigurator

type OTP

type OTP struct {
	OTP *items.OTP `mapstructure:"otp"`
}

OTP

func (OTP) GetOTP

func (o OTP) GetOTP() items.OTPConfigurator

GetOTP is a getter

func (OTP) OTPNormalize

func (o OTP) OTPNormalize() OTP

OTPNormalize is a normalizer

func (OTP) String

func (o OTP) String() string

String is a stringifier

type OTPConfigurator

type OTPConfigurator interface {
	GetOTP() items.OTPConfigurator
}

OTPConfigurator - one time password (token) related section of config

type Paths

type Paths struct {
	Paths *items.Paths `mapstructure:"paths"`
}

Paths specifies paths list

func (Paths) GetPaths

func (c Paths) GetPaths() items.PathsConfigurator

GetPaths is a getter

func (Paths) PathsNormalize

func (c Paths) PathsNormalize() Paths

PathsNormalize is a normalizer

func (Paths) String

func (c Paths) String() string

String is a stringifier

type PathsConfigurator

type PathsConfigurator interface {
	GetPaths() items.PathsConfigurator
}

PathsConfigurator

type PostgreSQL

type PostgreSQL struct {
	PostgreSQL *items.PostgreSQL `mapstructure:"postgresql"`
}

PostgreSQL

func (PostgreSQL) GetPostgreSQLDSN

func (c PostgreSQL) GetPostgreSQLDSN() string

GetPostgreSQLDSN

func (PostgreSQL) GetPostgreSQLDatabase

func (c PostgreSQL) GetPostgreSQLDatabase() string

GetPostgreSQLDatabase

func (PostgreSQL) GetPostgreSQLHostname

func (c PostgreSQL) GetPostgreSQLHostname() string

GetPostgreSQLHostname

func (PostgreSQL) GetPostgreSQLPassword

func (c PostgreSQL) GetPostgreSQLPassword() string

GetPostgreSQLPassword

func (PostgreSQL) GetPostgreSQLPort

func (c PostgreSQL) GetPostgreSQLPort() int

GetPostgreSQLPort

func (PostgreSQL) GetPostgreSQLUsername

func (c PostgreSQL) GetPostgreSQLUsername() string

GetPostgreSQLUsername

func (PostgreSQL) PostgreSQLNormalize

func (c PostgreSQL) PostgreSQLNormalize() PostgreSQL

PostgreSQLNormalize

func (PostgreSQL) String

func (c PostgreSQL) String() string

String

type PostgreSQLConfigurator

type PostgreSQLConfigurator interface {
	GetPostgreSQLUsername() string
	GetPostgreSQLPassword() string
	GetPostgreSQLHostname() string
	GetPostgreSQLPort() int
	GetPostgreSQLDatabase() string
	GetPostgreSQLDSN() string
}

PostgreSQLConfigurator

type QuotaService

type QuotaService struct {
	Service *items.Service `mapstructure:"quota"`
}

QuotaService

func (QuotaService) GetQuotaServiceAddress

func (c QuotaService) GetQuotaServiceAddress() string

GetQuotaServiceAddress

func (QuotaService) QuotaServiceNormalize

func (c QuotaService) QuotaServiceNormalize() QuotaService

QuotaServiceNormalize

func (QuotaService) String

func (c QuotaService) String() string

String

type QuotaServiceConfigurator

type QuotaServiceConfigurator interface {
	GetQuotaServiceAddress() string
}

RESTServiceConfigurator

type Service

type Service struct {
	Service *items.Service `mapstructure:"service"`
}

Service

func (Service) GetServiceAddress

func (c Service) GetServiceAddress() string

GetServiceAddress

func (Service) ServiceNormalize

func (c Service) ServiceNormalize() Service

ServiceNormalize

func (Service) String

func (c Service) String() string

String

type ServiceConfigurator

type ServiceConfigurator interface {
	GetServiceAddress() string
}

ServiceConfigurator

type Services

type Services struct {
	Services *items.ServicesList `mapstructure:"services"`
}

Services specifies services list

func (Services) GetServices

func (c Services) GetServices() items.ServicesConfigurator

GetServices is a getter

func (Services) ServicesNormalize

func (c Services) ServicesNormalize() Services

ServicesNormalize is a normalizer

func (Services) String

func (c Services) String() string

String is a stringifier

type ServicesConfigurator

type ServicesConfigurator interface {
	GetServices() items.ServicesConfigurator
}

ServicesConfigurator interface

type TLS

type TLS struct {
	TLS *items.TLS `mapstructure:"tls"`
}

TLS

func (TLS) GetTLS

func (c TLS) GetTLS() items.TLSConfigurator

GetTLS is a getter

func (TLS) String

func (c TLS) String() string

String

func (TLS) TLSNormalize

func (c TLS) TLSNormalize() TLS

TLSNormalize is a normalizer

type TLSConfigurator

type TLSConfigurator interface {
	GetTLS() items.TLSConfigurator
}

TLSConfigurator

type TmpDir

type TmpDir struct {
	TmpDir *items.DirFile `mapstructure:"tmpdir"`
}

TmpDir

func (TmpDir) GetTmpDirDir

func (c TmpDir) GetTmpDirDir() string

GetTmpDirDir

func (TmpDir) GetTmpDirPattern

func (c TmpDir) GetTmpDirPattern() string

GetTmpDirPattern

func (TmpDir) String

func (c TmpDir) String() string

String

func (TmpDir) TmpDirNormalize

func (c TmpDir) TmpDirNormalize() TmpDir

TmpDirNormalize

type TmpDirConfigurator

type TmpDirConfigurator interface {
	GetTmpDirDir() string
	GetTmpDirPattern() string
}

TmpDirConfigurator

type TmpFile

type TmpFile struct {
	TmpFile *items.DirFile `mapstructure:"tmpfile"`
}

TmpFile

func (TmpFile) GetTmpFileDir

func (c TmpFile) GetTmpFileDir() string

GetTmpFileDir

func (TmpFile) GetTmpFilePattern

func (c TmpFile) GetTmpFilePattern() string

GetTmpFilePattern

func (TmpFile) String

func (c TmpFile) String() string

String

func (TmpFile) TmpFileNormalize

func (c TmpFile) TmpFileNormalize() TmpFile

TmpFileNormalize

type TmpFileConfigurator

type TmpFileConfigurator interface {
	GetTmpFileDir() string
	GetTmpFilePattern() string
}

TmpFileConfigurator

Jump to

Keyboard shortcuts

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