Help us shape the future of Go! Take the 2026 Go Developer Survey

agentcontrol

package
v0.2.50 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Options

type Options struct {
	Available bool   `json:"available"`
	Reason    string `json:"reason,omitempty"`
}

type Service

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

func New

func New(db *store.Store, identity *auth.Service, connections *connections.Service, runners *runner.Service, private *privateconnector.Connector, policies *policy.Service, enabled bool) *Service

func (*Service) Action

func (s *Service) Action(ctx context.Context, session auth.Session, org, id string, action agent.NativeAction) (agent.NativeState, error)

func (*Service) Create

func (s *Service) Create(ctx context.Context, session auth.Session, org, provider, name string) (connections.Connection, error)

func (*Service) Options

func (s *Service) Options(ctx context.Context, session auth.Session, org string) (Options, error)

func (*Service) UseDefault

func (s *Service) UseDefault(ctx context.Context, session auth.Session, org, id string) error

Jump to

Keyboard shortcuts

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