netrc

package
v0.0.0-...-e99cc0b Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	client *scm.Client,
	renewer core.Renewer,
	private bool,
	username string,
	password string,
) core.NetrcService

New returns a new Netrc service.

Types

type Service

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

Service implements a netrc file generation service.

func (*Service) Create

func (s *Service) Create(ctx context.Context, user *core.User, repo *core.Repository) (*core.Netrc, error)

Create creates a netrc file for the user and repository.

Jump to

Keyboard shortcuts

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