Documentation
¶
Overview ¶
Package packagesigningimpl implements the inventory signing component, to collect package signing keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Payload ¶
type Payload struct {
Hostname string `json:"hostname"`
Timestamp int64 `json:"timestamp"`
Metadata *signingMetadata `json:"signing_metadata"`
UUID string `json:"uuid"`
}
Payload handles the JSON unmarshalling of the metadata payload
func (*Payload) MarshalJSON ¶
MarshalJSON serialization a Payload to JSON
type Provides ¶
type Provides struct {
Comp packagesigning.Component
Provider runnerdef.Provider
FlareProvider flaretypes.Provider
Endpoint api.AgentEndpointProvider
}
Provides defines the output of the packagesigning component
func NewComponent ¶
NewComponent creates a new packagesigning component
type Requires ¶
type Requires struct {
Log log.Component
Config config.Component
Serializer serializer.MetricSerializer
Hostname hostnameinterface.Component
}
Requires defines the dependencies for the packagesigning component
Click to show internal directories.
Click to hide internal directories.