sshAuthProvider

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	configuration librepo.Configuration,
	customConfig config.CustomConfiguration,
	logging librepo.Logging,
) repository.SshAuthProvider

Types

type SshAuthProviderImpl

type SshAuthProviderImpl struct {
	Configuration librepo.Configuration
	Logging       librepo.Logging

	CustomConfiguration config.CustomConfiguration
}

func (*SshAuthProviderImpl) IsSshAuthProvider

func (s *SshAuthProviderImpl) IsSshAuthProvider() bool

func (*SshAuthProviderImpl) ProvideSshAuth

func (s *SshAuthProviderImpl) ProvideSshAuth(ctx context.Context) (*ssh.PublicKeys, error)

func (*SshAuthProviderImpl) Setup

func (s *SshAuthProviderImpl) Setup() error

func (*SshAuthProviderImpl) SetupProvider added in v0.33.0

func (s *SshAuthProviderImpl) SetupProvider(ctx context.Context) error

Jump to

Keyboard shortcuts

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