ociinstaller

package
v2.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MediaTypeDbDocLayer       = "application/vnd.turbot.steampipe.db.doc.layer.v1+text"
	MediaTypeDbLicenseLayer   = "application/vnd.turbot.steampipe.db.license.layer.v1+text"
	MediaTypeFdwDocLayer      = "application/vnd.turbot.steampipe.fdw.doc.layer.v1+text"
	MediaTypeFdwLicenseLayer  = "application/vnd.turbot.steampipe.fdw.license.layer.v1+text"
	MediaTypeFdwControlLayer  = "application/vnd.turbot.steampipe.fdw.control.layer.v1+text"
	MediaTypeFdwSqlLayer      = "application/vnd.turbot.steampipe.fdw.sql.layer.v1+text"
	MediaTypeAssetReportLayer = "application/vnd.turbot.steampipe.assets.report.layer.v1+tar"
)

Steampipe Media Types

View Source
const (
	ImageTypeDatabase ociinstaller.ImageType = "db"
	ImageTypeFdw      ociinstaller.ImageType = "fdw"
	ImageTypeAssets   ociinstaller.ImageType = "assets"
)

Variables

This section is empty.

Functions

func InstallDB

func InstallDB(ctx context.Context, dblocation string) (string, error)

InstallDB :: Install Postgres files fom OCI image

func InstallFdw

func InstallFdw(ctx context.Context, dbLocation string) (string, error)

InstallFdw installs the Steampipe Postgres foreign data wrapper from an OCI image

Types

type FdwImageConfig

type FdwImageConfig struct {
	ociinstaller.OciConfigBase
	Fdw struct {
		Name         string `json:"name,omitempty"`
		Organization string `json:"organization,omitempty"`
		Version      string `json:"version"`
	}
}

type SteampipeMediaTypeProvider

type SteampipeMediaTypeProvider struct{}

func (SteampipeMediaTypeProvider) ConfigMediaTypes

func (SteampipeMediaTypeProvider) ConfigMediaTypes() []string

ConfigMediaTypes :: returns media types for OCI $config data ( in the config, not a layer)

func (SteampipeMediaTypeProvider) GetAllMediaTypes

func (p SteampipeMediaTypeProvider) GetAllMediaTypes(imageType ociinstaller.ImageType) ([]string, error)

func (SteampipeMediaTypeProvider) MediaTypeForPlatform

func (SteampipeMediaTypeProvider) MediaTypeForPlatform(imageType ociinstaller.ImageType) ([]string, error)

MediaTypeForPlatform returns media types for binaries for this OS and architecture and it's fallbacks in order of priority

func (SteampipeMediaTypeProvider) SharedMediaTypes

func (SteampipeMediaTypeProvider) SharedMediaTypes(imageType ociinstaller.ImageType) []string

SharedMediaTypes returns media types that are NOT specific to the os and arch (readmes, control files, etc)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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