environment

package
v0.0.0-...-f256f36 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Copyright Jetstack Ltd. See LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(init interfaces.Initialize) (environment *tarmakv1alpha1.Environment, err error)

Types

type Environment

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

func NewFromConfig

func NewFromConfig(tarmak interfaces.Tarmak, conf *tarmakv1alpha1.Environment, clusters []*clusterv1alpha1.Cluster) (*Environment, error)

func (*Environment) BucketPrefix

func (e *Environment) BucketPrefix() string

func (*Environment) Cluster

func (e *Environment) Cluster(name string) (interfaces.Cluster, error)

func (*Environment) Clusters

func (e *Environment) Clusters() []interfaces.Cluster

func (*Environment) Config

func (e *Environment) Config() *tarmakv1alpha1.Environment

func (*Environment) ConfigPath

func (e *Environment) ConfigPath() string

func (*Environment) Location

func (e *Environment) Location() string

func (*Environment) Log

func (e *Environment) Log() *logrus.Entry

func (*Environment) Name

func (e *Environment) Name() string

func (*Environment) Parameters

func (e *Environment) Parameters() map[string]string

func (*Environment) Provider

func (e *Environment) Provider() interfaces.Provider

func (*Environment) SSHPrivateKey

func (e *Environment) SSHPrivateKey() interface{}

func (*Environment) SSHPrivateKeyPath

func (e *Environment) SSHPrivateKeyPath() string

func (*Environment) StateStack

func (e *Environment) StateStack() interfaces.Stack

func (*Environment) Tarmak

func (e *Environment) Tarmak() interfaces.Tarmak

func (*Environment) Type

func (e *Environment) Type() string

func (*Environment) Validate

func (e *Environment) Validate() error

func (*Environment) Variables

func (e *Environment) Variables() map[string]interface{}

func (*Environment) VaultRootToken

func (e *Environment) VaultRootToken() (string, error)

func (*Environment) VaultStack

func (e *Environment) VaultStack() interfaces.Stack

func (*Environment) VaultTunnel

func (e *Environment) VaultTunnel() (interfaces.VaultTunnel, error)

func (*Environment) WingClientset

func (e *Environment) WingClientset() (*wingclient.Clientset, interfaces.Tunnel, error)

func (*Environment) WingTunnel

func (e *Environment) WingTunnel() interfaces.Tunnel

Jump to

Keyboard shortcuts

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