config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(overrideConfigInput, overrideConfigOutput string) *Builder

func (*Builder) Build

func (b *Builder) Build(ctx context.Context) error

type CassandraEnvOptions

type CassandraEnvOptions struct {
	MallocArenaMax int      `json:"malloc-arena-max,omitempty"`
	HeapDumpDir    string   `json:"heap-dump-dir,omitempty"`
	AdditionalOpts []string `json:"additional-jvm-opts,omitempty"`
}

type ClusterInfo

type ClusterInfo struct {
	Name  string `json:"name"`
	Seeds string `json:"seeds"` // comma separated list of seeds
}

type ConfigInput

type ConfigInput struct {
	ClusterInfo     ClusterInfo            `json:"cluster-info"`
	DatacenterInfo  DatacenterInfo         `json:"datacenter-info"`
	CassYaml        map[string]interface{} `json:"cassandra-yaml,omitempty"`
	ServerOptions   map[string]interface{} `json:"jvm-server-options,omitempty"`
	ServerOptions11 map[string]interface{} `json:"jvm11-server-options,omitempty"`
	ServerOptions17 map[string]interface{} `json:"jvm17-server-options,omitempty"`
	CassandraEnv    CassandraEnvOptions    `json:"cassandra-env-sh,omitempty"`
}

type DatacenterInfo

type DatacenterInfo struct {
	Name string `json:"name"`
}

type NodeInfo

type NodeInfo struct {
	Name        string
	Rack        string
	ListenIP    net.IP
	BroadcastIP net.IP
	RPCIP       net.IP
}

Jump to

Keyboard shortcuts

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