taskverifier

package
v0.0.0-...-536e71e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeysManager

type KeysManager interface {
	Start(ctx context.Context)
	GetKey(keyId string) types.DecodedKey
	WaitForReady()
}

func NewKeyManager

func NewKeyManager(rcClient RcClient) KeysManager

type RcClient

type RcClient interface {
	Subscribe(product data.Product, fn func(update map[string]state.RawConfig, applyStateCallback func(string, state.ApplyStatus)))
}

type TaskVerifier

type TaskVerifier struct {
	// contains filtered or unexported fields
}

func NewTaskVerifier

func NewTaskVerifier(keysManager KeysManager, config *config.Config) *TaskVerifier

func (*TaskVerifier) UnwrapTaskFromSignedEnvelope

func (t *TaskVerifier) UnwrapTaskFromSignedEnvelope(envelope *privateactionspb.RemoteConfigSignatureEnvelope) (*types.Task, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL