config

package
v0.0.4-beta7 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 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 GraphQLHealthCheck

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

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

type GraphQLHealthCheckSpec

type GraphQLHealthCheckSpec struct {
	URL       string                 `json:"url"`
	Frequency string                 `json:"frequency,omitempty"`
	Auth      *HttpHealthAuth        `json:"auth"`
	Query     string                 `json:"query"`
	Variables map[string]interface{} `json:"variables"`
}

type HttpHealthAuth

type HttpHealthAuth struct {
	OIDC HttpHealthAuthOIDC `json:"oidc"`
}

type HttpHealthAuthOIDC

type HttpHealthAuthOIDC struct {
	TokenURL     string   `json:"tokenUrl"`
	Scopes       []string `json:"scopes"`
	ClientID     string   `json:"clientId"`
	ClientSecret string   `json:"clientSecret"`
	User         string   `json:"user"`
	Password     string   `json:"password"`
	GrantType    string   `json:"grantType"`
}

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"`
	Auth       *HttpHealthAuth `json:"auth"`
}

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