class Pyrite::Api::Core::V1::Secret
- Pyrite::Api::Core::V1::Secret
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
Defined in:
versions/v1.14/api/core/v1/secret.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Secret holds secret data of a certain type.
-
.new(pull : JSON::PullParser)
Secret holds secret data of a certain type.
- .new(*, data : Hash(String, String)? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, string_data : Hash(String, String)? = nil, type : String? = nil)
Instance Method Summary
- #data : Hash(String, String)?
- #data=(data : Hash(String, String)?)
- #string_data : Hash(String, String)?
- #string_data=(string_data : Hash(String, String)?)
- #type : String?
- #type=(type : String?)
Instance methods inherited from class Pyrite::Kubernetes::Object
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
metadata=
Constructor methods inherited from class Pyrite::Kubernetes::Object
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Instance methods inherited from class Pyrite::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class Pyrite::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
def self.new(pull : JSON::PullParser)
#
Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.
def self.new(*, data : Hash(String, String)? = nil, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, string_data : Hash(String, String)? = nil, type : String? = nil)
#