fakeintake

package
v0.81.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultRCSigningKeySeed = "0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f20"

DefaultRCSigningKeySeed is the fixed ed25519 seed shared by every fakeintake instance. It is a test-only key — never use it in production. A single well-known seed makes the TUF root JSON deterministic so it can be computed at provision time without any runtime key negotiation.

Variables

This section is empty.

Functions

func RCRootJSON added in v0.81.0

func RCRootJSON() (string, error)

RCRootJSON computes the TUF root JSON for the default fakeintake RC signing key. The result is deterministic — it can be computed at provision time so the agent config can reference it before fakeintake has started.

Types

type Fakeintake

type Fakeintake struct {
	pulumi.ResourceState
	components.Component

	Host   pulumi.StringOutput `pulumi:"host"`
	Scheme pulumi.StringOutput `pulumi:"scheme"` // Scheme is a string as it's known in code and is useful to check HTTP/HTTPS
	Port   pulumi.IntOutput    `pulumi:"port"`   // Same for Port

	URL pulumi.StringOutput `pulumi:"url"`
}

func NewLocalDockerFakeintake

func NewLocalDockerFakeintake(e config.Env, resourceName string) (*Fakeintake, error)

func (*Fakeintake) Export

func (fi *Fakeintake) Export(ctx *pulumi.Context, out *FakeintakeOutput) error

type FakeintakeOutput

type FakeintakeOutput struct {
	components.JSONImporter

	Host   string `json:"host"`
	Scheme string `json:"scheme"`
	Port   uint32 `json:"port"`
	URL    string `json:"url"`
}

Jump to

Keyboard shortcuts

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