Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
gen
|
|
mage
|
|
cnab/config-adapter
Package configadapter converts a Porter manifest (porter.yaml) to a CNAB bundle.json
|
Package configadapter converts a Porter manifest (porter.yaml) to a CNAB bundle.json |
cnab/extensions/dependencies/v2
Package v2 defines the v2 Porter Dependency specification, org.getporter.dependencies@v2.
|
Package v2 defines the v2 Porter Dependency specification, org.getporter.dependencies@v2. |
encoding
encoding package handles marshal and unmarshaling documents into various formats, such as json, bson, yaml, etc.
|
encoding package handles marshal and unmarshaling documents into various formats, such as json, bson, yaml, etc. |
experimental
Package experimental defines flags that control experimental features
|
Package experimental defines flags that control experimental features |
pkgmgmt
Package pkgmgmt implements the backing package management used by mixins and plugins.
|
Package pkgmgmt implements the backing package management used by mixins and plugins. |
pkgmgmt/client
Package client provides a package management client for Porter's mixins and plugins.
|
Package client provides a package management client for Porter's mixins and plugins. |
pkgmgmt/feed
Package feed helps work with a Porter package feed (mixin or plugin).
|
Package feed helps work with a Porter package feed (mixin or plugin). |
plugins/pluggable
Package pluggable manages configuring and connecting to Porter's plugins.
|
Package pluggable manages configuring and connecting to Porter's plugins. |
portercontext
Package portercontext contains our common application Context structure that we should use to interact with stdin/stdout/stederr, running commands, and interacting with the file system.
|
Package portercontext contains our common application Context structure that we should use to interact with stdin/stdout/stederr, running commands, and interacting with the file system. |
secrets
Package secrets provides primitives for resolving secrets from external sources, such as Hashicorp Vault or Azure Key Vault, into Credential Sets and injecting them into bundle runtimes.
|
Package secrets provides primitives for resolving secrets from external sources, such as Hashicorp Vault or Azure Key Vault, into Credential Sets and injecting them into bundle runtimes. |
secrets/plugins/filesystem
Package filesystem provides a plugin implementing the secret plugin protocol for creating/resolving secrets from the local filesystem.
|
Package filesystem provides a plugin implementing the secret plugin protocol for creating/resolving secrets from the local filesystem. |
secrets/plugins/host
Package host provides a plugin implementing the original behavior of resolving secrets from the local host: environment variables, paths, commands and static values.
|
Package host provides a plugin implementing the original behavior of resolving secrets from the local host: environment variables, paths, commands and static values. |
secrets/plugins/in-memory
Package inmemory provides an in-memory implementation of a secret store suitable for unit testing.
|
Package inmemory provides an in-memory implementation of a secret store suitable for unit testing. |
secrets/plugins/proto
Package proto is the protobuf definition for the SecretsProtocol
|
Package proto is the protobuf definition for the SecretsProtocol |
secrets/pluginstore
Package pluginstore is an internal Porter package that implements the plugins.SecretsPlugin interface.
|
Package pluginstore is an internal Porter package that implements the plugins.SecretsPlugin interface. |
signing/plugins/cosign
Package mock provides an in-memory implementation of a secret store suitable for unit testing.
|
Package mock provides an in-memory implementation of a secret store suitable for unit testing. |
signing/plugins/mock
Package mock provides an in-memory implementation of a secret store suitable for unit testing.
|
Package mock provides an in-memory implementation of a secret store suitable for unit testing. |
signing/plugins/notation
Package notation provides an implementation of a signing plugin using the users's local notation installation
|
Package notation provides an implementation of a signing plugin using the users's local notation installation |
signing/plugins/proto
Package proto is the protobuf definition for the SigningProtocol
|
Package proto is the protobuf definition for the SigningProtocol |
signing/pluginstore
Package pluginstore is an internal Porter package that implements the plugins.SigningPlugin interface.
|
Package pluginstore is an internal Porter package that implements the plugins.SigningPlugin interface. |
storage
See an example of implementation: pkg/storage/plugins/mongodb package
|
See an example of implementation: pkg/storage/plugins/mongodb package |
storage/migrations
migrations package handles migrating Porter's stored documents when necessary.
|
migrations package handles migrating Porter's stored documents when necessary. |
storage/migrations/crudstore
Package crudstore supports reading data out of a legacy porter storage plugin
|
Package crudstore supports reading data out of a legacy porter storage plugin |
storage/migrations/testhelpers
Package testhelpers contains helper functions for testing the pkg/storage/migrations package.
|
Package testhelpers contains helper functions for testing the pkg/storage/migrations package. |
storage/plugins
plugin package contains interfaces for storage plugins.
|
plugin package contains interfaces for storage plugins. |
storage/plugins/mongodb_docker
Package mongodb_docker implements the plugins.StorageProtocol interface, storing data using an instance of mongodb running in a container, with the data stored in a docker volume.
|
Package mongodb_docker implements the plugins.StorageProtocol interface, storing data using an instance of mongodb running in a container, with the data stored in a docker volume. |
storage/plugins/proto
Package proto is the protobuf definition for the StorageProtocol
|
Package proto is the protobuf definition for the StorageProtocol |
storage/pluginstore
Package pluginstore is an internal Porter package that implements the plugins.StorageProtocol interface via the hashicorp/go-plugins library.
|
Package pluginstore is an internal Porter package that implements the plugins.StorageProtocol interface via the hashicorp/go-plugins library. |
test
Test contains common test helpers used across packages in porter.
|
Test contains common test helpers used across packages in porter. |
workshop
|
|
Click to show internal directories.
Click to hide internal directories.