va

package
v0.0.0-...-7d0d13a Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Copyright (c) 2021, SailPoint Technologies, Inc. All rights reserved.

Index

Constants

View Source
const RebootCommand = "sudo reboot"
View Source
const TroubleshootingScript = "/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/luke-hagar-sp/VA-Scripts/main/stunt.sh)\""
View Source
const UpdateCommand = "sudo update_engine_client -check_for_update"

Variables

This section is empty.

Functions

func CreateFolder

func CreateFolder(filepath string) error

func ErrorCheck

func ErrorCheck(token []byte) bool

func NewTroubleshootCmd

func NewTroubleshootCmd(term terminal.Terminal) *cobra.Command

func NewVACommand

func NewVACommand(term terminal.Terminal) *cobra.Command

func ParseCCGFile

func ParseCCGFile(p *mpb.Progress, filepath string, all bool) error

func ParseCanalFile

func ParseCanalFile(p *mpb.Progress, filepath string, all bool) error

func ParseJSON

func ParseJSON(str string) []byte

Types

type CANAL

type CANAL struct {
	Month    string
	Day      string
	Time     string
	HostName string
	Service  string
	Message  string
}

type CCG

type CCG struct {
	Exception                 string    `json:"exception"`
	Stack                     string    `json:"stack"`
	Pod                       string    `json:"pod"`
	ConnectorLogging          string    `json:"connector-logging"`
	ClusterId                 string    `json:"clusterId"`
	BuildNumber               string    `json:"buildNumber"`
	ApiUsername               string    `json:"ApiUsername"`
	OrgType                   string    `json:"orgType"`
	File                      string    `json:"file"`
	Encryption                string    `json:"encryption"`
	ConnectorBundleIdentityiq string    `json:"connector-bundle-identityiq"`
	Line_number               int       `json:"line_number"`
	Version                   int       `json:"@version"`
	Logger_name               string    `json:"logger_name"`
	MantisClient              string    `json:"mantis-client"`
	Class                     string    `json:"class"`
	ClientId                  string    `json:"clientId"`
	Source_host               string    `json:"source_host"`
	Method                    string    `json:"method"`
	Org                       string    `json:"org"`
	Level                     string    `json:"level"`
	IdentityIQ                string    `json:"identityIQ"`
	Message                   string    `json:"message"`
	Pipeline                  string    `json:"pipeline"`
	Timestamp                 time.Time `json:"@timestamp"`
	Thread_name               string    `json:"thread_name"`
	Metrics                   string    `json:"metrics"`
	Region                    string    `json:"region"`
	Queue                     string    `json:"queue"`
	SCIMCommon                string    `json:"SCIM Common"`
}

Jump to

Keyboard shortcuts

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