String function ( ) { final String loc0 = job . getId ( ) . toShortString ( ) ; final String loc1 = CONTAINER_NAME_FORBIDDEN . matcher ( loc0 ) . replaceAll ( "srini_string" ) ; final String loc2 = Integer . toHexString ( new SecureRandom ( ) . nextInt ( ) ) ; return namespace + "srini_string" + loc1 + "srini_string" + loc2 ; }
generate a random container name . concode_field_sep Map<String,String> envVars concode_elem_sep Map<String,String> envVars concode_elem_sep List<String> dns concode_elem_sep List<ContainerDecorator> containerDecorators concode_elem_sep Map<String,Integer> ports concode_elem_sep Pattern CONTAINER_NAME_FORBIDDEN concode_elem_sep List<ContainerDecorator> containerDecorators concode_elem_sep String defaultRegistrationDomain concode_elem_sep String host concode_elem_sep String namespace concode_elem_sep Map<String,Integer> ports concode_elem_sep Job job concode_elem_sep Logger log concode_elem_sep List<String> dns concode_elem_sep String defaultRegistrationDomain concode_field_sep List<String> binds concode_elem_sep Builder envVars concode_elem_sep Map<String,String> containerEnv concode_elem_sep Map<String,PortMapping> ports concode_elem_sep Builder ports concode_elem_sep Map<String,List<PortBinding>> portBindings concode_elem_sep Builder builder concode_elem_sep Builder host concode_elem_sep String containerPort concode_elem_sep String containerImage concode_elem_sep ContainerConfig containerConfig concode_elem_sep Set<String> containerExposedPorts concode_elem_sep Set<String> volumes concode_elem_sep Builder dns concode_elem_sep ServiceRegistration.EndpointHealthCheck endpointHealthCheck concode_elem_sep Builder containerDecorators concode_elem_sep HostConfig hostConfig concode_elem_sep List<String> containerEnvStrings concode_elem_sep String fullyQualifiedRegistrationDomain concode_elem_sep TaskConfig build concode_elem_sep HealthCheck healthCheck concode_elem_sep String name concode_elem_sep Builder namespace concode_elem_sep ServiceRegistration registration concode_elem_sep String toString concode_elem_sep Builder job concode_elem_sep Builder defaultRegistrationDomain