Documentation ¶
Overview ¶
Package helm contains the Helm / Tiller mode implementations and config. See https://github.com/kubernetes/helm for more information on Helm and Tiller
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComponents ¶
func GetComponents( ctx context.Context, httpCl *http.Client, cmNamespacer v1.ConfigMapsGetter, ) (*grpc.ClientConn, mode.Cataloger, *mode.Lifecycler, error)
GetComponents returns tiller-backed implementations of the Cataloger and Lifecycler interfaces. Also returns the underlying gRPC connection used for Tiller communications. Callers should close this connection when done communicating with tiller
Types ¶
type ProvisionBehavior ¶
type ProvisionBehavior string
ProvisionBehavior is the indication for what steward should do in helm mode when a provision comes in. It implements fmt.Stringer
const ( // ProvisionBehaviorNoop indicates that steward should 'helm install' a new instance of the chart on startup, and that provision and deprovisoin should do nothing ProvisionBehaviorNoop ProvisionBehavior = "noop" // ProvisionBehaviorActive indicates that steward should 'helm install' a new instance of the chart on every provision operation (and helm uninstall on each deprovision operation) ProvisionBehaviorActive ProvisionBehavior = "active" )
func (ProvisionBehavior) String ¶
func (p ProvisionBehavior) String() string
type ReleaseCreator ¶
ReleaseCreator is the interface for creating a helm release. It's intended for use in function params for easy mocking
type ReleaseCreatorDeleter ¶
type ReleaseCreatorDeleter interface { ReleaseCreator ReleaseDeleter }
ReleaseCreatorDeleter is the concrete composition of a ReleaseCreator and ReleaseDeleter
type ReleaseDeleter ¶
type ReleaseDeleter interface {
Delete(string) (*rls.UninstallReleaseResponse, error)
}
ReleaseDeleter is the interface for deleting a helm release. It's intended for use in function params for easy mocking