backend

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	// contains filtered or unexported fields
}

Backend type for s3 backend module.

func (*Backend) Check

func (s *Backend) Check() (bool, error)

Check - if s3 bucket exists.

func (*Backend) Clear

func (s *Backend) Clear() error

Clear - remove tmp and cache files.

func (*Backend) Deploy

func (s *Backend) Deploy() error

Deploy - create s3 bucket.

func (*Backend) Destroy

func (s *Backend) Destroy() error

Destroy - remove s3 bucket.

func (*Backend) Path

func (s *Backend) Path() string

Path - return module path.

type Factory

type Factory struct{}

Factory create new backend module.

func (*Factory) New

func (f *Factory) New(providerConf aws.Config, clusterState *cluster.State) (provider.Activity, error)

New create new eks instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL