Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigFragment ¶
type ConfigFragment struct { DefaultName string `json:"defaultName,omitempty"` PublicKeys []string `json:"publicKeys,omitempty"` PrivateKeys []string `json:"privateKeys,omitempty"` Issuers []string `json:"issuers,omitempty"` RootCAs []string `json:"rootCAs,omitempty"` }
func (*ConfigFragment) AddFlags ¶
func (c *ConfigFragment) AddFlags(fs *pflag.FlagSet)
func (*ConfigFragment) Evaluate ¶
func (c *ConfigFragment) Evaluate(ctx ocm.Context, keys signing.KeyRegistry) (*EvaluatedOptions, error)
func (*ConfigFragment) HandleKeys ¶
func (c *ConfigFragment) HandleKeys(ctx datacontext.Context, desc string, keys []string, add func(string, interface{})) error
type EvaluatedOptions ¶
type EvaluatedOptions struct { RootCerts signutils.GenericCertificatePool Keys signing.KeyRegistry }
type Option ¶
type Option struct { ConfigFragment *EvaluatedOptions }
func From ¶
func From(o options.OptionSetProvider) *Option
func (*Option) ApplySigningOption ¶
Click to show internal directories.
Click to hide internal directories.