sherlock

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSherlockStateWriter added in v0.0.63

func NewSherlockStateWriter(state terra.State, writer terra.StateWriter) *stateWriter

func NewStateLoader

func NewStateLoader(thelmaHome string, shellRunner shell.Runner, sherlock StateReadWriter) terra.StateLoader

Types

type StateLoader added in v0.0.64

type StateLoader interface {
	Environments() (sherlock.Environments, error)
	Clusters() (sherlock.Clusters, error)
	ClusterReleases(clusterName string) (sherlock.Releases, error)
	EnvironmentReleases(environmentName string) (sherlock.Releases, error)
}

type StateReadWriter added in v0.0.64

type StateReadWriter interface {
	StateLoader
	terra.StateWriter
}

StateReadWriter is an interface representing the ability to both read and create/update thelma's internal state using a sherlock client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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