shared

package
v0.0.0-...-0490640 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExternalCipherSuite = toCipherString(append(
	append(commonCiphers, commonExcludes...),

	"AES256-GCM-SHA384",

	"ECDHE-RSA-AES128-SHA256"))

ExternalCipherSuite should be the default for ssl_ciphers for any processes that handle external requests. Note that these ciphers are not used for Golang services.

View Source
var InternalCipherSuite = toCipherString(append(commonCiphers, commonExcludes...))

InternalCipherSuites should be the default for ssl_ciphers for any processes that only handle internal requests. Note that these ciphers are not used for Golang services.

View Source
var LogrusLogLevels = []string{
	"trace",
	"debug",
	"info",
	"warning",
	"error",
	"fatal",
	"panic",
}

LogrusLogLevels constains the log levels accepted by the Golang logrus library. Defined here:

https://github.com/chef/automate/blob/master/vendor/github.com/sirupsen/logrus/logrus.go#L16-L33

View Source
var NginxLogLevels = []string{
	"debug",
	"info",
	"notice",
	"warn",
	"error",
	"crit",
	"alert",
	"emerg",
}

NginxLogLevels contains the log levels accepted by nginx according to:

http://nginx.org/en/docs/ngx_core_module.html#error_log
View Source
var ZapLogLevels = []string{
	"debug",
	"info",
	"warn",
	"error",
	"dpanic",
	"panic",
	"fatal",
}

ZapLogLevels contains the log levels accepted by the Golang Zap library. Defined here:

https://github.com/chef/automate/blob/master/vendor/go.uber.org/zap/level.go#L28-L47

Functions

func GlobalLogLevelToNginxLevel

func GlobalLogLevelToNginxLevel(level string) string

Convert the accepted GlobalLogLevels to a log level accepted by nginx's error_log setting.

func GlobalLogLevelToZapLevel

func GlobalLogLevelToZapLevel(level string) string

Convert the accepted GlobalLogLevels to a log level accepted by Golang's ZAP logger

func Merge

func Merge(base proto.Message, in proto.Message, merged proto.Message) error

Merge merges `in` onto `base` and puts the result in `merged`. Note that `merged` should be pointer to a zero value for the struct type.

func Validate

func Validate(vs ...error) error

Validate calls validator functions and aggregates the errors into a single single InvalidConfigError.

func ValidateLogrusLogLevel

func ValidateLogrusLogLevel(level string) error

func ValidateNginxLogLevel

func ValidateNginxLogLevel(level string) error

func ValidateZapLogLevel

func ValidateZapLogLevel(level string) error

Types

type Backups

type Backups struct {
	// location should be one of ["filesystem", "s3"]
	Location             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	Filesystem           *Backups_Filesystem   `` /* 137-byte string literal not displayed */
	S3                   *Backups_S3           `protobuf:"bytes,4,opt,name=s3,proto3" json:"s3,omitempty" toml:"s3,omitempty" mapstructure:"s3,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Backups) Descriptor

func (*Backups) Descriptor() ([]byte, []int)

func (*Backups) GetFilesystem

func (m *Backups) GetFilesystem() *Backups_Filesystem

func (*Backups) GetLocation

func (m *Backups) GetLocation() *wrappers.StringValue

func (*Backups) GetS3

func (m *Backups) GetS3() *Backups_S3

func (*Backups) ProtoMessage

func (*Backups) ProtoMessage()

func (*Backups) Reset

func (m *Backups) Reset()

func (*Backups) String

func (m *Backups) String() string

func (*Backups) XXX_DiscardUnknown

func (m *Backups) XXX_DiscardUnknown()

func (*Backups) XXX_Marshal

func (m *Backups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backups) XXX_Merge

func (dst *Backups) XXX_Merge(src proto.Message)

func (*Backups) XXX_Size

func (m *Backups) XXX_Size() int

func (*Backups) XXX_Unmarshal

func (m *Backups) XXX_Unmarshal(b []byte) error

type Backups_Filesystem

type Backups_Filesystem struct {
	Path                     *wrappers.StringValue `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"`
	EsMaxSnapshotBytesPerSec *wrappers.StringValue `` /* 243-byte string literal not displayed */
	EsMaxRestoreBytesPerSec  *wrappers.StringValue `` /* 238-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized         []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache            int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Backups_Filesystem) Descriptor

func (*Backups_Filesystem) Descriptor() ([]byte, []int)

func (*Backups_Filesystem) GetEsMaxRestoreBytesPerSec

func (m *Backups_Filesystem) GetEsMaxRestoreBytesPerSec() *wrappers.StringValue

func (*Backups_Filesystem) GetEsMaxSnapshotBytesPerSec

func (m *Backups_Filesystem) GetEsMaxSnapshotBytesPerSec() *wrappers.StringValue

func (*Backups_Filesystem) GetPath

func (m *Backups_Filesystem) GetPath() *wrappers.StringValue

func (*Backups_Filesystem) ProtoMessage

func (*Backups_Filesystem) ProtoMessage()

func (*Backups_Filesystem) Reset

func (m *Backups_Filesystem) Reset()

func (*Backups_Filesystem) String

func (m *Backups_Filesystem) String() string

func (*Backups_Filesystem) XXX_DiscardUnknown

func (m *Backups_Filesystem) XXX_DiscardUnknown()

func (*Backups_Filesystem) XXX_Marshal

func (m *Backups_Filesystem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backups_Filesystem) XXX_Merge

func (dst *Backups_Filesystem) XXX_Merge(src proto.Message)

func (*Backups_Filesystem) XXX_Size

func (m *Backups_Filesystem) XXX_Size() int

func (*Backups_Filesystem) XXX_Unmarshal

func (m *Backups_Filesystem) XXX_Unmarshal(b []byte) error

type Backups_S3

type Backups_S3 struct {
	Credentials          *Backups_S3_AWSCredentials `` /* 141-byte string literal not displayed */
	Es                   *Backups_S3_Elasticsearch  `protobuf:"bytes,2,opt,name=es,proto3" json:"es,omitempty" toml:"es,omitempty" mapstructure:"es,omitempty"`
	Bucket               *Backups_S3_Bucket         `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty" toml:"bucket,omitempty" mapstructure:"bucket,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                      `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Backups_S3) Descriptor

func (*Backups_S3) Descriptor() ([]byte, []int)

func (*Backups_S3) GetBucket

func (m *Backups_S3) GetBucket() *Backups_S3_Bucket

func (*Backups_S3) GetCredentials

func (m *Backups_S3) GetCredentials() *Backups_S3_AWSCredentials

