Documentation
¶
Overview ¶
********************************************************************
- Copyright (c) Intel Corporation 2021
- SPDX-License-Identifier: Apache-2.0 *********************************************************************
Index ¶
- func TLSModesToString() string
- type AmtInfoFlags
- type ConfigTLSInfo
- type Flags
- func (f *Flags) DetermineTLSMode(mutualAuth, enabled, allowNonTLS bool) string
- func (f *Flags) NewConfigureFlagSet(subCommand string) *flag.FlagSet
- func (f *Flags) ParseFlags() error
- func (f *Flags) PromptUserInput(prompt string, value *string) error
- func (f *Flags) ReadNewPasswordTo(saveLocation *string, promptPhrase string) error
- func (f *Flags) ReadPasswordFromUser() error
- func (f *Flags) ValidateConfigV2() error
- type HostnameInfo
- type IPConfiguration
- type NetEnumerator
- type TLSMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TLSModesToString ¶
func TLSModesToString() string
Types ¶
type AmtInfoFlags ¶
type ConfigTLSInfo ¶
type Flags ¶
type Flags struct { URL string DNS string Hostname string Proxy string Command string SubCommand string Profile string LMSAddress string LMSPort string SkipCertCheck bool Verbose bool Force bool JsonOutput bool RandomPassword bool Local bool StaticPassword string Password string NewPassword string LogLevel string Token string TenantID string UseCCM bool UseACM bool EchoPass bool UUID string LocalConfig config.Config LocalConfigV2 configv2.Configuration IpConfiguration IPConfiguration HostnameInfo HostnameInfo AMTTimeoutDuration time.Duration FriendlyName string AmtInfo AmtInfoFlags SkipIPRenew bool SambaService smb.ServiceInterface MEBxPassword string ConfigTLSInfo ConfigTLSInfo UserConsent string KVM bool SOL bool IDER bool // contains filtered or unexported fields }
Flags holds data received from the command line
func (*Flags) DetermineTLSMode ¶
func (*Flags) NewConfigureFlagSet ¶
func (*Flags) ParseFlags ¶
ParseFlags is used for understanding the command line flags
func (*Flags) ReadNewPasswordTo ¶
func (*Flags) ReadPasswordFromUser ¶
func (*Flags) ValidateConfigV2 ¶
type HostnameInfo ¶
type IPConfiguration ¶
Click to show internal directories.
Click to hide internal directories.