Documentation ¶
Overview ¶
Package domainjoin implements the domain join plugin.
Package domainjoin implements the domainjoin plugin.
Package domainjoin implements the domainjoin plugin.
Index ¶
Constants ¶
View Source
const ( // UpdateExecutionTimeoutInSeconds represents default timeout time for execution update domain join in seconds UpdateExecutionTimeoutInSeconds = 60 // Domain join plugin command arguments // DirectoryIdArg represents the directory id for domain join DirectoryIdArg = " --directory-id " // DirectoryNameArg represents the directory name for domain join DirectoryNameArg = " --directory-name " // DirectoryOUArg represents the directory OU for domain join DirectoryOUArg = " --directory-ou " // InstanceRegionArg represents the region of the instance for domain join InstanceRegionArg = " --instance-region " // DirectoryNameArg represents the dns ip addresses of directory for domain join DnsAddressesArgs = " --dns-addresses" // DomainJoinPluginName is the name of the executable file of domain join plugin DomainJoinPluginExecutableName = "aws_domainjoin.sh" // ProxyAddress represents the url addresses of proxy ProxyAddress = " --proxy-address " // NoProxy represents addresses that do not use the proxy. NoProxy = " --no-proxy " // Default folder name for domain join plugin DomainJoinFolderName = "awsDomainJoin" // SetHostName is an optional argument to set hostname name after domain join KeepHostNameArgs = " --keep-hostname " // KeepHostName is a flag to retain instance hostnames as assigned (by customers). SetHostNameArg = " --set-hostname " // SetHostNameNumAppendDigits is an optional argument to set hostname name after domain join SetHostNameNumAppendDigitsArg = " --set-hostname-append-num-digits " )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DomainJoinPluginInput ¶
type DomainJoinPluginInput struct { contracts.PluginInput DirectoryId string DirectoryName string DirectoryOU string DnsIpAddresses []string HostName string HostNameNumAppendDigits string KeepHostName bool }
DomainJoinPluginInput represents one set of commands executed by the Domain join plugin.
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is the type for the domain join plugin.
func (*Plugin) Execute ¶
func (p *Plugin) Execute(config contracts.Configuration, cancelFlag task.CancelFlag, output iohandler.IOHandler)
Click to show internal directories.
Click to hide internal directories.