Help us shape the future of Go! Take the 2026 Go Developer Survey

cloudextractor

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package cloudextractor extracts cloud infrastructure and CI/CD resource definitions and their relationships from YAML configuration files. Supported formats: AWS CloudFormation/SAM, Docker Compose, GitHub Actions, and Serverless Framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudExtractor

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

CloudExtractor delegates to format-specific sub-extractors.

func NewCloudExtractor

func NewCloudExtractor() *CloudExtractor

NewCloudExtractor creates a CloudExtractor with all registered sub-extractors.

func (*CloudExtractor) CanHandle

func (e *CloudExtractor) CanHandle(path string) bool

CanHandle returns true for all YAML files. Content-based filtering happens in Extract via the sub-extractors.

func (*CloudExtractor) Extract

Extract delegates to the first sub-extractor that can handle the file content. If no sub-extractor matches, it returns an empty result.

func (*CloudExtractor) Name

func (e *CloudExtractor) Name() string

Name returns the identifier for this extractor.

Jump to

Keyboard shortcuts

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