openshift

package
v0.0.0-...-3e35b49 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InventoryConfig

type InventoryConfig struct {
	Debug          bool
	OriginRelease  string
	RoutesDomain   string
	InternalMaster string
	ExternalMaster string
	EnableEbs      bool
	ClusterId      string

	AggregatedLogging bool
	ClusterMetrics    bool

	RegistryToS3 bool
	Registry     struct {
		BucketName string
		Region     string
	}

	SshConfig string

	Masters []Node
	Infras  []Node
	Apps    []Node
}

func GenerateConfig

func GenerateConfig(sshConfig string, config *configuration.InputVars) *InventoryConfig

func (*InventoryConfig) GenerateInventory

func (config *InventoryConfig) GenerateInventory(filename string) error

type Node

type Node struct {
	InternalIp       string
	InternalHostname string

	Region string
	Zone   string
}

type PersistenceConfig

type PersistenceConfig struct {
	ProjectId string

	EfsId  string
	Region string

	EnableEfs bool

	EncryptEbs bool
	EnableEbs  bool

	EbsDefault bool
	EfsDefault bool

	Zones string
}

func NewPersistenceConfig

func NewPersistenceConfig(settings *configuration.InputVars) *PersistenceConfig

func (*PersistenceConfig) GeneratePersistenceConfigFiles

func (config *PersistenceConfig) GeneratePersistenceConfigFiles(dir string) error

type SshConfig

type SshConfig struct {
	BastionHostname string
}

func GenerateSshConfig

func GenerateSshConfig(config *configuration.InputVars) *SshConfig

func (*SshConfig) WriteConfig

func (config *SshConfig) WriteConfig(filename string) error

Jump to

Keyboard shortcuts

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