server

package
v0.0.0-...-4d6a7e1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// JsonPbMarshaller is the marshaller used for serializing protobuf messages.
	// If needed, this variable can be reassigned with a different marshaller with the same Marshal() signature.
	JsonPbMarshaller grpc_logging.JsonPbMarshaler = &jsonpb.Marshaler{}
)

Functions

This section is empty.

Types

type Backend

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

Backend implements the protobuf interface.

func New

func New(metadata fs.FS) (*Backend, error)

New initializes a new Backend struct.

func (*Backend) Apply

func (*Backend) Metadata

func (*Backend) Operator

func (*Backend) Product

type Deps

type Deps struct {
	Backup         map[string]interface{} `json:"backup,omitempty"`
	PMM            map[string]interface{} `json:"pmm,omitempty"`
	ProxySQL       map[string]interface{} `json:"proxy_sql,omitempty"`
	Haproxy        map[string]interface{} `json:"haproxy,omitempty"`
	LogCollector   map[string]interface{} `json:"logCollector,omitempty"`
	PgBackrest     map[string]interface{} `json:"pgbackrest,omitempty"`
	PgBackrestRepo map[string]interface{} `json:"pgbackrest_repo,omitempty"`
	Pgbadger       map[string]interface{} `json:"pgbadger,omitempty"`
	Pgbouncer      map[string]interface{} `json:"pgbouncer,omitempty"`
	Postgis        map[string]interface{} `json:"postgis,omitempty"`
	Orchestrator   map[string]interface{} `json:"orchestrator,omitempty"`
	Router         map[string]interface{} `json:"router,omitempty"`
	Toolkit        map[string]interface{} `json:"toolkit,omitempty"`
}

type Metadata

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

func NewMetadata

func NewMetadata(fs fs.FS) (*Metadata, error)

func (*Metadata) Product

func (m *Metadata) Product(product string) (*pbVersion.MetadataResponse, error)

Jump to

Keyboard shortcuts

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