Comments (1)
Initialize Package: spacectl package init
- Creates an
sc/package.yaml
file in$PWD
- File contains:
- Name of package (
name
) - Default (Current working directory name) - Labels (
labels
) - Default set of labels to be added to each resource being applied- Make sure we implicitly add a labelspace-cloud.io/package=<package-name>
- Output:
- Client Gen language - E.g. rtk-query
- Directory of generated files - Default (
sc/output
)
- Directory of source files - Defaults (
sc/resources
)
- Name of package (
Flags or survey:
--name
/-n
(Defaults: Working directory name)--language
/--lang
/-l
--output-dir
/-o
--resource-dir
/-r
Apply resource in package: spacectl package apply
- First login
- Retrieve all CRs SC. This will require a new API on the backend (put this in
admin manager
) - Load resources from resource directly and inject labels into them
- Calculate deltas between resources received from SC (for current package) vs those present in local resources directory
- Apply the delta to SpaceCloud.
Get all resources in package: spacectl package get all
- First Login
- Retrieve all CRs from current workspace from SC
- Print all resources as a table on the screen
Get all resources of a particular kind in package: spacectl package get <kind>
from space-cloud.
Related Issues (20)
- [Feature] Add support for loading secrets from env and k8s secret
- [Feature] Generate AsyncAPI Document
- [Feature] PubSub Schema Verification
- [Feature] add support to create remote Source and Provider implementations
- [Feature] Reading "sc config" from Config File Instead of Environment Variables
- [Bug] Configman creating config routes only for those sources that exists
- [Feature] Replace maps in asyncapi document with jsonschema
- [Feature] Add support to auto generate client whenever SpaceCloud's RPC provider gets updated
- [Feature] Improvement in OPA polcies (request and response handling)
- [Feature] Add support for Authentication via Kratos
- [Feature] Add support for admin login in SC
- [Feature] Add support for registering plugins against producer and consumer channels.
- [Feature] Add endpoint to return a list of available plugins.
- [Feature] Add support for adding plugin details in client generator
- [Feature] spacectl client generate should load openapi directly from sc
- [Feature] Create handlers for checking if session is valid
- [Feature] Create basic taskqueue provider HOT 1
- [Bug] [space-cli setup] installed a gateway with missing image spaceuptech/gateway:0.21.5
- [Bug] Does not work with 1.27.7 Kubernetes HOT 2
- Deprecated API for HPA in higher versions of Kubernetes (1.26+) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from space-cloud.