gitsources

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*up.Config
}

Client is a gitsources client.

func NewClient

func NewClient(cfg *up.Config) *Client

NewClient builds a configurations client from the given config.

func (*Client) Login

func (c *Client) Login(ctx context.Context, port int) (LoginResponse, error)

Login does a gitsources login.

type LoginResponse

type LoginResponse struct {
	RedirectURL *url.URL
	StatusCode  int
}

LoginResponse represents the information we get when we do a gitsources login.

Jump to

Keyboard shortcuts

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