github

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func New

func New(authenticated bool, target config.Target) (*Adapter, error)

func NewWithClient

func NewWithClient(client *gh.Client) *Adapter

func (*Adapter) Execute

func (a *Adapter) Execute(
	ctx context.Context,
	target config.Target,
	operation provider.Operation,
	resolved map[domain.ItemID]provider.RemoteRef,
) (provider.RemoteRef, error)

func (*Adapter) ID

func (a *Adapter) ID() string

func (*Adapter) Plan

func (a *Adapter) Plan(
	_ context.Context,
	input provider.PlanInput,
	target config.Target,
) ([]provider.Operation, []string, error)

func (*Adapter) Resolve added in v0.16.4

func (a *Adapter) Resolve(
	ctx context.Context,
	target config.Target,
	_ *provider.Plan,
	pending []provider.Operation,
) (map[string]provider.RemoteRef, error)

Jump to

Keyboard shortcuts

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