{"modulePath":"github.com/apache/openserverless-cli","version":"v1.3.0-snapshot.2407231632","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package openserverless\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License.  You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.\n\n## Constants\n\n```go\nconst CONFIGFILE = \"config.json\"\n```\n\n```go\nconst DefaultNuvPort = 9768\n```\ndefault port for nuv server\n\n```go\nconst LATESTCHECK = \".latestcheck\"\n```\n\n```go\nconst NUVFILE = \"nuvfile.yml\"\n```\ndefault files\n\n```go\nconst NUVOPTS = \"nuvopts.txt\"\n```\n\n```go\nconst NUVREPO = \"http://github.com/nuvolaris/olaris\"\n```\nrepo where download tasks\n\n```go\nconst NUVROOT = \"nuvroot.json\"\n```\n\n## Variables\n\n```go\nvar NuvBranch = \"3.0.0\"\n```\n\n```go\nvar NuvVersion = \"main\"\n```\nbranch where download tasks defaults to test - will be changed in compilation\n\n```go\nvar WSK_RUNTIMES_JSON string\n```\n\n## Functions\n\n```go\nfunc GetNuvRootPlugins() (map[string]string, error)\n```\nGetNuvRootPlugins returns the map with all the olaris-\\*/nuvroot.json files in the local and ~/.nuv folders, pointed by their plugin names. If the same plugin is found in both folders, the one in the local folder is used. Useful to build the config map including the plugin configs\n\n```go\nfunc IsWskWrapperCommand(name string) ([]string, bool)\n```\n\n```go\nfunc Main()\n```\n\n```go\nfunc Nuv(base string, args []string) error\n```\nNuv parses args moving into the folder corresponding to args then parses them with docopts and invokes the task\n\n```go\nfunc Serve(olarisDir string, args []string) error\n```\n\n```go\nfunc Task(args ...string) (int, error)\n```\n\n## Types\n\n```go\ntype NuvRootJSON struct {\n\tVersion string                 `json:\"version\"`\n\tConfig  map[string]interface{} `json:\"config\"`\n}\n```\nRepresents nuvroot.json. It is used to parse the file.\n\n```go\ntype TaskNotFoundErr struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *TaskNotFoundErr) Error() string\n```\n\n","path":"github.com/apache/openserverless-cli","name":"openserverless","synopsis":"Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.","isRedistributable":true}
