identity

package
v19.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	Name       string             `json:"name"`       // Name is the name of the cluster
	Flavor     Flavor.Enum        `json:"flavor"`     // Flavor tells what kind of cluster it is
	Complexity Complexity.Enum    `json:"complexity"` // Mode is the mode of cluster; can be Simple, HighAvailability, HighVolume
	Keypair    *resources.KeyPair `json:"keypair"`    // Keypair contains the key-pair used inside the Cluster

	// AdminPassword contains the password of cladm account. This password
	// is used to connect via Guacamole, but cannot be used with SSH
	AdminPassword string `json:"admin_password"`
}

Identity contains the bare minimum information about a cluster

func NewIdentity

func NewIdentity() *Identity

NewIdentity ...

func (*Identity) Clone

func (i *Identity) Clone() serialize.Property

Clone ... (serialize.Property interface)

func (*Identity) Content

func (i *Identity) Content() interface{}

Content ... (serialize.Property interface)

func (*Identity) OK

func (i *Identity) OK() bool

func (*Identity) Replace

Replace ... (serialize.Property interface)

Jump to

Keyboard shortcuts

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