Documentation ¶
Index ¶
- Constants
- func DecodeObject(kind string, document []byte) (meta.Object, error)
- type AgentConfig
- type AgentConfigSpec
- type AlertmanagerSpec
- type AuthProvider
- type AuthProviderSpec
- type AuthProviderType
- type BootstrapSpec
- type CertsSpec
- type CortexSpec
- type DistributorSpec
- type EtcdStorageSpec
- type GatewayConfig
- type GatewayConfigSpec
- type IngesterSpec
- type MTLSSpec
- type ManagementSpec
- type PluginsSpec
- type QueryFrontendSpec
- type RulerSpec
- type StorageSpec
- type StorageType
Constants ¶
View Source
const (
APIVersion = "v1beta1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentConfig ¶
type AgentConfig struct { meta.TypeMeta `json:",inline"` Spec AgentConfigSpec `json:"spec,omitempty"` }
type AgentConfigSpec ¶
type AgentConfigSpec struct { ListenAddress string `json:"listenAddress,omitempty"` GatewayAddress string `json:"gatewayAddress,omitempty"` IdentityProvider string `json:"identityProvider,omitempty"` Storage StorageSpec `json:"storage,omitempty"` Bootstrap *BootstrapSpec `json:"bootstrap,omitempty"` }
func (*AgentConfigSpec) SetDefaults ¶
func (s *AgentConfigSpec) SetDefaults()
type AlertmanagerSpec ¶
type AlertmanagerSpec struct {
Address string `json:"address,omitempty"`
}
type AuthProvider ¶
type AuthProvider struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec AuthProviderSpec `json:"spec,omitempty"` }
type AuthProviderSpec ¶
type AuthProviderSpec struct { Type AuthProviderType `json:"type,omitempty"` Options map[string]string `json:"options,omitempty"` }
type AuthProviderType ¶
type AuthProviderType string
const ( AuthProviderOpenID AuthProviderType = "openid" AuthProviderNoAuth AuthProviderType = "noauth" )
type BootstrapSpec ¶
type CertsSpec ¶
type CertsSpec struct { // Path to a PEM encoded CA certificate file. Mutually exclusive with CACertData CACert *string `json:"caCert,omitempty"` // String containing PEM encoded CA certificate data. Mutually exclusive with CACert CACertData *string `json:"caCertData,omitempty"` // Path to a PEM encoded server certificate file. Mutually exclusive with ServingCertData ServingCert *string `json:"servingCert,omitempty"` // String containing PEM encoded server certificate data. Mutually exclusive with ServingCert ServingCertData *string `json:"servingCertData,omitempty"` // Path to a PEM encoded server key file. Mutually exclusive with ServingKeyData ServingKey *string `json:"servingKey,omitempty"` // String containing PEM encoded server key data. Mutually exclusive with ServingKey ServingKeyData *string `json:"servingKeyData,omitempty"` }
type CortexSpec ¶
type CortexSpec struct { Distributor DistributorSpec `json:"distributor,omitempty"` Ingester IngesterSpec `json:"ingester,omitempty"` Alertmanager AlertmanagerSpec `json:"alertmanager,omitempty"` Ruler RulerSpec `json:"ruler,omitempty"` QueryFrontend QueryFrontendSpec `json:"queryFrontend,omitempty"` Certs MTLSSpec `json:"certs,omitempty"` }
type DistributorSpec ¶
type DistributorSpec struct {
Address string `json:"address,omitempty"`
}
type EtcdStorageSpec ¶
type GatewayConfig ¶
type GatewayConfig struct { meta.TypeMeta `json:",inline"` Spec GatewayConfigSpec `json:"spec,omitempty"` }
type GatewayConfigSpec ¶
type GatewayConfigSpec struct { ListenAddress string `json:"listenAddress,omitempty"` Management ManagementSpec `json:"management,omitempty"` EnableMonitor bool `json:"enableMonitor,omitempty"` TrustedProxies []string `json:"trustedProxies,omitempty"` Cortex CortexSpec `json:"cortex,omitempty"` AuthProvider string `json:"authProvider,omitempty"` Storage StorageSpec `json:"storage,omitempty"` Certs CertsSpec `json:"certs,omitempty"` Plugins PluginsSpec `json:"plugins,omitempty"` }
func (*GatewayConfigSpec) SetDefaults ¶
func (s *GatewayConfigSpec) SetDefaults()
type IngesterSpec ¶
type IngesterSpec struct {
Address string `json:"address,omitempty"`
}
type ManagementSpec ¶
type PluginsSpec ¶
type PluginsSpec struct { // Directories to look for plugins in Dirs []string `json:"dirs,omitempty"` }
type QueryFrontendSpec ¶
type QueryFrontendSpec struct {
Address string `json:"address,omitempty"`
}
type StorageSpec ¶
type StorageSpec struct { Type StorageType `json:"type,omitempty"` Etcd *EtcdStorageSpec `json:"etcd,omitempty"` }
type StorageType ¶
type StorageType string
const ( StorageTypeEtcd StorageType = "etcd" StorageTypeSecret StorageType = "secret" )
Click to show internal directories.
Click to hide internal directories.