environment

package
v0.0.0-...-151872f Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 27 Imported by: 2

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

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 {

	// this is the cluster that contains state/vault/tools
	HubCluster interfaces.Cluster
	// contains filtered or unexported fields
}

func NewFromConfig

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

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) Hub

func (e *Environment) Hub() interfaces.Cluster

func (*Environment) HubName

func (c *Environment) HubName() 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) 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) ValidateAdminCIDRs

func (e *Environment) ValidateAdminCIDRs() (result error)

func (*Environment) Variables

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

func (*Environment) Vault

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

func (*Environment) Verify

func (e *Environment) Verify() error

func (*Environment) VerifyBastionAvailable

func (e *Environment) VerifyBastionAvailable() 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