create

package
v2.41.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const CumulocityManifestFile = "cumulocity.json"

Variables

This section is empty.

Functions

func GetManifestContents

func GetManifestContents(zipFilename string, contents interface{}) error

Types

type Application

type Application struct {
	c8y.Application
	Manifest Manifest
}

type CmdCreate

type CmdCreate struct {
	*subcommand.SubCommand
	// contains filtered or unexported fields
}

func NewCmdCreate

func NewCmdCreate(f *cmdutil.Factory) *CmdCreate

func (*CmdCreate) RunE

func (n *CmdCreate) RunE(cmd *cobra.Command, args []string) error

type Manifest

type Manifest struct {
	Name          string   `json:"name"`
	Version       string   `json:"version"`
	RequiredRoles []string `json:"requiredRoles"`
	Roles         []string `json:"roles,omitempty"`
}

Jump to

Keyboard shortcuts

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