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
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"`
}
Click to show internal directories.
Click to hide internal directories.