Documentation ¶
Index ¶
- Variables
- func ErrGenerateComponent(err error, modelName, compName string) error
- func ErrGenerateModel(err error, modelName string) error
- func ErrUpdateComponent(err error, modelName, compName string) error
- func ErrUpdateModel(err error, modelName string) error
- func ErrUpdateRegistry(err error, path string) error
- func GenerateDefsForCoreRegistrant(model utils.ModelCSV) error
- func GetSheetIDFromTitle(s *sheets.Spreadsheet, title string) int64
- func InvokeCompUpdate() error
- func InvokeGenerationFromSheet() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrGenerateModelCode = "1190" ErrGenerateComponentCode = "1191" ErrUpdateModelCode = "1192" ErrUpdateComponentCode = "1193" ErrUpdateRegistryCode = "1194" )
View Source
var (
ExcludeDirs = []string{"relationships", "policies"}
)
View Source
var (
GoogleSpreadSheetURL = "https://docs.google.com/spreadsheets/d/"
)
View Source
var RegistryCmd = &cobra.Command{ Use: "registry", Short: "Meshery Registry Management", Long: `Manage the state and configuration of Meshery Registry.`, Example: ` mesheryctl registry [subcommand] `, RunE: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { return cmd.Help() } if ok := utils.IsValidSubcommand(availableSubcommands, args[0]); !ok { return errors.New(utils.SystemError(fmt.Sprintf("'%s' is an invalid command. Use 'mesheryctl registry --help' to display usage guide.\n", args[0]))) } return nil }, }
PublishCmd represents the publish command to publish Meshery Models to Websites, Remote Provider, Meshery
Functions ¶
func ErrGenerateComponent ¶ added in v0.7.18
func ErrGenerateModel ¶ added in v0.7.18
func ErrUpdateComponent ¶ added in v0.7.18
func ErrUpdateModel ¶ added in v0.7.18
func ErrUpdateRegistry ¶ added in v0.7.18
func GenerateDefsForCoreRegistrant ¶ added in v0.7.18
For registrants eg: meshery, whose components needs to be directly created by referencing the sheet. the sourceURL contains the "rangeString" : the value that describes the sheet in which the components are listed, and their starting row to ending row.
func GetSheetIDFromTitle ¶ added in v0.7.18
func InvokeCompUpdate ¶ added in v0.7.18
func InvokeCompUpdate() error
func InvokeGenerationFromSheet ¶ added in v0.7.18
func InvokeGenerationFromSheet() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.