Documentation ¶
Overview ¶
Package manifests provides support for syncing Talos bootstrap manifests.
Index ¶
- func Sync(ctx context.Context, objects []Manifest, config *rest.Config, dryRun bool, ...) error
- func SyncWithLog(ctx context.Context, objects []Manifest, config *rest.Config, dryRun bool, ...) error
- func WaitForRollout(ctx context.Context, config *rest.Config, objects []Manifest, ...) error
- type Manifest
- type RolloutProgress
- type SyncResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sync ¶
func Sync(ctx context.Context, objects []Manifest, config *rest.Config, dryRun bool, resultCh chan<- SyncResult) error
Sync applies the manifests to the cluster providing the results.
func SyncWithLog ¶ added in v0.1.1
func SyncWithLog(ctx context.Context, objects []Manifest, config *rest.Config, dryRun bool, logFunc func(string, ...any)) error
SyncWithLog applies the manifests to the cluster logging the results via logFunc.
func WaitForRollout ¶ added in v0.1.1
func WaitForRollout(ctx context.Context, config *rest.Config, objects []Manifest, resultCh chan<- RolloutProgress) error
WaitForRollout waits for the manifest rollout to be complete.
Types ¶
type RolloutProgress ¶ added in v0.1.1
RolloutProgress indicates the current manifest rollout progress.
Click to show internal directories.
Click to hide internal directories.