Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultZoneCount is the number of zones that a Kibana has by default. DefaultZoneCount = 1 // DefaultMemoryPerNode is the default memory per node. DefaultMemoryPerNode = 1024 // DefaultNodeCountPerZone is the default node count per zone set. DefaultNodeCountPerZone = 1 )
Variables ¶
This section is empty.
Functions ¶
func NewKibanaBody ¶
func NewKibanaBody(params NewKibanaBodyParams) *models.CreateKibanaRequest
NewKibanaBody constructs a kibana body for simple cases, abstracting the structure's complexity away from the user.
Types ¶
type NewKibanaBodyParams ¶
type NewKibanaBodyParams struct {
ID string
Name string
ZoneCount int32
MemoryPerNode int32
NodeCountPerZone int32
}
NewKibanaBodyParams is used by NewKibanaBody.
func (*NewKibanaBodyParams) Fill ¶
func (params *NewKibanaBodyParams) Fill()
Fill sets any unset values to its default ones.
Click to show internal directories.
Click to hide internal directories.