struct RailsApp::Entrypoints
- RailsApp::Entrypoints
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
rails_app_operator.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : String, image : Nil | String = nil, command : Nil | Array(String) = nil, domain : Nil | String = nil, port : Int64 | Nil = nil, path : String = "/", path_type : String = "Prefix", replicas : Int64 = 1, resources : RailsApp::Entrypoints::Resources | Nil = nil, node_selector : Hash(String, JSON::Any) = {} of String => JSON::Any, annotations : Hash(String, JSON::Any) = {} of String => JSON::Any, health_check : RailsApp::Entrypoints::HealthCheck | Nil = nil, ingress : RailsApp::Entrypoints::Ingress | Nil = nil, env_from : Array(RailsApp::Entrypoints::EnvFrom) = Array(EnvFrom).new, env : Array(RailsApp::Entrypoints::Env) = Array(Env).new, service_account : Nil | String = nil)
Instance Method Summary
- #annotations : Hash(String, JSON::Any)
- #command : Array(String) | Nil
- #domain : String | Nil
- #env : Array(Env)
- #env_from : Array(EnvFrom)
- #health_check : HealthCheck | Nil
- #image : String | Nil
- #ingress : Ingress | Nil
- #name : String
- #node_selector : Hash(String, JSON::Any)
- #path : String
- #path_type : String
- #port : Int64 | Nil
- #replicas : Int64
- #resources : Resources | Nil
- #service_account : String | Nil
Constructor Detail
def self.new(*, name : String, image : Nil | String = nil, command : Nil | Array(String) = nil, domain : Nil | String = nil, port : Int64 | Nil = nil, path : String = "/", path_type : String = "Prefix", replicas : Int64 = 1, resources : RailsApp::Entrypoints::Resources | Nil = nil, node_selector : Hash(String, JSON::Any) = {} of String => JSON::Any, annotations : Hash(String, JSON::Any) = {} of String => JSON::Any, health_check : RailsApp::Entrypoints::HealthCheck | Nil = nil, ingress : RailsApp::Entrypoints::Ingress | Nil = nil, env_from : Array(RailsApp::Entrypoints::EnvFrom) = Array(EnvFrom).new, env : Array(RailsApp::Entrypoints::Env) = Array(Env).new, service_account : Nil | String = nil)
#