Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Let’s try to raise a pull request for merging our code from the feature/feature1
branch to the master branch
.”
A block of code is set as follows:
import os import datetime from flask import Flask app = Flask(__name__) @app.route('/') def current_time(): ct = datetime.datetime.now() return 'The current time is : {}!\n'.format(ct) if __name__ == "__main__": app.run(debug=True,host='0.0.0.0')
Any command-line input or output is written as follows:
$ cp ~/modern-devops/ch13/install-external-secrets/app.tf \ terraform/app.tf $ cp ~/modern-devops/ch13/install-external-secrets/\ external-secrets.yaml manifests/argocd/
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “Click on the Create pull request button to create the pull request.”
Tips or important notes
Appear like this.