tootles

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

package tootles is the code for serving metadata (ec2 style, etc). Useful for Cloud-init integration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BackendEc2     ec2.Client
	BackendHack    hack.Client
	TrustedProxies string
	DebugMode      bool
	BindAddrPort   string
}

func NewConfig

func NewConfig(c Config, addrPort string) *Config

func (*Config) Start

func (c *Config) Start(ctx context.Context, log logr.Logger) error

Directories

Path Synopsis
internal
frontend/ec2/internal/staticroute
Package staticroute provides tools for building EC2 Instance Metadata static routes from the set of data endpoints.
Package staticroute provides tools for building EC2 Instance Metadata static routes from the set of data endpoints.
frontend/hack
Package hack contains a frontend that provides a /metadata endpoint for the rootio hub action.
Package hack contains a frontend that provides a /metadata endpoint for the rootio hub action.
xff

Jump to

Keyboard shortcuts

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