upload

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GitHubAttestationsEndpoint = `repos/%s/%s/attestations`

Functions

This section is empty.

Types

type Client

type Client struct {
	GitHubAPIHostname string
}

func NewClient

func NewClient() *Client

func (*Client) PushBundleFileToGithub

func (c *Client) PushBundleFileToGithub(org, repo, path string) error

PushFileToGithub posts an attestation to the GitHub store from a bundle file.

func (*Client) PushBundleToGithub

func (c *Client) PushBundleToGithub(org, repo string, data []byte) error

PushFileToGithub posts an attestation to the GitHub store from a bundle file.

Jump to

Keyboard shortcuts

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