model

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	MessageHeader `json:"header"`
	Content       []byte `json:"content"`
}

Message defines the message between LC and GM

func (*Message) String added in v0.2.0

func (m *Message) String() string

type MessageHeader

type MessageHeader struct {
	Namespace string `json:"namespace"`

	ResourceKind string `json:"resourceKind"`

	ResourceName string `json:"resourceName"`

	Operation string `json:"operation"`
}

MessageHeader defines the header between LC and GM

Jump to

Keyboard shortcuts

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