func (*Backups_S3) GetEs

func (*Backups_S3) ProtoMessage

func (*Backups_S3) ProtoMessage()

func (*Backups_S3) Reset

func (m *Backups_S3) Reset()

func (*Backups_S3) String

func (m *Backups_S3) String() string

func (*Backups_S3) XXX_DiscardUnknown

func (m *Backups_S3) XXX_DiscardUnknown()

func (*Backups_S3) XXX_Marshal

func (m *Backups_S3) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backups_S3) XXX_Merge

func (dst *Backups_S3) XXX_Merge(src proto.Message)

func (*Backups_S3) XXX_Size

func (m *Backups_S3) XXX_Size() int

func (*Backups_S3) XXX_Unmarshal

func (m *Backups_S3) XXX_Unmarshal(b []byte) error

type Backups_S3_AWSCredentials

type Backups_S3_AWSCredentials struct {
	AccessKey            *wrappers.StringValue `` /* 152-byte string literal not displayed */
	SecretKey            *wrappers.StringValue `` /* 152-byte string literal not displayed */
	SessionToken         *wrappers.StringValue `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Backups_S3_AWSCredentials) Descriptor

func (*Backups_S3_AWSCredentials) Descriptor() ([]byte, []int)

func (*Backups_S3_AWSCredentials) GetAccessKey

func (m *Backups_S3_AWSCredentials) GetAccessKey() *wrappers.StringValue

func (*Backups_S3_AWSCredentials) GetSecretKey

func (m *Backups_S3_AWSCredentials) GetSecretKey() *wrappers.StringValue

func (*Backups_S3_AWSCredentials) GetSessionToken

func (m *Backups_S3_AWSCredentials) GetSessionToken() *wrappers.StringValue

func (*Backups_S3_AWSCredentials) ProtoMessage

func (*Backups_S3_AWSCredentials) ProtoMessage()

func (*Backups_S3_AWSCredentials) Reset

func (m *Backups_S3_AWSCredentials) Reset()

func (*Backups_S3_AWSCredentials) String

func (m *Backups_S3_AWSCredentials) String() string

func (*Backups_S3_AWSCredentials) XXX_DiscardUnknown

func (m *Backups_S3_AWSCredentials) XXX_DiscardUnknown()

func (*Backups_S3_AWSCredentials) XXX_Marshal

func (m *Backups_S3_AWSCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backups_S3_AWSCredentials) XXX_Merge

func (dst *Backups_S3_AWSCredentials) XXX_Merge(src proto.Message)

func (*Backups_S3_AWSCredentials) XXX_Size

func (m *Backups_S3_AWSCredentials) XXX_Size() int

func (*Backups_S3_AWSCredentials) XXX_Unmarshal

func (m *Backups_S3_AWSCredentials) XXX_Unmarshal(b []byte) error

type Backups_S3_Bucket

type Backups_S3_Bucket struct {
	Endpoint             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	BasePath             *wrappers.StringValue `` /* 147-byte string literal not displayed */
	Name                 *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" mapstructure:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Backups_S3_Bucket) Descriptor

func (*Backups_S3_Bucket) Descriptor() ([]byte, []int)

func (*Backups_S3_Bucket) GetBasePath

func (m *Backups_S3_Bucket) GetBasePath() *wrappers.StringValue

func (*Backups_S3_Bucket) GetEndpoint

func (m *Backups_S3_Bucket) GetEndpoint() *wrappers.StringValue

func (*Backups_S3_Bucket) GetName

func (m *Backups_S3_Bucket) GetName() *wrappers.StringValue

func (*Backups_S3_Bucket) ProtoMessage

func (*Backups_S3_Bucket) ProtoMessage()

func (*Backups_S3_Bucket) Reset

func (m *Backups_S3_Bucket) Reset()

func (*Backups_S3_Bucket) String

func (m *Backups_S3_Bucket) String() string

func (*Backups_S3_Bucket) XXX_DiscardUnknown

func (m *Backups_S3_Bucket) XXX_DiscardUnknown()

func (*Backups_S3_Bucket) XXX_Marshal

func (m *Backups_S3_Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backups_S3_Bucket) XXX_Merge

func (dst *Backups_S3_Bucket) XXX_Merge(src proto.Message)

func (*Backups_S3_Bucket) XXX_Size

func (m *Backups_S3_Bucket) XXX_Size() int

func (*Backups_S3_Bucket) XXX_Unmarshal

func (m *Backups_S3_Bucket) XXX_Unmarshal(b []byte) error

type Backups_S3_Elasticsearch

type Backups_S3_Elasticsearch struct {
	// Backup repo settings
	Compress             *wrappers.BoolValue   `` /* 129-byte string literal not displayed */
	ServerSideEncryption *wrappers.BoolValue   `` /* 211-byte string literal not displayed */
	BufferSize           *wrappers.StringValue `` /* 157-byte string literal not displayed */
	CannedAcl            *wrappers.StringValue `` /* 152-byte string literal not displayed */
	StorageClass         *wrappers.StringValue `` /* 167-byte string literal not displayed */
	// Snapshot settings
	MaxSnapshotBytesPerSec *wrappers.StringValue `` /* 229-byte string literal not displayed */
	MaxRestoreBytesPerSec  *wrappers.StringValue `` /* 224-byte string literal not displayed */
	ChunkSize              *wrappers.StringValue `` /* 152-byte string literal not displayed */
	// S3 client settings
	ReadTimeout          *wrappers.StringValue `` /* 163-byte string literal not displayed */
	MaxRetries           *wrappers.Int32Value  `` /* 158-byte string literal not displayed */
	UseThrottleRetries   *wrappers.BoolValue   `` /* 202-byte string literal not displayed */
	Protocol             *wrappers.StringValue `` /* 130-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Backups_S3_Elasticsearch) Descriptor

func (*Backups_S3_Elasticsearch) Descriptor() ([]byte, []int)

func (*Backups_S3_Elasticsearch) GetBufferSize

func (m *Backups_S3_Elasticsearch) GetBufferSize() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetCannedAcl

func (m *Backups_S3_Elasticsearch) GetCannedAcl() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetChunkSize

func (m *Backups_S3_Elasticsearch) GetChunkSize() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetCompress

func (m *Backups_S3_Elasticsearch) GetCompress() *wrappers.BoolValue

func (*Backups_S3_Elasticsearch) GetMaxRestoreBytesPerSec

func (m *Backups_S3_Elasticsearch) GetMaxRestoreBytesPerSec() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetMaxRetries

func (m *Backups_S3_Elasticsearch) GetMaxRetries() *wrappers.Int32Value

func (*Backups_S3_Elasticsearch) GetMaxSnapshotBytesPerSec

func (m *Backups_S3_Elasticsearch) GetMaxSnapshotBytesPerSec() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetProtocol

func (m *Backups_S3_Elasticsearch) GetProtocol() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetReadTimeout

func (m *Backups_S3_Elasticsearch) GetReadTimeout() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetServerSideEncryption

func (m *Backups_S3_Elasticsearch) GetServerSideEncryption() *wrappers.BoolValue

func (*Backups_S3_Elasticsearch) GetStorageClass

func (m *Backups_S3_Elasticsearch) GetStorageClass() *wrappers.StringValue

func (*Backups_S3_Elasticsearch) GetUseThrottleRetries

func (m *Backups_S3_Elasticsearch) GetUseThrottleRetries() *wrappers.BoolValue

func (*Backups_S3_Elasticsearch) ProtoMessage

func (*Backups_S3_Elasticsearch) ProtoMessage()

func (*Backups_S3_Elasticsearch) Reset

func (m *Backups_S3_Elasticsearch) Reset()

func (*Backups_S3_Elasticsearch) String

func (m *Backups_S3_Elasticsearch) String() string

func (*Backups_S3_Elasticsearch) XXX_DiscardUnknown

func (m *Backups_S3_Elasticsearch) XXX_DiscardUnknown()

func (*Backups_S3_Elasticsearch) XXX_Marshal

func (m *Backups_S3_Elasticsearch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Backups_S3_Elasticsearch) XXX_Merge

func (dst *Backups_S3_Elasticsearch) XXX_Merge(src proto.Message)

func (*Backups_S3_Elasticsearch) XXX_Size

func (m *Backups_S3_Elasticsearch) XXX_Size() int

func (*Backups_S3_Elasticsearch) XXX_Unmarshal

func (m *Backups_S3_Elasticsearch) XXX_Unmarshal(b []byte) error

type Error

type Error interface {
	error
	AddMissingKey(string)
	MissingKeys() []string
	AddInvalidValue(string, string)
	InvalidValues() map[string]string
	AddUnknownError(error)
	UnknownErrors() []error
	IsEmpty() bool
}

type External

type External struct {
	Elasticsearch        *External_Elasticsearch `` /* 149-byte string literal not displayed */
	Postgresql           *External_Postgresql    `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External) Descriptor

