idkeydigest

package
v2.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL