Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigFragment ¶ added in v0.12.0
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 ¶ added in v0.12.0
func (c *ConfigFragment) AddFlags(fs *pflag.FlagSet)
func (*ConfigFragment) Evaluate ¶ added in v0.12.0
func (c *ConfigFragment) Evaluate(ctx ocm.Context, keys signing.KeyRegistry) (*EvaluatedOptions, error)
func (*ConfigFragment) HandleKeys ¶ added in v0.12.0
func (c *ConfigFragment) HandleKeys(ctx datacontext.Context, desc string, keys []string, add func(string, interface{})) error
type EvaluatedOptions ¶ added in v0.12.0
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.