func (*External) Descriptor() ([]byte, []int)

func (*External) GetElasticsearch

func (m *External) GetElasticsearch() *External_Elasticsearch

func (*External) GetPostgresql

func (m *External) GetPostgresql() *External_Postgresql

func (*External) ProtoMessage

func (*External) ProtoMessage()

func (*External) Reset

func (m *External) Reset()

func (*External) String

func (m *External) String() string

func (*External) XXX_DiscardUnknown

func (m *External) XXX_DiscardUnknown()

func (*External) XXX_Marshal

func (m *External) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External) XXX_Merge

func (dst *External) XXX_Merge(src proto.Message)

func (*External) XXX_Size

func (m *External) XXX_Size() int

func (*External) XXX_Unmarshal

func (m *External) XXX_Unmarshal(b []byte) error

type External_Elasticsearch

type External_Elasticsearch struct {
	Enable               *wrappers.BoolValue                    `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty" toml:"enable,omitempty" mapstructure:"enable,omitempty"`
	Nodes                []*wrappers.StringValue                `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"`
	Backup               *External_Elasticsearch_Backup         `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"`
	Auth                 *External_Elasticsearch_Authentication `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty" toml:"auth,omitempty" mapstructure:"auth,omitempty"`
	Ssl                  *External_Elasticsearch_SSL            `protobuf:"bytes,5,opt,name=ssl,proto3" json:"ssl,omitempty" toml:"ssl,omitempty" mapstructure:"ssl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                               `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch) Descriptor

func (*External_Elasticsearch) Descriptor() ([]byte, []int)

func (*External_Elasticsearch) GetAuth

func (*External_Elasticsearch) GetBackup

func (*External_Elasticsearch) GetEnable

func (m *External_Elasticsearch) GetEnable() *wrappers.BoolValue

func (*External_Elasticsearch) GetNodes

func (m *External_Elasticsearch) GetNodes() []*wrappers.StringValue

func (*External_Elasticsearch) GetSsl

func (*External_Elasticsearch) ProtoMessage

func (*External_Elasticsearch) ProtoMessage()

func (*External_Elasticsearch) Reset

func (m *External_Elasticsearch) Reset()

func (*External_Elasticsearch) String

func (m *External_Elasticsearch) String() string

func (*External_Elasticsearch) XXX_DiscardUnknown

func (m *External_Elasticsearch) XXX_DiscardUnknown()

func (*External_Elasticsearch) XXX_Marshal

func (m *External_Elasticsearch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch) XXX_Merge

func (dst *External_Elasticsearch) XXX_Merge(src proto.Message)

func (*External_Elasticsearch) XXX_Size

func (m *External_Elasticsearch) XXX_Size() int

func (*External_Elasticsearch) XXX_Unmarshal

func (m *External_Elasticsearch) XXX_Unmarshal(b []byte) error

type External_Elasticsearch_Authentication

type External_Elasticsearch_Authentication struct {
	Scheme               *wrappers.StringValue                            `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty" toml:"scheme,omitempty" mapstructure:"scheme,omitempty"`
	BasicAuth            *External_Elasticsearch_Authentication_BasicAuth `` /* 152-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                         `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                           `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                            `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_Authentication) Descriptor

func (*External_Elasticsearch_Authentication) Descriptor() ([]byte, []int)

func (*External_Elasticsearch_Authentication) GetBasicAuth

func (*External_Elasticsearch_Authentication) GetScheme

func (*External_Elasticsearch_Authentication) ProtoMessage

func (*External_Elasticsearch_Authentication) ProtoMessage()

func (*External_Elasticsearch_Authentication) Reset

func (*External_Elasticsearch_Authentication) String

func (*External_Elasticsearch_Authentication) XXX_DiscardUnknown

func (m *External_Elasticsearch_Authentication) XXX_DiscardUnknown()

func (*External_Elasticsearch_Authentication) XXX_Marshal

func (m *External_Elasticsearch_Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_Authentication) XXX_Merge

func (*External_Elasticsearch_Authentication) XXX_Size

func (*External_Elasticsearch_Authentication) XXX_Unmarshal

func (m *External_Elasticsearch_Authentication) XXX_Unmarshal(b []byte) error

type External_Elasticsearch_Authentication_BasicAuth

type External_Elasticsearch_Authentication_BasicAuth struct {
	Username             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	Password             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_Authentication_BasicAuth) Descriptor

func (*External_Elasticsearch_Authentication_BasicAuth) GetPassword

func (*External_Elasticsearch_Authentication_BasicAuth) GetUsername

func (*External_Elasticsearch_Authentication_BasicAuth) ProtoMessage

func (*External_Elasticsearch_Authentication_BasicAuth) Reset

func (*External_Elasticsearch_Authentication_BasicAuth) String

func (*External_Elasticsearch_Authentication_BasicAuth) XXX_DiscardUnknown

func (m *External_Elasticsearch_Authentication_BasicAuth) XXX_DiscardUnknown()

func (*External_Elasticsearch_Authentication_BasicAuth) XXX_Marshal

func (m *External_Elasticsearch_Authentication_BasicAuth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_Authentication_BasicAuth) XXX_Merge

func (*External_Elasticsearch_Authentication_BasicAuth) XXX_Size

func (*External_Elasticsearch_Authentication_BasicAuth) XXX_Unmarshal

type External_Elasticsearch_Backup

type External_Elasticsearch_Backup struct {
	Enable               *wrappers.BoolValue                       `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty" toml:"enable,omitempty" mapstructure:"enable,omitempty"`
	Location             *wrappers.StringValue                     `` /* 129-byte string literal not displayed */
	Fs                   *External_Elasticsearch_Backup_FsSettings `protobuf:"bytes,3,opt,name=fs,proto3" json:"fs,omitempty" toml:"fs,omitempty" mapstructure:"fs,omitempty"`
	S3                   *External_Elasticsearch_Backup_S3Settings `protobuf:"bytes,4,opt,name=s3,proto3" json:"s3,omitempty" toml:"s3,omitempty" mapstructure:"s3,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_Backup) Descriptor

func (*External_Elasticsearch_Backup) Descriptor() ([]byte, []int)

func (*External_Elasticsearch_Backup) GetEnable

func (*External_Elasticsearch_Backup) GetFs

func (*External_Elasticsearch_Backup) GetLocation

func (*External_Elasticsearch_Backup) GetS3

func (*External_Elasticsearch_Backup) ProtoMessage

func (*External_Elasticsearch_Backup) ProtoMessage()

func (*External_Elasticsearch_Backup) Reset

func (m *External_Elasticsearch_Backup) Reset()

func (*External_Elasticsearch_Backup) String

func (*External_Elasticsearch_Backup) XXX_DiscardUnknown

func (m *External_Elasticsearch_Backup) XXX_DiscardUnknown()

func (*External_Elasticsearch_Backup) XXX_Marshal

func (m *External_Elasticsearch_Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_Backup) XXX_Merge

func (dst *External_Elasticsearch_Backup) XXX_Merge(src proto.Message)

func (*External_Elasticsearch_Backup) XXX_Size

func (m *External_Elasticsearch_Backup) XXX_Size() int

func (*External_Elasticsearch_Backup) XXX_Unmarshal

func (m *External_Elasticsearch_Backup) XXX_Unmarshal(b []byte) error

type External_Elasticsearch_Backup_FsSettings

type External_Elasticsearch_Backup_FsSettings struct {
	Path                 *wrappers.StringValue                                      `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" mapstructure:"path,omitempty"`
	Settings             *External_Elasticsearch_Backup_FsSettings_OptionalSettings `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                                      `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_Backup_FsSettings) Descriptor

func (*External_Elasticsearch_Backup_FsSettings) Descriptor() ([]byte, []int)

func (*External_Elasticsearch_Backup_FsSettings) GetPath

func (*External_Elasticsearch_Backup_FsSettings) GetSettings

func (*External_Elasticsearch_Backup_FsSettings) ProtoMessage

func (*External_Elasticsearch_Backup_FsSettings) Reset

func (*External_Elasticsearch_Backup_FsSettings) String

func (*External_Elasticsearch_Backup_FsSettings) XXX_DiscardUnknown

func (m *External_Elasticsearch_Backup_FsSettings) XXX_DiscardUnknown()

func (*External_Elasticsearch_Backup_FsSettings) XXX_Marshal

func (m *External_Elasticsearch_Backup_FsSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_Backup_FsSettings) XXX_Merge

func (*External_Elasticsearch_Backup_FsSettings) XXX_Size

func (*External_Elasticsearch_Backup_FsSettings) XXX_Unmarshal

func (m *External_Elasticsearch_Backup_FsSettings) XXX_Unmarshal(b []byte) error

type External_Elasticsearch_Backup_FsSettings_OptionalSettings

type External_Elasticsearch_Backup_FsSettings_OptionalSettings struct {
	MaxSnapshotBytesPerSec *wrappers.StringValue `` /* 229-byte string literal not displayed */
	MaxRestoreBytesPerSec  *wrappers.StringValue `` /* 224-byte string literal not displayed */
	XXX_NoUnkeyedLiteral   struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized       []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache          int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) Descriptor

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) GetMaxRestoreBytesPerSec

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) GetMaxSnapshotBytesPerSec

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) ProtoMessage

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) Reset

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) String

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) XXX_DiscardUnknown

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) XXX_Marshal

func (m *External_Elasticsearch_Backup_FsSettings_OptionalSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) XXX_Merge

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) XXX_Size

func (*External_Elasticsearch_Backup_FsSettings_OptionalSettings) XXX_Unmarshal

type External_Elasticsearch_Backup_S3Settings

type External_Elasticsearch_Backup_S3Settings struct {
	Bucket               *wrappers.StringValue     `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty" toml:"bucket,omitempty" mapstructure:"bucket,omitempty"`
	Client               *wrappers.StringValue     `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty" toml:"client,omitempty" mapstructure:"client,omitempty"`
	BasePath             *wrappers.StringValue     `` /* 147-byte string literal not displayed */
	Settings             *Backups_S3_Elasticsearch `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                  `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_Backup_S3Settings) Descriptor

func (*External_Elasticsearch_Backup_S3Settings) Descriptor() ([]byte, []int)

func (*External_Elasticsearch_Backup_S3Settings) GetBasePath

func (*External_Elasticsearch_Backup_S3Settings) GetBucket

func (*External_Elasticsearch_Backup_S3Settings) GetClient

func (*External_Elasticsearch_Backup_S3Settings) GetSettings

func (*External_Elasticsearch_Backup_S3Settings) ProtoMessage

