auth

package
v0.0.0-...-c0efe8a Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

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

func (*Entry) GetPath

func (e *Entry) GetPath() string

func (*Entry) SetPath

func (e *Entry) SetPath(path string)

func (*Entry) Version

func (e *Entry) Version() string

type File

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

func (*File) Data

func (f *File) Data() []byte

func (*File) Name

func (f *File) Name() string

type Store

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

func NewStore

func NewStore() *Store

func (*Store) Deregister

func (s *Store) Deregister(ctx context.Context, uid types.UID)

func (*Store) Entry

func (s *Store) Entry(version string) store.AuthEntry

func (*Store) File

func (s *Store) File(name string, data []byte) store.AuthFile

func (*Store) Lookup

func (s *Store) Lookup(uid types.UID) (auth store.AuthEntry, found bool)

func (*Store) Register

func (s *Store) Register(ctx context.Context, uid types.UID, entry store.AuthEntry, files []store.AuthFile) error

Jump to

Keyboard shortcuts

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