Documentation ¶
Index ¶
- Constants
- func CreateApp(options node.Cloud) gen.ApplicationBehavior
- func GenDigest(h hash.Hash, items ...[]byte) []byte
- func RegisterTypes() error
- type CloudApp
- type CloudNode
- type Handshake
- type MessageEventCloud
- type MessageHandshakeV1Auth
- type MessageHandshakeV1AuthReply
- type MessageHandshakeV1Challenge
- type MessageHandshakeV1ChallengeAccept
- type MessageHandshakeV1Error
Constants ¶
View Source
const ( EventCloud gen.Event = "cloud" ProtoHandshakeV1 = 41 ProtoHandshakeV1Auth = 100 ProtoHandshakeV1AuthReply = 101 ProtoHandshakeV1Challenge = 102 ProtoHandshakeV1ChallengeAccept = 103 ProtoHandshakeV1Error = 200 )
Variables ¶
This section is empty.
Functions ¶
func RegisterTypes ¶
func RegisterTypes() error
Types ¶
type CloudApp ¶
type CloudApp struct { gen.Application // contains filtered or unexported fields }
type MessageEventCloud ¶
type MessageHandshakeV1Auth ¶
type MessageHandshakeV1Auth struct { Node string Cluster string Creation uint32 Flags node.CloudFlags }
client -> cloud
type MessageHandshakeV1AuthReply ¶
cloud -> client
type MessageHandshakeV1Challenge ¶
type MessageHandshakeV1Challenge struct {
Digest []byte
}
client -> cloud
type MessageHandshakeV1ChallengeAccept ¶
type MessageHandshakeV1ChallengeAccept struct {
Node string // mapped node name
}
cloud -> client
type MessageHandshakeV1Error ¶
type MessageHandshakeV1Error struct {
Reason string
}
cloud -> client
Click to show internal directories.
Click to hide internal directories.