notary

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client .

func (Client) GetDockerNotaryRepo

func (c Client) GetDockerNotaryRepo(server, image string, credential credential.Credential) (notaryclient.Repository, error)

func (Client) GetNotaryRepo

func (c Client) GetNotaryRepo(server, image, notaryToken string) (notaryclient.Repository, error)

GetNotaryRepo .

type Interface

type Interface interface {
	GetNotaryRepo(server, image, notaryToken string) (notaryclient.Repository, error)
	GetDockerNotaryRepo(server, image string, credential credential.Credential) (notaryclient.Repository, error)
}

Interface .

func NewClient

func NewClient(trustDir string, customCA []byte) (Interface, error)

NewClient creates and initializes the client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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