-
Notifications
You must be signed in to change notification settings - Fork 0
/
service_account_subject.cr
29 lines (24 loc) · 1.03 KB
/
service_account_subject.cr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# THIS FILE WAS AUTO GENERATED FROM THE K8S SWAGGER SPEC
require "yaml"
require "json"
module K8S
# ServiceAccountSubject holds detailed information for service-account-kind subject.
@[::K8S::Properties(
name: {type: String, nilable: false, key: "name", getter: false, setter: false},
namespace: {type: String, nilable: false, key: "namespace", getter: false, setter: false},
)]
class Api::Flowcontrol::V1beta1::ServiceAccountSubject
include ::JSON::Serializable
include ::YAML::Serializable
# `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.
@[::JSON::Field(key: "name", emit_null: true)]
@[::YAML::Field(key: "name", emit_null: true)]
property name : String
# `namespace` is the namespace of matching ServiceAccount objects. Required.
@[::JSON::Field(key: "namespace", emit_null: true)]
@[::YAML::Field(key: "namespace", emit_null: true)]
property namespace : String
def initialize(*, @name : String, @namespace : String)
end
end
end