2020-08-12 00:40:39 -04:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-02-02 17:15:17 -08:00
|
|
|
|
2020-03-19 15:17:40 -04:00
|
|
|
package worker
|
|
|
|
|
|
|
|
|
|
import (
|
2020-08-10 17:15:02 -04:00
|
|
|
"github.com/hashicorp/boundary/internal/cmd/base"
|
|
|
|
|
"github.com/hashicorp/boundary/internal/cmd/config"
|
2020-03-19 15:17:40 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Config struct {
|
2020-08-12 00:40:39 -04:00
|
|
|
// The base Server object, containing things shared between Controllers and
|
|
|
|
|
// Workers
|
2020-03-19 15:17:40 -04:00
|
|
|
*base.Server
|
2020-08-12 00:40:39 -04:00
|
|
|
// The underlying configuration, passed in here to avoid duplicating values
|
2021-08-18 15:30:55 +02:00
|
|
|
// everywhere
|
2020-07-14 14:32:47 -07:00
|
|
|
RawConfig *config.Config
|
2020-03-19 15:17:40 -04:00
|
|
|
}
|