Documentation ¶
Index ¶
- Constants
- func NewRevisionCommand(p *commands.KnParams) *cobra.Command
- func NewRevisionDeleteCommand(p *commands.KnParams) *cobra.Command
- func NewRevisionDescribeCommand(p *commands.KnParams) *cobra.Command
- func NewRevisionListCommand(p *commands.KnParams) *cobra.Command
- func RevisionListHandlers(h hprinters.PrintHandler)
- func WriteConcurrencyOptions(dw printers.PrefixWriter, revision *servingv1.Revision)
- func WriteEnv(dw printers.PrefixWriter, revision *servingv1.Revision, printDetails bool)
- func WriteEnvFrom(dw printers.PrefixWriter, revision *servingv1.Revision, printDetails bool)
- func WriteImage(dw printers.PrefixWriter, revision *servingv1.Revision)
- func WritePort(dw printers.PrefixWriter, revision *servingv1.Revision)
- func WriteReplicas(dw printers.PrefixWriter, revision *servingv1.Revision)
- func WriteResources(dw printers.PrefixWriter, r *servingv1.Revision)
- func WriteScale(dw printers.PrefixWriter, revision *servingv1.Revision)
Constants ¶
View Source
const ( RevisionTrafficAnnotation = "client.knative.dev/traffic" RevisionTagsAnnotation = "client.knative.dev/tags" )
View Source
const ListColumnMaxLength = 50
Max column size
Variables ¶
This section is empty.
Functions ¶
func NewRevisionDeleteCommand ¶
NewRevisionDeleteCommand represent 'revision delete' command
func NewRevisionListCommand ¶
NewRevisionListCommand represents 'kn revision list' command
func RevisionListHandlers ¶
func RevisionListHandlers(h hprinters.PrintHandler)
RevisionListHandlers adds print handlers for revision list command
func WriteConcurrencyOptions ¶
func WriteConcurrencyOptions(dw printers.PrefixWriter, revision *servingv1.Revision)
func WriteEnv ¶
func WriteEnv(dw printers.PrefixWriter, revision *servingv1.Revision, printDetails bool)
func WriteEnvFrom ¶
func WriteEnvFrom(dw printers.PrefixWriter, revision *servingv1.Revision, printDetails bool)
func WriteImage ¶
func WriteImage(dw printers.PrefixWriter, revision *servingv1.Revision)
Write the image attribute (with
func WriteReplicas ¶
func WriteReplicas(dw printers.PrefixWriter, revision *servingv1.Revision)
func WriteResources ¶
func WriteResources(dw printers.PrefixWriter, r *servingv1.Revision)
func WriteScale ¶
func WriteScale(dw printers.PrefixWriter, revision *servingv1.Revision)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.