func (*External_Elasticsearch_Backup_S3Settings) Reset

func (*External_Elasticsearch_Backup_S3Settings) String

func (*External_Elasticsearch_Backup_S3Settings) XXX_DiscardUnknown

func (m *External_Elasticsearch_Backup_S3Settings) XXX_DiscardUnknown()

func (*External_Elasticsearch_Backup_S3Settings) XXX_Marshal

func (m *External_Elasticsearch_Backup_S3Settings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_Backup_S3Settings) XXX_Merge

func (*External_Elasticsearch_Backup_S3Settings) XXX_Size

func (*External_Elasticsearch_Backup_S3Settings) XXX_Unmarshal

func (m *External_Elasticsearch_Backup_S3Settings) XXX_Unmarshal(b []byte) error

type External_Elasticsearch_SSL

type External_Elasticsearch_SSL struct {
	RootCert             *wrappers.StringValue `` /* 147-byte string literal not displayed */
	ServerName           *wrappers.StringValue `` /* 157-byte string literal not displayed */
	RootCertFile         *wrappers.StringValue `` /* 171-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Elasticsearch_SSL) Descriptor

func (*External_Elasticsearch_SSL) Descriptor() ([]byte, []int)

func (*External_Elasticsearch_SSL) GetRootCert

func (*External_Elasticsearch_SSL) GetRootCertFile

func (m *External_Elasticsearch_SSL) GetRootCertFile() *wrappers.StringValue

func (*External_Elasticsearch_SSL) GetServerName

func (m *External_Elasticsearch_SSL) GetServerName() *wrappers.StringValue

func (*External_Elasticsearch_SSL) ProtoMessage

func (*External_Elasticsearch_SSL) ProtoMessage()

func (*External_Elasticsearch_SSL) Reset

func (m *External_Elasticsearch_SSL) Reset()

func (*External_Elasticsearch_SSL) String

func (m *External_Elasticsearch_SSL) String() string

func (*External_Elasticsearch_SSL) XXX_DiscardUnknown

func (m *External_Elasticsearch_SSL) XXX_DiscardUnknown()

func (*External_Elasticsearch_SSL) XXX_Marshal

func (m *External_Elasticsearch_SSL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Elasticsearch_SSL) XXX_Merge

func (dst *External_Elasticsearch_SSL) XXX_Merge(src proto.Message)

func (*External_Elasticsearch_SSL) XXX_Size

func (m *External_Elasticsearch_SSL) XXX_Size() int

func (*External_Elasticsearch_SSL) XXX_Unmarshal

func (m *External_Elasticsearch_SSL) XXX_Unmarshal(b []byte) error

type External_Postgresql

type External_Postgresql struct {
	Enable               *wrappers.BoolValue                 `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty" toml:"enable,omitempty" mapstructure:"enable,omitempty"`
	Nodes                []*wrappers.StringValue             `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty" toml:"nodes,omitempty" mapstructure:"nodes,omitempty"`
	Backup               *External_Postgresql_Backup         `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty" toml:"backup,omitempty" mapstructure:"backup,omitempty"`
	Auth                 *External_Postgresql_Authentication `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty" toml:"auth,omitempty" mapstructure:"auth,omitempty"`
	Ssl                  *External_Postgresql_SSL            `protobuf:"bytes,5,opt,name=ssl,proto3" json:"ssl,omitempty" toml:"ssl,omitempty" mapstructure:"ssl,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                               `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Postgresql) Descriptor

func (*External_Postgresql) Descriptor() ([]byte, []int)

func (*External_Postgresql) GetAuth

func (*External_Postgresql) GetBackup

func (*External_Postgresql) GetEnable

func (m *External_Postgresql) GetEnable() *wrappers.BoolValue

func (*External_Postgresql) GetNodes

func (m *External_Postgresql) GetNodes() []*wrappers.StringValue

func (*External_Postgresql) GetSsl

func (*External_Postgresql) ProtoMessage

func (*External_Postgresql) ProtoMessage()

func (*External_Postgresql) Reset

func (m *External_Postgresql) Reset()

func (*External_Postgresql) String

func (m *External_Postgresql) String() string

func (*External_Postgresql) XXX_DiscardUnknown

func (m *External_Postgresql) XXX_DiscardUnknown()

func (*External_Postgresql) XXX_Marshal

func (m *External_Postgresql) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Postgresql) XXX_Merge

func (dst *External_Postgresql) XXX_Merge(src proto.Message)

func (*External_Postgresql) XXX_Size

func (m *External_Postgresql) XXX_Size() int

func (*External_Postgresql) XXX_Unmarshal

func (m *External_Postgresql) XXX_Unmarshal(b []byte) error

type External_Postgresql_Authentication

type External_Postgresql_Authentication struct {
	Scheme               *wrappers.StringValue                                      `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty" toml:"scheme,omitempty" mapstructure:"scheme,omitempty"`
	Password             *External_Postgresql_Authentication_PasswordAuthentication `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                                     `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                                      `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Postgresql_Authentication) Descriptor

func (*External_Postgresql_Authentication) Descriptor() ([]byte, []int)

func (*External_Postgresql_Authentication) GetPassword

func (*External_Postgresql_Authentication) GetScheme

func (*External_Postgresql_Authentication) ProtoMessage

func (*External_Postgresql_Authentication) ProtoMessage()

func (*External_Postgresql_Authentication) Reset

func (*External_Postgresql_Authentication) String

func (*External_Postgresql_Authentication) XXX_DiscardUnknown

func (m *External_Postgresql_Authentication) XXX_DiscardUnknown()

func (*External_Postgresql_Authentication) XXX_Marshal

func (m *External_Postgresql_Authentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Postgresql_Authentication) XXX_Merge

func (dst *External_Postgresql_Authentication) XXX_Merge(src proto.Message)

func (*External_Postgresql_Authentication) XXX_Size

func (*External_Postgresql_Authentication) XXX_Unmarshal

func (m *External_Postgresql_Authentication) XXX_Unmarshal(b []byte) error

type External_Postgresql_Authentication_PasswordAuthentication

type External_Postgresql_Authentication_PasswordAuthentication struct {
	Superuser            *External_Postgresql_Authentication_PasswordAuthentication_User `` /* 133-byte string literal not displayed */
	Dbuser               *External_Postgresql_Authentication_PasswordAuthentication_User `protobuf:"bytes,2,opt,name=dbuser,proto3" json:"dbuser,omitempty" toml:"dbuser,omitempty" mapstructure:"dbuser,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                        `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                                                          `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                                                           `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Postgresql_Authentication_PasswordAuthentication) Descriptor

