cmd

package
v0.0.0-...-eb601fb Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "casctl",
	Short: "Command line utility for administrative endpoints exposed by CAS server.",
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type AuthenticatedService

type AuthenticatedService struct {
	OriginalUrl string
}

type AvailabilityReport

type AvailabilityReport struct {
	UpTime int
}

type SsoSessionReport

type SsoSessionReport struct {
	TotalPrincipals   int `json:"totalPrincipals"`
	ActiveSsoSessions []struct {
		AuthenticatedPrincipal string                          `json:"authenticated_principal"`
		AuthenticationDate     string                          `json:"authentication_date_formatted"`
		NumberOfUses           int                             `json:"number_of_uses"`
		AuthenticatedServices  map[string]AuthenticatedService `json:"authenticated_services"`
	} `json:"activeSsoSessions"`
}

Jump to

Keyboard shortcuts

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