subnet

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const TTL = 5 * time.Minute

Variables

This section is empty.

Functions

func Pretty added in v0.24.0

func Pretty(subnets []*ec2.Subnet) []string

Types

type Provider

type Provider struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(ec2api ec2iface.EC2API) *Provider

func (*Provider) List

func (p *Provider) List(ctx context.Context, nodeTemplate *v1alpha1.AWSNodeTemplate) ([]*ec2.Subnet, error)

func (*Provider) LivenessProbe

func (p *Provider) LivenessProbe(req *http.Request) error

func (*Provider) Reset

func (p *Provider) Reset()

Jump to

Keyboard shortcuts

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