check

package
v0.0.0-...-559649d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright © 2020 NAME HERE [email protected]

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.

Copyright © 2020 NAME HERE [email protected]

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.

Copyright © 2020 NAME HERE [email protected]

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

This section is empty.

Variables

View Source
var HttpCmd = &cobra.Command{
	Use:     "http <url>",
	Short:   "check http/https endpoints",
	Args:    cobra.ExactArgs(1),
	Long:    instructions,
	Example: "endpointer check http https://google.com",
	Run: func(cmd *cobra.Command, args []string) {
		httpCheck(args)
	},
}
View Source
var MYSQLCmd = &cobra.Command{
	Short:   "check mysql databases",
	Example: "endpointer check mysql --port 3306",
	Use:     "mysql <url>",
	Args:    cobra.ExactArgs(1),
	Long:    mysqlInstructions,
	Run: func(cmd *cobra.Command, args []string) {
		mysqlCheck(args)
	},
}
View Source
var PostgresCmd = &cobra.Command{
	Short:   "check postgres databases",
	Example: "endpointer check postgres localhost --port 5432",
	Use:     "postgres <url>",
	Args:    cobra.ExactArgs(1),
	Long:    postgresInstructions,
	Run: func(cmd *cobra.Command, args []string) {
		postgresCheck(args)
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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