verify

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

* Copyright (c) 2019 vChain, Inc. All Rights Reserved. * This software is released under GPL3. * The full license information can be found under: * https://www.gnu.org/licenses/gpl-3.0.en.html *

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Artifact

func Artifact(hash string, verification *api.BlockchainVerification) (*api.ArtifactResponse, error)

Artifact gets and returns the api.ArtifactResponse from platform API, if any

func ContainerStatus

func ContainerStatus(status corev1.ContainerStatus, options ...Option) (hash string, verification *api.BlockchainVerification, err error)

ContainerStatus returns the hast string and the BlockchainVerification for the given status

func ImageID

func ImageID(imageID string, options ...Option) (hash string, verification *api.BlockchainVerification, err error)

ImageID returns the hast string and the BlockchainVerification for the given imageID

Types

type Option

type Option func(*options) error

Option is a functional option for verification operations

func WithAuthKeychain

func WithAuthKeychain(keychain authn.Keychain) Option

func WithSignerKeys

func WithSignerKeys(keys ...string) Option

func WithSignerOrg

func WithSignerOrg(org string) Option

Jump to

Keyboard shortcuts

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