config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostgresqlDriver = "postgres"
	MySQLDriver      = "mysql"
	SQLiteDriver     = "sqlite"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverName

type DriverName string

type HttpHealthCheck

type HttpHealthCheck struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec HttpHealthCheckSpec `json:"spec,omitempty"`
}

type HttpHealthCheckSpec

type HttpHealthCheckSpec struct {
	URL        string `json:"url"`
	Frequency  string `json:"frequency,omitempty"`
	StatusCode int    `json:"statusCode"`
}

type StatusPage

type StatusPage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec StatusPageSpec `json:"spec,omitempty"`
}

type StatusPageSpec

type StatusPageSpec struct {
	Title    string   `json:"title"`
	Services []string `json:"services"`
}

type TLSHealthCheck

type TLSHealthCheck struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec TLSHealthCheckSpec `json:"spec,omitempty"`
}

type TLSHealthCheckSpec

type TLSHealthCheckSpec struct {
	Host      string  `json:"host"`
	Port      int     `json:"port"`
	Frequency string  `json:"frequency,omitempty"`
	RootCAs   *string `json:"rootCAs,omitempty"`
}

Jump to

Keyboard shortcuts

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