module Kube::ClientMixin

Direct including types

Defined in:

kube/client_mixin.cr

Constant Summary

DEFAULT_AUTH_OPTIONS = {:username => nil, :password => nil, :bearer_token => nil, :bearer_token_file => nil}
DEFAULT_HEADERS = {"Content-Type" => "application/json", "Accept" => "application/json"}
DEFAULT_HTTP_MAX_REDIRECTS = 10
DEFAULT_HTTP_PROXY_URI = nil
DEFAULT_SOCKET_OPTIONS = {:socket_class => nil, :ssl_socket_class => nil}
DEFAULT_SSL_OPTIONS = {:client_cert => nil, :client_key => nil, :ca_file => nil, :cert_store => nil, :verify_ssl => OpenSSL::SSL::VerifyMode::PEER}
DEFAULT_TIMEOUTS = {:open => (HTTP::Client.new("127.0.0.1")).open_timeout, :read => (HTTP::Client.new("127.0.0.1")).read_timeout}
ENTITY_METHODS = ["get", "watch", "delete", "create", "update", "patch", "json_patch", "merge_patch"] of ::String
SEARCH_ARGUMENTS = {"labelSelector" => :label_selector, "fieldSelector" => :field_selector, "limit" => :limit, "continue" => :continue}
WATCH_ARGUMENTS = {"labelSelector" => :label_selector, "fieldSelector" => :field_selector, "resourceVersion" => :resource_version}