package
0.0.0-20191021005727-793517accc64
Repository: https://github.com/automationbroker/bundle-lib.git
Documentation: pkg.go.dev

# Packages

Package mocks - Code generated by mockery v1.0.0.

# Functions

IsErrorCustomMsg - true if it's a custom message error.
NewRuntime - Initialize provider variable extCreds - You can pass an ExtractedCredential conforming object this will be used to do CRUD operations.

# Constants

BundleContainerName - name of the container in the pod defintion Used for the default runtime.
GatherCredentialsCommand - Command used when execing for bind credentials moving this constant here because eventually Extracting creds will need to be moved to runtime.

# Variables

ErrCredentialsNotFound - Credentials not found.
ErrorActionNotFound - Error indicating pod does not have the action.
ErrorPodPullErr - Error indicating we could not pull the image.
Provider - Variable for accessing provider functions.

# Structs

Configuration - The configuration for the runtime.
ErrorCustomMsg - An error to propagate the custom error message to the callers.
ExecutionContext - Contains the information necessary to track and clean up an APB run.
MockRuntime is an autogenerated mock type for the MockRuntime type.
ProxyConfig - Contains a desired proxy configuration for the broker and the assets that it spawns.

# Interfaces

ExtractedCredential - Interface to define CRUD operations for how to manage extracted credentials.
Runtime - Abstraction for broker actions.
StateManager defines an interface for managing state created by service bundles.

# Type aliases

CopySecretsToNamespaceFunc - copy secrets to namespace.
PostSandboxCreate - The post sand box creation function will be called after the sandbox is created for the APB.
PostSandboxDestroy - The post sand box destroy function will be called after the sandbox is destroyed.
PreSandboxCreate - The pre sand box creation function will be called before the sandbox is created for the bundle.
PreSandboxDestroy - The pre sand box destroy function will be called before the sandbox is destroyed.
RunBundleFunc - method that defines how to run a bundle.
UpdateDescriptionFn function that will should handle the LastDescription from the bundle.
WatchRunningBundleFunc - watches the pod until completion and will update the last description using the UpdateDescriptionFunction.