Documentation
¶
Overview ¶
Copyright 2020 MongoDB Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- func Builder() *cobra.Command
- func JobsBuilder() *cobra.Command
- func JobsCollectOptsBuilder() *cobra.Command
- func JobsDeleteOptsBuilder() *cobra.Command
- func JobsDownloadOptsBuilder() *cobra.Command
- func JobsListOptsBuilder() *cobra.Command
- type JobsCollectOpts
- type JobsDeleteOpts
- type JobsDownloadOpts
- type JobsListOpts
Constants ¶
const ( DownloadLogCollectionJob = "Download logs generated by a log collection job." LogCollection = "Manage log collection jobs for your project." StartLogCollectionJob = "Start a job to collect logs for your project." ListLogCollectionJobs = "List log collection jobs for your project." DeleteLogCollectionJob = "Delete a log collection job from your project." )
Variables ¶
This section is empty.
Functions ¶
func JobsBuilder ¶
func JobsCollectOptsBuilder ¶
mongocli om logs jobs collect <resourceType> <resourceName> --sizeRequestedPerFileBytes size --type type --redacted redacted [--projectId projectId]
func JobsDeleteOptsBuilder ¶
mongocli om logs jobs delete <ID> [--projectId projectId] [--force]
func JobsDownloadOptsBuilder ¶
mongocli om logs jobs download <ID> [--out out] [--projectId projectId]
func JobsListOptsBuilder ¶
mongocli om logs jobs list --verbose verbose [--projectId projectId]
Types ¶
type JobsCollectOpts ¶
type JobsCollectOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }
func (*JobsCollectOpts) Run ¶
func (opts *JobsCollectOpts) Run() error
type JobsDeleteOpts ¶
type JobsDeleteOpts struct { cli.GlobalOpts *cli.DeleteOpts // contains filtered or unexported fields }
func (*JobsDeleteOpts) Run ¶
func (opts *JobsDeleteOpts) Run() error
type JobsDownloadOpts ¶
type JobsDownloadOpts struct { cli.GlobalOpts cli.DownloaderOpts // contains filtered or unexported fields }
func (*JobsDownloadOpts) Run ¶
func (opts *JobsDownloadOpts) Run() error
type JobsListOpts ¶
type JobsListOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }
func (*JobsListOpts) Run ¶
func (opts *JobsListOpts) Run() error