mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-18 12:37:05 +02:00
This allows for an arbitrary set of args to be passed to etcd. Due to the fact the we do the discovery of the current cluster state, we blacklist initial-cluster. Additionally, we black list args that would makes sense to modify, like the path to the certs. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
13 lines
405 B
Go
13 lines
405 B
Go
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
package argsbuilder
|
|
|
|
// ArgsBuilder defines the requirements to build and manage a set of args.
|
|
type ArgsBuilder interface {
|
|
Merge(Args) ArgsBuilder
|
|
Set(string, string) ArgsBuilder
|
|
Args() []string
|
|
}
|