Files
threshold/internal/daemon/controller/config.go
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
955 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
2023-02-02 17:15:17 -08:00
2020-02-12 13:53:27 -05:00
package controller
import (
"time"
2020-08-10 17:15:02 -04:00
"github.com/hashicorp/boundary/internal/cmd/base"
"github.com/hashicorp/boundary/internal/cmd/config"
2020-02-12 13:53:27 -05:00
)
type Config struct {
// The base Server object, containing things shared between Controllers and
// Workers
2020-03-10 15:48:04 -04:00
*base.Server
// The underlying configuration, passed in here to avoid duplicating values
// everywhere
RawConfig *config.Config
// If set, authorization checking occurrs but failures are ignored
DisableAuthorizationFailures bool
// Override worker auth CA certificate lifetime for testing
TestOverrideWorkerAuthCaCertificateLifetime time.Duration
// Reinitialize the roots at startup
TestWorkerAuthCaReinitialize bool
// This is derived from the config.Config. It tracks the state of the
// rate limiter's configuration, and is updated if the config changes via a
// SIGHUP.
rateLimiterConfig *rateLimiterConfig
2020-02-12 13:53:27 -05:00
}