ghcr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Instance = &Ghcr{}

Functions

func Login

func Login(ctx context.Context) error

Login will log into GHCR using password inside GHCR_PAT

Types

type Ghcr

type Ghcr struct {
	Env env.Env
}

func (*Ghcr) ContainerRegistry

func (e *Ghcr) ContainerRegistry() string

func (*Ghcr) Login

func (e *Ghcr) Login(ctx context.Context) error

func (*Ghcr) Password

func (e *Ghcr) Password() string

func (*Ghcr) Username

func (e *Ghcr) Username() string

Jump to

Keyboard shortcuts

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