Documentation
¶
Index ¶
- func CertificateRequestText(csr *x509.CertificateRequest) (string, error)
- func CertificateText(cert *x509.Certificate, printPEM bool) (string, error)
- func SystemRebootStatusTable(rsps []*systemRebootStatusResponse) (string, error)
- type App
- func (a *App) CertCanGenerateCSR(ctx context.Context, t *api.Target) (bool, error)
- func (a *App) CertGenerateCSR(ctx context.Context, t *api.Target) (*cert.GenerateCSRResponse, error)
- func (a *App) CertGetCertificates(ctx context.Context, t *api.Target) (*cert.GetCertificatesResponse, error)
- func (a *App) CertInstall(ctx context.Context, t *api.Target) error
- func (a *App) CertLoadCABundle(ctx context.Context, t *api.Target) (*cert.LoadCertificateAuthorityBundleResponse, error)
- func (a *App) CertLoadCertificate(ctx context.Context, t *api.Target) (*cert.LoadCertificateResponse, error)
- func (a *App) CertRotate(ctx context.Context, t *api.Target) error
- func (a *App) FactoryResetStart(ctx context.Context, t *api.Target) *factoryResetStartResponse
- func (a *App) FileGet(ctx context.Context, t *api.Target) ([]string, error)
- func (a *App) FilePut(ctx context.Context, t *api.Target) ([]string, error)
- func (a *App) FileRemove(ctx context.Context, t *api.Target) ([]string, error)
- func (a *App) FileStat(ctx context.Context, t *api.Target) ([]*fileStatInfo, error)
- func (a *App) FileTransfer(ctx context.Context, t *api.Target) *fileTransferResponse
- func (a *App) GetTargets() (map[string]*api.Target, error)
- func (a *App) HealthAck(ctx context.Context, t *api.Target) *healthzAckResponse
- func (a *App) HealthArtifact(ctx context.Context, t *api.Target) *healthzArtifactResponse
- func (a *App) HealthzCheck(ctx context.Context, t *api.Target) *healthzCheckResponse
- func (a *App) HealthzGet(ctx context.Context, t *api.Target) *healthzGetResponse
- func (a *App) HealthzList(ctx context.Context, t *api.Target) *healthzListResponse
- func (a *App) InitCertCanGenerateCSRFlags(cmd *cobra.Command)
- func (a *App) InitCertCreateCaFlags(cmd *cobra.Command)
- func (a *App) InitCertFlags(cmd *cobra.Command)
- func (a *App) InitCertGenerateCSRFlags(cmd *cobra.Command)
- func (a *App) InitCertGetCertificatesFlags(cmd *cobra.Command)
- func (a *App) InitCertInstallFlags(cmd *cobra.Command)
- func (a *App) InitCertLoadCertsCaBundleFlags(cmd *cobra.Command)
- func (a *App) InitCertLoadCertsFlags(cmd *cobra.Command)
- func (a *App) InitCertRevokeCertificatesFlags(cmd *cobra.Command)
- func (a *App) InitCertRotateFlags(cmd *cobra.Command)
- func (a *App) InitFactoryResetStartFlags(cmd *cobra.Command)
- func (a *App) InitFileFlags(cmd *cobra.Command)
- func (a *App) InitFileGetFlags(cmd *cobra.Command)
- func (a *App) InitFilePutFlags(cmd *cobra.Command)
- func (a *App) InitFileRemoveFlags(cmd *cobra.Command)
- func (a *App) InitFileStatFlags(cmd *cobra.Command)
- func (a *App) InitFileTransferFlags(cmd *cobra.Command)
- func (a *App) InitGlobalFlags()
- func (a *App) InitHealthzAckFlags(cmd *cobra.Command)
- func (a *App) InitHealthzArtifactFlags(cmd *cobra.Command)
- func (a *App) InitHealthzCheckFlags(cmd *cobra.Command)
- func (a *App) InitHealthzFlags(cmd *cobra.Command)
- func (a *App) InitHealthzGetFlags(cmd *cobra.Command)
- func (a *App) InitHealthzListFlags(cmd *cobra.Command)
- func (a *App) InitOSActivateFlags(cmd *cobra.Command)
- func (a *App) InitOSFlags(cmd *cobra.Command)
- func (a *App) InitOSInstallFlags(cmd *cobra.Command)
- func (a *App) InitOSVerifyFlags(cmd *cobra.Command)
- func (a *App) InitServerFlags(cmd *cobra.Command)
- func (a *App) InitSystemCancelRebootFlags(cmd *cobra.Command)
- func (a *App) InitSystemFlags(cmd *cobra.Command)
- func (a *App) InitSystemKillProcessFlags(cmd *cobra.Command)
- func (a *App) InitSystemPingFlags(cmd *cobra.Command)
- func (a *App) InitSystemRebootFlags(cmd *cobra.Command)
- func (a *App) InitSystemRebootStatusFlags(cmd *cobra.Command)
- func (a *App) InitSystemSetPackageFlags(cmd *cobra.Command)
- func (a *App) InitSystemSwitchControlProcessorFlags(cmd *cobra.Command)
- func (a *App) InitSystemTimeFlags(cmd *cobra.Command)
- func (a *App) InitSystemTracerouteFlags(cmd *cobra.Command)
- func (a *App) InitTreeFlags(cmd *cobra.Command)
- func (a *App) InitVersionUpgradeFlags(cmd *cobra.Command)
- func (a *App) OsActivate(ctx context.Context, t *api.Target) (*gnoios.ActivateResponse, error)
- func (a *App) OsInstall(ctx context.Context, t *api.Target) error
- func (a *App) OsVerify(ctx context.Context, t *api.Target) (*gnoios.VerifyResponse, error)
- func (a *App) PreRun(cmd *cobra.Command, args []string) error
- func (a *App) PreRunEFilePut(cmd *cobra.Command, args []string) error
- func (a *App) PreRunEOSActivate(cmd *cobra.Command, args []string) error
- func (a *App) PreRunEOSInstall(cmd *cobra.Command, args []string) error
- func (a *App) PreRunEOSVerify(cmd *cobra.Command, args []string) error
- func (a *App) PreRunESetPackage(cmd *cobra.Command, args []string) error
- func (a *App) PreRunESystemKillProcess(cmd *cobra.Command, args []string) error
- func (a *App) PreRunESystemPing(cmd *cobra.Command, args []string) error
- func (a *App) PreRunESystemReboot(cmd *cobra.Command, args []string) error
- func (a *App) PreRunESystemTraceRoute(cmd *cobra.Command, args []string) error
- func (a *App) Revoke(ctx context.Context, t *api.Target) error
- func (a *App) RunECertCanGenerateCSR(cmd *cobra.Command, args []string) error
- func (a *App) RunECertCreateCa(cmd *cobra.Command, args []string) error
- func (a *App) RunECertGetCertificates(cmd *cobra.Command, args []string) error
- func (a *App) RunECertInstall(cmd *cobra.Command, args []string) error
- func (a *App) RunECertRevokeCertificates(cmd *cobra.Command, args []string) error
- func (a *App) RunECertRotate(cmd *cobra.Command, args []string) error
- func (a *App) RunEFactoryResetStart(cmd *cobra.Command, args []string) error
- func (a *App) RunEFileGet(cmd *cobra.Command, args []string) error
- func (a *App) RunEFilePut(cmd *cobra.Command, args []string) error
- func (a *App) RunEFileRemove(cmd *cobra.Command, args []string) error
- func (a *App) RunEFileStat(cmd *cobra.Command, args []string) error
- func (a *App) RunEFileTransfer(cmd *cobra.Command, args []string) error
- func (a *App) RunEGenerateCSR(cmd *cobra.Command, args []string) error
- func (a *App) RunEHealthzAck(cmd *cobra.Command, args []string) error
- func (a *App) RunEHealthzArtifact(cmd *cobra.Command, args []string) error
- func (a *App) RunEHealthzCheck(cmd *cobra.Command, args []string) error
- func (a *App) RunEHealthzGet(cmd *cobra.Command, args []string) error
- func (a *App) RunEHealthzList(cmd *cobra.Command, args []string) error
- func (a *App) RunELoadCerts(cmd *cobra.Command, args []string) error
- func (a *App) RunELoadCertsCaBundle(cmd *cobra.Command, args []string) error
- func (a *App) RunEOSActivate(cmd *cobra.Command, args []string) error
- func (a *App) RunEOSInstall(cmd *cobra.Command, args []string) error
- func (a *App) RunEOSVerify(cmd *cobra.Command, args []string) error
- func (a *App) RunEServer(cmd *cobra.Command, args []string) error
- func (a *App) RunEServices(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemCancelReboot(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemKillProcess(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemPing(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemReboot(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemRebootStatus(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemSetPackage(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemSwitchControlProcessor(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemTime(cmd *cobra.Command, args []string) error
- func (a *App) RunESystemTraceRoute(cmd *cobra.Command, args []string) error
- func (a *App) RunETree(cmd *cobra.Command, args []string) error
- func (a *App) RunEVersion(cmd *cobra.Command, args []string) error
- func (a *App) SystemCancelReboot(ctx context.Context, t *api.Target, subcomponents []*types.Path) error
- func (a *App) SystemKillProcess(ctx context.Context, t *api.Target) error
- func (a *App) SystemPing(ctx context.Context, t *api.Target) error
- func (a *App) SystemReboot(ctx context.Context, t *api.Target, subcomponents []*types.Path) error
- func (a *App) SystemRebootStatus(ctx context.Context, t *api.Target, subcomponents []*types.Path) (*system.RebootStatusResponse, error)
- func (a *App) SystemSetPackage(ctx context.Context, t *api.Target) error
- func (a *App) SystemSwitchControlProcessor(ctx context.Context, t *api.Target) (*system.SwitchControlProcessorResponse, error)
- func (a *App) SystemTraceRoute(ctx context.Context, t *api.Target) error
- func (a *App) VersionUpgradeRun(cmd *cobra.Command, args []string) error
- type TargetError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertificateRequestText ¶
func CertificateRequestText(csr *x509.CertificateRequest) (string, error)
CertificateRequestText returns a human-readable string representation of the certificate request csr. The format is similar (but not identical) to the OpenSSL way of printing certificates.
func CertificateText ¶
func CertificateText(cert *x509.Certificate, printPEM bool) (string, error)
CertificateText returns a human-readable string representation of the certificate cert. The format is similar (but not identical) to the OpenSSL way of printing certificates.
func SystemRebootStatusTable ¶
Types ¶
type App ¶
type App struct {
Cfn context.CancelFunc
RootCmd *cobra.Command
Config *config.Config
Targets map[string]*api.Target
Logger *log.Entry
// contains filtered or unexported fields
}
func (*App) CertCanGenerateCSR ¶
func (*App) CertGenerateCSR ¶
func (*App) CertGetCertificates ¶
func (*App) CertLoadCABundle ¶
func (*App) CertLoadCertificate ¶
func (*App) FactoryResetStart ¶
func (*App) FileRemove ¶
func (*App) FileTransfer ¶
func (*App) HealthArtifact ¶
func (*App) HealthzCheck ¶
func (*App) HealthzGet ¶
func (*App) HealthzList ¶
func (*App) InitCertCanGenerateCSRFlags ¶
func (*App) InitCertCreateCaFlags ¶
func (*App) InitCertFlags ¶
func (*App) InitCertGenerateCSRFlags ¶
func (*App) InitCertGetCertificatesFlags ¶
func (*App) InitCertInstallFlags ¶
func (*App) InitCertLoadCertsCaBundleFlags ¶
func (*App) InitCertLoadCertsFlags ¶
func (*App) InitCertRevokeCertificatesFlags ¶
func (*App) InitCertRotateFlags ¶
func (*App) InitFactoryResetStartFlags ¶
func (*App) InitFileFlags ¶
func (*App) InitFileGetFlags ¶
func (*App) InitFilePutFlags ¶
func (*App) InitFileRemoveFlags ¶
func (*App) InitFileStatFlags ¶
func (*App) InitFileTransferFlags ¶
func (*App) InitGlobalFlags ¶
func (a *App) InitGlobalFlags()
func (*App) InitHealthzAckFlags ¶
func (*App) InitHealthzArtifactFlags ¶
func (*App) InitHealthzCheckFlags ¶
func (*App) InitHealthzFlags ¶
func (*App) InitHealthzGetFlags ¶
func (*App) InitHealthzListFlags ¶
func (*App) InitOSActivateFlags ¶
func (*App) InitOSFlags ¶
func (*App) InitOSInstallFlags ¶
func (*App) InitOSVerifyFlags ¶
func (*App) InitServerFlags ¶
func (*App) InitSystemCancelRebootFlags ¶
func (*App) InitSystemFlags ¶
func (*App) InitSystemKillProcessFlags ¶
func (*App) InitSystemPingFlags ¶
func (*App) InitSystemRebootFlags ¶
func (*App) InitSystemRebootStatusFlags ¶
func (*App) InitSystemSetPackageFlags ¶
func (*App) InitSystemSwitchControlProcessorFlags ¶
func (*App) InitSystemTimeFlags ¶
func (*App) InitSystemTracerouteFlags ¶
func (*App) InitTreeFlags ¶
func (*App) InitVersionUpgradeFlags ¶
func (*App) OsActivate ¶
func (*App) PreRunEOSActivate ¶
func (*App) PreRunEOSInstall ¶
func (*App) PreRunEOSVerify ¶
func (*App) PreRunESetPackage ¶
func (*App) PreRunESystemKillProcess ¶
func (*App) PreRunESystemPing ¶
func (*App) PreRunESystemReboot ¶
func (*App) PreRunESystemTraceRoute ¶
func (*App) RunECertCanGenerateCSR ¶
func (*App) RunECertCreateCa ¶
func (*App) RunECertGetCertificates ¶
func (*App) RunECertInstall ¶
func (*App) RunECertRevokeCertificates ¶
func (*App) RunEFactoryResetStart ¶
func (*App) RunEFileTransfer ¶
func (*App) RunEGenerateCSR ¶
func (*App) RunEHealthzArtifact ¶
func (*App) RunEHealthzCheck ¶
func (*App) RunEHealthzList ¶
func (*App) RunELoadCertsCaBundle ¶
func (*App) RunESystemCancelReboot ¶
func (*App) RunESystemKillProcess ¶
func (*App) RunESystemReboot ¶
func (*App) RunESystemRebootStatus ¶
func (*App) RunESystemSetPackage ¶
func (*App) RunESystemSwitchControlProcessor ¶
func (*App) RunESystemTraceRoute ¶
func (*App) SystemCancelReboot ¶
func (*App) SystemKillProcess ¶
func (*App) SystemReboot ¶
func (*App) SystemRebootStatus ¶
func (*App) SystemSetPackage ¶
func (*App) SystemSwitchControlProcessor ¶
func (*App) SystemTraceRoute ¶
type TargetError ¶
Source Files
¶
- app.go
- cert.go
- certCanGenerateCSR.go
- certCreateCa.go
- certGenerateCSR.go
- certGetCertificates.go
- certInstall.go
- certLoadCerts.go
- certLoadCertsCaBundle.go
- certRevoke.go
- certRotate.go
- certinfo.go
- factory_reset.go
- file.go
- fileGet.go
- filePut.go
- fileRemove.go
- fileStat.go
- fileTransfer.go
- healthzAck.go
- healthzArtifact.go
- healthzCheck.go
- healthzGet.go
- healthzList.go
- os.go
- osActivate.go
- osInstall.go
- osVerify.go
- server.go
- services.go
- system.go
- systemCancelReboot.go
- systemKillProcess.go
- systemPing.go
- systemReboot.go
- systemRebootStatus.go
- systemSetPackage.go
- systemSwitchControlProcessor.go
- systemTime.go
- systemTraceRoute.go
- target.go
- tree.go
- types.go
- utils.go
- version.go
Click to show internal directories.
Click to hide internal directories.