faucet

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Faucet

type Faucet struct {
	runner.RunnerCommand

	Flags   FaucetFlags `pulumi:"flags"`
	Version *string     `pulumi:"version,optional"`
	KeyPair string      `pulumi:"keypair" provider:"secret"`
}

func (*Faucet) Args

func (f *Faucet) Args() []string

func (*Faucet) Install

func (f *Faucet) Install() runner.Command

type FaucetFlags

type FaucetFlags struct {
	// Optional. Allow requests from specified IPs without request limit.
	// If multiple --allow-ip flags are provided, all specified IPs are allowed.
	AllowIPs *[]string `pulumi:"allowIPs,optional"`

	// Optional. Request limit for a single request, in SOL.
	// If not specified, no limit is applied.
	PerRequestCap *int `pulumi:"perRequestCap,optional"`

	// Optional. Request limit for a given time slice, in SOL.
	// If not specified, no limit is applied.
	PerTimeCap *int `pulumi:"perTimeCap,optional"`

	// Optional. Length of the time slice in seconds.
	// If not specified, no slicing is applied.
	SliceSeconds *int `pulumi:"sliceSeconds,optional"`
}

func (*FaucetFlags) Args

func (f *FaucetFlags) Args() []string

type InstallCommand

type InstallCommand struct {
	Faucet
}

func (*InstallCommand) AddToPayload

func (cmd *InstallCommand) AddToPayload(p *runner.Payload) error

func (*InstallCommand) Check

func (cmd *InstallCommand) Check() error

func (*InstallCommand) Env

func (cmd *InstallCommand) Env() *runner.EnvBuilder

Jump to

Keyboard shortcuts

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