Documentation ¶
Overview ¶
This package defines the configuration for the Opni Monitoring gateway and agent. This spec is different from the Kubernetes Custom Resources used to deploy the gateway with an operator. Those definitions can be found in apis/monitoring/v1beta1.
Index ¶
- Constants
- Variables
- func DecodeObject(kind string, document []byte) (meta.Object, error)
- type AgentConfig
- type AgentConfigSpec
- type AgentImageSpec
- type AgentUpgradeSpec
- type AgentUpgradeType
- type AgentUpgradesSpec
- type AlertingSpec
- type AlertmanagerSpec
- type AuthDataSpec
- type AuthProvider
- type AuthProviderSpec
- type AuthProviderType
- type BinaryPluginsSpec
- type BinaryUpgradeSpec
- type BootstrapSpec
- type CacheBackend
- type CacheSpec
- type CertsSpec
- type ClusterManagementSpec
- type CompactorSpec
- type CortexSpec
- type CustomResourcesStorageSpec
- type DiscoverySpec
- func (*DiscoverySpec) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverySpec) GetFilesystem() *FilesystemRulesSpec
- func (x *DiscoverySpec) GetInterval() string
- func (x *DiscoverySpec) GetPrometheusRules() *PrometheusRulesSpec
- func (*DiscoverySpec) ProtoMessage()
- func (x *DiscoverySpec) ProtoReflect() protoreflect.Message
- func (x *DiscoverySpec) Reset()
- func (x *DiscoverySpec) String() string
- type DistributorSpec
- type EtcdStorageSpec
- type FilesystemCacheSpec
- type FilesystemRulesSpec
- func (*FilesystemRulesSpec) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemRulesSpec) GetPathExpressions() []string
- func (*FilesystemRulesSpec) ProtoMessage()
- func (x *FilesystemRulesSpec) ProtoReflect() protoreflect.Message
- func (x *FilesystemRulesSpec) Reset()
- func (x *FilesystemRulesSpec) String() string
- type GatewayConfig
- type GatewayConfigSpec
- type ImageResolverType
- type IngesterSpec
- type JetStreamStorageSpec
- type KeyringSpec
- type KubernetesAgentUpgradeSpec
- type KubernetesImageResolverSpec
- type KubernetesUpgradeSpec
- type MTLSSpec
- type ManagementSpec
- type MetricsSpec
- type NoopImageResolverSpec
- type PatchEngine
- type PluginUpgradeSpec
- type PluginUpgradeType
- type PluginsSpec
- type ProfilingSpec
- type PrometheusRulesSpec
- func (*PrometheusRulesSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PrometheusRulesSpec) GetKubeconfig() string
- func (x *PrometheusRulesSpec) GetSearchNamespaces() []string
- func (*PrometheusRulesSpec) ProtoMessage()
- func (x *PrometheusRulesSpec) ProtoReflect() protoreflect.Message
- func (x *PrometheusRulesSpec) Reset()
- func (x *PrometheusRulesSpec) String() string
- type PurgerSpec
- type QuerierSpec
- type QueryFrontendSpec
- type RateLimitSpec
- type RulerSpec
- type RulesSpec
- type StorageSpec
- type StorageType
- type StoreGatewaySpec
- type SupportAgentConfig
- type SupportAgentConfigSpec
- type TrustStrategyKind
Constants ¶
View Source
const (
APIVersion = "v1beta1"
)
Variables ¶
View Source
var File_github_com_rancher_opni_pkg_config_v1beta1_agent_config_proto protoreflect.FileDescriptor
View Source
var SupportAgentConfigTypeMeta = meta.TypeMeta{ APIVersion: APIVersion, Kind: "SupportAgentConfig", }
Functions ¶
Types ¶
type AgentConfig ¶
type AgentConfig struct { meta.TypeMeta `json:",inline"` Spec AgentConfigSpec `json:"spec,omitempty"` }
type AgentConfigSpec ¶
type AgentConfigSpec struct { // The address which the agent will listen on for incoming connections. // This should be in the format "host:port" or ":port", and must not // include a scheme. ListenAddress string `json:"listenAddress,omitempty"` // The address of the gateway's public GRPC API. This should be of the format // "host:port" with no scheme. GatewayAddress string `json:"gatewayAddress,omitempty"` // The name of the identity provider to use. Defaults to "kubernetes". IdentityProvider string `json:"identityProvider,omitempty"` // The type of trust strategy to use for verifying the authenticity of the // gateway server. Defaults to "pkp". TrustStrategy TrustStrategyKind `json:"trustStrategy,omitempty"` // Configuration for agent keyring storage. Storage StorageSpec `json:"storage,omitempty"` Rules *RulesSpec `json:"rules,omitempty"` Bootstrap *BootstrapSpec `json:"bootstrap,omitempty"` LogLevel string `json:"logLevel,omitempty"` PluginDir string `json:"pluginDir,omitempty"` Keyring KeyringSpec `json:"keyring,omitempty"` Upgrade AgentUpgradeSpec `json:"upgrade,omitempty"` PluginUpgrade PluginUpgradeSpec `json:"pluginUpgrade,omitempty"` }
func (*AgentConfigSpec) ContainsBootstrapCredentials ¶ added in v0.6.0
func (s *AgentConfigSpec) ContainsBootstrapCredentials() bool
func (*AgentConfigSpec) SetDefaults ¶
func (s *AgentConfigSpec) SetDefaults()
type AgentImageSpec ¶ added in v0.11.0
type AgentImageSpec struct { Type ImageResolverType `json:"type,omitempty"` Noop *NoopImageResolverSpec `json:"noop,omitempty"` Kubernetes *KubernetesImageResolverSpec `json:"kubernetes,omitempty"` }
type AgentUpgradeSpec ¶ added in v0.11.0
type AgentUpgradeSpec struct { Type AgentUpgradeType `json:"type,omitempty"` Kubernetes *KubernetesUpgradeSpec `json:"kubernetes,omitempty"` }
type AgentUpgradeType ¶ added in v0.11.0
type AgentUpgradeType string
const ( AgentUpgradeNoop AgentUpgradeType = "noop" AgentUpgradeKubernetes AgentUpgradeType = "kubernetes" )
type AgentUpgradesSpec ¶ added in v0.11.0
type AgentUpgradesSpec struct {
Kubernetes KubernetesAgentUpgradeSpec `json:"kubernetes,omitempty"`
}
type AlertingSpec ¶ added in v0.5.4
type AlertingSpec struct { Certs MTLSSpec `json:"certs,omitempty"` // Deprecated. Do not use. Namespace string `json:"Namespace,omitempty"` // Deprecated. Do not use. WorkerNodeService string `json:"workerNodeService,omitempty"` // Deprecated. Do not use. WorkerPort int `json:"workerPort,omitempty"` // Deprecated. Do not use. WorkerStatefulSet string `json:"workerStatefulSet,omitempty"` // Deprecated. Do not use. ControllerNodeService string `json:"controllerNodeService,omitempty"` // Deprecated. Do not use. ControllerNodePort int `json:"controllerNodePort,omitempty"` // Deprecated. Do not use. ControllerClusterPort int `json:"controllerClusterPort,omitempty"` // Deprecated. Do not use. ControllerStatefulSet string `json:"controllerStatefulSet,omitempty"` // Deprecated. Do not use. ConfigMap string `json:"configMap,omitempty"` // Deprecated. Do not use. ManagementHookHandler string `json:"managementHookHandler,omitempty"` }
type AlertmanagerSpec ¶
type AlertmanagerSpec struct { //+kubebuilder:default="cortex-alertmanager:8080" HTTPAddress string `json:"httpAddress,omitempty"` }
type AuthDataSpec ¶ added in v0.11.0
type AuthDataSpec struct { Pins []string `json:"pins,omitempty"` CAPath string `json:"caFilePath,omitempty"` Token string `json:"token,omitempty"` TrustStrategy TrustStrategyKind `json:"trustStrategy,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]any `json:"options,omitempty"` }
type AuthProviderType ¶
type AuthProviderType string
const ( AuthProviderOpenID AuthProviderType = "openid" AuthProviderNoAuth AuthProviderType = "noauth" )
type BinaryPluginsSpec ¶ added in v0.11.0
type BinaryPluginsSpec struct { // Options for caching plugins Cache CacheSpec `json:"cache,omitempty"` }
type BinaryUpgradeSpec ¶ added in v0.11.0
type BinaryUpgradeSpec struct{}
type BootstrapSpec ¶
type BootstrapSpec struct { // Address of the internal management GRPC API. Used for auto-bootstrapping // when direct management api access is available, such as when running in // the main cluster. InClusterManagementAddress *string `json:"inClusterManagementAddress,omitempty"` // An optional display name to assign to the cluster when creating it. // This value corresponds to the label `opni.io/name`, and can be modified // at any time after the cluster is created. FriendlyName *string `json:"friendlyName,omitempty"` // Bootstrap token Token string `json:"token,omitempty"` // List of public key pins. Used when the trust strategy is "pkp". Pins []string `json:"pins,omitempty"` // List of paths to CA Certs. Used when the trust strategy is "cacerts". // If empty, the system certs will be used. CACerts []string `json:"caCerts,omitempty"` }
type CacheBackend ¶ added in v0.8.0
type CacheBackend string
const (
CacheBackendFilesystem CacheBackend = "filesystem"
)
type CacheSpec ¶ added in v0.8.0
type CacheSpec struct { PatchEngine PatchEngine `json:"patchEngine,omitempty"` Backend CacheBackend `json:"backend,omitempty"` Filesystem FilesystemCacheSpec `json:"filesystem,omitempty"` }
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 []byte `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 []byte `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 []byte `json:"servingKeyData,omitempty"` }
type ClusterManagementSpec ¶ added in v0.6.0
type ClusterManagementSpec struct {
ClusterDriver string `json:"clusterDriver,omitempty"`
}
type CompactorSpec ¶ added in v0.6.0
type CompactorSpec struct { //+kubebuilder:default="cortex-compactor:8080" HTTPAddress string `json:"httpAddress,omitempty"` }
type CortexSpec ¶
type CortexSpec struct { Management ClusterManagementSpec `json:"management,omitempty"` Distributor DistributorSpec `json:"distributor,omitempty"` Ingester IngesterSpec `json:"ingester,omitempty"` Alertmanager AlertmanagerSpec `json:"alertmanager,omitempty"` Compactor CompactorSpec `json:"compactor,omitempty"` StoreGateway StoreGatewaySpec `json:"storeGateway,omitempty"` Ruler RulerSpec `json:"ruler,omitempty"` QueryFrontend QueryFrontendSpec `json:"queryFrontend,omitempty"` Querier QuerierSpec `json:"querier,omitempty"` Purger PurgerSpec `json:"purger,omitempty"` Certs MTLSSpec `json:"certs,omitempty"` }
type CustomResourcesStorageSpec ¶
type CustomResourcesStorageSpec struct { // Kubernetes namespace where custom resource objects will be stored. Namespace string `json:"namespace,omitempty"` }
type DiscoverySpec ¶
type DiscoverySpec struct { PrometheusRules *PrometheusRulesSpec `protobuf:"bytes,1,opt,name=prometheusRules,proto3" json:"prometheusRules,omitempty"` Filesystem *FilesystemRulesSpec `protobuf:"bytes,2,opt,name=filesystem,proto3" json:"filesystem,omitempty"` Interval string `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"` // contains filtered or unexported fields }
func (*DiscoverySpec) Descriptor
deprecated
added in
v0.6.0
func (*DiscoverySpec) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverySpec.ProtoReflect.Descriptor instead.
func (*DiscoverySpec) GetFilesystem ¶ added in v0.6.0
func (x *DiscoverySpec) GetFilesystem() *FilesystemRulesSpec
func (*DiscoverySpec) GetInterval ¶ added in v0.6.0
func (x *DiscoverySpec) GetInterval() string
func (*DiscoverySpec) GetPrometheusRules ¶ added in v0.6.0
func (x *DiscoverySpec) GetPrometheusRules() *PrometheusRulesSpec
func (*DiscoverySpec) ProtoMessage ¶ added in v0.6.0
func (*DiscoverySpec) ProtoMessage()
func (*DiscoverySpec) ProtoReflect ¶ added in v0.6.0
func (x *DiscoverySpec) ProtoReflect() protoreflect.Message
func (*DiscoverySpec) Reset ¶ added in v0.6.0
func (x *DiscoverySpec) Reset()
func (*DiscoverySpec) String ¶ added in v0.6.0
func (x *DiscoverySpec) String() string
type DistributorSpec ¶
type EtcdStorageSpec ¶
type FilesystemCacheSpec ¶ added in v0.8.0
type FilesystemCacheSpec struct {
Dir string `json:"dir,omitempty"`
}
type FilesystemRulesSpec ¶ added in v0.5.4
type FilesystemRulesSpec struct { PathExpressions []string `protobuf:"bytes,1,rep,name=pathExpressions,proto3" json:"pathExpressions,omitempty"` // contains filtered or unexported fields }
func (*FilesystemRulesSpec) Descriptor
deprecated
added in
v0.6.0
func (*FilesystemRulesSpec) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemRulesSpec.ProtoReflect.Descriptor instead.
func (*FilesystemRulesSpec) GetPathExpressions ¶ added in v0.6.0
func (x *FilesystemRulesSpec) GetPathExpressions() []string
func (*FilesystemRulesSpec) ProtoMessage ¶ added in v0.6.0
func (*FilesystemRulesSpec) ProtoMessage()
func (*FilesystemRulesSpec) ProtoReflect ¶ added in v0.6.0
func (x *FilesystemRulesSpec) ProtoReflect() protoreflect.Message
func (*FilesystemRulesSpec) Reset ¶ added in v0.6.0
func (x *FilesystemRulesSpec) Reset()
func (*FilesystemRulesSpec) String ¶ added in v0.6.0
func (x *FilesystemRulesSpec) String() string
type GatewayConfig ¶
type GatewayConfig struct { meta.TypeMeta `json:",inline"` Spec GatewayConfigSpec `json:"spec,omitempty"` }
type GatewayConfigSpec ¶
type GatewayConfigSpec struct { //+kubebuilder:default=":8080" HTTPListenAddress string `json:"httpListenAddress,omitempty"` //+kubebuilder:default=":9090" GRPCListenAddress string `json:"grpcListenAddress,omitempty"` //+kubebuilder:default=":8086" MetricsListenAddress string `json:"metricsListenAddress,omitempty"` //+kubebuilder:default="localhost" Hostname string `json:"hostname,omitempty"` Metrics MetricsSpec `json:"metrics,omitempty"` Management ManagementSpec `json:"management,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"` Alerting AlertingSpec `json:"alerting,omitempty"` Profiling ProfilingSpec `json:"profiling,omitempty"` Keyring KeyringSpec `json:"keyring,omitempty"` AgentUpgrades AgentUpgradesSpec `json:"agentUpgrades,omitempty"` RateLimit *RateLimitSpec `json:"rateLimit,omitempty"` }
func (*GatewayConfigSpec) SetDefaults ¶
func (s *GatewayConfigSpec) SetDefaults()
type ImageResolverType ¶ added in v0.11.0
type ImageResolverType string
const ( ImageResolverNoop ImageResolverType = "noop" ImageResolverKubernetes ImageResolverType = "kubernetes" )
type IngesterSpec ¶
type JetStreamStorageSpec ¶ added in v0.6.2
type KeyringSpec ¶ added in v0.8.2
type KeyringSpec struct { // Directories to search for files containing ephemeral keys. // All files in these directories will be loaded into the keyring on // startup. Keys loaded in this way will not be persisted across restarts. EphemeralKeyDirs []string `json:"ephemeralKeyDirs,omitempty"` }
type KubernetesAgentUpgradeSpec ¶ added in v0.11.0
type KubernetesAgentUpgradeSpec struct {
ImageResolver ImageResolverType `json:"imageResolver,omitempty"`
}
type KubernetesImageResolverSpec ¶ added in v0.11.0
type KubernetesImageResolverSpec struct {
ControlNamespace string `json:"controlNamespace,omitempty"`
}
type KubernetesUpgradeSpec ¶ added in v0.11.0
type MTLSSpec ¶
type MTLSSpec struct { // Path to the server CA certificate. ServerCA string `json:"serverCA,omitempty"` // Path to the client CA certificate (not needed in all cases). ClientCA string `json:"clientCA,omitempty"` // Path to the certificate used for client-cert auth. ClientCert string `json:"clientCert,omitempty"` // Path to the private key used for client-cert auth. ClientKey string `json:"clientKey,omitempty"` }
type ManagementSpec ¶
type ManagementSpec struct { //+kubebuilder:default="tcp://0.0.0.0:11090" GRPCListenAddress string `json:"grpcListenAddress,omitempty"` //+kubebuilder:default="0.0.0.0:11080" HTTPListenAddress string `json:"httpListenAddress,omitempty"` //+kubebuilder:default="0.0.0.0:12080" WebListenAddress string `json:"webListenAddress,omitempty"` WebCerts *CertsSpec `json:"webCerts,omitempty"` }
func (*ManagementSpec) DeepCopyInto ¶ added in v0.12.0
func (m *ManagementSpec) DeepCopyInto(out *ManagementSpec)
func (ManagementSpec) GetGRPCListenAddress ¶
func (m ManagementSpec) GetGRPCListenAddress() string
func (ManagementSpec) GetHTTPListenAddress ¶
func (m ManagementSpec) GetHTTPListenAddress() string
func (ManagementSpec) GetWebListenAddress ¶
func (m ManagementSpec) GetWebListenAddress() string
type MetricsSpec ¶ added in v0.5.4
type MetricsSpec struct { //+kubebuilder:default="/metrics" Path string `json:"path,omitempty"` }
func (MetricsSpec) GetPath ¶ added in v0.5.4
func (s MetricsSpec) GetPath() string
type NoopImageResolverSpec ¶ added in v0.11.0
type NoopImageResolverSpec struct{}
type PatchEngine ¶ added in v0.8.0
type PatchEngine string
const ( PatchEngineBsdiff PatchEngine = "bsdiff" PatchEngineZstd PatchEngine = "zstd" )
type PluginUpgradeSpec ¶ added in v0.11.0
type PluginUpgradeSpec struct { Type PluginUpgradeType `json:"type,omitempty"` Binary *BinaryUpgradeSpec `json:"binary,omitempty"` }
type PluginUpgradeType ¶ added in v0.11.0
type PluginUpgradeType string
const ( PluginUpgradeNoop PluginUpgradeType = "noop" PluginUpgradeBinary PluginUpgradeType = "binary" )
type PluginsSpec ¶
type PluginsSpec struct { // Directory to search for plugins Dir string `json:"dir,omitempty"` Binary BinaryPluginsSpec `json:"binary,omitempty"` }
type ProfilingSpec ¶ added in v0.6.0
type ProfilingSpec struct { //+kubebuilder:default=/debug/pprof Path string `json:"path,omitempty"` }
func (ProfilingSpec) GetPath ¶ added in v0.6.0
func (s ProfilingSpec) GetPath() string
type PrometheusRulesSpec ¶
type PrometheusRulesSpec struct { // Namespaces to search for rules in. If empty, will search all accessible // namespaces. SearchNamespaces []string `protobuf:"bytes,1,rep,name=searchNamespaces,proto3" json:"searchNamespaces,omitempty"` // Kubeconfig to use for rule discovery. If nil, will use the in-cluster // kubeconfig. Kubeconfig *string `protobuf:"bytes,2,opt,name=kubeconfig,proto3,oneof" json:"kubeconfig,omitempty"` // contains filtered or unexported fields }
func (*PrometheusRulesSpec) Descriptor
deprecated
added in
v0.6.0
func (*PrometheusRulesSpec) Descriptor() ([]byte, []int)
Deprecated: Use PrometheusRulesSpec.ProtoReflect.Descriptor instead.
func (*PrometheusRulesSpec) GetKubeconfig ¶ added in v0.6.0
func (x *PrometheusRulesSpec) GetKubeconfig() string
func (*PrometheusRulesSpec) GetSearchNamespaces ¶ added in v0.6.0
func (x *PrometheusRulesSpec) GetSearchNamespaces() []string
func (*PrometheusRulesSpec) ProtoMessage ¶ added in v0.6.0
func (*PrometheusRulesSpec) ProtoMessage()
func (*PrometheusRulesSpec) ProtoReflect ¶ added in v0.6.0
func (x *PrometheusRulesSpec) ProtoReflect() protoreflect.Message
func (*PrometheusRulesSpec) Reset ¶ added in v0.6.0
func (x *PrometheusRulesSpec) Reset()
func (*PrometheusRulesSpec) String ¶ added in v0.6.0
func (x *PrometheusRulesSpec) String() string
type PurgerSpec ¶ added in v0.6.0
type PurgerSpec struct { // +kubebuilder:default="cortex-purger:8080" HTTPAddress string `json:"httpAddress,omitempty"` }
type QuerierSpec ¶ added in v0.6.0
type QuerierSpec struct { // +kubebuilder:default="cortex-querier:8080" HTTPAddress string `json:"httpAddress,omitempty"` }
type QueryFrontendSpec ¶
type RateLimitSpec ¶ added in v0.11.0
type RulesSpec ¶
type RulesSpec struct { Discovery *DiscoverySpec `protobuf:"bytes,1,opt,name=discovery,proto3" json:"discovery,omitempty"` // contains filtered or unexported fields }
func (*RulesSpec) Descriptor
deprecated
added in
v0.6.0
func (*RulesSpec) GetDiscovery ¶ added in v0.6.0
func (x *RulesSpec) GetDiscovery() *DiscoverySpec
func (*RulesSpec) ProtoMessage ¶ added in v0.6.0
func (*RulesSpec) ProtoMessage()
func (*RulesSpec) ProtoReflect ¶ added in v0.6.0
func (x *RulesSpec) ProtoReflect() protoreflect.Message
type StorageSpec ¶
type StorageSpec struct { Type StorageType `json:"type,omitempty"` Etcd *EtcdStorageSpec `json:"etcd,omitempty"` JetStream *JetStreamStorageSpec `json:"jetstream,omitempty"` CustomResources *CustomResourcesStorageSpec `json:"customResources,omitempty"` }
type StorageType ¶
type StorageType string
const ( // Use etcd for key-value storage. This is the recommended default. StorageTypeEtcd StorageType = "etcd" // Use NATS JetStream for key-value storage. StorageTypeJetStream StorageType = "jetstream" // Use Kubernetes custom resources to store objects. This is experimental, // and it is recommended to use the etcd storage type instead for performance // reasons. StorageTypeCRDs StorageType = "customResources" )
type StoreGatewaySpec ¶ added in v0.6.0
type SupportAgentConfig ¶ added in v0.11.0
type SupportAgentConfig struct { meta.TypeMeta `json:",inline"` Spec SupportAgentConfigSpec `json:"spec,omitempty"` }
type SupportAgentConfigSpec ¶ added in v0.11.0
type SupportAgentConfigSpec struct { UserID string `json:"userID,omitempty"` GatewayAddress string `json:"gatewayAddress,omitempty"` AuthData AuthDataSpec `json:"auth,omitempty"` }
type TrustStrategyKind ¶ added in v0.4.2
type TrustStrategyKind string
const ( TrustStrategyPKP TrustStrategyKind = "pkp" TrustStrategyCACerts TrustStrategyKind = "cacerts" TrustStrategyInsecure TrustStrategyKind = "insecure" )
Click to show internal directories.
Click to hide internal directories.