2020-02-12 13:53:27 -05:00
|
|
|
package controller
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/hashicorp/watchtower/internal/cmd/base"
|
2020-03-20 12:51:39 -04:00
|
|
|
"github.com/hashicorp/watchtower/internal/cmd/config"
|
2020-02-12 13:53:27 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Config struct {
|
2020-07-14 14:32:47 -07:00
|
|
|
// The base Server object, containing things shared between Controllers and
|
|
|
|
|
// Workers
|
2020-03-10 15:48:04 -04:00
|
|
|
*base.Server
|
2020-07-14 14:32:47 -07:00
|
|
|
// 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
|
2020-02-12 13:53:27 -05:00
|
|
|
}
|