func (*External_Postgresql_Authentication_PasswordAuthentication) GetDbuser

func (*External_Postgresql_Authentication_PasswordAuthentication) GetSuperuser

func (*External_Postgresql_Authentication_PasswordAuthentication) ProtoMessage

func (*External_Postgresql_Authentication_PasswordAuthentication) Reset

func (*External_Postgresql_Authentication_PasswordAuthentication) String

func (*External_Postgresql_Authentication_PasswordAuthentication) XXX_DiscardUnknown

func (*External_Postgresql_Authentication_PasswordAuthentication) XXX_Marshal

func (m *External_Postgresql_Authentication_PasswordAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Postgresql_Authentication_PasswordAuthentication) XXX_Merge

func (*External_Postgresql_Authentication_PasswordAuthentication) XXX_Size

func (*External_Postgresql_Authentication_PasswordAuthentication) XXX_Unmarshal

type External_Postgresql_Authentication_PasswordAuthentication_User

type External_Postgresql_Authentication_PasswordAuthentication_User struct {
	Username             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	Password             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Postgresql_Authentication_PasswordAuthentication_User) Descriptor

func (*External_Postgresql_Authentication_PasswordAuthentication_User) GetPassword

func (*External_Postgresql_Authentication_PasswordAuthentication_User) GetUsername

func (*External_Postgresql_Authentication_PasswordAuthentication_User) ProtoMessage

func (*External_Postgresql_Authentication_PasswordAuthentication_User) Reset

func (*External_Postgresql_Authentication_PasswordAuthentication_User) String

func (*External_Postgresql_Authentication_PasswordAuthentication_User) XXX_DiscardUnknown

func (*External_Postgresql_Authentication_PasswordAuthentication_User) XXX_Marshal

func (m *External_Postgresql_Authentication_PasswordAuthentication_User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Postgresql_Authentication_PasswordAuthentication_User) XXX_Merge

func (*External_Postgresql_Authentication_PasswordAuthentication_User) XXX_Size

func (*External_Postgresql_Authentication_PasswordAuthentication_User) XXX_Unmarshal

type External_Postgresql_Backup

type External_Postgresql_Backup struct {
	Enable               *wrappers.BoolValue `protobuf:"bytes,1,opt,name=enable,proto3" json:"enable,omitempty" toml:"enable,omitempty" mapstructure:"enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32               `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Postgresql_Backup) Descriptor

func (*External_Postgresql_Backup) Descriptor() ([]byte, []int)

func (*External_Postgresql_Backup) GetEnable

func (*External_Postgresql_Backup) ProtoMessage

func (*External_Postgresql_Backup) ProtoMessage()

func (*External_Postgresql_Backup) Reset

func (m *External_Postgresql_Backup) Reset()

func (*External_Postgresql_Backup) String

func (m *External_Postgresql_Backup) String() string

func (*External_Postgresql_Backup) XXX_DiscardUnknown

func (m *External_Postgresql_Backup) XXX_DiscardUnknown()

func (*External_Postgresql_Backup) XXX_Marshal

func (m *External_Postgresql_Backup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Postgresql_Backup) XXX_Merge

func (dst *External_Postgresql_Backup) XXX_Merge(src proto.Message)

func (*External_Postgresql_Backup) XXX_Size

func (m *External_Postgresql_Backup) XXX_Size() int

func (*External_Postgresql_Backup) XXX_Unmarshal

func (m *External_Postgresql_Backup) XXX_Unmarshal(b []byte) error

type External_Postgresql_SSL

type External_Postgresql_SSL struct {
	Mode                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty" toml:"mode,omitempty" mapstructure:"mode,omitempty"` // Deprecated: Do not use.
	Cert                 *wrappers.StringValue `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty" toml:"cert,omitempty" mapstructure:"cert,omitempty"`
	Key                  *wrappers.StringValue `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"`
	RootCert             *wrappers.StringValue `` /* 147-byte string literal not displayed */
	Enable               *wrappers.BoolValue   `protobuf:"bytes,5,opt,name=enable,proto3" json:"enable,omitempty" toml:"enable,omitempty" mapstructure:"enable,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*External_Postgresql_SSL) Descriptor

func (*External_Postgresql_SSL) Descriptor() ([]byte, []int)

func (*External_Postgresql_SSL) GetCert

func (*External_Postgresql_SSL) GetEnable

func (m *External_Postgresql_SSL) GetEnable() *wrappers.BoolValue

func (*External_Postgresql_SSL) GetKey

func (*External_Postgresql_SSL) GetMode deprecated

Deprecated: Do not use.

func (*External_Postgresql_SSL) GetRootCert

func (m *External_Postgresql_SSL) GetRootCert() *wrappers.StringValue

func (*External_Postgresql_SSL) ProtoMessage

func (*External_Postgresql_SSL) ProtoMessage()

func (*External_Postgresql_SSL) Reset

func (m *External_Postgresql_SSL) Reset()

func (*External_Postgresql_SSL) String

func (m *External_Postgresql_SSL) String() string

func (*External_Postgresql_SSL) XXX_DiscardUnknown

func (m *External_Postgresql_SSL) XXX_DiscardUnknown()

func (*External_Postgresql_SSL) XXX_Marshal

func (m *External_Postgresql_SSL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*External_Postgresql_SSL) XXX_Merge

func (dst *External_Postgresql_SSL) XXX_Merge(src proto.Message)

func (*External_Postgresql_SSL) XXX_Size

func (m *External_Postgresql_SSL) XXX_Size() int

func (*External_Postgresql_SSL) XXX_Unmarshal

func (m *External_Postgresql_SSL) XXX_Unmarshal(b []byte) error

type FrontendTLSCredential

type FrontendTLSCredential struct {
	ServerName           string   `` /* 157-byte string literal not displayed */
	Cert                 string   `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty" toml:"cert,omitempty" mapstructure:"cert,omitempty"`
	CertPath             string   `` /* 147-byte string literal not displayed */
	Key                  string   `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty" toml:"key,omitempty" mapstructure:"key,omitempty"`
	KeyPath              string   `` /* 142-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*FrontendTLSCredential) Descriptor

func (*FrontendTLSCredential) Descriptor() ([]byte, []int)

func (*FrontendTLSCredential) GetCert

func (m *FrontendTLSCredential) GetCert() string

func (*FrontendTLSCredential) GetCertPath

func (m *FrontendTLSCredential) GetCertPath() string

func (*FrontendTLSCredential) GetKey

func (m *FrontendTLSCredential) GetKey() string

func (*FrontendTLSCredential) GetKeyPath

func (m *FrontendTLSCredential) GetKeyPath() string

func (*FrontendTLSCredential) GetServerName

func (m *FrontendTLSCredential) GetServerName() string

func (*FrontendTLSCredential) ProtoMessage

func (*FrontendTLSCredential) ProtoMessage()

func (*FrontendTLSCredential) Reset

func (m *FrontendTLSCredential) Reset()

func (*FrontendTLSCredential) String

func (m *FrontendTLSCredential) String() string

func (*FrontendTLSCredential) XXX_DiscardUnknown

func (m *FrontendTLSCredential) XXX_DiscardUnknown()

func (*FrontendTLSCredential) XXX_Marshal

func (m *FrontendTLSCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FrontendTLSCredential) XXX_Merge

func (dst *FrontendTLSCredential) XXX_Merge(src proto.Message)

func (*FrontendTLSCredential) XXX_Size

func (m *FrontendTLSCredential) XXX_Size() int

func (*FrontendTLSCredential) XXX_Unmarshal

func (m *FrontendTLSCredential) XXX_Unmarshal(b []byte) error

type GlobalConfig

type GlobalConfig struct {
	V1                   *V1      `protobuf:"bytes,1,opt,name=v1,proto3" json:"v1,omitempty" toml:"v1,omitempty" mapstructure:"v1,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func DefaultGlobalConfig

func DefaultGlobalConfig() *GlobalConfig

DefaultGlobalConfig returns a new GlobalConfig instance with default values.

func NewGlobalConfig

func NewGlobalConfig() *GlobalConfig

NewGlobalConfig returns a new GlobalConfig instance with zero values.

func (*GlobalConfig) Descriptor

func (*GlobalConfig) Descriptor() ([]byte, []int)

func (*GlobalConfig) GetV1

func (m *GlobalConfig) GetV1() *V1

func (*GlobalConfig) NoProxyString

func (c *GlobalConfig) NoProxyString() *gw.StringValue

NoProxyString turns a non-empty NoProxy whitelist into a string of comma-separated entries for easier consumption by the hab config.

func (*GlobalConfig) ProtoMessage

func (*GlobalConfig) ProtoMessage()

func (*GlobalConfig) ProxyString

func (c *GlobalConfig) ProxyString() *gw.StringValue

ProxyString returns the proxy configuration formatted into the canonical HTTP_PROXY style formatting.

func (*GlobalConfig) Reset

func (m *GlobalConfig) Reset()

func (*GlobalConfig) String

func (m *GlobalConfig) String() string

func (*GlobalConfig) Validate

func (c *GlobalConfig) Validate() error

Validate validates that the config is valid. If validation succeeds it will return nil, if it fails it will return a new instance of config.InvalidConfigError that has the missing keys and invalid fields populated.

func (*GlobalConfig) XXX_DiscardUnknown

func (m *GlobalConfig) XXX_DiscardUnknown()

func (*GlobalConfig) XXX_Marshal

func (m *GlobalConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GlobalConfig) XXX_Merge

func (dst *GlobalConfig) XXX_Merge(src proto.Message)

func (*GlobalConfig) XXX_Size

func (m *GlobalConfig) XXX_Size() int

func (*GlobalConfig) XXX_Unmarshal

func (m *GlobalConfig) XXX_Unmarshal(b []byte) error

type InvalidConfigError

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

InvalidConfigError is an aggregate error containing missing keys in service ConfigRequest or AutomateConfig's.

func NewInvalidConfigError

func NewInvalidConfigError() *InvalidConfigError

NewInvalidConfigError returns a new instance of InvalidConfigError with zero values.

func (*InvalidConfigError) AddInvalidValue

func (e *InvalidConfigError) AddInvalidValue(k, m string)

AddInvalidValue takes a key and an invalid message.

func (*InvalidConfigError) AddMissingKey

func (e *InvalidConfigError) AddMissingKey(k string)

AddMissingKey adds a missing key to the error.

func (*InvalidConfigError) AddUnknownError

func (e *InvalidConfigError) AddUnknownError(err error)

AddUnknownError adds and error to the unknown errors

func (*InvalidConfigError) Error

func (e *InvalidConfigError) Error() string

Error returns the error message as a string.

func (*InvalidConfigError) InvalidValues

func (e *InvalidConfigError) InvalidValues() map[string]string

func (*InvalidConfigError) IsEmpty

func (e *InvalidConfigError) IsEmpty() bool

func (*InvalidConfigError) MissingKeys

func (e *InvalidConfigError) MissingKeys() []string

func (*InvalidConfigError) UnknownErrors

func (e *InvalidConfigError) UnknownErrors() []error

type Log

type Log struct {
	Level                *wrappers.StringValue `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty" toml:"level,omitempty" mapstructure:"level,omitempty"`
	Format               *wrappers.StringValue `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty" toml:"format,omitempty" mapstructure:"format,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Log) Descriptor

func (*Log) Descriptor() ([]byte, []int)

func (*Log) GetFormat

func (m *Log) GetFormat() *wrappers.StringValue

func (*Log) GetLevel

func (m *Log) GetLevel() *wrappers.StringValue

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) Reset

func (m *Log) Reset()

func (*Log) String

func (m *Log) String() string

func (*Log) XXX_DiscardUnknown

func (m *Log) XXX_DiscardUnknown()

func (*Log) XXX_Marshal

func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Log) XXX_Merge

func (dst *Log) XXX_Merge(src proto.Message)

func (*Log) XXX_Size

func (m *Log) XXX_Size() int

func (*Log) XXX_Unmarshal

func (m *Log) XXX_Unmarshal(b []byte) error

type Mlsa

type Mlsa struct {
	Accept               *wrappers.BoolValue `protobuf:"bytes,1,opt,name=accept,proto3" json:"accept,omitempty" toml:"accept,omitempty" mapstructure:"accept,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32               `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Mlsa) Descriptor

func (*Mlsa) Descriptor() ([]byte, []int)

func (*Mlsa) GetAccept

func (m *Mlsa) GetAccept() *wrappers.BoolValue

func (*Mlsa) ProtoMessage

func (*Mlsa) ProtoMessage()

func (*Mlsa) Reset

func (m *Mlsa) Reset()

func (*Mlsa) String

func (m *Mlsa) String() string

func (*Mlsa) XXX_DiscardUnknown

func (m *Mlsa) XXX_DiscardUnknown()

func (*Mlsa) XXX_Marshal

func (m *Mlsa) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Mlsa) XXX_Merge

func (dst *Mlsa) XXX_Merge(src proto.Message)

func (*Mlsa) XXX_Size

func (m *Mlsa) XXX_Size() int

func (*Mlsa) XXX_Unmarshal

func (m *Mlsa) XXX_Unmarshal(b []byte) error

type PlatformServiceConfigurable

type PlatformServiceConfigurable interface {
	SetGlobalConfig(*GlobalConfig)
	PrepareSystemConfig(*TLSCredentials) (PreparedSystemConfig, error)
	Validate() error
}

PlatformServiceConfigurable is an interface that must be implemented by ConfigRequests that want to be part of the platform. It is used to setup the configuration for services

type PreparedSystemConfig

type PreparedSystemConfig = interface{}

PreparedSystemConfig is a struct that can be rendered and used as a services system configuration.

type Proxy

type Proxy struct {
	Host                 *wrappers.StringValue `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty" toml:"host,omitempty" mapstructure:"host,omitempty"`
	Port                 *wrappers.Int32Value  `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty" toml:"port,omitempty" mapstructure:"port,omitempty"`
	User                 *wrappers.StringValue `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" mapstructure:"user,omitempty"`
	Password             *wrappers.StringValue `` /* 129-byte string literal not displayed */
	NoProxy              []string              `` /* 142-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*Proxy) Descriptor

func (*Proxy) Descriptor() ([]byte, []int)

func (*Proxy) GetHost

func (m *Proxy) GetHost() *wrappers.StringValue

func (*Proxy) GetNoProxy

func (m *Proxy) GetNoProxy() []string

func (*Proxy) GetPassword

func (m *Proxy) GetPassword() *wrappers.StringValue

func (*Proxy) GetPort

func (m *Proxy) GetPort() *wrappers.Int32Value

func (*Proxy) GetUser

func (m *Proxy) GetUser() *wrappers.StringValue

func (*Proxy) ProtoMessage

func (*Proxy) ProtoMessage()

func (*Proxy) Reset

func (m *Proxy) Reset()

func (*Proxy) String

func (m *Proxy) String() string

func (*Proxy) XXX_DiscardUnknown

func (m *Proxy) XXX_DiscardUnknown()

func (*Proxy) XXX_Marshal

func (m *Proxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proxy) XXX_Merge

func (dst *Proxy) XXX_Merge(src proto.Message)

func (*Proxy) XXX_Size

func (m *Proxy) XXX_Size() int

func (*Proxy) XXX_Unmarshal

func (m *Proxy) XXX_Unmarshal(b []byte) error

type TLSCredentials

type TLSCredentials struct {
	RootCertContents     string   `` /* 191-byte string literal not displayed */
	KeyContents          string   `` /* 162-byte string literal not displayed */
	CertContents         string   `` /* 167-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*TLSCredentials) Descriptor

func (*TLSCredentials) Descriptor() ([]byte, []int)

func (*TLSCredentials) GetCertContents

func (m *TLSCredentials) GetCertContents() string

func (*TLSCredentials) GetKeyContents

func (m *TLSCredentials) GetKeyContents() string

func (*TLSCredentials) GetRootCertContents

func (m *TLSCredentials) GetRootCertContents() string

func (*TLSCredentials) ProtoMessage

func (*TLSCredentials) ProtoMessage()

func (*TLSCredentials) Reset

func (m *TLSCredentials) Reset()

func (*TLSCredentials) String

func (m *TLSCredentials) String() string

func (*TLSCredentials) XXX_DiscardUnknown

func (m *TLSCredentials) XXX_DiscardUnknown()

func (*TLSCredentials) XXX_Marshal

func (m *TLSCredentials) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSCredentials) XXX_Merge

func (dst *TLSCredentials) XXX_Merge(src proto.Message)

func (*TLSCredentials) XXX_Size

func (m *TLSCredentials) XXX_Size() int

func (*TLSCredentials) XXX_Unmarshal

func (m *TLSCredentials) XXX_Unmarshal(b []byte) error

type V1

type V1 struct {
	Fqdn                 *wrappers.StringValue    `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty" toml:"fqdn,omitempty" mapstructure:"fqdn,omitempty"`
	Mlsa                 *Mlsa                    `protobuf:"bytes,2,opt,name=mlsa,proto3" json:"mlsa,omitempty" toml:"mlsa,omitempty" mapstructure:"mlsa,omitempty"`
	Proxy                *Proxy                   `protobuf:"bytes,3,opt,name=proxy,proto3" json:"proxy,omitempty" toml:"proxy,omitempty" mapstructure:"proxy,omitempty"`
	Backups              *Backups                 `protobuf:"bytes,4,opt,name=backups,proto3" json:"backups,omitempty" toml:"backups,omitempty" mapstructure:"backups,omitempty"`
	Log                  *Log                     `protobuf:"bytes,5,opt,name=log,proto3" json:"log,omitempty" toml:"log,omitempty" mapstructure:"log,omitempty"`
	External             *External                `` /* 129-byte string literal not displayed */
	FrontendTls          []*FrontendTLSCredential `` /* 162-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_unrecognized     []byte                   `json:"-" toml:"-" mapstructure:"-,omitempty"`
	XXX_sizecache        int32                    `json:"-" toml:"-" mapstructure:"-,omitempty"`
}

func (*V1) Descriptor

func (*V1) Descriptor() ([]byte, []int)

func (*V1) GetBackups

func (m *V1) GetBackups() *Backups

func (*V1) GetExternal

func (m *V1) GetExternal() *External

func (*V1) GetFqdn

func (m *V1) GetFqdn() *wrappers.StringValue

func (*V1) GetFrontendTls

func (m *V1) GetFrontendTls() []*FrontendTLSCredential

func (*V1) GetLog

func (m *V1) GetLog() *Log

func (*V1) GetMlsa

func (m *V1) GetMlsa() *Mlsa

func (*V1) GetProxy

func (m *V1) GetProxy() *Proxy

func (*V1) ProtoMessage

func (*V1) ProtoMessage()

func (*V1) Reset

func (m *V1) Reset()

func (*V1) String

func (m *V1) String() string

func (*V1) XXX_DiscardUnknown

func (m *V1) XXX_DiscardUnknown()

func (*V1) XXX_Marshal

func (m *V1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*V1) XXX_Merge

func (dst *V1) XXX_Merge(src proto.Message)

func (*V1) XXX_Size

func (m *V1) XXX_Size() int

func (*V1) XXX_Unmarshal

func (m *V1) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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