Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Logger bard.Logger KeyProviders []KeyProvider }
func (Build) Build ¶
func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)
type Decrypt ¶
type Decrypt struct { ApplicationPath string LayerContributor libpak.HelperLayerContributor Logger bard.Logger }
func NewDecrypt ¶
type Detect ¶
type Detect struct {
KeyProviders []KeyProvider
}
func (Detect) Detect ¶
func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)
type Encrypt ¶
type EnvironmentVariableKeyProvider ¶
func (EnvironmentVariableKeyProvider) Detect ¶
func (EnvironmentVariableKeyProvider) Detect(context libcnb.DetectContext, result *libcnb.DetectResult) error
func (EnvironmentVariableKeyProvider) Key ¶
func (e EnvironmentVariableKeyProvider) Key(context libcnb.BuildContext) ([]byte, error)
func (EnvironmentVariableKeyProvider) Participate ¶
func (e EnvironmentVariableKeyProvider) Participate(resolver libpak.PlanEntryResolver) (bool, error)
type KeyProvider ¶
type KeyProvider interface { Detect(context libcnb.DetectContext, result *libcnb.DetectResult) error Key(context libcnb.BuildContext) ([]byte, error) Participate(resolver libpak.PlanEntryResolver) (bool, error) }
Click to show internal directories.
Click to hide internal directories.