infrastructure

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package infrastructure prepares the desired state of the CloudFormation templates provided within the configured infrastructure repository. Those templates are fetched from Github and uploaded to S3. See e.g. https://github.com/0xSplits/infrastructure for a reference of the remote Github repository.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Aws aws.Config
	Cac *cache.Cache
	Dry bool
	Env envvar.Env
	Git *github.Client
	Log logger.Interface
	Pol *policy.Policy
}

type Infrastructure

type Infrastructure struct {
	// contains filtered or unexported fields
}

func New

func New(c Config) *Infrastructure

func (*Infrastructure) Active added in v0.4.0

func (i *Infrastructure) Active() bool

Active determines whether this worker handler ought to be executed based on the underlying policy implementation.

func (*Infrastructure) Ensure

func (i *Infrastructure) Ensure() error

Jump to

Keyboard shortcuts

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