Documentation ¶
Index ¶
Constants ¶
View Source
const ( RefreshTrue = "true" RefreshWaitFor = "wait_for" RefreshFalse = "false" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct { Enabled bool Basic *BasicAuthConfig OIDC *OIDCAuthConfig }
type BasicAuthConfig ¶
type Config ¶
type Config struct { Auth *AuthConfig Elasticsearch *ElasticsearchConfig Grafeas *GrafeasConfig Opa *OpaConfig Port int Debug bool }
type ElasticsearchConfig ¶
type ElasticsearchConfig struct { Host string Username string Password string Refresh RefreshOption }
func (ElasticsearchConfig) IsValid ¶ added in v0.2.1
func (c ElasticsearchConfig) IsValid() (e error)
type GrafeasConfig ¶
type GrafeasConfig struct {
Host string
}
type OIDCAuthConfig ¶ added in v0.14.0
type RefreshOption ¶ added in v0.2.1
type RefreshOption string
RefreshOption is based on https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-refresh.html
func (RefreshOption) String ¶ added in v0.2.1
func (r RefreshOption) String() string
Click to show internal directories.
Click to hide internal directories.