config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config provides configuration resolution for agent-code-review.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient(ctx context.Context) (*review.Client, error)

CreateClient creates a review client using available authentication. It tries GitHub App authentication first, then falls back to token authentication.

Types

type RepoConfig

type RepoConfig struct {
	Owner string
	Repo  string
}

RepoConfig holds repository identification.

func ResolveRepo

func ResolveRepo(owner, repo string) (*RepoConfig, error)

ResolveRepo resolves owner and repo from explicit values or environment variables. Explicit values take precedence over environment variables.

Jump to

Keyboard shortcuts

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