contract

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 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 MicroFrontendAttributeTransfer

type MicroFrontendAttributeTransfer struct {
	Name  string               `json:"name"`
	Value runtime.RawExtension `json:"value"`
}

type MicroFrontendConfigurationTransfer

type MicroFrontendConfigurationTransfer struct {
	Preload   []*MicroFrontendModuleTransfer  `json:"preload"`
	Apps      []*MicroFrontendWebAppTransfer  `json:"apps"`
	Contexts  []*MicroFrontendContextTransfer `json:"contexts"`
	Anonymous *bool                           `json:"anonymous,omitempty"`
	User      *MicroFrontendUserInfoTransfer  `json:"user,omitempty"`
}

type MicroFrontendContextTransfer

type MicroFrontendContextTransfer struct {
	*MicroFrontendElementTransfer
	ContextNames []string `json:"contextNames"`
}

type MicroFrontendElementTransfer

type MicroFrontendElementTransfer struct {
	*MicroFrontendModuleTransfer
	Element    string                            `json:"element"`
	Attributes []*MicroFrontendAttributeTransfer `json:"attributes"`
	Labels     map[string]string                 `json:"labels"`
	Roles      []string                          `json:"roles"`
}

type MicroFrontendModuleTransfer

type MicroFrontendModuleTransfer struct {
	LoadURL string   `json:"load_url"`
	Styles  []string `json:"styles"`
}

type MicroFrontendUserInfoTransfer

type MicroFrontendUserInfoTransfer struct {
	ID    string   `json:"id"`
	Email string   `json:"email"`
	Name  string   `json:"name"`
	Roles []string `json:"roles"`
}

type MicroFrontendWebAppTransfer

type MicroFrontendWebAppTransfer struct {
	*MicroFrontendElementTransfer
	Title      string `json:"title"`
	Details    string `json:"details"`
	Path       string `json:"path"`
	Priority   int    `json:"priority"`
	Icon       string `json:"icon,omitempty"`
	InternalId string `json:"-"`
}

Jump to

Keyboard shortcuts

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