Comments (5)
Are you alive?
from hcloud-ruby.
Of course ;)
from hcloud-ruby.
Any estimate when labels will be available, they would be quite handy for tagging resources for CI.
from hcloud-ruby.
Hey 👋
I want to take a look at the labels and just drop some thought here to go over it later.
- objectives:
- add, remove, view labels on a resource (https://docs.hetzner.cloud/#labels)
- filter labels via label selector (https://docs.hetzner.cloud/#label-selector)
- affected resources:
Servers, Floating IPs, Volumes, SSH keys and Images
Example:
# creating a server with labels
c = Hcloud::Client.new(token: "<your project token>")
c.servers.create(name: "moo6", server_type: "cx11", image: "ubuntu-22.04", labels: ["ci", "runner-923fb89a"])
# removing a label
c.servers.remove_label("ci")
from hcloud-ruby.
We have additional affected resource types:
- network
- upcoming: firewalls
Resource types that also have labels, but are not implemented in this library, yet:
- certificates
- load balancers
- primary IPs
- placement groups
from hcloud-ruby.
Related Issues (20)
- [Dependencies] Unpin activesupport HOT 1
- [Feature] Add missing Resources/Endpoints Q1/2022 HOT 1
- [Feature] Add Firewalls HOT 1
- [Feature] Add Certificates
- [Feature] Add PlacementGroups HOT 1
- [Feature] Add Pricing
- [Feature] Add LoadBalancers and -Types
- [Enhancement] Add missing fields / endpoints to Images + Servers HOT 3
- [CI] Build + Push to mirror
- Doubles tests failure with seed 50938 HOT 1
- [Bug] IPv6 global address is not parsed correctly
- [Bug] Firewalls do not expose actions
- [Feature] Add Primary IPs HOT 2
- [Feature] Add Primary IPs HOT 1
- [CI] Change fake service tests to integration tests
- [Enhancement] Make Typhoeus call check more natural to read
- CI-Adjustments to allow manual triggers
- question: could you point out the differences to other hcloud gem? HOT 2
- ARM64 Support
- 1.2.0 release raises `undefined method 'blank?'` errors 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 hcloud-ruby.