kuby-kube-db 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +19 -0
- data/LICENSE +21 -0
- data/Rakefile +74 -0
- data/kuby-kube-db.gemspec +19 -0
- data/lib/kuby/kube-db.rb +13 -0
- data/lib/kuby/kube-db/dsl.rb +7 -0
- data/lib/kuby/kube-db/dsl/api.rb +3 -0
- data/lib/kuby/kube-db/dsl/api/v1.rb +20 -0
- data/lib/kuby/kube-db/dsl/api/v1/agent_spec.rb +24 -0
- data/lib/kuby/kube-db/dsl/api/v1/azure_spec.rb +17 -0
- data/lib/kuby/kube-db/dsl/api/v1/b2_spec.rb +17 -0
- data/lib/kuby/kube-db/dsl/api/v1/backend.rb +29 -0
- data/lib/kuby/kube-db/dsl/api/v1/gcs_spec.rb +17 -0
- data/lib/kuby/kube-db/dsl/api/v1/local_spec.rb +72 -0
- data/lib/kuby/kube-db/dsl/api/v1/object_meta.rb +34 -0
- data/lib/kuby/kube-db/dsl/api/v1/pod_spec.rb +41 -0
- data/lib/kuby/kube-db/dsl/api/v1/pod_template_spec.rb +19 -0
- data/lib/kuby/kube-db/dsl/api/v1/prometheus_exporter_spec.rb +22 -0
- data/lib/kuby/kube-db/dsl/api/v1/prometheus_spec.rb +23 -0
- data/lib/kuby/kube-db/dsl/api/v1/rest_server_spec.rb +15 -0
- data/lib/kuby/kube-db/dsl/api/v1/s3_spec.rb +18 -0
- data/lib/kuby/kube-db/dsl/api/v1/service_monitor_spec.rb +18 -0
- data/lib/kuby/kube-db/dsl/api/v1/service_port.rb +17 -0
- data/lib/kuby/kube-db/dsl/api/v1/service_spec.rb +25 -0
- data/lib/kuby/kube-db/dsl/api/v1/service_template_spec.rb +17 -0
- data/lib/kuby/kube-db/dsl/api/v1/swift_spec.rb +16 -0
- data/lib/kuby/kube-db/dsl/appcatalog.rb +3 -0
- data/lib/kuby/kube-db/dsl/appcatalog/v1alpha1.rb +3 -0
- data/lib/kuby/kube-db/dsl/appcatalog/v1alpha1/app_reference.rb +17 -0
- data/lib/kuby/kube-db/dsl/catalog.rb +3 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1.rb +65 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_init_container.rb +16 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_spec.rb +27 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/elasticsearch_version_tools.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/etcd_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/etcd_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/etcd_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/etcd_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/etcd_version_spec.rb +22 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/etcd_version_tools.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/memcached_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/memcached_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/memcached_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/memcached_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/memcached_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/memcached_version_spec.rb +22 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_init_container.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_spec.rb +26 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/mongo_db_version_tools.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_init_container.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_replication_mode_detector.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_spec.rb +28 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/my_sql_version_tools.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version_init_container.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/percona_xtra_db_version_spec.rb +24 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version_spec.rb +24 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/postgres_version_tools.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/proxy_sql_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/proxy_sql_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/proxy_sql_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/proxy_sql_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/proxy_sql_version_proxysql.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/proxy_sql_version_spec.rb +22 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/redis_version.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/redis_version_database.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/redis_version_exporter.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/redis_version_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/redis_version_pod_security_policy.rb +15 -0
- data/lib/kuby/kube-db/dsl/catalog/v1alpha1/redis_version_spec.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb.rb +3 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1.rb +69 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/certificate_spec.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/connection_pool_config.rb +28 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/databases.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_cluster_topology.rb +19 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_node.rb +21 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_spec.rb +44 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/elasticsearch_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/etcd.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/etcd_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/etcd_spec.rb +36 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/etcd_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/init_spec.rb +19 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/leader_election_config.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/maria_db.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/maria_db_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/maria_db_spec.rb +36 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/maria_db_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/member_secret.rb +16 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached_spec.rb +29 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/memcached_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_config_node.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_mongos_node.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_replica_set.rb +15 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_shard_node.rb +23 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_sharding_topology.rb +19 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_spec.rb +46 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/mongo_db_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/my_sql.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/my_sql_cluster_topology.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/my_sql_group_spec.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/my_sql_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/my_sql_spec.rb +40 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/my_sql_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/percona_xtra_db.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/percona_xtra_db_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/percona_xtra_db_spec.rb +38 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/percona_xtra_db_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/pg_bouncer.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/pg_bouncer_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/pg_bouncer_spec.rb +31 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/pg_bouncer_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_archiver_spec.rb +15 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_spec.rb +46 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/postgres_wal_source_spec.rb +32 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/proxy_sql.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/proxy_sql_backend_spec.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/proxy_sql_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/proxy_sql_spec.rb +34 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/proxy_sql_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/recovery_target.rb +18 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/redis.rb +22 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/redis_cluster_spec.rb +16 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/redis_list.rb +20 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/redis_spec.rb +35 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/redis_status.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/script_source_spec.rb +71 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/tls_config.rb +17 -0
- data/lib/kuby/kube-db/dsl/kubedb/v1alpha1/tls_policy.rb +17 -0
- data/lib/kuby/kube-db/dsl/v1.rb +3 -0
- data/lib/kuby/kube-db/dsl/v1/volume_source.rb +69 -0
- data/lib/kuby/kube-db/entrypoint.rb +269 -0
- data/lib/kuby/kube-db/plugin.rb +182 -0
- data/lib/kuby/kube-db/version.rb +6 -0
- metadata +224 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class MySQLVersionInitContainer < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:my_sql_version_init_container
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class MySQLVersionList < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
array_field(:item) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersion.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "MySQLVersionList"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:items] = items.map(&:serialize)
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:my_sql_version_list
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class MySQLVersionPodSecurityPolicy < ::KubeDSL::DSLObject
|
3
|
+
value_fields :database_policy_name
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:databasePolicyName] = database_policy_name
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:my_sql_version_pod_security_policy
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class MySQLVersionReplicationModeDetector < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:my_sql_version_replication_mode_detector
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class MySQLVersionSpec < ::KubeDSL::DSLObject
|
3
|
+
value_fields :deprecated, :version
|
4
|
+
object_field(:replication_mode_detector) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersionReplicationModeDetector.new }
|
5
|
+
object_field(:exporter) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersionExporter.new }
|
6
|
+
object_field(:pod_security_policies) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersionPodSecurityPolicy.new }
|
7
|
+
object_field(:init_container) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersionInitContainer.new }
|
8
|
+
object_field(:db) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersionDatabase.new }
|
9
|
+
object_field(:tools) { Kuby::KubeDB::DSL::Catalog::V1alpha1::MySQLVersionTools.new }
|
10
|
+
|
11
|
+
def serialize
|
12
|
+
{}.tap do |result|
|
13
|
+
result[:deprecated] = deprecated
|
14
|
+
result[:version] = version
|
15
|
+
result[:replicationModeDetector] = replication_mode_detector.serialize
|
16
|
+
result[:exporter] = exporter.serialize
|
17
|
+
result[:podSecurityPolicies] = pod_security_policies.serialize
|
18
|
+
result[:initContainer] = init_container.serialize
|
19
|
+
result[:db] = db.serialize
|
20
|
+
result[:tools] = tools.serialize
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def kind_sym
|
25
|
+
:my_sql_version_spec
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class MySQLVersionTools < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:my_sql_version_tools
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersion < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
object_field(:spec) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PerconaXtraDBVersionSpec.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "PerconaXtraDBVersion"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:spec] = spec.serialize
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:percona_xtra_db_version
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersionDatabase < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:percona_xtra_db_version_database
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersionExporter < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:percona_xtra_db_version_exporter
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersionInitContainer < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:percona_xtra_db_version_init_container
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersionList < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
array_field(:item) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PerconaXtraDBVersion.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "PerconaXtraDBVersionList"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:items] = items.map(&:serialize)
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:percona_xtra_db_version_list
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersionPodSecurityPolicy < ::KubeDSL::DSLObject
|
3
|
+
value_fields :database_policy_name
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:databasePolicyName] = database_policy_name
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:percona_xtra_db_version_pod_security_policy
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PerconaXtraDBVersionSpec < ::KubeDSL::DSLObject
|
3
|
+
value_fields :deprecated, :version
|
4
|
+
object_field(:exporter) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PerconaXtraDBVersionExporter.new }
|
5
|
+
object_field(:pod_security_policies) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PerconaXtraDBVersionPodSecurityPolicy.new }
|
6
|
+
object_field(:init_container) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PerconaXtraDBVersionInitContainer.new }
|
7
|
+
object_field(:db) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PerconaXtraDBVersionDatabase.new }
|
8
|
+
|
9
|
+
def serialize
|
10
|
+
{}.tap do |result|
|
11
|
+
result[:deprecated] = deprecated
|
12
|
+
result[:version] = version
|
13
|
+
result[:exporter] = exporter.serialize
|
14
|
+
result[:podSecurityPolicies] = pod_security_policies.serialize
|
15
|
+
result[:initContainer] = init_container.serialize
|
16
|
+
result[:db] = db.serialize
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def kind_sym
|
21
|
+
:percona_xtra_db_version_spec
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersion < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
object_field(:spec) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PostgresVersionSpec.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "PostgresVersion"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:spec] = spec.serialize
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:postgres_version
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersionDatabase < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:postgres_version_database
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersionExporter < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:postgres_version_exporter
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersionList < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
array_field(:item) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PostgresVersion.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "PostgresVersionList"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:items] = items.map(&:serialize)
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:postgres_version_list
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersionPodSecurityPolicy < ::KubeDSL::DSLObject
|
3
|
+
value_fields :database_policy_name
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:databasePolicyName] = database_policy_name
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:postgres_version_pod_security_policy
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersionSpec < ::KubeDSL::DSLObject
|
3
|
+
value_fields :deprecated, :version
|
4
|
+
object_field(:exporter) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PostgresVersionExporter.new }
|
5
|
+
object_field(:pod_security_policies) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PostgresVersionPodSecurityPolicy.new }
|
6
|
+
object_field(:db) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PostgresVersionDatabase.new }
|
7
|
+
object_field(:tools) { Kuby::KubeDB::DSL::Catalog::V1alpha1::PostgresVersionTools.new }
|
8
|
+
|
9
|
+
def serialize
|
10
|
+
{}.tap do |result|
|
11
|
+
result[:deprecated] = deprecated
|
12
|
+
result[:version] = version
|
13
|
+
result[:exporter] = exporter.serialize
|
14
|
+
result[:podSecurityPolicies] = pod_security_policies.serialize
|
15
|
+
result[:db] = db.serialize
|
16
|
+
result[:tools] = tools.serialize
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def kind_sym
|
21
|
+
:postgres_version_spec
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class PostgresVersionTools < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:postgres_version_tools
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class ProxySQLVersion < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
object_field(:spec) { Kuby::KubeDB::DSL::Catalog::V1alpha1::ProxySQLVersionSpec.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ObjectMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "ProxySQLVersion"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:spec] = spec.serialize
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:proxy_sql_version
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class ProxySQLVersionExporter < ::KubeDSL::DSLObject
|
3
|
+
value_fields :image
|
4
|
+
|
5
|
+
def serialize
|
6
|
+
{}.tap do |result|
|
7
|
+
result[:image] = image
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
def kind_sym
|
12
|
+
:proxy_sql_version_exporter
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Kuby::KubeDB::DSL::Catalog::V1alpha1
|
2
|
+
class ProxySQLVersionList < ::KubeDSL::DSLObject
|
3
|
+
value_fields :api_version
|
4
|
+
array_field(:item) { Kuby::KubeDB::DSL::Catalog::V1alpha1::ProxySQLVersion.new }
|
5
|
+
object_field(:metadata) { KubeDSL::DSL::Meta::V1::ListMeta.new }
|
6
|
+
|
7
|
+
def serialize
|
8
|
+
{}.tap do |result|
|
9
|
+
result[:kind] = "ProxySQLVersionList"
|
10
|
+
result[:apiVersion] = api_version
|
11
|
+
result[:items] = items.map(&:serialize)
|
12
|
+
result[:metadata] = metadata.serialize
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def kind_sym
|
17
|
+
:proxy_sql_version_list
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|