services

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVersion     = "v1"
	DefaultServiceName = "hello-world-cluster"
	DefaultServiceType = "physical_device"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Version     string `json:"version"`
	ServiceName string `json:"name"`
	ServiceType string `json:"type"`

	Guid          string `json:"guid"`
	ResourceType  string `json:"resourceType"`
	ResourceID    string `json:"resourceID"`
	ProductID     string `json:"productID"`
	ManufactureID string `json:"manufactureID"`
}

func NewDefaultService

func NewDefaultService() *Service

func (*Service) DeepCopy

func (r *Service) DeepCopy() *Service

Jump to

Keyboard shortcuts

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