aws

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Tool)

Option represents an option for configuring the tool

func WithConfig

func WithConfig(cfg aws.Config) Option

WithConfig sets the AWS config for the tool

type Tool

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

Tool implements an AWS provider tool

func New

func New(options ...Option) (*Tool, error)

New creates a new AWS provider tool

func (*Tool) Description

func (t *Tool) Description() string

Description returns a description of what the tool does

func (*Tool) Name

func (t *Tool) Name() string

Name returns the name of the tool

func (*Tool) Parameters

func (t *Tool) Parameters() map[string]interfaces.ParameterSpec

Parameters returns the parameters that the tool accepts

func (*Tool) Run

func (t *Tool) Run(ctx context.Context, input string) (string, error)

Run executes the tool with the given input

Jump to

Keyboard shortcuts

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