logs

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

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

View Source
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 Builder

func Builder() *cobra.Command

func JobsBuilder

func JobsBuilder() *cobra.Command

func JobsCollectOptsBuilder

func JobsCollectOptsBuilder() *cobra.Command

mongocli om logs jobs collect <resourceType> <resourceName> --sizeRequestedPerFileBytes size --type type --redacted redacted [--projectId projectId]

func JobsDeleteOptsBuilder

func JobsDeleteOptsBuilder() *cobra.Command

mongocli om logs jobs delete <ID> [--projectId projectId] [--force]

func JobsDownloadOptsBuilder

func JobsDownloadOptsBuilder() *cobra.Command

mongocli om logs jobs download <ID> [--out out] [--projectId projectId]

func JobsListOptsBuilder

func JobsListOptsBuilder() *cobra.Command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL