solution3

package
v0.0.0-...-2a93983 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, config Config) error

Types

type Config

type Config struct {
	DBHost     string
	DBPort     int
	DBUser     string
	DBPassword string

	K8sInCluster bool
	K8sServer    string
	K8sCrtFile   string
	K8sKeyFile   string
	K8sCAFile    string
}

type PostgreSQLConfig

type PostgreSQLConfig struct {
	apismetav1.TypeMeta   `json:",inline"`
	apismetav1.ObjectMeta `json:"metadata,omitempty"`

	customobject.PostgreSQLConfig `json:",inline"`
}

PostgreSQLConfig embeds customobject.PostgreSQLConfig adding fields required by runtime.Object interface.

type PostgreSQLConfigList

type PostgreSQLConfigList struct {
	apismetav1.TypeMeta `json:",inline"`
	apismetav1.ListMeta `json:"metadata,omitempty"`

	Items []*PostgreSQLConfig `json:"items"`
}

PostgreSQLConfigList embeds customobject.PostgreSQLConfigList adding fields required by runtime.Object interface.

Jump to

Keyboard shortcuts

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