Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- func AddJenkinsInstancePool(c *clusterv1alpha1.Cluster)
- func ApplyDefaults(src runtime.Object) error
- func NewAmazonProfileProvider(name string, profile string) *tarmakv1alpha1.Provider
- func NewClusterMulti(environment string, name string) *clusterv1alpha1.Cluster
- func NewClusterSingle(environment string, name string) *clusterv1alpha1.Cluster
- func NewEnvironment(name, contact, project string) *tarmakv1alpha1.Environment
- func NewHub(environment string) *clusterv1alpha1.Cluster
- type Config
- func (c *Config) AppendCluster(cluster *clusterv1alpha1.Cluster) error
- func (c *Config) AppendEnvironment(env *tarmakv1alpha1.Environment) error
- func (c *Config) AppendProvider(prov *tarmakv1alpha1.Provider) error
- func (c *Config) Cluster(environment string, name string) (cluster *clusterv1alpha1.Cluster, err error)
- func (c *Config) Clusters(environment string) (clusters []*clusterv1alpha1.Cluster)
- func (c *Config) Contact() string
- func (c *Config) CurrentCluster() (string, error)
- func (c *Config) CurrentClusterName() (string, error)
- func (c *Config) CurrentEnvironmentName() (string, error)
- func (c *Config) Environment(name string) (*tarmakv1alpha1.Environment, error)
- func (c *Config) Environments() (environments []*tarmakv1alpha1.Environment)
- func (c *Config) IgnoreMissingPublicKeyTags() bool
- func (c *Config) NewAmazonConfigClusterSingle() *tarmakv1alpha1.Config
- func (c *Config) Project() string
- func (c *Config) Provider(name string) (cluster *tarmakv1alpha1.Provider, err error)
- func (c *Config) Providers() (providers []*tarmakv1alpha1.Provider)
- func (c *Config) ReadConfig() (*tarmakv1alpha1.Config, error)
- func (c *Config) RemoveEnvironment(environment string) error
- func (c *Config) SetCurrentCluster(clusterName string) error
- func (c *Config) UniqueClusterName(environment, name string) error
- func (c *Config) UniqueEnvironmentName(name string) error
- func (c *Config) UniqueProviderName(name string) error
- func (c *Config) ValidName(name, regex string) error
- func (c *Config) WingDevMode() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddJenkinsInstancePool ¶
func AddJenkinsInstancePool(c *clusterv1alpha1.Cluster)
AddJenkinsInstancePool is adding a instance pool of jenkins to the cluster
func ApplyDefaults ¶
func NewAmazonProfileProvider ¶
func NewAmazonProfileProvider(name string, profile string) *tarmakv1alpha1.Provider
func NewClusterMulti ¶
func NewClusterMulti(environment string, name string) *clusterv1alpha1.Cluster
This creates a new cluster for a multi cluster environment
func NewClusterSingle ¶
func NewClusterSingle(environment string, name string) *clusterv1alpha1.Cluster
This creates a new cluster for a single cluster environment
func NewEnvironment ¶
func NewEnvironment(name, contact, project string) *tarmakv1alpha1.Environment
func NewHub ¶
func NewHub(environment string) *clusterv1alpha1.Cluster
This creates a new hub for a multi cluster environment
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func New ¶
func New(tarmak interfaces.Tarmak, flags *tarmakv1alpha1.Flags) (*Config, error)
func (*Config) AppendCluster ¶
func (c *Config) AppendCluster(cluster *clusterv1alpha1.Cluster) error
func (*Config) AppendEnvironment ¶
func (c *Config) AppendEnvironment(env *tarmakv1alpha1.Environment) error
func (*Config) AppendProvider ¶
func (c *Config) AppendProvider(prov *tarmakv1alpha1.Provider) error
func (*Config) Clusters ¶
func (c *Config) Clusters(environment string) (clusters []*clusterv1alpha1.Cluster)
func (*Config) CurrentCluster ¶
func (*Config) CurrentClusterName ¶
func (*Config) CurrentEnvironmentName ¶
func (*Config) Environment ¶
func (c *Config) Environment(name string) (*tarmakv1alpha1.Environment, error)
func (*Config) Environments ¶
func (c *Config) Environments() (environments []*tarmakv1alpha1.Environment)
func (*Config) IgnoreMissingPublicKeyTags ¶
func (*Config) NewAmazonConfigClusterSingle ¶
func (c *Config) NewAmazonConfigClusterSingle() *tarmakv1alpha1.Config
func (*Config) Provider ¶
func (c *Config) Provider(name string) (cluster *tarmakv1alpha1.Provider, err error)
func (*Config) Providers ¶
func (c *Config) Providers() (providers []*tarmakv1alpha1.Provider)
func (*Config) ReadConfig ¶
func (c *Config) ReadConfig() (*tarmakv1alpha1.Config, error)
func (*Config) RemoveEnvironment ¶
func (*Config) SetCurrentCluster ¶
func (*Config) UniqueClusterName ¶
func (*Config) UniqueEnvironmentName ¶
func (*Config) UniqueProviderName ¶
func (*Config) WingDevMode ¶
Click to show internal directories.
Click to hide internal directories.