cmd.Flags().BoolVar(&o.ServerDryRun,"server-dry-run",o.ServerDryRun,"If true, request will be sent to server with dry-run flag, which means the modifications won't be persisted. This is an alpha feature and flag.")
cmd.Flags().BoolVar(&o.ServerDryRun,"server-dry-run",o.ServerDryRun,"If true, request will be sent to server with dry-run flag, which means the modifications won't be persisted. This is an alpha feature and flag.")
cmd.Flags().Bool("dry-run",false,"If true, only print the object that would be sent, without sending it. Warning: --dry-run cannot accurately output the result of merging the local manifest and the server-side data. Use --server-dry-run to get the merged result instead.")
cmd.Flags().Bool("dry-run",false,"If true, only print the object that would be sent, without sending it. Warning: --dry-run cannot accurately output the result of merging the local manifest and the server-side data. Use --server-dry-run to get the merged result instead.")
cmd.Flags().Bool("dry-run",false,"If true, only print the object that would be sent, without sending it.")
cmd.Flags().Bool("dry-run",false,"If true, only print the object that would be sent, without sending it.")
}
}
funcAddServerSideApplyFlags(cmd*cobra.Command){
cmd.Flags().Bool("experimental-server-side",false,"If true, apply runs in the server instead of the client. This is an alpha feature and flag.")
cmd.Flags().Bool("experimental-force-conflicts",false,"If true, server-side apply will force the changes against conflicts. This is an alpha feature and flag.")
cmd.Flags().String("experimental-field-manager","kubectl","Name of the manager used to track field ownership. This is an alpha feature and flag.")
cmd.Flags().Bool("include-uninitialized",false,`If true, the kubectl command applies to uninitialized objects. If explicitly set to false, this flag overrides other flags that make the kubectl commands apply to uninitialized objects, e.g., "--all". Objects with empty metadata.initializers are regarded as initialized.`)
cmd.Flags().Bool("include-uninitialized",false,`If true, the kubectl command applies to uninitialized objects. If explicitly set to false, this flag overrides other flags that make the kubectl commands apply to uninitialized objects, e.g., "--all". Objects with empty metadata.initializers are regarded as initialized.`)
cmd.Flags().MarkDeprecated("include-uninitialized","The Initializers feature has been removed. This flag is now a no-op, and will be removed in v1.15")
cmd.Flags().MarkDeprecated("include-uninitialized","The Initializers feature has been removed. This flag is now a no-op, and will be removed in v1.15")