-
Apache OpenWhisk + Kubernetes: A Perfect Match for Your Serverless Platform Ying Chun Guo guoyingc@cn.ibm.com Zhou Xing xingzhou@qiyi.com Agenda • What is serverless? • Kubernetes + Apache
0 码力 |
24 页 |
3.53 MB
| 1 年前 3
-
argument is set to false (Scored) Audit docker inspect kube-apiserver | jq -e '.[0].Args[] | match("--anonymous-auth=false").string' Returned Value: --anonymous-auth=false Result: Pass 1.1.2 - --basic-auth-file argument is not set (Scored) Audit docker inspect kube-apiserver | jq -e '.[0].Args[] | match("--basic-auth-file=.*").string' Returned Value: null Result: Pass 1.1.3 - Ensure that the - token argument is not set (Scored) Audit docker inspect kube-apiserver | jq -e '.[0].Args[] | match("--insecure-allow-any-token").string' Returned Value: null Result: Pass 1.1.4 - Ensure that the
0 码力 |
47 页 |
302.56 KB
| 1 年前 3
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.2 match() 和 search() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . newline character, and there’s an alternate mode (re.DOTALL) where it will match even a newline. '.' is often used where you want to match“any character”. 2.2 重复 能够匹配不同的字符集合是正则表达式可以做的第一件事,这对于字符串可用方法来说是不可能的。但是, is *. * doesn’t match the literal character *; instead, it specifies that the previous character can be matched zero or more times, instead of exactly once. For example, ca*t will match ct (0 a characters)
0 码力 |
18 页 |
369.95 KB
| 10 月前 3
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.2 match() 和 search() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . newline character, and there’s an alternate mode (re.DOTALL) where it will match even a newline. '.' is often used where you want to match“any character”. 2.2 重复 能够匹配不同的字符集合是正则表达式可以做的第一件事,这对于字符串可用方法来说是不可能的。但是, is *. * doesn’t match the literal character *; instead, it specifies that the previous character can be matched zero or more times, instead of exactly once. For example, ca*t will match ct (0 a characters)
0 码力 |
18 页 |
369.95 KB
| 10 月前 3
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.2 match() 和 search() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . newline character, and there’s an alternate mode (re.DOTALL) where it will match even a newline. '.' is often used where you want to match“any character”. 2.2 重复 能够匹配不同的字符集合是正则表达式可以做的第一件事,这对于字符串可用方法来说是不可能的。但是, is *. * doesn’t match the literal character *; instead, it specifies that the previous character can be matched zero or more times, instead of exactly once. For example, ca*t will match ct (0 a characters)
0 码力 |
18 页 |
369.95 KB
| 10 月前 3
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.2 match() 和 search() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [a-z]。 字符类中的元字符不生效。例如,[akm$] 将匹配 “’a’,’k’、’m’或’$’“ 中的任意字符;'$' 通常是一 个元字符,但在一个字符类中它被剥夺了特殊性。 2 You can match the characters not listed within the class by complementing the set. This is indicated by including the first character of the class; '^' outside a character class will simply match the '^' character. For example, [^5] will match any character except '5'. 也许最重要的元字符是反斜杠,\。与 Python 字符串文字一样,反斜杠后面可以跟各种字符,以指示各种特
0 码力 |
18 页 |
391.58 KB
| 10 月前 3
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6.2 match() 和 search() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [a-z]。 字符类中的元字符不生效。例如,[akm$] 将匹配 “’a’,’k’、’m’或’$’“ 中的任意字符;'$' 通常是一 个元字符,但在一个字符类中它被剥夺了特殊性。 2 You can match the characters not listed within the class by complementing the set. This is indicated by including the first character of the class; '^' outside a character class will simply match the '^' character. For example, [^5] will match any character except '5'. 也许最重要的元字符是反斜杠,\。与 Python 字符串文字一样,反斜杠后面可以跟各种字符,以指示各种特
0 码力 |
18 页 |
391.58 KB
| 10 月前 3
-
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 IV Advanced Topics 481 1 Patterns Match the Structure of Values 483 1.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483 common Rust concepts by show- ing you how to use them in a real program. You’ll learn about let, match, methods, associated functions, using external crates, and more! The following chapters will explore io::stdin().read_line(&mut guess) .expect("Failed to read line"); println!("You guessed: {}", guess); match guess.cmp(&secret_number) { Ordering::Less => println!("Too small!"), 36 Ordering::Greater => println
0 码力 |
617 页 |
1.54 MB
| 1 年前 3
-
value. Address Settings Using address settings involves defining address-setting elements whose
match corresponds with the destination names the clients will use along with the proper delimiter to enabled matching. For example, broker.xml could use the following:
match="queue/#"> ANYCAST ANYCAST match="topic/#"> MULTICAST 0 码力 |
539 页 |
11.16 MB
| 1 年前 3
-
value. Address Settings Using address settings involves defining address-setting elements whose
match corresponds with the destination names the clients will use along with the proper delimiter to enabled matching. For example, broker.xml could use the following:
match="queue/#"> ANYCAST ANYCAST match="topic/#"> MULTICAST 0 码力 |
539 页 |
11.14 MB
| 1 年前 3