basic

package
v0.3.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package basic defines the logic to authenticate against an OCI registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoLogin

func DoLogin(ctx context.Context, reg string, cred *auth.Credential) error

DoLogin checks if passed credentials are correct and stores them.

func NewBasicCmd

func NewBasicCmd(ctx context.Context, opt *options.CommonOptions) *cobra.Command

NewBasicCmd returns the basic command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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