Documentation ¶
Overview ¶
Package fake is a fake implementation of the Client interface for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Claims ¶
type Claims struct { jwt.RegisteredClaims ContainerImageSignatures []ContainerImageSignatureClaims `json:"container_image_signatures"` MachineStateMarshaled string }
Claims contains information to be formatted into a fake JWT.
type ContainerImageSignatureClaims ¶
type ContainerImageSignatureClaims struct { Payload string `json:"payload"` Signature string `json:"signature"` PubKey string `json:"public_key"` SigAlg string `json:"signature_algorithm"` }
ContainerImageSignatureClaims contains claims about a container image signature.
Click to show internal directories.
Click to hide internal directories.