repocli

package
v0.0.0-...-1efc86c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is the main entry point of the cluster command.

func New

func New() *cobra.Command

Types

type BasicAuth

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

BasicAuth structure holds our credentials

func (*BasicAuth) Authorize

func (b *BasicAuth) Authorize(c *http.Client, rq *http.Request, path string) error

Authorize the current request

func (*BasicAuth) Clone

func (b *BasicAuth) Clone() dav.Authenticator

Clone creates a Copy of itself

func (*BasicAuth) Close

func (b *BasicAuth) Close() error

Close cleans up all resources

func (*BasicAuth) String

func (b *BasicAuth) String() string

String toString

func (*BasicAuth) Verify

func (b *BasicAuth) Verify(c *http.Client, rs *http.Response, path string) (redo bool, err error)

Verify verifies if the authentication

type Op

type Op int

Op is the operation options

const (
	// Put
	Put Op = iota
	// Get
	Get
	// Move/Rename
	Move
	// Remove
	Remove
	// Copy
	Copy
)

Jump to

Keyboard shortcuts

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