lfsauthenticate

package
v14.36.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package lfsauthenticate provides functionality for authenticating Git LFS requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Config     *config.Config
	Args       *commandargs.Shell
	ReadWriter *readwriter.ReadWriter
}

Command represents the LFS authentication command

func (*Command) Execute

func (c *Command) Execute(ctx context.Context) (context.Context, error)

Execute executes the LFS authentication command

type Payload

type Payload struct {
	Header    PayloadHeader `json:"header"`
	Href      string        `json:"href"`
	ExpiresIn int           `json:"expires_in,omitempty"`
}

Payload represents the LFS payload

type PayloadHeader

type PayloadHeader struct {
	Auth string `json:"Authorization"`
}

PayloadHeader represents the header of the LFS payload

Jump to

Keyboard shortcuts

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