messageadapter

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudRecordEventPublisher

func NewCloudRecordEventPublisher(topics *messages.Topics, p common.Publisher) *cloudRecordEventPublisher

func NewPublisher

func NewPublisher(cfg *Config, p common.Publisher) *publisher

Types

type CloudCreateMsg

type CloudCreateMsg struct {
	common.MsgNormal
	PodId         string `json:"pod_id"`
	CloudId       string `json:"cloud_id"`
	CloudName     string `json:"cloud_name"`
	CloudImage    string `json:"cloud_image"`
	CloudCardsNum int    `json:"cloud_cards_num"`
}

type CloudReleaseMsg

type CloudReleaseMsg struct {
	common.MsgNormal
	message.MsgPod
}

type Config

type Config struct {
	JupyterCreated  common.TopicConfig `json:"jupyter_created" required:"true"`
	JupyterReleased common.TopicConfig `json:"jupyter_released" required:"true"`
}

Config

Jump to

Keyboard shortcuts

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