public class KubernetesEmptyMachineLocation extends SshMachineLocation implements KubernetesMachineLocation
MachineLocation
represemnting a Kubernetes resource that does not support SSH access.KubernetesSshMachineLocation}
AbstractLocation.BasicSubscriptionSupport
BrooklynObject.RelationSupport<T extends BrooklynObject>, BrooklynObject.SubscriptionSupport, BrooklynObject.TagSupport
Configurable.ConfigurationSupport
BrooklynObjectInternal.ConfigurationSupportInternal, BrooklynObjectInternal.RelationSupportInternal<T extends BrooklynObject>, BrooklynObjectInternal.SubscriptionSupportInternal
ALL_SSH_CONFIG_KEY_NAMES, ALL_SSH_CONFIG_KEYS, ALLOCATE_PTY, CLOSE_CONNECTION, LOCAL_TEMP_DIR, LOG_PREFIX, NO_STDERR_LOGGING, NO_STDOUT_LOGGING, PASSWORD, PRIVATE_ADDRESSES, PRIVATE_KEY_DATA, PRIVATE_KEY_FILE, PRIVATE_KEY_PASSPHRASE, REUSABLE_SSH_PROPS, SCP_EXECUTABLE, SCRIPT_DIR, SSH_CACHE_EXPIRY_DURATION, SSH_CONFIG_GIVEN_TO_PROPS, SSH_ENV_MAP, SSH_EXECUTABLE, SSH_HOST, SSH_PORT, SSH_TOOL_CLASS, SSH_TOOL_CLASS_PROPERTIES_PREFIX, STDERR, STDOUT, TCP_PORT_MAPPINGS, UNIQUE_ID
DETECT_MACHINE_DETAILS, MACHINE_DETAILS
PARENT_LOCATION, TEMPORARY_LOCATION
KUBERNETES_NAMESPACE, KUBERNETES_RESOURCE_NAME, KUBERNETES_RESOURCE_TYPE
FINAL_SPEC, NAMED_SPEC_NAME, ORIGINAL_SPEC
Constructor and Description |
---|
KubernetesEmptyMachineLocation() |
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getAddress()
Return the single most appropriate address for this location.
|
java.lang.String |
getHostname()
note
|
MachineDetails |
getMachineDetails() |
java.lang.String |
getNamespace() |
OsDetails |
getOsDetails() |
java.util.Set<java.lang.String> |
getPrivateAddresses()
All private IP addresses.
|
java.util.Set<java.lang.String> |
getPublicAddresses()
All public IP addresses, potentially including shared ips.
|
java.lang.String |
getResourceName() |
java.lang.String |
getResourceType() |
acquireMutex, close, configure, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, execCommands, execCommands, execCommands, execCommands, execScript, execScript, execScript, execScript, findKeyPair, findPassword, getPort, getSshHostAndPort, getUser, hasMutex, init, installTo, installTo, installTo, installTo, isSshable, obtainPort, obtainSpecificPort, releaseMutex, releasePort, resolveOnBoxDirFor, toString, toVerboseString, tryAcquireMutex
mutexes
addChild, addExtension, config, containsLocation, equals, getChildren, getConfig, getConfig, getDisplayName, getExtension, getHostGeoInfo, getLocationTypeInternal, getParent, getRebindSupport, hasExtension, hashCode, isManaged, onManagementStarted, onManagementStopped, rebind, relations, removeChild, setDisplayName, setHostGeoInfo, setManagementContext, setParent, setParent, subscriptions, toMetadataRecord
addSearchPath, getCatalogItemId, getCatalogItemIdSearchPath, getId, getManagementContext, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId, tags
containsLocation, getChildren, getConfig, getDisplayName, getExtension, getId, getParent, hasExtension, relations, setParent, toVerboseString
getCatalogItemId, getCatalogItemIdSearchPath, subscriptions, tags
config, getConfig
getManagementContext
addSearchPath, setCatalogItemId, setCatalogItemIdAndSearchPath, stackCatalogItemId
public java.lang.String getHostname()
HasNetworkAddresses
getHostname
in interface HasNetworkAddresses
getHostname
in class SshMachineLocation
public java.util.Set<java.lang.String> getPublicAddresses()
HasNetworkAddresses
getPublicAddresses
in interface HasNetworkAddresses
getPublicAddresses
in class SshMachineLocation
public java.util.Set<java.lang.String> getPrivateAddresses()
HasNetworkAddresses
getPrivateAddresses
in interface HasNetworkAddresses
getPrivateAddresses
in class SshMachineLocation
public java.net.InetAddress getAddress()
AddressableLocation
getAddress
in interface AddressableLocation
getAddress
in interface MachineLocation
getAddress
in class SshMachineLocation
public OsDetails getOsDetails()
getOsDetails
in interface MachineLocation
getOsDetails
in class AbstractMachineLocation
public MachineDetails getMachineDetails()
getMachineDetails
in interface MachineLocation
getMachineDetails
in class AbstractMachineLocation
public java.lang.String getResourceName()
getResourceName
in interface KubernetesMachineLocation
public java.lang.String getResourceType()
getResourceType
in interface KubernetesMachineLocation
public java.lang.String getNamespace()
getNamespace
in interface KubernetesMachineLocation