cf-mgmt | Go automation for managing orgs
kandi X-RAY | cf-mgmt Summary
kandi X-RAY | cf-mgmt Summary
cf-mgmt is a Go library. cf-mgmt has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
The cf-mgmt tool is composed by 2 CLIs, cf-mgmt and cf-mgmt-config, providing the features to declarativelly manage orgs, spaces, users mapping to roles, quotas, application security groups and private-domains.
The cf-mgmt tool is composed by 2 CLIs, cf-mgmt and cf-mgmt-config, providing the features to declarativelly manage orgs, spaces, users mapping to roles, quotas, application security groups and private-domains.
Support
Quality
Security
License
Reuse
Support
cf-mgmt has a low active ecosystem.
It has 122 star(s) with 67 fork(s). There are 38 watchers for this library.
It had no major release in the last 12 months.
There are 9 open issues and 204 have been closed. On average issues are closed in 456 days. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of cf-mgmt is v1.0.58
Quality
cf-mgmt has 0 bugs and 226 code smells.
Security
cf-mgmt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
cf-mgmt code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
cf-mgmt is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
cf-mgmt releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
It has 35152 lines of code, 1884 functions and 200 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cf-mgmt
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cf-mgmt
cf-mgmt Key Features
No Key Features are available at this moment for cf-mgmt.
cf-mgmt Examples and Code Snippets
No Code Snippets are available at this moment for cf-mgmt.
Community Discussions
No Community Discussions are available at this moment for cf-mgmt.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cf-mgmt
Compiled releases are available on Github. Download the binary for your platform and place it somewhere on your path. Don't forget to chmod +x the file on Linux and macOS.
Navigate into a directory in which will become your git repository for cf-mgmt configuration. By default, cf-mgmt has the enable-delete-orgs option set to false to avoid unintentional deletions. If you'd like to have cf-mgmt handle deletion of orgs as well, please double check the list of protected-orgs and update the enable-delete-orgs flag to true in the orgs.yml of your config repository. You can also modify these settings using the cf-mgmt-config update-orgs command. Check the config docs to understand the configuration files structure. Check the Concourse docs if not familiar with the fly CLI. You now have a Pipeline ready to apply configuration changes to your foundation. Explore the docs to learn the available commands in cf-mgmt-config, try creating new workspace configs, then commit and push the files to you git repository. Your pipeline should kick in and apply the changes.
Initialize git repository by either cloning a remote or using git init This git repository is going to be used as a place to store the config files and will be consumed by a Concourse Pipeline. You should not push your vars.yml file or any other files with secrets to this repo.
Create initial configuration files. You can either setup your configuration by using init command or export-config if you want to start managing a foundation that already have some workspace setup: init command from cf-mgmt-config if you are wanting to start with a blank configuration and add the config using cf-mgmt-config operations export-config command from cf-mgmt if you have an existing foundation you can use this to reverse engineer your configuration.
(optional) Configure LDAP/SAML Options. If your foundation uses LDAP and/or SAML, you will need to configure ldap.yml with the correct values. LDAP only config SAML with LDAP groups SAML only
Generate the concourse pipeline using cf-mgmt-config cf-mgmt-config [OPTIONS] generate-concourse-pipeline [generate-concourse-pipeline-OPTIONS]
Make sure you .gitingore the vars.yml file that is generated: echo vars.yml >> .gitignore
Update your vars.yml file with your config git repo info, domains and the UAA client info you created in the previous section. Use the UAA Client name as user_id
Commit and push your changes to your git repository. After you fly the pipeline in the next step, the pipeline will observe this repository and start a new run everytime you push new configurations to the repository.
fly your pipeline after you have filled in vars.yml
Look for your new Pipeline in your Concourse console. If everything was properly configured all tasks of your pipeline should execute successfully.
Compiled releases are available on Github. Download the binary for your platform and place it somewhere on your path. Don't forget to chmod +x the file on Linux and macOS. Alternatively, you may wish to build from source.
cf-mgmt is written in Go. To build the binary yourself, follow these steps:. To cross compile, set the $GOOS and $GOARCH environment variables. For example: GOOS=linux GOARCH=amd64 go build.
Install Go.
Clone the repo
Build: cd cf-mgmt go build -o cf-mgmt cmd/cf-mgmt/main.go go build -o cf-mgmt-config cmd/cf-mgmt-config/main.go
Navigate into a directory in which will become your git repository for cf-mgmt configuration. By default, cf-mgmt has the enable-delete-orgs option set to false to avoid unintentional deletions. If you'd like to have cf-mgmt handle deletion of orgs as well, please double check the list of protected-orgs and update the enable-delete-orgs flag to true in the orgs.yml of your config repository. You can also modify these settings using the cf-mgmt-config update-orgs command. Check the config docs to understand the configuration files structure. Check the Concourse docs if not familiar with the fly CLI. You now have a Pipeline ready to apply configuration changes to your foundation. Explore the docs to learn the available commands in cf-mgmt-config, try creating new workspace configs, then commit and push the files to you git repository. Your pipeline should kick in and apply the changes.
Initialize git repository by either cloning a remote or using git init This git repository is going to be used as a place to store the config files and will be consumed by a Concourse Pipeline. You should not push your vars.yml file or any other files with secrets to this repo.
Create initial configuration files. You can either setup your configuration by using init command or export-config if you want to start managing a foundation that already have some workspace setup: init command from cf-mgmt-config if you are wanting to start with a blank configuration and add the config using cf-mgmt-config operations export-config command from cf-mgmt if you have an existing foundation you can use this to reverse engineer your configuration.
(optional) Configure LDAP/SAML Options. If your foundation uses LDAP and/or SAML, you will need to configure ldap.yml with the correct values. LDAP only config SAML with LDAP groups SAML only
Generate the concourse pipeline using cf-mgmt-config cf-mgmt-config [OPTIONS] generate-concourse-pipeline [generate-concourse-pipeline-OPTIONS]
Make sure you .gitingore the vars.yml file that is generated: echo vars.yml >> .gitignore
Update your vars.yml file with your config git repo info, domains and the UAA client info you created in the previous section. Use the UAA Client name as user_id
Commit and push your changes to your git repository. After you fly the pipeline in the next step, the pipeline will observe this repository and start a new run everytime you push new configurations to the repository.
fly your pipeline after you have filled in vars.yml
Look for your new Pipeline in your Concourse console. If everything was properly configured all tasks of your pipeline should execute successfully.
Compiled releases are available on Github. Download the binary for your platform and place it somewhere on your path. Don't forget to chmod +x the file on Linux and macOS. Alternatively, you may wish to build from source.
cf-mgmt is written in Go. To build the binary yourself, follow these steps:. To cross compile, set the $GOOS and $GOARCH environment variables. For example: GOOS=linux GOARCH=amd64 go build.
Install Go.
Clone the repo
Build: cd cf-mgmt go build -o cf-mgmt cmd/cf-mgmt/main.go go build -o cf-mgmt-config cmd/cf-mgmt-config/main.go
Support
cf-mgmt is a community supported cloud foundry add-on. Opening issues for questions, feature requests and/or bugs is the best path to getting "support". We strive to be active in keeping this tool working and meeting your needs in a timely fashion.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page