cloudtrail

package
v0.0.1-alpha.13 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package cloudtrail provides a metadata-only AWS CloudTrail emulator.

Implemented operations (JSON 1.1):

  • CreateTrail
  • DescribeTrails
  • UpdateTrail
  • DeleteTrail
  • ListTrails
  • GetTrailStatus
  • StartLogging
  • StopLogging
  • LookupEvents (inert: always returns empty Events)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler holds CloudTrail handler dependencies.

type Service

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

func New

func New(cfg *config.Config, st state.Store, logger *zap.Logger, clk any) *Service

func (*Service) Dispatch

func (s *Service) Dispatch(w http.ResponseWriter, r *http.Request)

func (*Service) Name

func (s *Service) Name() string

func (*Service) Operations

func (s *Service) Operations() []op.Operation

func (*Service) RegisterRoutes

func (s *Service) RegisterRoutes(r chi.Router)

func (*Service) SupportedProtocols

func (s *Service) SupportedProtocols() []codec.Codec

func (*Service) TargetPrefix

func (s *Service) TargetPrefix() string

Jump to

Keyboard shortcuts

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