Documentation ¶
Index ¶
- Constants
- func InstallAssets(ctx context.Context, assetsLocation string) error
- func InstallDB(ctx context.Context, dblocation string) (string, error)
- func InstallFdw(ctx context.Context, dbLocation string) (string, error)
- type FdwImageConfig
- type SteampipeMediaTypeProvider
- func (SteampipeMediaTypeProvider) ConfigMediaTypes() []string
- func (p SteampipeMediaTypeProvider) GetAllMediaTypes(imageType ociinstaller.ImageType) ([]string, error)
- func (SteampipeMediaTypeProvider) MediaTypeForPlatform(imageType ociinstaller.ImageType) ([]string, error)
- func (SteampipeMediaTypeProvider) SharedMediaTypes(imageType ociinstaller.ImageType) []string
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 InstallAssets ¶
InstallAssets installs the Steampipe report server assets
Types ¶
type FdwImageConfig ¶ added in v1.0.0
type FdwImageConfig struct { ociinstaller.OciConfigBase Fdw struct { Name string `json:"name,omitempty"` Organization string `json:"organization,omitempty"` Version string `json:"version"` } }
type SteampipeMediaTypeProvider ¶ added in v1.0.0
type SteampipeMediaTypeProvider struct{}
func (SteampipeMediaTypeProvider) ConfigMediaTypes ¶ added in v1.0.0
func (SteampipeMediaTypeProvider) ConfigMediaTypes() []string
ConfigMediaTypes :: returns media types for OCI $config data ( in the config, not a layer)
func (SteampipeMediaTypeProvider) GetAllMediaTypes ¶ added in v1.0.0
func (p SteampipeMediaTypeProvider) GetAllMediaTypes(imageType ociinstaller.ImageType) ([]string, error)
func (SteampipeMediaTypeProvider) MediaTypeForPlatform ¶ added in v1.0.0
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 ¶ added in v1.0.0
func (SteampipeMediaTypeProvider) SharedMediaTypes(imageType ociinstaller.ImageType) []string
SharedMediaTypes returns media types that are NOT specific to the os and arch (readmes, control files, etc)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.