class CB::Client
- CB::Client
- Reference
- Object
Defined in:
cb/client.crConstructors
Class Method Summary
Instance Method Summary
- #add_firewall_rule(cluster_id, cidr)
- #add_logdest(lda : CB::LogdestAdd)
-
#create_cluster(cc)
https://crunchybridgeapi.docs.apiary.io/#reference/0/clusters/post
- #delete(path)
- #delete_firewall_rule(cluster_id, firewall_rule_id)
- #destroy_cluster(id)
- #destroy_logdest(cluster_id, logdest_id)
- #exec(method, path, body : String | Nil = nil)
- #exec(method, path, body)
-
#fork_cluster(cc)
https://crunchybridgeapi.docs.apiary.io/#reference/0/clustersclusteridforks/post
- #get(path)
- #get_account
- #get_cluster(id)
- #get_cluster_default_role(id)
- #get_clusters
- #get_firewall_rules(cluster_id)
- #get_logdests(cluster_id)
- #get_providers
- #get_teams
- #headers : HTTP::Headers
- #headers=(headers : HTTP::Headers)
- #host : String
- #host=(host : String)
-
#http : HTTP::Client
memoize to avoid slow tests
- #post(path, body)
- #put(path, body)
- #replicate_cluster(cc)
Constructor Detail
Class Method Detail
Instance Method Detail
def fork_cluster(cc)
#
https://crunchybridgeapi.docs.apiary.io/#reference/0/clustersclusteridforks/post