Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- func Init(init interfaces.Initialize) (environment *tarmakv1alpha1.Environment, err error)
- type Environment
- func (e *Environment) Cluster(name string) (interfaces.Cluster, error)
- func (e *Environment) Clusters() []interfaces.Cluster
- func (e *Environment) Config() *tarmakv1alpha1.Environment
- func (e *Environment) ConfigPath() string
- func (e *Environment) Hub() interfaces.Cluster
- func (c *Environment) HubName() string
- func (e *Environment) Location() string
- func (e *Environment) Log() *logrus.Entry
- func (e *Environment) Name() string
- func (e *Environment) Parameters() map[string]string
- func (e *Environment) Provider() interfaces.Provider
- func (e *Environment) SSHPrivateKey() interface{}
- func (e *Environment) SSHPrivateKeyPath() string
- func (e *Environment) Tarmak() interfaces.Tarmak
- func (e *Environment) Type() string
- func (e *Environment) Validate() error
- func (e *Environment) ValidateAdminCIDRs() (result error)
- func (e *Environment) Variables() map[string]interface{}
- func (e *Environment) Vault() interfaces.Vault
- func (e *Environment) Verify() error
- func (e *Environment) VerifyBastionAvailable() error
- func (e *Environment) WingClientset() (*wingclient.Clientset, interfaces.Tunnel, error)
- func (e *Environment) WingTunnel() interfaces.Tunnel
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
Click to show internal directories.
Click to hide internal directories.