cache

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.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 Repository

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

func NewRepository

func NewRepository() *Repository

func (*Repository) Get

func (r *Repository) Get(ctx context.Context, key string) (github.Store, bool)

func (*Repository) Key

func (r *Repository) Key(owner, name, reference, sharedName, sharedRef string) string

func (*Repository) Set

func (r *Repository) Set(ctx context.Context, key string, value github.Store)

type Tag

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

func NewTag

func NewTag() *Tag

func (*Tag) Get

func (t *Tag) Get(ctx context.Context, key string) (string, bool)

func (*Tag) Key

func (t *Tag) Key(owner, name, tag string) string

func (*Tag) Set

func (t *Tag) Set(ctx context.Context, key, value string)

Jump to

Keyboard shortcuts

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