class Pyrite::Api::Core::V1::SecretKeySelector

Overview

SecretKeySelector selects a key of a Secret.

Defined in:

versions/v1.14/api/core/v1/secret_key_selector.cr

Constructors

Instance Method Summary

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) #

SecretKeySelector selects a key of a Secret.


def self.new(pull : JSON::PullParser) #

SecretKeySelector selects a key of a Secret.


def self.new(*, key : String, name : String? = nil, optional : Bool? = nil) #

Instance Method Detail

def key : String #

def key=(key : String) #

def name : String? #

def name=(name : String?) #

def optional : Bool? #

def optional=(optional : Bool?) #