gcp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuersStorage

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

IssuersStorage is a key value store backed by GCS on GCP to store issuer chains.

func NewIssuerStorage

func NewIssuerStorage(ctx context.Context, bucket string, gcsClient *gcs.Client) (*IssuersStorage, error)

NewIssuerStorage creates a new GCSStorage.

The specified bucket must exist or an error will be returned.

func (*IssuersStorage) AddIssuersIfNotExist

func (s *IssuersStorage) AddIssuersIfNotExist(ctx context.Context, kv []storage.KV) error

AddIssuers stores Issuers values under their Key if there isn't an object under Key already.

Jump to

Keyboard shortcuts

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