Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Describe ¶
type Describe struct {
Detail bool `yaml:"detail" json:"detail" mapstructure:"detail"`
}
type ExtractCertificates ¶
type ExtractCertificates struct {
Leaf bool `yaml:"leaf" json:"leaf" mapstructure:"leaf"`
}
func (*ExtractCertificates) AddFlags ¶
func (o *ExtractCertificates) AddFlags(flags fangs.FlagSet)
type Format ¶
type Notary ¶
type Notary struct {
// bound options
Issuer string `yaml:"issuer" json:"issuer" mapstructure:"issuer"`
PrivateKeyID string `yaml:"key-id" json:"key-id" mapstructure:"key-id"`
PrivateKey string `yaml:"key" json:"key" mapstructure:"key"` //nolint:gosec // G117 false positive: not a hardcoded secret
}
type P12 ¶
type P12 struct {
Password string `yaml:"password" json:"password" mapstructure:"password"` //nolint:gosec // G117 false positive: not a hardcoded secret
}
func (*P12) DescribeFields ¶ added in v0.4.1
func (o *P12) DescribeFields(d fangs.FieldDescriptionSet)
type Signing ¶
type Signing struct {
// bound options
Identity string `yaml:"identity" json:"identity" mapstructure:"identity"`
P12 string `yaml:"p12" json:"p12" mapstructure:"p12"`
TimestampServer string `yaml:"timestamp-server" json:"timestamp-server" mapstructure:"timestamp-server"`
AdHoc bool `yaml:"ad-hoc" json:"ad-hoc" mapstructure:"ad-hoc"`
FailWithoutFullChain bool `yaml:"fail-without-full-chain" json:"fail-without-full-chain" mapstructure:"fail-without-full-chain"`
// unbound options
Password string `yaml:"password" json:"password" mapstructure:"password"` //nolint:gosec // G117 false positive: not a hardcoded secret
Entitlements string `yaml:"entitlements" json:"entitlements" mapstructure:"entitlements"`
}
func DefaultSigning ¶
func DefaultSigning() Signing
func (*Signing) DescribeFields ¶ added in v0.4.1
func (o *Signing) DescribeFields(d fangs.FieldDescriptionSet)
type Status ¶
type Status struct {
// bound options
Wait bool `yaml:"wait" json:"wait" mapstructure:"wait"`
// unbound options
PollSeconds int `yaml:"poll-seconds" json:"poll-seconds" mapstructure:"poll-seconds"`
TimeoutSeconds int `yaml:"timeout-seconds" json:"timeout-seconds" mapstructure:"timeout-seconds"`
}
func DefaultStatus ¶
func DefaultStatus() Status
func (*Status) DescribeFields ¶ added in v0.4.1
func (o *Status) DescribeFields(d fangs.FieldDescriptionSet)
Click to show internal directories.
Click to hide internal directories.