feat: Add Kubernetes examples and update dependencies
- Add Kubernetes examples demonstrating deployment of various applications (PostgreSQL, Redis, generic). This improves the documentation and provides practical usage examples. - Add `tokio` dependency for async examples. This enables the use of asynchronous operations in the examples. - Add `once_cell` dependency for improved resource management in Kubernetes module. This allows efficient management of singletons and other resources.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env rhai
|
||||
|
||||
// Test 1: Namespace Operations
|
||||
// This test covers namespace creation, existence checking, and listing
|
||||
|
||||
|
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env rhai
|
||||
|
||||
// Test 2: Pod Management Operations
|
||||
// This test covers pod creation, listing, retrieval, and deletion
|
||||
|
||||
|
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env rhai
|
||||
|
||||
// Test 3: PCRE Pattern Matching for Bulk Operations
|
||||
// This test covers the powerful pattern-based deletion functionality
|
||||
|
||||
|
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env rhai
|
||||
|
||||
// Test 4: Error Handling and Edge Cases
|
||||
// This test covers error scenarios and edge cases
|
||||
|
||||
|
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env rhai
|
||||
|
||||
// Test 5: Production Safety Features
|
||||
// This test covers timeouts, rate limiting, retry logic, and safety features
|
||||
|
||||
|
@@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env rhai
|
||||
|
||||
// Kubernetes Integration Tests - Main Test Runner
|
||||
// This script runs all Kubernetes integration tests in sequence
|
||||
|
||||
|
Reference in New Issue
Block a user