apm

package
v1.0.0-beta3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultZoneCount is the number of zones that a Apm has by default.
	DefaultZoneCount = 1
	// DefaultMemoryPerNode is the default memory per node.
	DefaultMemoryPerNode = 512
)

Variables

This section is empty.

Functions

func NewApmBody

func NewApmBody(params NewApmBodyParams) *models.CreateApmRequest

NewApmBody constructs a apm body for simple cases, abstracting the structure's complexity away from the user.

Types

type NewApmBodyParams

type NewApmBodyParams struct {
	ID            string
	Name          string
	ZoneCount     int32
	MemoryPerNode int32
}

NewApmBodyParams is used by NewApmBody.

func (*NewApmBodyParams) Fill

func (params *NewApmBodyParams) Fill()

Fill sets any unset values to its default ones.

Jump to

Keyboard shortcuts

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