Documentation ¶
Index ¶
- func Bootstrap(ctx context.Context) error
- func Check(ctx context.Context) error
- func Clean(ctx context.Context) error
- type Build
- type Local
- func (l Local) Create(ctx context.Context) error
- func (l Local) Deploy(ctx context.Context) error
- func (l Local) Destroy(ctx context.Context) error
- func (l Local) DestroyAll(ctx context.Context) error
- func (l Local) Push(ctx context.Context) error
- func (l Local) Setup(ctx context.Context) error
- func (l Local) Status(ctx context.Context) error
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bootstrap ¶
Bootstrap installs any required tooling/setup enabling a user to build and deploy Cape locally for development and testing.
Types ¶
type Build ¶
func (Build) Binary ¶
Binary builds the Cape binary and makes it available for a use locally or to be packaged up for a release.
Set the GOOS and GOARCH environment variables to change the target platform of the built artifact.
type Local ¶
func (Local) Create ¶
Create creates a local kubernetes cluster, builds the required docker images, and then deploys their subsequent helm packages into the cluster.
func (Local) Deploy ¶
Deploy builds and deploys cape from your local repository to the local kubernetes cluster. If a cluster is not running one will be created.
func (Local) Destroy ¶
Destroy deletes the kubernetes clusters and any managed volumes completely erasing anything related to the local deployment
func (Local) DestroyAll ¶
DestroyAll destroys everything in destroy (i.e. kind) plus the docker registry
type Test ¶
func (Test) Integration ¶
Integration runs the integration portion of the test suite (requires Postgres)