Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDKeyDigests ¶
type IDKeyDigests [][]byte
IDKeyDigests is a list of trusted digest values for the ID key.
func DefaultsFor ¶
func DefaultsFor(csp cloudprovider.Provider) IDKeyDigests
DefaultsFor returns the default IDKeyDigests for the given cloud provider.
func NewIDKeyDigests ¶
func NewIDKeyDigests(digests [][]byte) IDKeyDigests
NewIDKeyDigests creates a new IDKeyDigests from a list of digests.
func (IDKeyDigests) MarshalJSON ¶
func (d IDKeyDigests) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface.
func (IDKeyDigests) MarshalYAML ¶
func (d IDKeyDigests) MarshalYAML() (any, error)
MarshalYAML implements the yaml.Marshaler interface.
func (*IDKeyDigests) UnmarshalJSON ¶
func (d *IDKeyDigests) UnmarshalJSON(b []byte) error
UnmarshalJSON implements the json.Unmarshaler interface.
func (*IDKeyDigests) UnmarshalYAML ¶
func (d *IDKeyDigests) UnmarshalYAML(unmarshal func(any) error) error
UnmarshalYAML implements the yaml.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.